# Math Help - Solving differential equation

1. ## Solving differential equation

Solve $x^2y''+xy'+y=\log x \ \ \ \ x>0$ by letting $x=e^t$

How do I find y' and y''?

$\frac{dy}{dx}=\frac{dy}{dt}\cdot\frac{dt}{dx}$

$\frac{dy}{dx}=\frac{dy}{dt}\cdot e^{-t}$

Not too sure what to do next?

2. Your calculation of $\frac{dy}{dx}$ is correct.

So $\frac{d^2y}{dx^2} = \frac{d}{dx}\left(e^{-t}\,\frac{dy}{dt}\right)$

$= e^{-t}\,\frac{d}{dx}\left(\frac{dy}{dt}\right) + \frac{d}{dx}(e^{-t})\,\frac{dy}{dt}$

$= e^{-t}\,\frac{d}{dt}\left(\frac{dy}{dt}\right)\,\frac{ dt}{dx} + \frac{d}{dt}(e^{-t})\,\frac{dt}{dx}\,\frac{dy}{dt}$

$= e^{-2t}\,\frac{d^2y}{dt^2} - e^{-2t}\,\frac{dy}{dt}$.

Now substitute everything into your DE.

3. Originally Posted by Prove It
Your calculation of $\frac{dy}{dx}$ is correct.

So $\frac{d^2y}{dx^2} = \frac{d}{dx}\left(e^{-t}\,\frac{dy}{dt}\right)$

$= e^{-t}\,\frac{d}{dx}\left(\frac{dy}{dt}\right) + \frac{d}{dx}(e^{-t})\,\frac{dy}{dt}$

$= e^{-t}\,\frac{d}{dt}\left(\frac{dy}{dt}\right)\,\frac{ dt}{dx} + \frac{d}{dt}(e^{-t})\,\frac{dt}{dx}\,\frac{dy}{dt}$

$= e^{-2t}\,\frac{d^2y}{dt^2} - e^{-2t}\,\frac{dy}{dt}$.

Now substitute everything into your DE.
Thanks, that makes a lot of sense now.