Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ib/paper-2/13d/a/solution

For fixed endpoint values, the first variation of the functional
vanishes exactly when the Euler-Lagrange equation
holds. If has no explicit dependence, differentiation along an extremal gives the Beltrami identity
For a further constraint , introduce a constant Lagrange multiplier and apply the Euler-Lagrange equation to ; is then chosen so that the constraint holds.

New to topics? Read the docs here!