Physlib

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

theorem

p.angle=q.angle    p=qp.\text{angle} = q.\text{angle} \implies p = q for pendulum configurations

For any two configurations pp and qq in the configuration space of a simple pendulum, if their angles (represented as elements of R/2πZ\mathbb{R}/2\pi\mathbb{Z}, denoted by `Real.Angle`) are equal, then the configurations pp and qq are equal.

definition

ConfigurationSpaceReal.Angle\text{ConfigurationSpace} \simeq \text{Real.Angle}

The equivalence angleEquiv\text{angleEquiv} defines a bijection between the configuration space of a simple pendulum, denoted by ConfigurationSpace\text{ConfigurationSpace}, and the set of angles modulo 2π2\pi, denoted by Real.AngleR/2πZ\text{Real.Angle} \cong \mathbb{R}/2\pi\mathbb{Z}. It maps a configuration qq to its corresponding angle θ\theta and provides the inverse mapping from an angle back to a configuration.

instance

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 R/2πZ\mathbb{R}/2\pi\mathbb{Z}.

definition

Homeomorphism between ConfigurationSpace\text{ConfigurationSpace} and Real.Angle\text{Real.Angle}

The mapping between the configuration space of a simple pendulum, denoted as ConfigurationSpace\text{ConfigurationSpace}, and the space of angles modulo 2π2\pi, denoted as Real.AngleR/2πZ\text{Real.Angle} \cong \mathbb{R}/2\pi\mathbb{Z}, 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.

definition

Mapping of a configuration to the unit circle eiθ e^{i\theta}

For a configuration q q of a simple pendulum with an angle θ \theta , this function returns the corresponding point on the unit circle S1C S^1 \subset \mathbb{C} given by eiθ e^{i\theta} .

definition

Homeomorphism ConfigurationSpaceS1\text{ConfigurationSpace} \cong S^1

The homeomorphism ConfigurationSpaceS1\text{ConfigurationSpace} \cong S^1 identifies the configuration space of a simple pendulum with the unit circle S1CS^1 \subset \mathbb{C}. This map is the composition of the homeomorphism between the configuration space and the space of angles modulo 2π2\pi (Real.Angle\text{Real.Angle}) with the standard homeomorphism from the additive circle R/2πZ\mathbb{R}/2\pi\mathbb{Z} to the unit circle.

theorem

circleHomeomorph(q)=q.toCircle\text{circleHomeomorph}(q) = q.\text{toCircle}

For any configuration qq in the configuration space of a simple pendulum, the value of the homeomorphism circleHomeomorph\text{circleHomeomorph} (which identifies the configuration space with the unit circle S1CS^1 \subset \mathbb{C}) applied to qq is equal to q.toCircleq.\text{toCircle}.

definition

Map from the unit circle to the configuration space

The function maps a point zz on the unit circle S1CS^1 \subset \mathbb{C} to its corresponding configuration in the pendulum's configuration space. It is defined as the inverse of the homeomorphism ConfigurationSpaceS1\text{ConfigurationSpace} \cong S^1.

theorem

toCircle(ofCircle(z))=z\text{toCircle}(\text{ofCircle}(z)) = z

For any point zz on the unit circle S1CS^1 \subset \mathbb{C}, applying the map ofCircle\text{ofCircle} to obtain a configuration and then applying the map toCircle\text{toCircle} returns the original point zz. That is, toCircle(ofCircle(z))=z\text{toCircle}(\text{ofCircle}(z)) = z.

theorem

ofCircle(toCircle(q))=q\text{ofCircle}(\text{toCircle}(q)) = q for Pendulum Configurations

For any configuration qq in the configuration space of a simple pendulum, let toCircle(q)\text{toCircle}(q) be the corresponding point on the unit circle S1CS^1 \subset \mathbb{C}. If we apply the inverse map ofCircle\text{ofCircle}, which maps a point on the unit circle back to the configuration space, we recover the original configuration: ofCircle(toCircle(q))=q\text{ofCircle}(\text{toCircle}(q)) = q.

instance

The Configuration Space of the Simple Pendulum is Hausdorff

The configuration space of the simple pendulum is a Hausdorff space (T2T_2 space). This property follows from the fact that the configuration space is homeomorphic to the unit circle.

instance

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 S1S^1.

instance

The Configuration Space of the Simple Pendulum is Second-Countable

The configuration space of the simple pendulum, which is homeomorphic to the unit circle S1S^1, satisfies the second-countability axiom (i.e., its topology has a countable base).

