# 2nd order DE w/ various solutions

1. Oct 6, 2014

### MathewsMD

Hi,

I'm currently finding a solution (i.e. y) for y′′ +t(y′)2 = 0.

y=(1/k)ln|(k−t)/(k+t)|+c2 if c1 =k^2 >0; y=(2/k)arctan(t/k)+c2 if c1 =−k^2 <0; y=−2t−1 +c2 if c1 =0; also y=c

(NOTE: c1 or c2 is just c_1 or c_2)

I've gotten the solutions as y = 0 or y=(2/k)arctan(t/k)+c2, depending on the initial conditions, but don't seem to understand how the first solution (i.e. y=(1/k)ln|(k−t)/(k+t)|+c2) provided in the answer was derived. Also, I don't quite understand why the restrictions are being stated (i.e. if c1 > k^2). If anyone could please explain why there are multiple restrictions and different solutions for each, and also how the first solution was derived, that would be extremely helpful.

Thank you!

2. Oct 7, 2014

### pasmith

I think you mean $y = -2t^{-1} + c_2$ in the case $c_1 = 0$; $-2t + C$, which is what you have, is not actually a solution.

For non-constant solutions, the ODE may be rearranged as $$\frac{y''}{y'^2} = -t,$$ and integrating once with respect to $t$ will yield $$y' = \frac{2}{t^2 - c_1}.$$ How would you proceed from here? It depends on whether $c_1$ is strictly positive (in which case it may be convenient to set $c_1 = k^2$ for some $k > 0$), strictly negative (in which case it may be convenient to set $c_1 = -k^2$ for some $k > 0$), or zero.

3. Oct 7, 2014

### MathewsMD

Hmmm...do you mind possibly explaining how you integrated and went from $$\frac{y''}{y'^2} = -2t,$$to$$y' = \frac{2}{t^2 - c_1}$$? I may just not be seeing something, but any help would be much appreciated!

Last edited: Oct 7, 2014
4. Oct 9, 2014

### HallsofIvy

Let u= y'. Then y''= u' so the differential equation becomes $$u^{-2}du/dt= -2t$$ so $$u^{-2}du= -2t dt$$. Integrating both sides $$-u^{-1}= -t^2+ C$$ or $$u= dy/dt= 1/(t- C)$$.

5. Oct 9, 2014

### MathewsMD

Was the $$t^2$$ in the denominator $$t-C$$ in the final step intentionally left out for any particular reason? If not, thank you so much for your help!

6. Oct 12, 2014

### HallsofIvy

That was a typo. The last equation should have been
$$u= \frac{dy}{dt}= \frac{1}{t^2- C}$$