Solving ODE: $\frac{d^2x}{dt^2} = -\frac{L}{x}$

  • Thread starter gulsen
  • Start date
  • Tags
    Ode
In summary, Daniel is trying to solve a equation where the variable on the right side is x and not t. The equation is dimensionally incorrect and the Laplace transform method doesn't work. He then tried substituting v=\frac{dx}{dt}, which gives the following: [tex]\frac{d^2x}{dt^2}=\frac{dv}{dt}=\frac{dv}{dx}\frac{dx}{dt}=v\frac{dv}{dx}[/itex] which works in principle because it gives you a seperable first order ODE in v(t). But the integration to get from v to x looks nasty, and he
  • #1
gulsen
217
0
I've been trying to deterimine the path of a particle. And somewhere in the solution, I need to solve this:
[tex]\frac{d^2x}{dt^2} = -\frac{L}{x}[/tex]
where L is a positive number (actually length). And ideas how this can be solved? I was just reluctant to try series expansion (frob., etc) since the problem isn't finished with the solution of this, and it'd be better if I had finite terms to go on.
 
Physics news on Phys.org
  • #2
How about integrating twice?
 
  • #3
How about reading the question?

In case you haven't noticed, the variable on the right side is x and not t.
 
  • #4
Whoops. :redface:

I haven't finished solving it yet, but I have started by moving the [itex]x[/itex] over to the left side and taking the Laplace transform. It requires some clever integration by parts, but I think it is going to come out.
 
  • #5
Thanks for taking time :)
 
  • #6
The Laplace transform method doesn't work. [itex]X(s)[/itex] cancels out entirely.

I then tried substituting [itex]v=\frac{dx}{dt}[/itex], which gives the following:

[tex]\frac{d^2x}{dt^2}=\frac{dv}{dt}=\frac{dv}{dx}\frac{dx}{dt}=v\frac{dv}{dx}[/itex]

This works in principle because it gives you a seperable first order ODE in [itex]v(t)[/itex]. But the integration to get from [itex]v[/itex] to [itex]x[/itex] looks nasty, and I don't know if it can be done in practice.
 
  • #7
I too have tried solving the equation using the same trick.
[tex]\frac{dv}{dt} \frac{dx}{dx} = vdv\frac{1}{dx}[/tex]
and
[tex]vdv = -L\frac{dx}{x}[/tex]

[tex]\frac{v^2}{2} = -L \ln(x) + C_0[/tex]
[tex]v = \frac{dx}{dt} = \sqrt{-2L \ln(x) + C_0}[/tex]
[tex]\frac{dx}{\sqrt{-2L \ln(x) + C_0}} = dt[/tex]
Which seemed to be worse...
But at least, it's first order!

(note: negative v won't make sense, so I just ignored it)
 
Last edited:
  • #8
gulsen said:
I've been trying to deterimine the path of a particle. And somewhere in the solution, I need to solve this:
[tex]\frac{d^2x}{dt^2} = -\frac{L}{x}[/tex]
where L is a positive number (actually length). And ideas how this can be solved? I was just reluctant to try series expansion (frob., etc) since the problem isn't finished with the solution of this, and it'd be better if I had finite terms to go on.

I guess x and t are not position and time as then the equation is dimensionally incorrect. Or is there still some coefficient missing?
 
  • #9
Yes, it all means that x(t) is not expressible in terms of elementary functions, and possibly neither in terms of known special functions...

Daniel.
 
  • #10
aaahhh nonlinearity...makes a simple equation to be a very hard one. If you assume a series solution sometimes you come out with the series expansion of an analytical function. It's only an idea.
 
  • #11
da_willem said:
I guess x and t are not position and time as then the equation is dimensionally incorrect. Or is there still some coefficient missing?

^-^' actually, I've just merged them into L to keep it simple, but L is still positive.

BTW, integrator has given this solution:
[tex]\int \frac{dx}{\sqrt{-2L \ln(x) + C_0}} = e^{\frac{C_0}{2L}} \sqrt{\frac{\pi}{2L}} erf(\sqrt{\frac{-2L \ln(x) + C_0}{2L}})[/tex]
 
Last edited:

FAQ: Solving ODE: $\frac{d^2x}{dt^2} = -\frac{L}{x}$

What is an ODE?

An ODE (ordinary differential equation) is an equation that involves a function and its derivatives with respect to one or more independent variables.

What does the given ODE represent?

The given ODE, $\frac{d^2x}{dt^2} = -\frac{L}{x}$, represents the motion of a particle under the influence of a central force, where $x$ is the position of the particle, $t$ is time, and $L$ is a constant related to the strength of the force.

How do you solve this ODE?

To solve this ODE, you can use techniques such as separation of variables, integration, or substitution to find a general solution. The specific method used depends on the form of the equation and any boundary conditions given.

What are the applications of solving this ODE?

This ODE has applications in classical mechanics, such as in the motion of objects under the influence of gravity or electromagnetic forces. It can also be used in modeling other physical phenomena, such as oscillations or vibrations.

Are there any limitations to solving this ODE?

Yes, the solutions to this ODE may not always exist or be unique. Additionally, some ODEs may not have closed-form solutions and require numerical methods for approximation. Furthermore, the solutions may not accurately represent real-world situations due to simplifications and assumptions made in the modeling process.

Back
Top