Pendulum (mathematics)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
For a more accessible and less technical introduction to this topic, see Introduction to pendulum (mathematics).

The mathematics of pendulums are in general quite complicated. Simplifying assumptions can be made, which in the case of a simple pendulum allows the equations of motion to be solved analytically for small-angle oscillations.

Simple gravity pendulum[edit]

Animation of a pendulum showing the velocity and acceleration vectors.

A so-called "simple pendulum" is an idealization of a "real pendulum" but in an isolated system using the following assumptions:

  • The rod or cord on which the bob swings is massless, inextensible and always remains taut;
  • The bob is a point mass;
  • Motion occurs only in two dimensions, i.e. the bob does not trace an ellipse but an arc.
  • The motion does not lose energy to friction or air resistance.
  • The gravitational field is uniform.
  • The support does not move.

The differential equation which represents the motion of a simple pendulum is

{d^2\theta\over dt^2}+{g\over \ell} \sin\theta=0





(Eq. 1)

where g is acceleration due to gravity, is the length of the pendulum, and θ is the angular displacement.

Small-angle approximation[edit]

The differential equation given above is not easily solved, and there is no solution that can be written in terms of elementary functions. However adding a restriction to the size of the oscillation's amplitude gives a form whose solution can be easily obtained. If it is assumed that the angle is much less than 1 radian, or

\theta \ll 1\,,

then substituting for sin θ into Eq. 1 using the small-angle approximation,


yields the equation for a harmonic oscillator,

{d^2\theta\over dt^2}+{g\over \ell}\theta=0.

The error due to the approximation is of order θ3 (from the Maclaurin series for sin θ).

Given the initial conditions θ(0) = θ0 and /dt(0) = 0, the solution becomes,

\theta(t) = \theta_0\cos\left(\sqrt{g\over \ell\,}\,t\right) \quad\quad\quad\quad \theta_0 \ll 1.

The motion is simple harmonic motion where θ0 is the semi-amplitude of the oscillation (that is, the maximum angle between the rod of the pendulum and the vertical). The period of the motion, the time for a complete oscillation (outward and return) is

T_0 = 2\pi\sqrt{\frac{\ell}{g}} \quad\quad\quad\quad\quad \theta_0 \ll 1

which is known as Christiaan Huygens's law for the period. Note that under the small-angle approximation, the period is independent of the amplitude θ0; this is the property of isochronism that Galileo discovered.

Rule of thumb for pendulum length[edit]

T_0 = 2\pi\sqrt{\frac{\ell}{g}} can be expressed as \ell = {\frac{g}{\pi^2}}\times{\frac{T_0^2}{4}}.

If SI units are used (i.e. measure in metres and seconds), and assuming the measurement is taking place on the Earth's surface, then g\approx9.81 m/s2, and g/\pi^2\approx{1} (0.994 is the approximation to 3 decimal places).

Therefore, a relatively reasonable approximation for the length and period are,

T_0 \approx 2 \sqrt{\ell}

where T0 is the number of seconds between two beats (one beat for each side of the swing), and is measured in metres.

Arbitrary-amplitude period[edit]

For amplitudes beyond the small angle approximation, one can compute the exact period by first inverting the equation for the angular velocity obtained from the energy method (Eq. 2),

Figure 3. Deviation of the "true" period of a pendulum from the small-angle approximation of the period. "True" value was obtained using Matlab to numerically evaluate the elliptic integral.
Figure 4. Relative errors using the power series.
{dt\over d\theta} = \sqrt{\ell\over 2g}{1\over\sqrt{\cos\theta-\cos\theta_0}}

and then integrating over one complete cycle,

T = t(\theta_0\rightarrow0\rightarrow-\theta_0\rightarrow0\rightarrow\theta_0),

or twice the half-cycle

T = 2 t\left(\theta_0\rightarrow0\rightarrow-\theta_0\right),

or 4 times the quarter-cycle

T = 4 t\left(\theta_0\rightarrow0\right),

which leads to

T = 4\sqrt{\ell\over 2g}\int^{\theta_0}_0 {1\over\sqrt{\cos\theta-\cos\theta_0}}\,d\theta.

Note that this integral diverges as  \theta_0 approaches the vertical

 \lim_{\theta_0 \rightarrow \pi} T = \infty ,

so that a pendulum with just the right energy to go vertical will never actually get there. (Conversely, a pendulum close to its maximum can take an arbitrarily long time to fall down.)

This integral can be re-written in terms of elliptic integrals as

T = 4\sqrt{\ell\over g}F\left( {\theta_0\over2}, \csc{\theta_0\over2}\right)\csc {\theta_0\over 2}

