Lably
Skip to content

Pendulum (mechanics)

Free swinging suspended body

  • 14 min read
  • 11 chapters
  • 3 labs on Lably

Learn it on Lably

Simple gravity pendulum

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

where g 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.

"Force" derivation of (Eq. 1)

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 F is the sum of forces on the object, m is mass, and a is the acceleration. Newton's equation can be applied to the tangential axis only. This is because only changes in velocity 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, F=−mgsin⁡θ=ma,soa=−gsin⁡θ, where g is the acceleration due to gravity near the surface of the earth. The negative sign on the right hand side implies that θ and a 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 a along the red axis can be related to the change in angle θ by the arc length formulas; s is arc length: s=ℓθ,v=dsdt=ℓdθdt,a=d2sdt2=ℓd2θdt2, thus: ℓd2θdt2=−gsin⁡θ,d2θdt2+gℓsin⁡θ=0.

"Torque" derivation of (Eq. 1)

Equation (1) can be obtained using two definitions for torque. τ=r×F=dLdt.

First start by defining the torque on the pendulum bob using the force due to gravity. τ=l×Fg, where l is the length vector of the pendulum and Fg is the force due to gravity.

For now just consider the magnitude of the torque on the pendulum. |τ|=−mgℓsin⁡θ, where m is the mass of the pendulum, g is the acceleration due to gravity, l 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. L=r×p=mr×(ω×r). Again just consider the magnitude of the angular momentum. |L|=mr2ω=mℓ2dθdt. and its time derivative ddt|L|=mℓ2d2θdt2,

The magnitudes can then be compared using τ = ⁠dL/dt⁠

−mgℓsin⁡θ=mℓ2d2θdt2, thus: d2θdt2+gℓsin⁡θ=0, which is the same result as obtained through force analysis.

"Energy" derivation of (Eq. 1)

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 ΔU=mgh.

The change in kinetic energy (body started from rest) is given by ΔK=12mv2.

Since no energy is lost, the gain in one must be equal to the loss in the other 12mv2=mgh.

The change in velocity for a given change in height can be expressed as v=2gh.

Using the arc length formula above, this equation can be rewritten in terms of ⁠dθ/dt⁠: v=ℓdθdt=2gh,sodθdt=2ghℓ, where h 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 θ0, then y0, the vertical distance from the screw, is given by y0=ℓcos⁡θ0.

Similarly, when y1, then y1=ℓcos⁡θ.

Then h is the difference of the two h=ℓ(cos⁡θ−cos⁡θ0).

In terms of ⁠dθ/dt⁠ gives

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 (θ0). Next, differentiate by applying the chain rule, with respect to time to get the acceleration ddtdθdt=ddt2gℓ(cos⁡θ−cos⁡θ0),d2θdt2=12−2gℓsin⁡θ2gℓ(cos⁡θ−cos⁡θ0)dθdt=12−2gℓsin⁡θ2gℓ(cos⁡θ−cos⁡θ0)2gℓ(cos⁡θ−cos⁡θ0)=−gℓsin⁡θ,d2θdt2+gℓsin⁡θ=0,

which is the same result as obtained through force analysis.

"Lagrange" derivation of (Eq. 1)

Equation 1 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 (L), the constraints (q) and solving the following system of equations

ddt(∂L∂qj˙)=∂L∂qj.

If the origin of the Cartesian coordinate system is defined as the point of suspension (or simply pivot), then the bob is at

x=ℓsin⁡θ, y=−ℓcos⁡θ,

and the velocity of the bob, calculated by differentiating the coordinates with respect to time (using dot notation to indicate the time derivatives)

x˙=ℓθ˙cos⁡θ, y˙=ℓθ˙sin⁡θ.

Thus, the Lagrangian is

L=Ek−Ep=12mv2−mgh=12m(x˙2+y˙2)−mgℓ(1−cos⁡θ)=12mℓ2θ˙2−mgℓ+mgℓcos⁡θ.

The Euler-Lagrange equation (singular as there is only one constraint, q=θ) is thus

ddt(∂L∂θ˙)=∂L∂θddt(mℓ2θ˙)=−mgℓsin⁡θmℓ2θ¨=−mgℓsin⁡θθ¨=−gℓsin⁡θ.

Which can then be rearranged to match Equation 1, obtained through force analysis.

d2θdt2+gℓsin⁡θ=0.

Deriving via Lagrangian Mechanics, while excessive with a single pendulum, is useful for more complicated, chaotic systems, such as a double pendulum.

Sign in to keep reading

10 more chapters are free with a Lably account.

More in Physics