instance

R1\mathbb{R}^1-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 R1\mathbb{R}^1. This structure is defined by pulling back the atlas of the unit circle S1CS^1 \subset \mathbb{C} via the homeomorphism Φ:ConfigurationSpaceS1\Phi: \text{ConfigurationSpace} \cong S^1. Specifically, for any point qq in the configuration space, the local chart at qq is the composition of Φ\Phi and the standard chart of the unit circle at the point Φ(q)\Phi(q).

theorem

The chart at configuration qq is the composition of the circle homeomorphism and the circle's chart at Φ(q)\Phi(q)

For any configuration qq in the configuration space of a simple pendulum, the local chart φq\varphi_q at qq (modeled on the 1-dimensional Euclidean space R1\mathbb{R}^1) is equal to the composition of the homeomorphism Φ:ConfigurationSpaceS1\Phi: \text{ConfigurationSpace} \cong S^1 and the standard chart ψΦ(q)\psi_{\Phi(q)} of the unit circle S1S^1 at the point Φ(q)\Phi(q).

theorem

The source of the chart at qq is the preimage of the circle chart source at Φ(q)\Phi(q)

For any configuration qq in the configuration space C\mathcal{C} of a simple pendulum, the domain (source) of the local chart at qq is the preimage under the homeomorphism Φ:CS1\Phi: \mathcal{C} \cong S^1 (which identifies the configuration space with the unit circle) of the domain of the standard local chart of the unit circle at the point Φ(q)\Phi(q). Mathematically, let ψq\psi_q be the chart at qCq \in \mathcal{C} and φΦ(q)\varphi_{\Phi(q)} be the chart at Φ(q)S1\Phi(q) \in S^1; then source(ψq)=Φ1(source(φΦ(q)))\text{source}(\psi_q) = \Phi^{-1}(\text{source}(\varphi_{\Phi(q)})).

theorem

The target of the chart at configuration qq is the target of the chart at its corresponding point in S1S^1

For any configuration qq in the configuration space of a simple pendulum, the target (codomain) of the local chart at qq—modeled on the 1-dimensional Euclidean space R1\mathbb{R}^1—is identical to the target of the local chart of the unit circle S1S^1 at the corresponding point toCircle(q)\text{toCircle}(q).

instance

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 R1\mathbb{R}^1. This implies that the transition functions between coordinate charts are real-analytic (of class CωC^\omega).

definition

Pendulum configuration at angle θ\theta

This function maps a real number θ\theta, 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 RR/2πZ\mathbb{R} \to \mathbb{R} / 2\pi\mathbb{Z}, where angles θ\theta and θ+2πn\theta + 2\pi n (for nZn \in \mathbb{Z}) describe the same physical position.

theorem

The angle of the configuration ofAngle(θ)\text{ofAngle}(\theta) is θ(mod2π)\theta \pmod{2\pi}

For any real number θ\theta, let ofAngle(θ)\text{ofAngle}(\theta) denote the configuration of a simple pendulum at that angle. The angle associated with this configuration is equal to θ\theta modulo 2π2\pi.

theorem

ofAngle(θ+2π)=ofAngle(θ)\text{ofAngle}(\theta + 2\pi) = \text{ofAngle}(\theta)

For any angle θR\theta \in \mathbb{R}, the configuration of the simple pendulum at angle θ+2π\theta + 2\pi is the same as the configuration at angle θ\theta. Here, ofAngle(θ)\text{ofAngle}(\theta) represents the map from a real-valued angle (measured from the downward vertical) to the configuration space.

theorem

The angular lift ofAngle\text{ofAngle} is 2π2\pi-periodic

The angular lift ofAngle:RConfigurationSpace\text{ofAngle} : \mathbb{R} \to \text{ConfigurationSpace}, which maps a real angle θ\theta (measured from the downward vertical) to a state in the pendulum's configuration space, is periodic with period 2π2\pi. That is, for any θR\theta \in \mathbb{R}, ofAngle(θ+2π)=ofAngle(θ)\text{ofAngle}(\theta + 2\pi) = \text{ofAngle}(\theta).

theorem

ofAngle(θ1)=ofAngle(θ2)    nZ,θ2=θ1+2nπ\text{ofAngle}(\theta_1) = \text{ofAngle}(\theta_2) \iff \exists n \in \mathbb{Z}, \theta_2 = \theta_1 + 2n\pi

