# Pendulum (mathematics)

Template:Dynamics Template:Seeintro 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

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 differential equation which represents the motion of a simple pendulum is

Template:NumBlk where is acceleration due to gravity, is the length of the pendulum, and is the angular displacement.

## Small-angle approximation

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

then substituting for sin θ into Template:EquationNote using the small-angle approximation,

yields the equation for a harmonic oscillator,

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

Given the initial conditions *θ*(0) = *θ*_{0} and *dθ*/*dt*(0) = 0, the solution becomes,

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

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

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 m/s^{2}, and (0.994 is the approximation to 3 decimal places).

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

## Arbitrary-amplitude period

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 (Template:EquationNote),

and then integrating over one complete cycle,

or twice the half-cycle

or 4 times the quarter-cycle

which leads to

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

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

Or more concisely by the substitution expressing in terms of ,

Template:NumBlk where is the complete elliptic integral of the first kind defined by

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/s^{2}) at initial angle 10 degrees is . The linear approximation gives . 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

Given Template:EquationNote and the Legendre polynomial solution for the elliptic integral:

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

Figure 4 shows the relative errors using the power series. *T*_{0} is the linear approximation, and *T*_{2} to *T*_{10} include respectively the terms up to the 2nd to the 10th powers.

### Power series solution for the elliptic integral

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

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

### Arithmetic-geometric mean solution for elliptic integral

Given Template:EquationNote and the Arithmetic-geometric mean solution of the elliptic integral:

where is the arithmetic-geometric mean of and .

This yields an alternative and faster-converging formula for the period:^{[2]}

## Examples

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

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:

where:

The torque is generated by gravity so:

where:

*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 ,

This is of the same form as the conventional simple pendulum and this gives a period of:

^{[3]}

And a frequency of:

## Physical interpretation of the imaginary period

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:^{[4]} 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.^{[5]}

## See also

- Blackburn pendulum
- Conical pendulum
- Double pendulum
- Inverted pendulum
- Spring pendulum
- Mathieu function
- Pendulum equations (software)

## References

- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}
- ↑ Physical Pendulum
- ↑ 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 - ↑ 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.

## Further reading

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}