Physlib.ClassicalMechanics.Pendulum.SimplePendulum.Geometric.Basic
Configuration space of the simple pendulum
i. Overview
A simple pendulum is a bob fixed to one end of a rigid massless rod of length `ℓ`, the other end of which is pinned at a pivot, swinging in a vertical plane under gravity. Its position is fixed by the angle of the rod from the downward vertical, and two angles that differ by a full turn describe the same position. The configuration space is therefore a circle.
We record a configuration by its angle modulo `2π`, i.e. by an element of `Real.Angle`, as the sliding pendulum does (`Physlib.ClassicalMechanics.Pendulum.SlidingPendulum`). The circle carries the structure of a compact analytic one-dimensional manifold; we obtain it by identifying the configuration space with Mathlib's unit circle `Circle` and pulling back its charts. The smooth identification of the configuration space with `Circle` (the analogue of the harmonic oscillator's `valDiffeomorph`) is deferred to a later module. The real-valued angle that is used to write down the dynamics is a lift of the configuration along the covering map `ℝ → ConfigurationSpace`; it is not a chart, and two lifts differing by `2π n` describe the same configuration. Finally the position of the bob in the plane is recorded by `toSpace ℓ`, which sends the configuration at angle `θ` to `(ℓ sin θ, -ℓ cos θ)`: the pivot is the origin and the second axis points upwards.
ii. Key results
- `ConfigurationSpace` : the configuration space of the planar simple pendulum. - `ConfigurationSpace.circleHomeomorph` : its identification with the unit circle, with inverse `ConfigurationSpace.ofCircle` (`toCircle_ofCircle`, `ofCircle_toCircle`). - `ConfigurationSpace.instChartedSpace`, `ConfigurationSpace.instIsManifold` : the analytic manifold structure, pulled back from `Circle` (`chartAt_source`, `chartAt_target`). - `ConfigurationSpace.ofAngle` : the angular lift `ℝ → ConfigurationSpace`, periodic with period `2π`, continuous, surjective, analytic, and a covering map (`isCoveringMap_ofAngle`). - `ConfigurationSpace.toSpace` : the position of the bob in `Space 2`, with `toSpace_ofAngle` and the rod-length constraint `toSpace_norm`; for `ℓ ≠ 0` it is a closed embedding (`toSpace_isClosedEmbedding`).
iii. Table of contents
- A. The configuration space type
- B. Topology and identification with the unit circle
- C. Manifold structure
- D. The angular lift
- E. Map to physical space
iv. References
- Landau & Lifshitz, Mechanics, 3rd ed., §5, Problems 1–3 (pendulum configurations).
- Mathlib, `Mathlib.Geometry.Manifold.Instances.Sphere` (the manifold structure on `Circle`).
A. The configuration space type
A configuration is the angle of the rod from the downward vertical, taken modulo a full turn.
B. Topology and identification with the unit circle
The topology is that of `Real.Angle`; composing with Mathlib's identification of `Real.Angle` (the additive circle of period `2π`) with the unit circle `Circle ⊆ ℂ` gives a homeomorphism `ConfigurationSpace ≃ₜ Circle`, through which the circle's compactness and Hausdorff property transfer.
C. Manifold structure
The unit circle is an analytic one-dimensional manifold modelled on `EuclideanSpace ℝ (Fin 1)` (Mathlib, via stereographic projection). We pull its atlas back along `circleHomeomorph`: a chart of the configuration space is the identification with the circle followed by a chart of the circle. Since the identification cancels in every change of charts, the changes of charts are exactly those of the circle, hence analytic.
D. The angular lift
`ofAngle θ` is the configuration at angle `θ` from the downward vertical. It is the quotient map `ℝ → ℝ / 2πℤ`, a covering map of the circle: it is continuous, surjective and `2π`-periodic, and two angles give the same configuration exactly when they differ by a whole number of turns. The dynamics of the pendulum are written for a real-valued lift of the angle; this section is what makes different lifts describe the same configuration. In the charts pulled back from the circle is `Circle.exp`, so it is analytic.
E. Map to physical space
The pivot is the origin of the plane `Space 2`, the first coordinate is horizontal and the second points upwards. A rod of length `ℓ` at angle `θ` from the downward vertical places the bob at `(ℓ sin θ, -ℓ cos θ)`; at `θ = 0` the bob hangs straight down at `(0, -ℓ)`. The bob lies on the circle of radius `|ℓ|` about the pivot — the rod-length constraint — and for `ℓ ≠ 0` the map is injective, so the configuration is determined by the position.
46 declarations
for pendulum configurations
For any two configurations and in the configuration space of a simple pendulum, if their angles (represented as elements of , denoted by `Real.Angle`) are equal, then the configurations and are equal.
The equivalence defines a bijection between the configuration space of a simple pendulum, denoted by , and the set of angles modulo , denoted by . It maps a configuration to its corresponding angle and provides the inverse mapping from an angle back to a configuration.
Topology of the pendulum configuration space
The topological space structure on the configuration space of a simple pendulum is the topology induced by the mapping to the space of angles .
Homeomorphism between and
The mapping between the configuration space of a simple pendulum, denoted as , and the space of angles modulo , denoted as , is a homeomorphism. This identifies a physical configuration with its angular displacement from the downward vertical in a way that is both bijective and bicontinuous under the induced topology.
Mapping of a configuration to the unit circle
For a configuration of a simple pendulum with an angle , this function returns the corresponding point on the unit circle given by .
Homeomorphism
The homeomorphism identifies the configuration space of a simple pendulum with the unit circle . This map is the composition of the homeomorphism between the configuration space and the space of angles modulo () with the standard homeomorphism from the additive circle to the unit circle.
For any configuration in the configuration space of a simple pendulum, the value of the homeomorphism (which identifies the configuration space with the unit circle ) applied to is equal to .
Map from the unit circle to the configuration space
The function maps a point on the unit circle to its corresponding configuration in the pendulum's configuration space. It is defined as the inverse of the homeomorphism .
For any point on the unit circle , applying the map to obtain a configuration and then applying the map returns the original point . That is, .
for Pendulum Configurations
For any configuration in the configuration space of a simple pendulum, let be the corresponding point on the unit circle . If we apply the inverse map , which maps a point on the unit circle back to the configuration space, we recover the original configuration: .
The Configuration Space of the Simple Pendulum is Hausdorff
The configuration space of the simple pendulum is a Hausdorff space ( space). This property follows from the fact that the configuration space is homeomorphic to the unit circle.
The Simple Pendulum Configuration Space is Compact
The configuration space of the simple pendulum is a compact topological space. This follows from its identification via homeomorphism with the unit circle .
The Configuration Space of the Simple Pendulum is Second-Countable
The configuration space of the simple pendulum, which is homeomorphic to the unit circle , satisfies the second-countability axiom (i.e., its topology has a countable base).
-charted space structure of the pendulum configuration space
The configuration space of a simple pendulum is endowed with the structure of a charted space modeled on the 1-dimensional Euclidean space . This structure is defined by pulling back the atlas of the unit circle via the homeomorphism . Specifically, for any point in the configuration space, the local chart at is the composition of and the standard chart of the unit circle at the point .
The chart at configuration is the composition of the circle homeomorphism and the circle's chart at
For any configuration in the configuration space of a simple pendulum, the local chart at (modeled on the 1-dimensional Euclidean space ) is equal to the composition of the homeomorphism and the standard chart of the unit circle at the point .
The source of the chart at is the preimage of the circle chart source at
For any configuration in the configuration space of a simple pendulum, the domain (source) of the local chart at is the preimage under the homeomorphism (which identifies the configuration space with the unit circle) of the domain of the standard local chart of the unit circle at the point . Mathematically, let be the chart at and be the chart at ; then .
The target of the chart at configuration is the target of the chart at its corresponding point in
For any configuration in the configuration space of a simple pendulum, the target (codomain) of the local chart at —modeled on the 1-dimensional Euclidean space —is identical to the target of the local chart of the unit circle at the corresponding point .
The Pendulum Configuration Space is an Analytic Manifold
The configuration space of the simple pendulum is a one-dimensional real-analytic manifold modeled on the Euclidean space . This implies that the transition functions between coordinate charts are real-analytic (of class ).
Pendulum configuration at angle
This function maps a real number , representing the angle of the pendulum rod measured from the downward vertical, to its corresponding point in the configuration space. Since the configuration space of a simple pendulum is topologically a circle, this map corresponds to the quotient map , where angles and (for ) describe the same physical position.
The angle of the configuration is
For any real number , let denote the configuration of a simple pendulum at that angle. The angle associated with this configuration is equal to modulo .
For any angle , the configuration of the simple pendulum at angle is the same as the configuration at angle . Here, represents the map from a real-valued angle (measured from the downward vertical) to the configuration space.
The angular lift is -periodic
The angular lift , which maps a real angle (measured from the downward vertical) to a state in the pendulum's configuration space, is periodic with period . That is, for any , .
Two real angles and correspond to the same physical configuration of the simple pendulum if and only if they differ by an integer multiple of ; that is, if and only if there exists an integer such that .
`ofAngle` is surjective
The map , which assigns a configuration of the simple pendulum to a real angle (measured from the downward vertical), is surjective. That is, for every configuration in the configuration space, there exists at least one real angle such that .
Continuity of the angular lift
The map , which maps a real angle (measured from the downward vertical) to its corresponding point in the pendulum's configuration space, is continuous.
`ofAngle` is a covering map
The map , which maps a real number representing the angle of the pendulum rod from the downward vertical to its corresponding point in the pendulum's configuration space, is a covering map.
The pendulum configuration maps to on the unit circle.
For any angle , the image of the pendulum configuration (representing the rod at angle from the downward vertical) under the identification map to the unit circle is equal to (denoted by `Circle.exp θ`).
For any angle , the configuration in the pendulum's configuration space corresponding to the point on the unit circle is equal to the configuration at angle from the downward vertical. Mathematically, this is expressed as , where is the exponential map from the real line to the unit circle.
The angular lift is analytic
The map , which maps a real angle to the corresponding position of a simple pendulum, is real analytic (of class ) with respect to the standard manifold structures on and the configuration space.
Cosine of a pendulum configuration
Given a configuration in the configuration space of a simple pendulum, this function returns the cosine of its angle. If the configuration is represented by an angle measured from the downward vertical, then the value is .
Sine of a configuration angle
For a configuration in the configuration space of a simple pendulum, this function returns the sine of its associated angle , denoted as .
for Pendulum Configurations
For any configuration in the configuration space of a simple pendulum, the cosine of the configuration is equal to the cosine of its associated angle (measured from the downward vertical).
For any configuration in the configuration space of a simple pendulum, the sine of the configuration is equal to the sine of its associated angle, denoted as . Here, refers to the configuration represented as an element of the circle (i.e., `Real.Angle`).
The cosine of the configuration at angle is
For any real number , the cosine of the pendulum configuration corresponding to the angle (measured from the downward vertical) is equal to .
For any real number , the sine of the pendulum configuration corresponding to angle is equal to the trigonometric sine of , denoted as .
Pythagorean Identity for Pendulum Configurations:
For any configuration in the configuration space of a simple pendulum, the cosine and sine of its angle (denoted as and respectively) satisfy the Pythagorean identity:
Continuity of the cosine function on the pendulum configuration space
The function , which maps a configuration of a simple pendulum to the cosine of its angle, is continuous.
Continuity of the function on the pendulum configuration space
The function , which maps each configuration of a simple pendulum to the sine of its angular position, is continuous.
Position of the bob as
Given a rod of length and a configuration in the configuration space, this function returns the position of the pendulum bob in as the vector . The pivot is located at the origin, the first coordinate represents the horizontal position, and the second coordinate represents the vertical position (pointing upwards). The bob is located at a distance from the pivot.
The horizontal component of the pendulum bob's position is
For a simple pendulum with rod length and configuration in the configuration space, the horizontal coordinate (the component at index 0) of the bob's position is equal to .
The vertical coordinate of the pendulum bob is
For a simple pendulum with rod length and configuration , the second component (the vertical coordinate) of the position of the bob in physical space, , is equal to .
Position of the Pendulum Bob at Angle is
For a simple pendulum with rod length and an angle measured from the downward vertical, the position of the bob in the plane is given by the vector . Here, the pivot is at the origin , the first coordinate represents the horizontal axis, and the second coordinate represents the vertical axis pointing upwards.
For a simple pendulum with rod length and configuration (representing the angle from the downward vertical), the Euclidean norm of the bob's position vector is equal to the absolute value of the rod length: This equality expresses the rod-length constraint, where the bob's position in is given by relative to a pivot at the origin.
Continuity of the pendulum position map
For any rod length , the mapping , which sends a configuration to the physical position of the pendulum bob in the plane, is continuous.
Injectivity of the pendulum position map for
For a simple pendulum with a rod of length , if , then the map from the configuration space to the physical space is injective. This implies that the configuration of the pendulum is uniquely determined by the position of its bob.
The position map is a closed embedding for
For a rod length such that , the map from the configuration space of the simple pendulum to the plane, defined by , is a closed embedding.
