Hello Everyone, I am trying to learn Mathematica with a Book, but I have a Problem to Solve an Equation, although I have a AnswerKey of the Examples.
In General i have to solve the equation y''[x]+y'[x]==x²*Sqrt[x],y[x],x]
. First i want to solve it with C1 and C2, later i want to replace them and plot the function. Well, I think my ProbleM is the first Part - just solve it with C1 and C2. My Code is:
DSolveValue[y''[x] + y'[x] == x^2*Sqrt[x], y[x], x]`
The Code is exactly the same as in the AnswerKey to this Example, but as a solution I get:
(2 x^(7/2))/7 - E^-x C[1] + C[2] + ( E^-x Sqrt[-x] Gamma[7/2, -x])/Sqrt[x]
the "Right" solution from the answer Key should be:
C[2] + 1/56 E^-x*(2*(E^x*Sqrt[x]*(-105 + 70 x - 28 x^2 + 8 x^3) -
28*C[1]) + 105*Sqrt[Pi]*Erfi[Sqrt[x]])
So the most obvious difference for me is that "Erfi" function in die Solution and in my solution there is a "Gamma" function. I already made some Research About them but didn't really understood what they do. Furthermore, I don't get why my solution differ from the Answerkey one, although I have the same Input. In the Attachments is my Mathematica file (it is the first Input) and a PDF of the AnswerKey how the solution should look like. I hope someone can tell me what to do.
Attachments: