Physlib.ClassicalMechanics.Pendulum.SimplePendulum.PeriodFormula
The period formula of the simple gravity pendulum
i. Overview
Beyond the small-angle approximation the period of the simple gravity pendulum depends on the amplitude of the swing. Released from rest at the angle `θ₀`, with `0 < θ₀ < π`, the pendulum librates about the bottom of its swing, and the classical calculation (Landau & Lifshitz, §11, Problem 1) integrates the energy first integral by quadrature: the quarter period is the time of descent from `θ₀` to the bottom, the substitution `sin (θ/2) = sin (θ₀/2) sin φ` turns the resulting integral into a complete elliptic integral of the first kind, and the period is
`T = 4 √(ℓ/g) K(sin ½θ₀)`,
with `K` Legendre's complete elliptic integral of the first kind in the modulus convention. In the parameter convention of `Real.completeEllipticK`, where the parameter is the square `m = k²` of the modulus, the same formula reads `4 √(ℓ/g) completeEllipticK (sin² (θ₀/2))`.
This module records that formula as `SimplePendulum.periodFormula` and proves what follows for it from the theory of `completeEllipticK` alone: it is even in the amplitude, at zero amplitude it is the small-angle period `2π √(ℓ/g)`, it is continuous on `(-π, π)` and tends to the small-angle period as the amplitude tends to zero, it is never below the small-angle period, it is strictly increasing in the amplitude on `[0, π)`, and it is at most `2π √(ℓ/g) / cos (θ₀/2)`. The formula is therefore not constant in the amplitude — the classical statement that the pendulum is not isochronous, once the identification below is proved — and the upper bound quantifies how it grows as the amplitude approaches the inverted position.
What this module does not do is identify `periodFormula θ₀` with the period of a solution of the nonlinear equation of motion released from rest at `θ₀`. That identification is the theorem the formula is named for, and its formalization — the quarter period as a first hitting time, the quadrature of the energy first integral, the substitution, and their assembly, on top of the uniqueness of solutions and the time-reversal symmetry of the equation of motion (formalized in the companion module `SimplePendulum/Solution.lean`) — is not yet carried out; the `TODO` after the definition lists the milestones. Until then `periodFormula` is a definition, and the statements about it are statements about the elliptic integral.
ii. Key results
- `SimplePendulum.periodFormula` is the classical formula `4 √(ℓ/g) K(sin² (θ₀/2))` for the period of libration with amplitude `θ₀`; for `|θ₀| < π` its parameter `sin² (θ₀/2)` lies below `1` (`Real.sin_half_sq_lt_one`), so it is evaluated on the domain of `completeEllipticK`. - `SimplePendulum.periodFormula_neg`: the formula is even in the amplitude. - `SimplePendulum.periodFormula_zero`: at zero amplitude the formula is the small-angle period, `periodFormula 0 = smallAnglePeriod`. - `SimplePendulum.continuousOn_periodFormula` and `SimplePendulum.continuousAt_periodFormula_zero`: the formula is continuous on `(-π, π)`, in particular at `0`. - `SimplePendulum.periodFormula_tendsto_smallAnglePeriod`: the formula tends to the small-angle period as the amplitude tends to zero. - `SimplePendulum.periodFormula_mono` and `SimplePendulum.periodFormula_strictMono`, with the bundled `SimplePendulum.monotoneOn_periodFormula` and `SimplePendulum.strictMonoOn_periodFormula`: on `[0, π)` the formula is increasing, and strictly increasing, in the amplitude. - `SimplePendulum.smallAnglePeriod_le_periodFormula` and `SimplePendulum.periodFormula_pos`: the formula is at least the small-angle period, in particular positive, whenever `sin² (θ₀/2) < 1`. - `SimplePendulum.periodFormula_le` and `SimplePendulum.periodFormula_le'`: for `|θ₀| < π` the formula is at most `2π √(ℓ/g) / cos (θ₀/2) = smallAnglePeriod / cos (θ₀/2)`.
iii. Table of contents
- A. The period formula, its continuity and its small-angle limit - A.1. The formula, its domain and its evenness - A.2. Continuity and the small-angle limit - B. Monotonicity and bounds in the amplitude - B.1. Monotonicity in the amplitude - B.2. Bounds
iv. References
- Landau & Lifshitz, Mechanics, 3rd ed., §11, Problem 1: `T = 4 √(l/g) K(sin ½φ₀)`, in the modulus convention `K(k) = ∫ φ in 0..π/2, (1 - k² sin² φ)^(-1/2)`. - M. Abramowitz, I. A. Stegun, Handbook of Mathematical Functions, 17.3.1 (the parameter convention `K(m)`, `m = k²`, used by `Real.completeEllipticK`). - The module `Physlib.Mathematics.SpecialFunctions.EllipticIntegral`, for `completeEllipticK` and its theory on the domain `m < 1`. - The module `Physlib.ClassicalMechanics.Pendulum.SimplePendulum.SmallAngle`, for the small-angle period `smallAnglePeriod = 2π √(ℓ/g)`.
A. The period formula, its continuity and its small-angle limit
The classical formula for the period of libration as a function of the amplitude, its evenness and its domain, and its behaviour at small amplitudes: it is continuous on the libration range `(-π, π)`, at zero amplitude it is exactly the small-angle period, and it tends to the small-angle period as the amplitude tends to zero. These are facts about the elliptic integral on its domain and at the parameter `0`, where `K 0 = π/2`.
A.1. The formula, its domain and its evenness
The formula `4 √(ℓ/g) K(sin² (θ₀/2))` is defined for every real `θ₀`, and is even in `θ₀`; for libration amplitudes `|θ₀| < π` the parameter `sin² (θ₀/2)` is below `1` (`Real.sin_half_sq_lt_one`), so the elliptic integral is evaluated on its domain. At `θ₀ = ±π` the parameter is `1`, where Legendre's `K` diverges — the pendulum released from rest at the inverted position never returns — while the Lean value of `completeEllipticK` at `m = 1` is a junk value (see the module docstring of `Physlib.Mathematics.SpecialFunctions.EllipticIntegral`), so nothing is claimed there.
A.2. Continuity and the small-angle limit
At zero amplitude the parameter of the elliptic integral is `0`, where `K 0 = π/2`, and the formula collapses to `4 √(ℓ/g) · π/2 = 2π √(ℓ/g)`: the small-angle period. Since `K` is continuous on its domain and the parameter `sin² (θ₀/2)` is continuous in the amplitude and stays below `1` for `|θ₀| < π`, the formula is continuous on `(-π, π)`; in particular it tends to the small-angle period as the amplitude tends to zero — the sense in which the small-angle theory of `SimplePendulum.SmallAngle` is the limit of the classical formula.
B. Monotonicity and bounds in the amplitude
The dependence of the period formula on the amplitude is inherited from the dependence of `completeEllipticK` on its parameter: on `[0, π)` the parameter `sin² (θ₀/2)` is strictly increasing in `θ₀` and stays below `1`, and `K` is strictly increasing on `(-∞, 1)`, so the formula is strictly increasing in the amplitude. The bounds `π/2 ≤ K m ≤ (π/2) (1 - m)^(-1/2)` on `[0, 1)` sandwich the formula between the small-angle period and `2π √(ℓ/g) / cos (θ₀/2)`.
B.1. Monotonicity in the amplitude
For `0 ≤ θ₁ ≤ θ₂ < π` the half-angles lie in `[0, π/2)`, where the sine is nonnegative and increasing, so `sin² (θ₁/2) ≤ sin² (θ₂/2) < 1`, and the monotonicity of `K` on its domain does the rest. The strict version uses the strict monotonicity of the sine on the same interval and of `K`. Both are restated as bundled `MonotoneOn` and `StrictMonoOn` facts on `[0, π)`.
B.2. Bounds
The lower bound `π/2 ≤ K m` on `[0, 1)` says that the period formula is never below the small-angle period: the formula is least at zero amplitude, and in particular positive. The upper bound `K m ≤ (π/2) (1 - m)^(-1/2)`, with `1 - sin² (θ₀/2) = cos² (θ₀/2)`, bounds the formula by `2π √(ℓ/g) / cos (θ₀/2)` for `|θ₀| < π`: the formula is at most the small-angle period divided by the cosine of the half-amplitude, a quantity that grows without bound as the amplitude approaches the inverted position.
14 declarations
Period formula for a simple pendulum
For a simple gravity pendulum with length and gravitational acceleration , the period as a function of the release amplitude is defined by the formula: where is the complete elliptic integral of the first kind evaluated with parameter .
The Period Formula is Even in the Amplitude
For any release amplitude , the period formula of the simple gravity pendulum is even in the amplitude, satisfying .
At zero amplitude, equals the small-angle period
For a simple gravity pendulum with length and gravitational acceleration , the period formula evaluated at zero release amplitude is equal to the small-angle period . Here, denotes the complete elliptic integral of the first kind with parameter .
is continuous on
The period formula for a simple gravity pendulum, defined as (where is the complete elliptic integral of the first kind with parameter , is the pendulum length, and is the gravitational acceleration), is continuous on the open interval of release amplitudes .
The period formula is continuous at
For a simple gravity pendulum, the period formula , where is the release amplitude and is the complete elliptic integral of the first kind, is continuous at .
as
As the release amplitude approaches , the period formula for a simple gravity pendulum tends to the small-angle period . Here, is the length of the pendulum, is the gravitational acceleration, and is the complete elliptic integral of the first kind with parameter .
The period formula is non-decreasing for
For any real numbers and such that , the period formula for a simple gravity pendulum satisfies . Here, the period formula is defined as , where is the length of the pendulum, is the gravitational acceleration, and is Legendre's complete elliptic integral of the first kind with parameter .
The pendulum period is strictly increasing on
Let be the period formula for a simple gravity pendulum with length and gravitational acceleration , where is the complete elliptic integral of the first kind. For any release amplitudes such that , it holds that .
The period formula is monotone on
The period formula for a simple gravity pendulum, , is monotonically non-decreasing as a function of the release amplitude on the interval .
The period formula is strictly increasing on
The period formula for a simple gravity pendulum, , is strictly increasing on the interval . Here, is the release amplitude, is the pendulum length, is the gravitational acceleration, and is the complete elliptic integral of the first kind with parameter .
The small-angle period is a lower bound for the period formula:
For a simple gravity pendulum with release amplitude such that , the period is greater than or equal to the small-angle period . That is, where is the small-angle period and is the period formula calculated using Legendre's complete elliptic integral of the first kind .
The simple pendulum period is strictly positive for
For a simple gravity pendulum with release amplitude such that , the period given by the formula is strictly positive, where is Legendre's complete elliptic integral of the first kind.
Upper Bound for the Simple Pendulum Period:
Let be the release amplitude of a simple gravity pendulum with length and gravitational acceleration . If , then the period of the pendulum, given by the formula , satisfies the inequality: where is Legendre's complete elliptic integral of the first kind.
Upper Bound for Simple Pendulum Period:
Let be the release amplitude of a simple gravity pendulum. If , then the period of the pendulum is at most the small-angle period divided by : where is the period predicted by the small-angle approximation.
