How to solve a second order diff eq?

In summary, the equation has a solution that is not explicit, and involves using the derivative and the integral over the derivative.
  • #1
Binaryburst
24
0
If have this equation:

[itex] \frac {d^2x}{dt^2}=-\frac{x}{1+x^2} [/itex]

How do I solve it?
 
Physics news on Phys.org
  • #2
Did you try the usual methods, like separation of variables or a direct integration?
 
  • #3
Binaryburst said:
If have this equation:

[itex] \frac {d^2x}{dt^2}=-\frac{x}{1+x^2} [/itex]

How do I solve it?

How about numerical methods, like they are applied here?
(I do not believe there is a nice analytic solution.)
 
  • #4
$$\int \! \dfrac{d^2x}{dt^2}\dfrac{dx}{dt} \, \mathrm{d}t=-
\int \! \frac{x}{1+x^2}\dfrac{dx}{dt} \, \mathrm{d}t$$
 
  • #5
The solution to this equation should be:

[itex] x(t) = sin(t) [/itex]

I simply don't know how to get there ...

I have integrated but I get something like integ of 1/sqr(-ln(1+x^2)) dx?! :(
 
  • #7
Binaryburst said:
The solution to this equation should be:

[itex] x(t) = sin(t) [/itex]
This would give ##x''=-x##, and ##1+x^2 \neq 1## (in general), so it is not a solution.

The first integral should give something like ln(1+x^2).
 
  • #8
@ mfb I am out of ideas. I have a problem that I have been struggling with for half a year and still haven't solved it. I posted it once but didn't get an exact complete solution. https://www.physicsforums.com/showthread.php?t=668751&goto=newpost It has to be done without conservation of energy. (Just using forces) Thanks in advance.
 
  • #9
introduce a new variable
[itex]p=\frac{dx}{dt}[/itex]

by the chain rule we have:
[itex]\frac{d^2x}{dt^2}=\frac{dp(x(t))}{dx}=\frac{dp}{dx}\frac{dx}{dt}=\frac{dp}{dx}p[/itex]
This means that
[itex]pdp = \frac{-1}{1+x^2}dx[/itex]

integrate!

[itex]\int pdp = \int \frac{-1}{1+x^2}dx[/itex]
[itex]\frac{1}{2}p^2 = -\frac{1}{2}\ln(1+x^2)+C_1[/itex]

and because p is the derivative dx/dt, we get

[itex]\frac{dx}{\sqrt{-\ln(1+x^2)+C_1}} = 1[/itex]

integrate!

[itex]\int\frac{1}{\sqrt{\ln(1+x^2)+C_1}}dx = t + C_2[/itex]


Well, not a very nice solution because it's implicit.
 
  • #10
Let us denote ##\dot x## to be the same as ##dx \over dt##.

Then:
$$\ddot x = - \frac{x}{1+x^2}$$
$$2 \ddot x \dot x = -\frac{1}{1+x^2} \cdot 2x \cdot \dot x$$
$$\dot x^2 = -\ln(1+x^2) + C$$

And there it ends! :cry:
No nice integration after this!
 

FAQ: How to solve a second order diff eq?

What is a second order differential equation?

A second order differential equation is a mathematical equation that involves the second derivative of a function. It is often used to describe physical phenomena in fields such as physics, engineering, and economics.

How do I solve a second order differential equation?

To solve a second order differential equation, you can use various methods such as separation of variables, substitution, or the method of undetermined coefficients. It is important to first identify the type of differential equation and then choose the appropriate method to solve it.

Can I use a calculator to solve a second order differential equation?

Yes, you can use a calculator to solve a second order differential equation. However, it is important to note that most calculators have limited capabilities and may not be able to handle more complex equations. It is recommended to use specialized software or programming languages for more accurate and efficient solutions.

What are the initial conditions in a second order differential equation?

The initial conditions in a second order differential equation refer to the values of the function and its derivatives at a specific point in the domain. These conditions are necessary to obtain a unique solution to the differential equation.

Are there real-life applications of second order differential equations?

Yes, second order differential equations have numerous real-life applications, such as in modeling the motion of a pendulum, describing the growth of a population, or predicting the behavior of electric circuits. They are also used in various fields of science and engineering to analyze and solve complex problems.

Similar threads

Back
Top