Two real angles θ1\theta_1 and θ2\theta_2 correspond to the same physical configuration of the simple pendulum if and only if they differ by an integer multiple of 2π2\pi; that is, ofAngle(θ1)=ofAngle(θ2)\text{ofAngle}(\theta_1) = \text{ofAngle}(\theta_2) if and only if there exists an integer nZn \in \mathbb{Z} such that θ2=θ1+2πn\theta_2 = \theta_1 + 2\pi n.

theorem

`ofAngle` is surjective

The map ofAngle:RConfigurationSpace\text{ofAngle} : \mathbb{R} \to \text{ConfigurationSpace}, which assigns a configuration of the simple pendulum to a real angle θ\theta (measured from the downward vertical), is surjective. That is, for every configuration cc in the configuration space, there exists at least one real angle θR\theta \in \mathbb{R} such that ofAngle(θ)=c\text{ofAngle}(\theta) = c.

theorem

Continuity of the angular lift ofAngle\text{ofAngle}

The map ofAngle:RConfigurationSpace\text{ofAngle} : \mathbb{R} \to \text{ConfigurationSpace}, which maps a real angle θ\theta (measured from the downward vertical) to its corresponding point in the pendulum's configuration space, is continuous.

theorem

`ofAngle` is a covering map

The map ofAngle:RConfigurationSpace\text{ofAngle} : \mathbb{R} \to \text{ConfigurationSpace}, which maps a real number θ\theta 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.

theorem

The pendulum configuration ofAngle(θ)\text{ofAngle}(\theta) maps to eiθe^{i\theta} on the unit circle.

For any angle θR\theta \in \mathbb{R}, the image of the pendulum configuration ofAngle(θ)\text{ofAngle}(\theta) (representing the rod at angle θ\theta from the downward vertical) under the identification map to the unit circle is equal to eiθe^{i\theta} (denoted by `Circle.exp θ`).

theorem

ofCircle(eiθ)=ofAngle(θ)\text{ofCircle}(e^{i\theta}) = \text{ofAngle}(\theta)

For any angle θR\theta \in \mathbb{R}, the configuration in the pendulum's configuration space corresponding to the point eiθe^{i\theta} on the unit circle is equal to the configuration at angle θ\theta from the downward vertical. Mathematically, this is expressed as ofCircle(eiθ)=ofAngle(θ)\text{ofCircle}(e^{i\theta}) = \text{ofAngle}(\theta), where eiθe^{i\theta} is the exponential map from the real line to the unit circle.

theorem

The angular lift ofAngle\text{ofAngle} is analytic

The map ofAngle:RConfigurationSpace\text{ofAngle} : \mathbb{R} \to \text{ConfigurationSpace}, which maps a real angle θ\theta to the corresponding position of a simple pendulum, is real analytic (of class Cω\mathcal{C}^\omega) with respect to the standard manifold structures on R\mathbb{R} and the configuration space.

definition

Cosine of a pendulum configuration cosq\cos q

Given a configuration qq in the configuration space of a simple pendulum, this function returns the cosine of its angle. If the configuration qq is represented by an angle θR/2πZ\theta \in \mathbb{R}/2\pi\mathbb{Z} measured from the downward vertical, then the value is cosθ\cos \theta.

definition

Sine of a configuration angle

For a configuration qq in the configuration space of a simple pendulum, this function returns the sine of its associated angle θ\theta, denoted as sinθ\sin \theta.

theorem

cosq=cos(q.angle)\cos q = \cos(q.\text{angle}) for Pendulum Configurations

For any configuration qq in the configuration space of a simple pendulum, the cosine of the configuration qq is equal to the cosine of its associated angle q.angleR/2πZq.\text{angle} \in \mathbb{R}/2\pi\mathbb{Z} (measured from the downward vertical).

theorem

sinq=sin(angle q)\sin q = \sin(\text{angle } q)

For any configuration qq in the configuration space of a simple pendulum, the sine of the configuration qq is equal to the sine of its associated angle, denoted as sinq=sin(angle q)\sin q = \sin(\text{angle } q). Here, angle q\text{angle } q refers to the configuration represented as an element of the circle R/2πZ\mathbb{R}/2\pi\mathbb{Z} (i.e., `Real.Angle`).

theorem

The cosine of the configuration at angle θ\theta is cosθ\cos \theta

For any real number θ\theta, the cosine of the pendulum configuration corresponding to the angle θ\theta (measured from the downward vertical) is equal to cosθ\cos \theta.

theorem

(ofAngle θ).sin=sinθ(\text{ofAngle } \theta).\sin = \sin \theta

