- #1
Malby
- 16
- 0
Determine the general solution to the ODE:
y'' + 2y' = 1 + xe-2x
I know the solution will be of the form y = yh + yp. The homogeneous solution is y = c1 + c2e-2x.
For the particular solution, I have been using the method of undetermined coefficients. c3e-2x won't work as it is not linearly independent of the homogeneous solution. So I guess c3xe-2x.
So y' = c3e-2x(c3 - 2c3x)
And y'' = 4c3e-2x(x - 1)
Following on from this I end up with a particular solution:
yp = ((1 + xe-2x)/(-2e-2x))xe-2x
However wolfram disagrees with me. My question is, is the method of undetermined coefficients ok to use for this ODE? Or should I be using the method with the Wronskian (it's name escapes me at the moment)
Cheers
y'' + 2y' = 1 + xe-2x
I know the solution will be of the form y = yh + yp. The homogeneous solution is y = c1 + c2e-2x.
For the particular solution, I have been using the method of undetermined coefficients. c3e-2x won't work as it is not linearly independent of the homogeneous solution. So I guess c3xe-2x.
So y' = c3e-2x(c3 - 2c3x)
And y'' = 4c3e-2x(x - 1)
Following on from this I end up with a particular solution:
yp = ((1 + xe-2x)/(-2e-2x))xe-2x
However wolfram disagrees with me. My question is, is the method of undetermined coefficients ok to use for this ODE? Or should I be using the method with the Wronskian (it's name escapes me at the moment)
Cheers