where F is the incomplete elliptic integral of the first kind defined by

F(\varphi , k) = \int_0^\varphi {1\over\sqrt{1-k^2\sin^2{u}}}\,du\,.

Or more concisely by the substitution \sin{u} = \frac{\sin{\theta\over 2}}{\sin{\theta_0\over 2}} expressing \theta in terms of u,

T = 4\sqrt{\ell\over g}\,K\left( \sin^2{\left(\frac{\theta_0}{2}\right)} \right)





(Eq. 3)

where K is the complete elliptic integral of the first kind defined by

K(k) = F \left( {\pi\over 2}, k \right) = \int_0^{\pi/2} {1\over\sqrt{1-k^2\sin^2{u}}}\,du\,.

For comparison of the approximation to the full solution, consider the period of a pendulum of length 1 m on Earth (g = 9.80665 m/s2) at initial angle 10 degrees is 4\sqrt{\frac{1\ \mathrm{m}}{g}}\ K\left(\sin^2{\left(\frac{10^\circ} {2}\right)} \right) \approx 2.0102\ \mathrm{s}. The linear approximation gives 2\pi \sqrt{\frac{1\ \mathrm{m}}{g}} \approx 2.0064\ \mathrm{s}. The difference between the two values, less than 0.2%, is much less than that caused by the variation of (g with geographical location.

From here there are many ways to proceed to calculate the elliptic integral:

Legendre polynomial solution for the elliptic integral[edit]

Given Eq. 3 and the Legendre polynomial solution for the elliptic integral:

K(k) = \frac{\pi}{2}\left\{1 + \left(\frac{1}{2}\right)^2 k^{2} + \left(\frac{1 \cdot 3}{2 \cdot 4}\right)^2 k^{4} + \cdots + \left[\frac{\left(2n - 1\right)!!}{\left(2n\right)!!}\right]^2 k^{2n} + \cdots \right\},

where n!! denotes the double factorial, an exact solution to the period of a pendulum is:

T & = 2\pi \sqrt{\ell\over g} \left( 1+ \left( \frac{1}{2} \right)^2 \sin^2\left(\frac{\theta_0}{2}\right) + \left( \frac{1 \cdot 3}{2 \cdot 4} \right)^2 \sin^4\left(\frac{\theta_0}{2}\right) + \left( \frac {1 \cdot 3 \cdot 5}{2 \cdot 4 \cdot 6} \right)^2 \sin^6\left(\frac{\theta_0}{2}\right) + \cdots \right) \\
  & = 2\pi \sqrt{\ell\over g} \cdot \sum_{n=0}^\infty \left[ \left ( \frac{(2 n)!}{( 2^n \cdot n! )^2} \right )^2 \cdot \sin^{2 n}\left(\frac{\theta_0}{2}\right) \right].

Figure 4 shows the relative errors using the power series. T0 is the linear approximation, and T2 to T10 include respectively the terms up to the 2nd to the 10th powers.

Figure 5. Potential energy and phase portrait of a simple pendulum. Note that the x-axis, being angle, wraps onto itself after every 2π radians.

Power series solution for the elliptic integral[edit]

Another formulation of the above solution can be found if the following Maclaurin series:

\sin {\theta_0 \over 2}=\frac{1}{2}\theta_0 - \frac{1}{48}\theta_0^3 + \frac{1}{3840}\theta_0^5 - \frac{1}{645120}\theta_0^7 + \cdots.

is used in the Legendre polynomial solution above. The resulting power series is:[1]

T & = 2\pi \sqrt{\ell\over g} \left( 1+ \frac{1}{16}\theta_0^2 + \frac{11}{3072}\theta_0^4 + \frac{173}{737280}\theta_0^6 + \frac{22931}{1321205760}\theta_0^8 + \frac{1319183}{951268147200}\theta_0^{10} + \frac{233526463}{2009078326886400}\theta_0^{12} + . . . \right) 

Arithmetic-geometric mean solution for elliptic integral[edit]

Given Eq. 3 and the Arithmetic-geometric mean solution of the elliptic integral:

K(k) = \frac {\pi /2}{M(1-k,1+k)},

where M(x,y) is the arithmetic-geometric mean of x and y.

This yields an alternative and faster-converging formula for the period:[2][3][4]

T = \frac{2\pi}{M(1, \cos(\theta_0/2))} \sqrt\frac{\ell}{g}.


The animations below depict several different modes of oscillation given different initial conditions. The small graph above the pendulums are their phase portraits.

Compound pendulum[edit]

A compound pendulum (or physical pendulum) is one where the rod is not massless, and may have extended size; that is, an arbitrarily shaped rigid body swinging by a pivot. In this case the pendulum's period depends on its moment of inertia I around the pivot point.

The equation of torque gives:

\tau = I \alpha\,


α is the angular acceleration.
τ is the torque

The torque is generated by gravity so:

\tau = - m g L \sin\theta\,


m is the mass of the body
L is the distance from the pivot to the center of mass of the pendulum
θ is the angle from the vertical

Hence, under the small-angle approximation \scriptstyle \sin \theta \approx \theta\,,

\alpha = \theta^{\,\prime\prime} \approx -\frac{mgL \theta} {I_{cm} + mL^2}

where Icm is the moment of inertia of the body about its center of mass.

The expression for α is of the same form as the conventional simple pendulum and gives a period of:

T = 2 \pi \sqrt{\frac{I_{cm} + mL^2} {mgL}}


And a frequency of:

f = \frac{1}{T} = \frac{1}{2\pi} \sqrt{\frac{mgL}{I_{cm} + mL^2}}

If the initial angle is taken into consideration (for large amplitudes), then the expression for \alpha becomes:

\alpha = \theta^{\,\prime\prime} = -\frac{mgL \sin\theta}{I_{cm} + mL^2}

and gives a period of:

T = 4 K\left(\sin^2\left(\frac{\theta_{0}}{2}\right)\right)\sqrt{\frac{I_{cm} + mL^2}{mgL}}

where θ0 is the maximum angle of oscillation (with respect to the vertical) and K(k) is the complete elliptic integral of the first kind.

Physical interpretation of the imaginary period[edit]

The Jacobian elliptic function that expresses the position of a pendulum as a function of time is a doubly periodic function with a real period and an imaginary period. The real period is of course the time it takes the pendulum to go through one full cycle. Paul Appell pointed out a physical interpretation of the imaginary period:[6] if θ0 is the maximum angle of one pendulum and 180° − θ0 is the maximum angle of another, then the real period of each is the magnitude of the imaginary period of the other. This interpretation, involving dual forces in opposite directions, might be further clarified and generalized to other classical problems in mechanics with dual solutions.[7]

Transition from oscillatory to rotary motion and Abrarov's critical solution[edit]

Abrarov's critical solution corresponds to the upper unstable equilibrium of the pendulum. It separates solutions with oscillatory mode of motion from solutions, where the motion is revolutional. Explicit formulas are given in the Proceedings of the Sixteenth International Conference on Geometry, Integrability and Quantization.[8] Remarkably, the modulus of the imaginary period of Abrarov's solution coincides with the period for small angles pendulum.

See also[edit]


  1. ^ Nelson, Robert; M. G. Olsson (February 1986). "The pendulum — Rich physics from a simple system". American Journal of Physics 54 (2): pp. 112–121. doi:10.1119/1.14703. Retrieved 2012-04-30. 
  2. ^ Carvalhaes, Claudio G.; Suppes, Patrick (December 2008), "Approximations for the period of the simple pendulum based on the arithmetic-geometric mean" (PDF), Am. J. Phys. 76 (12͒): 1150–1154, doi:10.1119/1.2968864͔, ISSN 0002-9505, retrieved 2013-12-14 
  3. ^ Adlaj, Semjon (September 2012), "An eloquent formula for the perimeter of an ellipse" (PDF), Notices of the AMS 76 (8): 1094–99, doi:10.1090/noti879, ISSN 1088-9477 
  4. ^ Van Baak, Tom (November 2013). "A New and Wonderful Pendulum Period Equation" (PDF). Horological Science Newsletter 2013 (5): 22–30. 
  5. ^ Physical Pendulum
  6. ^ Paul Appell, "Sur une interprétation des valeurs imaginaires du temps en Mécanique", Comptes Rendus Hebdomadaires des Scéances de l'Académie des Sciences, volume 87, number 1, July, 1878
  7. ^ Adlaj, S. Mechanical interpretation of negative and imaginary tension of a tether in a linear parallel force field , Selected papers of the International Scientific Conference on Mechanics "SIXTH POLYAKHOV READINGS", January 31 - February 3, 2012, Saint-Petersburg, Russia, pp. 13-18.
  8. ^ Adlaj, Semjon (June 6–11, 2014). An analytic unifying formula of oscillatory and rotary motion of a simple pendulum (PDF). International Conference on Geometry, Integrability, Mechanics and Quantization. Varna, Bulgaria. Retrieved 28 December 2015. 

Further reading[edit]

External links[edit]