F = √(1 + y′²)
E–L gives y″ = 0
Straight line.
A function that makes the integral stationary satisfies the Euler–Lagrange equation .
This page is easier if you are comfortable with:
Perturb by a small amount that vanishes at the ends, differentiate with respect to at 0, and integrate by parts. For this to vanish for every , the expression multiplying must be zero, giving the equation. It is the function-space version of setting a derivative to zero to find stationary points, using the chain rule and partial derivatives.
Example: for the equation is , so and is a straight line. Between and the line gives , while gives , which is larger. For the equation is , and with , the solution is with ; see the hyperbolic functions and solving linear equations.
If does not depend on the equation simplifies to the Beltrami identity. With constraints, use isoperimetric problems. In mechanics, with kinetic minus potential energy, the equation is Newton's second law and leads to Hamilton's equations; the shortest path problem uses arc length.
The Euler–Lagrange equation finds the function that makes an integral as small or large as possible, such as the shortest path.
Among curves joining (0, 0) to (1, 1), the straight line minimises the integral of the squared gradient.
These examples are worked by hand, step by step, so you can compare your own working.
Find the function from to that minimises , and the minimum.
Evaluate for and compare.
Minimise with , .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
E–L gives y″ = 0
Straight line.
length
5.
J = ∫1 dx
1.
y″ = y, y = sinh x/sinh 1
y(0.5) = 0.4434.
A function making J = ∫F(x, y, y′)dx stationary satisfies ∂F/∂y − d/dx(∂F/∂y′) = 0. For F = √(1 + y′²) the extremals are straight lines.
F = √(1 + y′²) gives y″ = 0. Find y″.
Length of the line from (0, 0) to (3, 4).
F = y′², y = x on [0, 1].
F = y² + y′²: y = sinh x/sinh 1. Find y(0.5).
∂F/∂y − ∂F/∂y′ ✗
∂F/∂y − d/dx(∂F/∂y′) ✓
Total derivative.
always ✗
stationary only ✓
Check second variation.
any solution ✗
fit y(a), y(b) ✓
Constants.
wrong ✗
dy/dx ✓
Derivative.
Try each one on paper, then open the answer. Use the solver above to see the full working.
10
4
0.4434
3
4
6
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
∂F/∂y − d/dx(∂F/∂y′) = 0.
Straight lines.
It finds stationary functions.
A map from functions to numbers.
Beltrami identity.
Hamilton’s equations.
More in Analysis, algebra and topology and the formula sheets.