A
simple gravity pendulum is an idealized mathematical model of a real pendulum. It is a weight (or
bob) on the end of a massless cord suspended from a
pivot, without
friction. Since in the model there is no frictional energy loss, when given an initial displacement it swings back and forth with a constant
amplitude. The model is based on the assumptions: • The rod or cord is massless, inextensible and always remains under tension. • The bob is a point mass. • The motion occurs in
two dimensions. • The motion does not lose energy to external
friction or
air resistance. • The gravitational field is uniform. • The support is immobile. The
differential equation which governs the motion of a simple pendulum is {{NumBlk||\frac{d^2\theta}{dt^2}+\frac{g}{\ell} \sin\theta=0|}} where is the
magnitude of the
gravitational field, is the length of the rod or cord, and is the angle from the vertical to the pendulum. {{math proof | title = "Force" derivation of () Consider Figure 1 on the right, which shows the forces acting on a simple pendulum. Note that the path of the pendulum sweeps out an
arc of a circle. The angle is measured in
radians, and this is crucial for this formula. The blue arrow is the
gravitational force acting on the bob, and the violet arrows are that same force resolved into components parallel and perpendicular to the bob's instantaneous motion. The direction of the bob's instantaneous
velocity always points along the red axis, which is considered the tangential axis because its direction is always tangent to the circle. Consider
Newton's second law, F=ma where is the sum of forces on the object, is mass, and is the acceleration. Newton's equation can be applied to the tangential axis only. This is because only changes in speed are of concern and the bob is forced to stay in a circular path. The short violet arrow represents the component of the gravitational force in the tangential axis, and trigonometry can be used to determine its magnitude. Thus, \begin{align} F &= -mg\sin\theta = ma, \qquad \text{so} \\ a &= -g \sin\theta,\end{align} where is the acceleration due to gravity near the surface of the earth. The negative sign on the right hand side implies that and always point in opposite directions. This makes sense because when a pendulum swings further to the left, it is expected to accelerate back toward the right. This linear acceleration along the red axis can be related to the change in angle by the arc length formulas; is arc length: \begin{align} s &= \ell\theta, \\ v &= \frac{ds}{dt} = \ell\frac{d\theta}{dt}, \\ a &= \frac{d^2s}{dt^2} = \ell\frac{d^2\theta}{dt^2}, \end{align} thus: \begin{align} \ell\frac{d^2\theta}{dt^2} &= -g \sin\theta, \\ \frac{d^2\theta}{dt^2} + \frac{g}{\ell} \sin\theta &= 0. \end{align} }} {{math proof Equation (1) can be obtained using two definitions for torque. \boldsymbol{\tau} = \mathbf{r} \times \mathbf{F} = \frac{d\mathbf{L}}{dt}. First start by defining the torque on the pendulum bob using the force due to gravity. \boldsymbol{ \tau } = \mathbf{l} \times \mathbf{F}_\mathrm{g} , where is the length vector of the pendulum and is the force due to gravity. For now just consider the magnitude of the torque on the pendulum. |\boldsymbol{\tau}| = -mg\ell\sin\theta, where is the mass of the pendulum, is the acceleration due to gravity, is the length of the pendulum, and is the angle between the length vector and the force due to gravity. Next rewrite the angular momentum. \mathbf{ L } = \mathbf{r} \times \mathbf{p} = m \mathbf{r} \times (\boldsymbol{\omega} \times \mathbf{r}) . Again just consider the magnitude of the angular momentum. |\mathbf{L}| = mr^2 \omega = m \ell^2 \frac{d\theta}{dt} . and its time derivative \frac {d}{dt}|\mathbf{L}| = m \ell^2 \frac{d^2\theta}{dt^2} , The magnitudes can then be compared using -mg\ell\sin\theta = m \ell^2 \frac{d^2\theta}{dt^2} , thus: \frac{d^2\theta}{dt^2} + \frac{g}{\ell} \sin\theta = 0, which is the same result as obtained through force analysis. }} {{math proof It can also be obtained via the
conservation of mechanical energy principle: any object falling a vertical distance h would acquire
kinetic energy equal to that which it lost to the fall. In other words,
gravitational potential energy is converted into kinetic energy. Change in potential energy is given by \Delta U = mgh. The change in kinetic energy (body started from rest) is given by \Delta K = \tfrac12 mv^2. Since no energy is lost, the gain in one must be equal to the loss in the other \tfrac12 mv^2=mgh. The change in velocity for a given change in height can be expressed as v = \sqrt{2gh}. Using the arc length formula above, this equation can be rewritten in terms of : \begin{align} v = \ell\frac{d\theta}{dt} &= \sqrt{2gh}, \quad \text{so} \\ \frac{d\theta}{dt} &= \frac{\sqrt{2gh}}{\ell}, \end{align} where is the vertical distance the pendulum fell. Look at Figure 2, which presents the trigonometry of a simple pendulum. If the pendulum starts its swing from some initial angle , then , the vertical distance from the screw, is given by y_0 = \ell\cos\theta_0. Similarly, when , then y_1 = \ell\cos\theta. Then is the difference of the two h = \ell\left(\cos\theta-\cos\theta_0\right). In terms of gives {{NumBlk||\frac{d\theta}{dt} = \sqrt{\frac{2g} \ell (\cos\theta-\cos\theta_0)}.|}} This equation is known as the
first integral of motion, it gives the velocity in terms of the location and includes an integration constant related to the initial displacement (). Next, differentiate by applying the
chain rule, with respect to time to get the acceleration \begin{align} \frac{d}{dt}\frac{d\theta}{dt} &= \frac{d}{dt}\sqrt{\frac{2g} \ell \left(\cos\theta-\cos\theta_0\right)}, \\ \frac{d^2\theta}{dt^2} & = \frac12\frac{-\frac{2g} \ell \sin\theta}{\sqrt{\frac{2g} \ell (\cos\theta-\cos\theta_0)}}\frac{d\theta}{dt} \\ & = \frac12\frac{-\frac{2g}{\ell} \sin\theta}{\sqrt{\frac{2g}{\ell} (\cos\theta-\cos\theta_0)}}\sqrt{\frac{2g}{\ell} (\cos\theta-\cos\theta_0)} = -\frac g \ell \sin\theta, \\ \frac{d^2\theta}{dt^2} &+ \frac{g}{\ell} \sin\theta = 0, \end{align} which is the same result as obtained through force analysis. }} {{math proof can additionally be obtained through
Lagrangian Mechanics. More specifically, using the
Euler–Lagrange equations (or Lagrange's equations of the second kind) by identifying the Lagrangian of the system (\mathcal{L}), the constraints (q) and solving the following system of equations \frac{d}{dt}\left(\frac{\partial \mathcal{L}}{\partial \dot{q_j}}\right) = \frac{\partial \mathcal{L}}{\partial q_j}. If the origin of the
Cartesian coordinate system is defined as the point of suspension (or simply pivot), then the bob is at x = \ell\sin{\theta}, y = -\ell\cos{\theta}, and the velocity of the bob, calculated via differentiating the coordinates with respect to time (using
dot notation to indicate the time derivatives) \dot{x} = \ell\dot{\theta}\cos{\theta}, \dot{y} = \ell\dot{\theta}\sin{\theta}. Thus, the Lagrangian is \begin{align} \mathcal{L} &= E_k - E_p \\ &= \frac{1}{2} m v^2 - m g h \\ &= \frac{1}{2} m (\dot{x}^2 + \dot{y}^2) - m g \ell (1 - \cos{\theta}) \\ &= \frac{1}{2} m \ell^2 \dot{\theta}^2 - m g \ell + m g \ell \cos{\theta}. \end{align} The
Euler-Lagrange equation (singular as there is only one constraint, q = \theta) is thus \begin{align} \frac{d}{dt}\left(\frac{\partial \mathcal{L}}{\partial \dot{\theta}}\right) &= \frac{\partial \mathcal{L}}{\partial \theta} \\ \frac{d}{dt}(m \ell^2 \dot{\theta}) &= -m g \ell \sin{\theta} \\ m \ell^2 \ddot{\theta} &= -m g \ell \sin{\theta} \\ \ddot{\theta} &= -\frac{g}{\ell}\sin{\theta}. \\ \end{align} Which can then be rearranged to match , obtained through force analysis. \frac{d^2 \theta}{d t^2} + \frac{g}{\ell}\sin{\theta} = 0. Deriving via Lagrangian Mechanics, while excessive with a single pendulum, is useful for more complicated,
chaotic systems, such as a
double pendulum. }} == Small-angle approximation ==