# Second-order nonlinear ordinary differential equation

by lewis198
Tags: differential, equation, nonlinear, ordinary, secondorder
 P: 96 1. The problem statement, all variables and given/known data Given the Second-order nonlinear ordinary differential equation x''(t)=1/(x(t)^2) Find x(t). 2. Relevant equations I tried use Laplace transforms, and solving it using linear methods but that is not useful. 3. The attempt at a solution I tried to find t(x) and got to dt=dx/((C-2GM/x)^0.5) or something like that. I guess you could find t(x) then find [inverse t(x)] = x(t) But I would like to know how to solve it properly really.
HW Helper
Thanks
PF Gold
P: 26,107
 Quote by lewis198 x''(t)=1/(x(t)^2) Find x(t).
Hi lewis198!

Standard trick: multiply both sides by x'(t)
 HW Helper P: 3,309 similar outcome is to susbtitute to get a seprable equation then intgerate twice (ash means derivative w.r.t. t) u = x' then x" = u' = (du/dx)(dx/dt) = (du/dx)
P: 96

## Second-order nonlinear ordinary differential equation

Hi lanedance, I tried that method before and got

(1/2)*(u^2)=1/(x^2)

dt=dx/((C-2GM/x)^0.5).

this will therefore give me an integral t(x).

But I need x(t). It will be quite messy doing the inverse won't it?

I'm not sure where to go from multiplying LHS and RHS by x'(t).

Is there a more elegant way to get x(t)? For example if I had

ax''+bx'+cx=f(x)

I could get y=A*e^(mt)+B*e(mt)

But since in my characteristic equation b=0 and c=0 my m quadratic equation is void.
 P: 96 I'll just find t(x) then t-1(x)
HW Helper
Thanks
PF Gold
P: 26,107
 Quote by lewis198 x''(t)=1/(x(t)^2)
 Quote by lewis198 Hi lanedance, I tried that method before and got (1/2)*(u^2)=1/(x^2)
(try using the X2 tag just above the Reply box )

No, the RHS is wrong and you've left out the constant of integration.
 HW Helper P: 3,309 yeah i'm not too sure, don't know if Tim has any other ideas, but simple generic general solutions don't always apply to non-linear de's - this one is gets a little crazy near x=0, and tends to a straight line for x>>1 So the general solution may not be able to be solved simply for t^(-1). That said if you have the right boundary conditions, this one could simplify a bit... (in particular if you could set the 1st constant of integration to zero)
Mentor
P: 20,428
 Quote by lanedance similar outcome is to susbtitute to get a seprable equation then intgerate twice (ash means derivative w.r.t. t)
ash?
HW Helper
P: 3,309
 Quote by Mark44 ash?
there's a fire... few mistakes, so i clarified below
--------------------------------------------------------------------------------

similar outcome is to susbtitute to get a separable equation then integrate twice (dash means derivative w.r.t. t)
$$u = x' = \frac{dx}{dt}$$
then
$$x'' = u' = \frac{du}{dt} =\frac{du}{dx} \frac{dx}{dt} = \frac{du}{dx}u = \frac{1}{x^2}$$

 Related Discussions Calculus & Beyond Homework 6 Calculus & Beyond Homework 0 Differential Equations 1 Calculus & Beyond Homework 2 Calculus & Beyond Homework 4