MTH 432.2 · Mathematical Methods
Our notes
2 min readFree ends
If y(b) is not given, η(b) need not be zero. The boundary term in the first variation then survives:
δJ = ∫(F_y − (F_y′)′)η dx + [F_y′ η]ₓ₌b = 0
The integral vanishes by the Euler-Lagrange equation (still needed), so the extra condition is
F_y′ = 0 at x = b
This is the natural boundary condition. The same holds at x = a if y(a) is free.
Worked example: a free end
Minimise J = ∫₀¹ (½y′² − y) dx with y(0) = 0 and y(1) free.
- F_y = −1, F_y′ = y′. Euler-Lagrange: −1 − y″ = 0, so y″ = −1: y = −x²/2 + Cx + D.
- y(0) = 0 gives D = 0.
- Natural condition y′(1) = 0: −1 + C = 0, so C = 1.
- y = x − x²/2, and J = ∫₀¹ (½(1 − x)² − x + x²/2) dx = 1/6 − 1/2 + 1/6 = −1/6.
Physically: a string under a uniform load with one end fixed and the other free to slide on a vertical frictionless rail; the string meets the rail horizontally.
End-point on a curve
If the end must lie on a curve y = g(x) but where is not fixed (the shortest path from a point to a curve), then the end x = b varies too. The condition becomes the transversality condition:
F + (g′ − y′)F_y′ = 0 at the end
(it combines the change in J from moving along the curve and from changing y).
Worked example: shortest distance to a curve
F = √(1 + y′²). The transversality condition simplifies to 1 + g′y′ = 0, that is y′ = −1/g′: the shortest line meets the curve at right angles. This is the familiar result that the shortest distance to a curve is along the normal.
Free end in x only
If the end must lie on the vertical line x = b (y free), we get F_y′ = 0. If the end is on the horizontal line y = B with b free, we get F − y′F_y′ = 0 at the end.
Free time in mechanics
In optimal control, when the final time is free, the condition on the Hamiltonian at the end (H = 0 for time-independent problems) is a transversality condition. It decides, for example, the best time to reach a target.
Exams usually ask
- Derive the natural boundary condition and use it.
- Find the shortest distance from a point to a given curve using transversality.
Common mistake
Forgetting the natural condition: with only one end condition, the Euler-Lagrange solution has an unknown constant left, and F_y′ = 0 at the free end is what fixes it.
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.