# Thread: General Solution of this ODE

1. ## General Solution of this ODE

Hi,

I just need to know where to start in solving this ODE. I know it has something to do with the Method of Undetermined Coefficients, but I'm really stuck. The question is as follows:

Find the general solution of:

$x^2y'' + 2xy' + 2y = x^2 + Bx + C$

where A and B are constants.

Thanks a lot!

2. This a Cauchy-Euler Equation

which is

$ar^2 + (b-a)r + c =0$

$r^2 + r +2 = 0$

so

$r = -\frac{1}{2} \pm \frac{\sqrt{7}}{2}i$

$y = Ax^{-\frac{1}{2}}\cos{\frac{\sqrt{7}}{2}} + Bx^{-\frac{1}{2}}\sin{\frac{\sqrt{7}}{2}}$
4. You "understanding" is completely wrong. Ay"+ By+ C= 0 is a special case of the "constant coefficients" equation with Ay"+ 0y'+ By= -C. The general Cauchy-Euler equation of the 2nd order is $Ax^2y"+ Bxy'+ Cy= f(x)$".