38 1 Calculus of variations
How are we to make sense of this expression? We begin in the next chapter where we
explain what it means to differentiate δ(x), and show that (1.186) does indeed correspond
to the differential operator L. In subsequent chapters we explore the manner in which
differentialoperators and matrices are related. We will learn that just as some matrices can
be diagonalized so can some differential operators, and that the class of diagonalizable
operators includes (1.182).
If all the eigenvalues of L are positive, our stationary point was a minimum. For each
negative eigenvalue, there is direction in function space in which J [y ] decreases as we
move away from the stationary point.
1.7 Further exercises and problems
Here is a collection of problems relating to the calculus of variations. Some date back
to the sixteenth century, others are quite recent in origin.
Exercise 1.1: Asmooth path in the xy-plane is given by r(t) = (x(t), y(t)) with r(0) = a,
and r(1) = b. The length of the path from a to b is therefore
S[r]=
1
0
˙x
2
+˙y
2
dt,
where ˙x ≡ dx/dt, ˙y ≡ dy/dt. Write down the Euler–Lagrange conditions for S[r] to be
stationary under small variations of the path that keep the endpoints fixed, and hence
show that the shortest path between two points is a straight line.
Exercise 1.2: Fermat’s principle. A medium is characterized optically by its refractive
index n, such that the speed of light in the medium is c/n. According to Fermat (1657),
the path taken by a ray of light between any two points makes the travel time stationary
between those points. Assume that the ray propagates in the xy-plane in a layered medium
with refractive index n(x). Use Fermat’s principle to establish Snell’s law in its general
form n(x) sin ψ = constant, by finding the equation giving the stationary paths y(x) for
F
1
[y ]=
n(x)
1 + y
2
dx.
(Here the prime denotes differentiation with respect to x.) Repeat this exercise for the
case that n depends only on y and find a similar equation for the stationary paths of
F
2
[y ]=
n(y )
1 + y
2
dx.
By using suitable definitions of the angle of incidence ψ in each case, show that the
two formulations of the problem give physically equivalent answers. In the second
formulation you will find it easiest to use the first integral of Euler’s equation.