# General solution of a differential equation

what is the general solution of this diff. equation $$x^2y''-4xy'+6y=x$$

Tried calling $y=xv$ but didnt work. ($x^2v''-2xv'+v=1$) what can I try else?

-

Hint: You can use the substitution $$x=e^t.$$ You have $$\frac{dy}{dx}=\frac{dy}{dt}\frac{dt}{dx}=\frac{dy}{dt}e^{-t}.$$ In the same spirit you should find $$\frac{d^2y}{dx^2}=\frac{d}{dx}\left(\frac{dy}{dx}\right)=\ldots$$ After this substitution you will get a linear equation with constant coefficients.

-

Hint: there's a solution of the form $y=ax$.

-

Generally an ode like $$ax^2y''+bxy'+cy=g(x)$$ is called Cauchy-Euler equation. What you should do is the solve the homogenous equation $$x^2y''-4xy'+6y=0$$ firstly and then find the particular solution for non-homogenous equation $$x^2y''-4xy'+6y=x$$ by other proper method like variation of parameter secondly. For the first step you can use $y=x^m$ and find the proper $m$'s for finding the general solution $y_c$.

-
Very helpful suggestions and "sketch! +1 –  amWhy Apr 15 '13 at 0:23
$$y'' + p(t)y' + q(t)y = g(t)$$