Professional Documents
Culture Documents
THEORIES
To calculate δS, we need to vary the paths slightly. Using the chain
rule (actually, we should justify that the chain rule works when calculating
variations in functions, but we’ll trust the mathematicians on this point) we
get
t2
Z
δS = δ L dt (3)
t1
Z t2
= δL dt (4)
t1
Z t2
∂L ∂L
= δqi + δ q̇i dt (5)
t1 ∂qi ∂ q̇i
Z t2
∂L ∂L d (δqi )
= δqi + dt (6)
t1 ∂qi ∂ q̇i dt
where the repeated index i is summed.
We can now integrate the second term on the RHS of 6 by parts to get
Z t2 t2 Z t2
∂L ∂L d ∂L
δS = δqi dt + δqi − δqi dt (7)
t1 ∂qi ∂ q̇i t1 t1 dt ∂ q̇i
The requirement that qi (t1 ) and qi (t2 ) are fixed means that δqi = 0 at the
limits of integration, so the middle term is zero. We’re then left with
Z t2
∂L d ∂L
δS = − δqi dt = 0 (8)
t1 ∂qi dt ∂ q̇i
This must be true for all possible variations δqi so the quantity in brackets
must be zero, which gives us the Euler-Lagrange equations:
∂L d ∂L
− =0 (9)
∂qi dt ∂ q̇i
Why are position and velocity treated as independent? It’s worth di-
gressing at this point to explain why we can take qi and q̇i as independent
variables. It would seem that they are not independent since once you’ve
specified qi you can get q̇i by just taking the derivative. [As an aside, I’ve
never seen this question addressed in any of the textbooks I’ve looked at.
They all just assume that we can take qi and q̇i as independent variables
without explaining why.]
It’s perhaps easiest to understand the idea of independent variables by
considering a simple case of an ordinary function in the 2-d x − y plane,
such as y = x2 . With this function, once we specify x, y is determined,
EULER-LAGRANGE EQUATIONS FOR PARTICLE AND FIELD THEORIES 3
L = f (x, y) = y − x2 (10)
In this case, both x and y are independent, as either of them can take on
any value we choose. We can obtain different curves (in this case, they
are all parabolas) by requiring f (x, y) to be equal to various constants. To
obtain the specific curve y = x2 , we must impose a specific constraint on L,
namely that f (x, y) = 0.
The same logic applies to the Lagrangian, except that the constraint is a
bit more elaborate. If we consider a single particle at a given instant, its
position is given by qi (which can consist of up to 3 components, depending
on how many dimensions we’re considering), and its velocity by vi (which
again can have up to 3 components). If all we’re doing is specifying the
position and velocity of a particle at one point, then qi and vi can take on
any values so, at this stage, they are technically independent variables. This
is the starting point of the Lagrangian. The Lagrangian is given as a function
of the positions qi and velocities vi , with no constraints applied to how these
two variables relate to each other. At this stage, we don’t know the path
qi (t) followed by the particle, so we also don’t know its velocity.
The constraint is to apply the principle of least action. This leads to the
Euler-Lagrange equations 9, the solution of which gives the path qi (t) fol-
lowed by the particle. After this constraint has been applied, the velocity is
now given by vi (t) = q̇i (t), and now qi and q̇i are no longer independent,
as q̇i (t) is just the derivative of qi . What can cause confusion is that the La-
grangian is usually introduced as L (qi , q̇i ) rather than, say, L (qi , vi ), so it’s
easy to interpret the variable q̇i as the derivative of qi before the constraint
of least action is applied, and this isn’t true. The connection of qi and q̇i
emerges only after we solve the Euler-Lagrange equations.
Since the equations of motion 9 in general are second-order differential
equations, their solution requires two initial conditions, which are usually
the values of the position and velocity at some specific time, such as t = 0.
Other types of Lagrangian. In an alternative universe, we could conceive
of a Lagrangian that depended on qi , q̇i and q̈i , say. In that case all of qi ,
q̇i and q̈i would be independent variables in the derivation above, and we’d
end up with a different form of the Euler-Lagrange equations. The fact that
physical Lagrangians depend only on qi , and q̇i is a consequence of New-
ton’s second law F = ma, since this allows only the positions and velocities
to be specified as independent variables. The law F = ma is, when written
out, a second order differential equation, since the acceleration is the sec-
ond derivative of the position with respect to time. The general solution of
EULER-LAGRANGE EQUATIONS FOR PARTICLE AND FIELD THEORIES 4
∂L ∂V
= − (11)
∂qi ∂qi
d ∂L d ∂T
= (12)
dt ∂ q̇i dt ∂ q̇i
!
d ∂ 1
= ∑ mj q̇j2 (13)
dt ∂ q̇i j 2
d
= (mi q̇i ) (no sum over i) (14)
dt
= ṗi (15)
where pi is the momentum of degree of freedom i. Therefore, the Euler-
Lagrange equations are equivalent to
∂V
ṗi = − = Fi (16)
∂qi
where Fi is the force acting on degree of freedom i. This is just Newton’s
second law, so the Euler-Lagrange formulation is indeed equivalent to New-
ton’s laws.
actually composed of three separate fields, one for each spatial coordinate.
Each of these fields again has a single value for each point q µ .
To work out the Euler-Lagrange equations for classical field theory, we
need to think about what is meant by a ’path’ that the system follows. Be-
cause the spacetime coordinates q µ are no longer dynamical variables, it
doesn’t make sense to ask how q µ changes with time. What does change is
the value of the field φ (or φr if we have more than one field, as with the
electric field, in which case the index r ranges over all the fields), so it is
the field φ that is the dynamical variable. As such, the path followed is de-
termined by a function of the field values. By analogy with the Lagrangian
in the particle case, we define the Lagrangian density L φr , φr,µ , q µ . The
notation φr,µ is defined as
∂φr
φr,µ ≡ (17)
∂q µ
The Lagrangian density is the Lagrangian per unit volume, and each infin-
itesimal volume element d3 x = dq 1 dq 2 dq 3 follows a path through time, so
the action element of this volume element between times t1 and t2 is
Z t2
L φr , φr,µ , q µ dt
dS = (18)
t1
Note that this is the action dS for only the volume element centred at q µ .
The total action of the entire system is the integral of this over some space-
time volume Ω that encloses the entire system spatially during the time
interval, so
Z
L φr , φr,µ , q µ d4 q
S= (19)
Ω
The idea now is to apply the calculus of variations to this integral and
require δS = 0 as in the particle case. Remember that we’re varying the
fields at each spacetime point and not the coordinates q µ . Therefore (I’ll
drop the superscript r to avoid confusion with the summation convention,
so the following should be taken to apply to each field φr separately. A
summation over µ is implied):
Z
∂L ∂L
δS = δφ + δφ,µ d4 q (20)
Ω ∂φ ∂φ,µ
To work out the second term, we write out the derivative explicitly:
EULER-LAGRANGE EQUATIONS FOR PARTICLE AND FIELD THEORIES 6
∂L ∂L ∂ (δφ)
δφ,µ = (21)
∂φ,µ ∂φ,µ ∂q µ
∂ ∂L ∂ ∂L
= µ δφ − µ δφ (22)
∂q ∂φ,µ ∂q ∂φ,µ
where the last line follows from the product rule. We therefore get
Z
∂L ∂ ∂L ∂ ∂L
Z
4
δS = − µ δφd q + µ ∂φ
δφ d4 q (23)
Ω ∂φ ∂q ∂φ,µ Ω ∂q ,µ
The last term is the integral of a 4-d divergence over a 4-d volume and
(trusting the mathematicians again) we can use a 4-d analog of Gauss’s
theorem to convert this to a surface integral over a 3-d surface Σ that bounds
the 4-d volume Ω. Making the usual assumption that this surface can be
removed to infinity and that our system is finite so that L → 0 at infinity,
this integral goes to zero. We’re left with
Z
∂L ∂ ∂L
δS = − µ δφd4 q = 0 (24)
Ω ∂φ ∂q ∂φ,µ
The requirement that this is valid for all variations δφ in the field gives us the
field theory version of the Euler-Lagrange equations (where I’ve restored
the index r indicating which field we’re talking about; note that µ is still
summed):
∂L ∂ ∂L
r
− µ =0 (25)
∂φ ∂q ∂φr,µ
P INGBACKS
Pingback: Hamilton’s equations and Poisson brackets
Pingback: Hamilton’s equations for relativistic fields
Pingback: Lagrangian for the two-body problem
Pingback: Hamiltonians and Legendre transformations
Pingback: Invariance of Euler-Lagrange and Hamilton’s equations
Pingback: Relation between action and energy
Pingback: Geodesics - paths of longest proper time
Pingback: Hamiltonian formalism and Legendre transformations
Pingback: Invariance of Euler-Lagrange and Hamilton’s equations under
canonical transforma
Pingback: Classical particle mechanics
Pingback: Classical field theory
Pingback: Noether’s theorem in classical mechanics
EULER-LAGRANGE EQUATIONS FOR PARTICLE AND FIELD THEORIES 7