The simple pendulum is an approximate model of a pendulum, comprised of a zero-dimensional point mass hanging at the end of a mass-less wire attached with no Friction to a fixed point. The mass is only subject to gravity and ignores other forces like air drag. It is a specific case of the Foucault pendulum where the angle is constant and angular speed can be taken to be zero. This makes the pendulum swing on a plane and the system simplifies to a two-dimensional problem.
Starting from the Foucault pendulum equations of motion, equation becomes trivial when and . Equation becomes
which is a second order, non-linear differential equation in .
Small swings#
For small swings, where the angle of oscillation is small, we can approximate . This leaves us with
which is the harmonic oscillator equation, for which we know the solution. is the gravitational acceleration and is the length of the wire. If we call the angular frequency of oscillation, the general solution is
where is the amplitude of the oscillations. The period of oscillation is
Since the frequency is constant, the period is also constant. This means that small oscillations are isochronal. It is also independent of the mass of the object.
General case#
Let the initial conditions be and . These mean that the mass begins at some nonzero angle from the vertical and with no starting velocity. As there is no friction, motion must still be periodic, as in the small oscillation approximation. The period is however not so easily solved, as the non-linear differential is considerably more difficult to solve.
To procede, multiply by :
Integrating gives us
We can take the square root and pick the sign to be minus, so that the angle is decreasing (i.e. it's swinging towards the center). This way, we get
Splitting the differentials, we can separate the variables
We can now solve this by integration from to on the left and to on the right:
We can use the boundary condition to get
If we extract we get
where we used symmetry between and . Unfortunately, this integral is not solvable in closed form, so we must resort to numerical methods.
Since the motion is periodic, we only need to solve for one period and then we can reuse the results for every subsequent swing. If solved numerically, intermediate positions can be interpolated from the sampled solutions. More specifically, we can solve for just the half period, which is the time difference between to angles where the pendulum has stopped (i.e. the time to go from one extreme of a swing to the other).
By looking at the integral, we can see that it is improper, as the integrand shoots up to infinity when . For such an integral, we can use the Cauchy principal part:
(without stating the limit as it doesn't make much sense on a computer. is nevertheless very small). The first term can be numerically solve as usual, as it has no discontinuities. In the second, we can expand the cosine in a Taylor series about like
Changing variable to we get
which can be solved analytically to get
As approaches zero, this approximation (and therefore the integral itself) approaches zero. This means that needs to be chosen with care to avoid floating point errors when the denominator approaches zero. In total, the approximation is