Using the mechanical principle that the centre of mass places itself as low as possible, determine the equation of the curve formed by a flexible homogeneous wire or a thin chain with length when supported at its ends in the points
and
.
We have an isoperimetric problem
to minimise
(1)
under the constraint
(2)
where both the path integrals are taken along some curve . Using a Lagrange multiplier , the task changes to a free problem
min
(3)
(cf. example of calculus of variations).
The Euler–Lagrange differential equation, the necessary condition for (3) to give an extremal , reduces to the Beltrami identity
where is a constant of integration. After solving this equation for the derivative and separation of variables, we get
which may become clearer by notating
; then by integrating
we choose the new constant of integration such that when :
We can write two equivalent results
i.e.
Adding these allows to eliminate the square roots and to obtain
or
(4)
This is the sought form of the equation of the chain curve. The constants
can then be determined for putting the curve to pass through the given points and .