Chapter 1
Introduction to the Calculus of
Variations
Minimum principles have been invoked throughout the history of Physics to explain the
behavior of light and particles. In one of its earliest form, Heron of Alexandria (ca. 75
AD) stated that light travels in a straight line and that light follows a path of shortest
distance when it is reflected by a mirror. In 1657, Pierre de Fermat (1601-1665) stated
the Principle of Least Time, whereby light travels b etween two points along a path that
minimizes the travel time, to explain Snell’s Law (Willebrord Snell, 1591-1626) associated
with light refraction in a stratified medium.
The mathematical foundation of the Principle of Least Time was later developed by
Joseph-Louis Lagrange (1736-1813) and Leonhard Euler (1707-1783), who developed the
mathematical method known as the Calculus of Variations for finding curves that minimize
(or maximize) certain integrals. For example, the curve that maximizes the area enclosed
by a contour of fixed length is the circle (e.g., a circle encloses an area 4/π times larger
than the area enclosed by a square of equal perimeter length). The purpose of the present
Chapter is to introduce the Calculus of Variations by means of applications of Fermat’s
Principle of Least Time.
1.1 Fermat’s Principle of Least Time
According to Heron of Alexandria, light travels in a straight line when it propagates in a
uniform medium. Using the index of refraction n
0
≥ 1 of the uniform medium, the sp eed of
light in the medium is expressed as v
0
= c/n
0
≤ c, where c is the speed of light in vacuum.
This straight path is not only a path of shortest distance but also a path of least time.
According to Fermat’s Principle (Pierre de Fermat, 1601-1665), light propagates in a
nonuniform medium by travelling along a path that minimizes the travel time between an
1