For any real number θ\theta, the sine of the pendulum configuration corresponding to angle θ\theta is equal to the trigonometric sine of θ\theta, denoted as (ofAngle θ).sin=sinθ(\text{ofAngle } \theta).\sin = \sin \theta.

theorem

Pythagorean Identity for Pendulum Configurations: cos2q+sin2q=1\cos^2 q + \sin^2 q = 1

For any configuration qq in the configuration space of a simple pendulum, the cosine and sine of its angle (denoted as cosq\cos q and sinq\sin q respectively) satisfy the Pythagorean identity: cos2q+sin2q=1. \cos^2 q + \sin^2 q = 1.

theorem

Continuity of the cosine function on the pendulum configuration space

The function cos:ConfigurationSpaceR\cos: \text{ConfigurationSpace} \to \mathbb{R}, which maps a configuration qq of a simple pendulum to the cosine of its angle, is continuous.

theorem

Continuity of the sin\sin function on the pendulum configuration space

The function sin:ConfigurationSpaceR\sin : \text{ConfigurationSpace} \to \mathbb{R}, which maps each configuration of a simple pendulum to the sine of its angular position, is continuous.

definition

Position of the bob as (sinq,cosq)(\ell \sin q, -\ell \cos q)

Given a rod of length R\ell \in \mathbb{R} and a configuration qq in the configuration space, this function returns the position of the pendulum bob in R2\mathbb{R}^2 as the vector (sinq,cosq)(\ell \sin q, -\ell \cos q). 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 |\ell| from the pivot.

theorem

The horizontal component of the pendulum bob's position is sinq\ell \sin q

For a simple pendulum with rod length R\ell \in \mathbb{R} and configuration qq in the configuration space, the horizontal coordinate (the component at index 0) of the bob's position is equal to sinq\ell \sin q.

theorem

The vertical coordinate of the pendulum bob is cosq-\ell \cos q

For a simple pendulum with rod length R\ell \in \mathbb{R} and configuration qq, the second component (the vertical coordinate) of the position of the bob in physical space, toSpace(,q)\text{toSpace}(\ell, q), is equal to cosq-\ell \cos q.

theorem

Position of the Pendulum Bob at Angle θ\theta is (sinθ,cosθ)(\ell \sin \theta, -\ell \cos \theta)

For a simple pendulum with rod length R\ell \in \mathbb{R} and an angle θR\theta \in \mathbb{R} measured from the downward vertical, the position of the bob in the plane is given by the vector (sinθ,cosθ)(\ell \sin \theta, -\ell \cos \theta). Here, the pivot is at the origin (0,0)(0, 0), the first coordinate represents the horizontal axis, and the second coordinate represents the vertical axis pointing upwards.

theorem

toSpace  q=\|\text{toSpace } \ell \ q\| = |\ell|

For a simple pendulum with rod length R\ell \in \mathbb{R} and configuration qq (representing the angle from the downward vertical), the Euclidean norm of the bob's position vector toSpace  q\text{toSpace } \ell \ q is equal to the absolute value of the rod length: toSpace  q= \|\text{toSpace } \ell \ q\| = |\ell| This equality expresses the rod-length constraint, where the bob's position in R2\mathbb{R}^2 is given by (sinq,cosq)(\ell \sin q, -\ell \cos q) relative to a pivot at the origin.

theorem

Continuity of the pendulum position map

For any rod length R\ell \in \mathbb{R}, the mapping toSpace :ConfigurationSpaceSpace 2\text{toSpace } \ell: \text{ConfigurationSpace} \to \text{Space } 2, which sends a configuration qq to the physical position (sinq,cosq)(\ell \sin q, -\ell \cos q) of the pendulum bob in the plane, is continuous.

theorem

Injectivity of the pendulum position map for 0\ell \neq 0

For a simple pendulum with a rod of length R\ell \in \mathbb{R}, if 0\ell \neq 0, then the map toSpace \text{toSpace } \ell from the configuration space to the physical space R2\mathbb{R}^2 is injective. This implies that the configuration of the pendulum is uniquely determined by the position of its bob.

theorem

The position map ff_\ell is a closed embedding for 0\ell \neq 0

For a rod length R\ell \in \mathbb{R} such that 0\ell \neq 0, the map f:CR2f_\ell: \mathcal{C} \to \mathbb{R}^2 from the configuration space C\mathcal{C} of the simple pendulum to the plane, defined by q(sinq,cosq)q \mapsto (\ell \sin q, -\ell \cos q), is a closed embedding.