# Math Help - correct solution for y''-(x^2)y=0

1. ## correct solution for y''-(x^2)y=0

y''-x2y=0, (y''=d2y/dx2)

when try to find solution, usually assuming solution form is y=elambda X, and lambda =x, -x, then general solution is y=c1ex^2 + c2e-x^2. however, I was told this is wrong approach to solve.

Then how can I get correct general solution?

2. ## Re: correct solution for y''-(x^2)y=0

Originally Posted by tykim
y''-x2y=0, (y''=d2y/dx2)

when try to find solution, usually assuming solution form is y=elambda X, and lambda =x, -x, then general solution is y=c1ex^2 + c2e-x^2. however, I was told this is wrong approach to solve.

Then how can I get correct general solution?
Your trial solutions are only used for second order linear DEs with constant coefficients. What you actually have is a Cauchy-Euler equation.

3. ## Re: correct solution for y''-(x^2)y=0

Then I can set y=x^m, y'=mx^(m-1), y''=m(m-1)x^(m-2)
But could not get m.

Could I get more help?

4. ## Re: correct solution for y''-(x^2)y=0

Originally Posted by tykim
Then I can set y=x^m, y'=mx^(m-1), y''=m(m-1)x^(m-2)
But could not come to the solution.

Could I get more help?
Now substitute into the Differential Equation...

Edit: Oops, it looks like it's NOT quite a Cauchy-Euler equation, though I expect a similar substitution will work. Hold on...

5. ## Re: correct solution for y''-(x^2)y=0

You cannot obtain a closed form for the solutions in using an elementrary method only.
Solving this kind of ODE requires a change of fonction and a change of variable in order to transform it to a standard Bessel ODE.
The solutions involve some Bessel functions.
Alternatively the solution can be directly expressed on the form of particular Parabolic Cylinder functions (which are less usual as the related Bessel functions)