The Principle of Least Action

Jason Gross, December 7, 2010
Last Updated September 23, 2023

Introduction

Recall that we defined the Lagrangian to be the kinetic energy less potential energy, L=K-U, at a point.  The action is then defined to be the integral of the Lagrangian along the path,

S t 0 t 1 L t t 0 t 1 K - U t

It is (remarkably!) true that, in any physical system, the path an object actually takes minimizes the action.  It can be shown that the extrema of action occur at

L q - t L q . 0

This is called the Euler equation, or the Euler-Lagrange Equation.

Derivation

Least action: F=m a

Suppose we have the Newtonian kinetic energy, K = 1 2 m v 2 , and a potential that depends only on position, U = U ( r ) .  Then the Euler-Lagrange equations tell us the following:

Principle of Least Action MathML_1.gif

- U [ r [ t ] ] - m r ′′ [ t ] 0

Rearrangement gives

Principle of Least Action MathML_2.gif

Least action with no potential

Suppose we have no potential, U=0.  Then L=K, so the Euler-Lagrange equations become

K q - t K q . 0

For Newtonian kinetic energy, K = 1 2 m x . 2 , this is just

Principle of Least Action MathML_3.gif

This is a straight line, as expected.

Least action with gravitational potential

Suppose we have gravitational potential close to the surface of the earth, U=m g y, and Newtonian kinetic energy, K = 1 2 m y . 2 .  Then the Euler-Lagrange equations become

Principle of Least Action MathML_4.gif

This is a parabola, as expected.

Constants of motion: Momenta

We may rearrange the Euler-Lagrange equations to obtain

L q = t L q .

If it happens that L q = 0 , then t L q . is also zero.  This means that L q . is a constant (with respect to time).  We call L q . a (conserved) momentum of the system.

Linear Momentum

By noting that Newtonian kinetic energy, K = 1 2 m v 2 , is independent of the time derivatives of position, if potential energy depends only on position, we can infer that L x . (and, similarly, L y . and L z . ) are constant.  Then L x . = x . ( 1 2 m x . 2 ) = m x . .  This is just standard linear momentum, m v.

Angular Momentum

Let us change to polar coordinates.

Principle of Least Action MathML_5.gif

1 2 m r ( t ) 2 + 1 2 m r ( t ) 2 θ ( t ) 2

Using dot notation, this is

K /. r_ ' [ t ] OverDot [ r ] /. r_ [ t ] r // TraditionalForm

1 2 θ . 2 m r 2 + m r . 2 2

Note that θ does not appear in this expression.  If potential energy is not a function of θ (is only a function of r), then L θ . = m r 2 θ . is constant.  This is standard angular momentum, m r 2 ω = r m r ω = r × m v .

Classic Problem: Brachistochrone (“shortest time”)

Problem

A bead starts at x=0, y=0, and slides down a wire without friction, reaching a lower point ( x f , y f ) .  What shape should the wire be in order to have the bead reach ( x f , y f ) in as little time as possible.

Solution

Idea

Use the Euler equation to minimize the time it takes to get from ( x i , y i ) to ( x f , y f ) .

Implementation

Letting ds be the infinitesimal distance element and v be the travel speed,

Principle of Least Action MathML_6.gif

