MTH 442 · Mathematical Methods II
Our notes
2 min readFunctions and functionals
A function takes a number and gives a number. A functional takes a whole function and gives a number. The commonest form is
J[y] = ∫ₐᵇ F(x, y, y′) dx
F is called the Lagrangian density (or just the integrand). The calculus of variations asks: which function y(x), with given end values y(a) = A and y(b) = B, makes J smallest (or largest, or stationary)?
Classic problems
- Shortest path in a plane: J = ∫√(1 + y′²) dx (arc length).
- Brachistochrone (Johann Bernoulli, 1696): the curve down which a bead slides from one point to a lower one in the least time: J = ∫√((1 + y′²)/(2gy)) dx.
- Minimal surface of revolution: rotate y(x) about the x-axis with least surface area: J = 2π∫y√(1 + y′²) dx.
- Isoperimetric (Dido's) problem: greatest area for a fixed perimeter.
- Mechanics: the actual motion makes the action ∫(T − V) dt stationary.
- Optics: light takes the path of least time (Fermat), which gives Snell's law.
Worked example: comparing curves
J[y] = ∫₀¹ y′² dx with y(0) = 0, y(1) = 1.
- y = x: J = ∫₀¹ 1 dx = 1.
- y = x²: J = ∫₀¹ 4x² dx = 4/3.
The straight line gives less. The question is how to find the best curve without trying them all.
Variations
Let y(x) be the best curve and compare it with y(x) + εη(x), where η(a) = η(b) = 0 (so the end values stay fixed) and ε is a small number. Then J becomes an ordinary function of ε, Φ(ε) = J[y + εη], which must be stationary at ε = 0:
Φ′(0) = 0 for every admissible η.
The quantity εΦ′(0) is called the first variation, δJ. This is the variational version of "set the derivative to zero".
Strong and weak extrema
- A weak extremum: y beats all nearby curves whose values and slopes are close.
- A strong extremum: y beats all nearby curves whose values are close, even if their slopes are not.
A strong minimum is also a weak one, not the other way round. The necessary conditions in the next topics are for weak extrema.
Admissible functions
Usually y must be continuous with a continuous derivative (class C¹), or piecewise C¹ when corners are allowed (topic 6).
Exams usually ask
- Set up the functional for a stated physical problem.
- Explain the meaning of a variation and of a weak extremum.
Common mistake
Forgetting that the comparison function η must vanish at fixed end-points. If an end is free, η need not vanish there, which gives an extra condition (topic 7).
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
No reading links here yet
Our team adds free books, videos and practice for each topic, and opens every link before it goes up.