Finding general solution of an ode using substitution

Homework Statement

By making the transformation u= x^αy where α is a constant to be found, find the general solution of[/B]

y'' + (2/x)y' + 9y=0

The Attempt at a Solution

I've worked out y,y',y'' and subbed them in to get

x^-au'' + x^a-1(2-2a)u' + x^-a-2(x^2-a(a-1))u =0

but I don't know what to do from here.

Any help would be greatly appreciated.

Orodruin
Staff Emeritus
Homework Helper
Gold Member
Can you perhaps chose ##a## in some intelligent fashion to simplify your equation?

yes sorry I forgot that bit I had worked out that a should be -1 and there's a typo it should be a(a+1)
which would simplify it down to

x^1 U'' + x^1U=0

then I had the thought to divide by x to get U''+U=0

but I got stuck here because I wasn't sure on what to do. Should I change back to y?

Orodruin
Staff Emeritus
Homework Helper
Gold Member
No, you should solve the differential equation you obtained for u. Reinsering y would just give back the old differential equation.

OK so I would have U''+9U=0

with general solution of U=Ae^3x+Be^-3x

and U=y/x so y=(Ae^3x+be^-3x)/x

Orodruin
Staff Emeritus
Homework Helper
Gold Member
No, this does not solve the differential equation.

sorry U should be Acos3x+Bcos3x

Orodruin
Staff Emeritus