Pendulum differential equation question

AI Thread Summary
The discussion revolves around solving the second-order differential equation for a pendulum, d²θ/dt² = -g/l sin θ, where θ is the angle, g is gravity, and l is the pendulum length. The user attempts to find θ as a function of time but encounters difficulties after integrating to obtain a relation involving ω (angular velocity) and θ. It is noted that while the problem can be approximated for small angles using linearization, an exact solution is not feasible due to the nature of the resulting integrals, which are elliptic integrals. The conversation also highlights the relationship between pendulum speed and amplitude, suggesting that knowledge of special functions like Jacobian Elliptic Functions could lead to a closed-form solution. Ultimately, the consensus is that the pendulum problem lacks an exact solution in simple terms.
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:
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Back
Top