Pendulum differential equation question

Click For Summary
SUMMARY

The discussion centers on solving the second-order differential equation for a pendulum, represented as d²θ/dt² = -g/l sin(θ), where l is the pendulum length and g is the acceleration due to gravity. The user attempts to derive θ as a function of time but encounters difficulties integrating the resulting expressions. The conversation highlights that while exact solutions are not feasible, methods such as linearization for small angles and quadrature techniques can be applied. Additionally, the use of Jacobian Elliptic Functions is suggested for those familiar with special functions to find closed-form solutions.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with basic physics concepts, particularly pendulum motion
  • Knowledge of integration techniques, including quadrature
  • Awareness of special functions, specifically Jacobian Elliptic Functions
NEXT STEPS
  • Study the method of linearization for small-angle approximations in pendulum dynamics
  • Learn about quadrature methods for solving differential equations
  • Explore Jacobian Elliptic Functions and their applications in solving complex integrals
  • Investigate phase space analysis in mechanical systems, focusing on energy conservation in pendulum motion
USEFUL FOR

Students and professionals in physics, mathematics, and engineering, particularly those interested in classical mechanics and differential equations.

okalakacheekee
Alright, for the second order differential d^2 theta/dt^2 = -g/l sin theta, where l is length of pendulum, g is gravity, etc...how do you solve that exactly for theta as a function of time?

I substituted (w=omega) dw/dt for d2theta/dt2...and eventually got 1/2 w^2 = g/l cos theta + C...but that doesn't give me theta as a function of time?

Any help is appreciated...thanks
 
Physics news on Phys.org
This problem usually asks for an approximation for small theta.

When that is the case, you can use the fact that

\sin \theta \rightarrow \theta,

\cos \theta \rightarrow 1 - \frac{\theta^2}{2}
 
Last edited:
but is there a way to solve it exactly?
 
alright here's what i did
so let's say O is theta, w is omega, for ease of writing

first i have
d2O/dt2 = -g/l sin O
I said w = dO/dt and then dw/dt=d2O/dt2
eventually i got to a point where i had
w dw = -g/l sin O dO
so i integrated and got
1/2 w^2 = g/l cos O + C

problem being, i had no time in there...
so then i put back in dO/dt for w and got
dO/dt = sqrt(2g/l * cosO)
so when you separate everything you get
dO/sqrt (cosO) = sqrt(2g/l) dO
then you integrate..here's where i ran into trouble yet again...how do you integrate the left hand side?
 
No, there is no way to solve the "pendulum problem" exactly.

A standard attack is "linearization"- for small values of θ, replace sin(θ) by its linear approximation θ to get the linear equation d2θ/dt2= -(g/l)θ.

Another method is "quadrature" which is basically what you are doing. Let ω= dθ/dt so that d2θ/dt2= dω/dt= (dω/dθ)(dθ/dt)= &omega dω/dt= -(g/l)sinθ.

That can be integrated to get (1/2)ω2= (g/l)cos(θ)+ C, a "first integral" (which physicists would associate with the "total energy" of the pendulum).

You could, of course, rewrite that as ω= dθ/dt= √((2g/l)cos(θ)+ C); but the resulting integral is an "elliptic integral" which cannot be integrated exactly.
 
Originally posted by okalakacheekee
alright here's what i did
so let's say O is theta, w is omega, for ease of writing

first i have
d2O/dt2 = -g/l sin O
I said w = dO/dt and then dw/dt=d2O/dt2
eventually i got to a point where i had
w dw = -g/l sin O dO
so i integrated and got
1/2 w^2 = g/l cos O + C

problem being, i had no time in there...
so then i put back in dO/dt for w and got
dO/dt = sqrt(2g/l * cosO)
so when you separate everything you get
dO/sqrt (cosO) = sqrt(2g/l) dO
then you integrate..here's where i ran into trouble yet again...how do you integrate the left hand side?

What you've done turns up the very useful relation of pendulum speed versus amplitude. Another way to derive it is to write KE + PE = {1\over 2}mv^2-mgl\cos\theta=\mbox{constant}.

You can plot curves in v vs. θ space (this space is called phase space); these will look like ellipses but become distorted into eye-shaped as the pendulum amplitude reaches large enough angles.

If you know enough "special functions", then yes, the problem is solvable in closed form. Look up info on "Jacobian Elliptic Functions". They're not as common as sines and cosines, but they are just as legitimate in the "finding a closed form solution" sense.
 
Last edited:

Similar threads

  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
4
Views
4K
Replies
8
Views
2K
Replies
16
Views
2K