Now we apply the Euler equation to f = 1 + ( x ' ) 2 2 g y and change ty, x . x ' .

Principle of Least Action MathML_7.gif

Squaring both sides and making a special choice for the constant gives

Principle of Least Action MathML_8.gif

To solve this, change variables:

y = A ( 1 - cos ( θ ) ) , y = A sin ( θ ) θ

FullSimplify [ 2 A y - y 2 /. y A ( 1 - Cos [ θ ] ) ]

A 2 Sin [ θ ] 2

Principle of Least Action MathML_9.gif

Full solution: The brachistochrone is described by

x = A ( θ - sin ( θ ) ) y = A ( 1 - cos ( θ ) )

There’s no analytic solution, but we can compute them.

Principle of Least Action MathML_10.gif

Classic Problem: Catenary

Problem

Suppose we have a rope of length l and linear mass density λ.  Suppose we fix its ends at points ( x 0 , y 0 ) and ( x f , y f ) .  What shape does the rope make, hanging under the influence of gravity?

Solution

Idea

Calculate the potential energy of the rope as a function of the curve, y(x), and minimize this quantity using the Euler-Lagrange equations.

Implementation

Suppose we have curve parameterized by t, (x(t), y(t)).  The potential energy associated with this curve is

Principle of Least Action MathML_12.gif

Note that if we choose to factor ds the other way (for y'), we get a mess.

Now we apply the Euler-Lagrange equation to f = λ g y 1 + ( x ' ) 2 and change ty, x . x ' .

Principle of Least Action MathML_13.gif

Since f x = 0 , f x ' is constant, say a = 1 λ g f x ' = y x ' 1 + ( x ' ) 2 .  Then

x ' = x y = ± a y 2 - a 2

Using the fact that

y y 2 - a 2 cosh - 1 ( y a ) + b ,

integration of x' gives

x ( y ) = ± a cosh - 1 ( y a ) + b

where b is a constant of integration.

Plotting this for a=1, b=0 gives:

Clear [ y ] ; Manipulate [ ParametricPlot [ { { - a ArcCosh [ t a ] + b , t } , { a ArcCosh [ t a ] + b , t } } , { t , ymin , ymax } , PlotStyle Black , AspectRatio Automatic ] , { { a , 1 } , - 5 , 5 } , { { b , 0 } , - 5 , 5 } , { { ymin , 0 , y min } , - 5 , 5 } , { { ymax , 2 , y max } , - 5 , 5 } ]

Problem: Bead on a Ring

From 8.033 Quiz #2

Problem

Principle of Least Action MathML_15.gif

A bead of mass m slides without friction on a circular hoop of radius R. The angle θ is defined so that when the bead is at the bottom of the hoop, θ=0. The hoop is spun about its vertical axis with angular velocity ω. Gravity acts downward with acceleration g.
Find an equation describing how θ evolves with time.
Find the minimum value of ω for the bead to be in equilibrium at some value of θ other than zero.
(“equilibrium” means that θ . and θ ¨ are both zero.) How large must ω be in order to make θ=π/2?

Solution

The general Lagrangian for the object in Cartesian coordinates is

Clear [ x , y , z , t ] ; ( L = 1 2 m ( x ' [ t ] 2 + y ' [ t ] 2 + z ' [ t ] 2 ) - m g z [ t ] ) // TraditionalForm

1 2 m ( x ( t ) 2 + y ( t ) 2 + z ( t ) 2 ) - g m z ( t )

Converting to polar coordinates, and using the constraints that φ=ω t and r=R, using the conversion

Principle of Least Action MathML_16.gif

gives

Principle of Least Action MathML_17.gif

L g m R cos ( θ ) - g m R - 1 4 m R 2 ω 2 cos ( 2 θ ) + 1 2 θ . 2 m R 2 + 1 4 m R 2 ω 2

0 L θ - t L θ . - g m R sin ( θ ) + m R 2 ω 2 sin ( θ ) cos ( θ ) - m R 2 θ ′′ ( t )

θ ′′ ( t ) R ω 2 sin ( θ ( t ) ) cos ( θ ( t ) ) - g sin ( θ ( t ) ) R

Finding the minimum value of ω for the bead to be in equilibrium gives

Principle of Least Action MathML_18.gif

R ω 2 sin ( θ ( t ) ) cos ( θ ( t ) ) - g sin ( θ ( t ) ) R 0

cos ( θ ) g R ω 2

In order for this to have a solution, we must have

ω g R

If θ=π/2, then cos(θ)=0, so ω=.

Problem 11.8: K & K 8.12

Problem

A pendulum is rigidly fixed to an axle held by two supports so that it can only swing in a plane perpendicular to the axle. The pendulum consists of a mass m attached to a massless rod of length l. The supports are mounted on a platform which rotates with constant angular velocity Ω. Find the pendulum’s frequency assuming the amplitude is small.

Principle of Least Action MathML_19.gif

Solution by torque

(From the problem set solutions)

Principle of Least Action MathML_20.gif

The torque about the pivot point is

τ p α I p

k ^ : - g m sin ( θ ) + F cent cos ( θ ) θ ¨ I p

The centrifugal effective force is

F cent = m ( sin ( θ ) ) Ω 2

For small angles, sin(θ)=θ, cos(θ)=1.  Then equation (1) becomes

Principle of Least Action MathML_21.gif

If Ω 2 > g , the motion is no longer harmonic.

Solution by least action

The general Lagrangian for the object in Cartesian coordinates is

Clear [ x , y , z , t ] ; ( L = 1 2 m ( x ' [ t ] 2 + y ' [ t ] 2 + z ' [ t ] 2 ) - m g z [ t ] ) // TraditionalForm

1 2 m ( x ( t ) 2 + y ( t ) 2 + z ( t ) 2 ) - g m z ( t )

Converting to polar coordinates, and using the constraints that φ=Ω t and r=, using the conversion

Principle of Least Action MathML_22.gif

gives

Principle of Least Action MathML_23.gif

L g m cos ( θ ) - g m - 1 4 m Ω 2 2 cos ( 2 θ ) + 1 2 θ . 2 m 2 + 1 4 m Ω 2 2

0 L θ - t L θ . - g m sin ( θ ) - m 2 θ ′′ ( t ) + m Ω 2 2 sin ( θ ) cos ( θ )

θ ′′ ( t ) Ω 2 sin ( θ ( t ) ) cos ( θ ( t ) ) - g sin ( θ ( t ) )

Note that this is, after minor changes of variable, the exact same equation that we found in the previous problem.  We should(’ve) expect(ed) this.
Making the first order approximation that θ0 (Taylor expanding around θ=0 to the first order), we get

θ ′′ ( t ) - ( g - Ω 2 ) θ ( t )

This is the differential equation for a harmonic oscillator, with

ω = g - Ω 2

If Ω 2 > g , the motion is no longer harmonic.

Principle of Least Action MathML_24.gif

Created with the Wolfram Language