4.10.13 · D4Advanced Topics (Elite Level)

Exercises — Euler-Lagrange equation — derivation

2,732 words12 min readBack to topic

Reminder of the two workhorses you will reuse everywhere:

Here is the integrand (Lagrangian), , and means "hold and fixed, wiggle only the slot where sits".


Level 1 — Recognition

L1.1 — Read off the pieces

Given , write down and (do not solve anything).

Recall Solution

WHAT: treat the three slots , , as independent labels and differentiate slot by slot. WHY: the partial means "freeze and , they are just constants for this step".

  • : only the term contains , so .
  • : only the term contains ; is frozen, so . Answer:

L1.2 — Does Beltrami apply?

For each Lagrangian, state whether the Beltrami shortcut is available (i.e. no explicit ): (a) , (b) , (c) .

Recall Solution

WHAT: hunt for a standalone that is not hidden inside or .

  • (a) — no lone . ✅ Beltrami applies.
  • (b) — the factor sits there explicitly. ❌ Beltrami does not apply.
  • (c) — only and appear. ✅ Beltrami applies. WHY it matters: Beltrami is the statement "if the rules don't change as you move along , then a certain combination is conserved". A visible means the rules do change with position, so nothing is conserved.

Level 2 — Application

L2.1 — Straight line, the E–L way

Extremize with , . Find .

Recall Solution

WHAT / WHY: (no appears), so E–L collapses to . If the derivative of a thing is zero, the thing is constant.

  • .
  • Squaring and solving — mind the branches. Squaring gives , hence . Taking the root introduces a : . WHY the sign is not a problem here: the right side is a fixed constant (call the whole thing , including its sign), because is a constant. Whichever branch we are on, never changes value along the curve — squaring cannot create a curve whose slope flips, since is pinned to one constant. So , and the sign of is fixed later purely by the endpoints (here it comes out positive).
  • WHAT IT LOOKS LIKE (Fig. s01): a constant slope means the extremal is a straight ramp. In the figure the orange line is that extremal; a teal dashed competitor bulges away and is visibly longer, and the plum dots are the two fixed endpoints the wiggle must not disturb ( at both ends).
  • So . Endpoints: ; (positive branch selected by the data). Answer: .
Figure — Euler-Lagrange equation — derivation

L2.2 — A quadratic Lagrangian

Extremize with . Find (leave in terms of ).

Recall Solution

WHAT: apply E–L directly. , .

  • E–L: .
  • WHY the solution is built from and (grounded, not asserted): the equation says "the second derivative gives back the original function". Ask: which functions are their own second derivative? The exponential has , so forces , i.e. or . That is why exactly two building blocks appear, (a curve that keeps steepening as it rises) and (a curve that decays), and every solution is a blend .
  • WHY rewrite as : the two natural symmetric blends are (even, value at ) and (odd, value at ). Since our left endpoint demands , the piece (which is at ) must be switched off — so is the tailor-made basis here.
  • WHAT IT LOOKS LIKE (Fig. s02): the figure plots (teal) and (plum), and their difference (orange) — notice the orange curve threads through the origin () exactly as the boundary condition requires, while its gentle upward bow is the extremal shape.
  • General solution . . . Answer: .
Figure — Euler-Lagrange equation — derivation

L2.3 — Beltrami warm-up

(a "minimal surface of revolution"-type integrand). No explicit . Reduce it to a first-order ODE using Beltrami.

Recall Solution

WHAT: , so Beltrami gives .

  • .
  • Beltrami: .
  • WHY the middle step: common denominator, and — the terms annihilate, which is the whole point of Beltrami. Answer (first-order ODE): .

Level 3 — Analysis

L3.1 — When the shortcut and the full equation agree

For (the brachistochrone integrand), the parent used Beltrami to get . Verify that the full E–L equation is consistent with this first integral by differentiating the Beltrami result and showing it does not contradict E–L. (You need not solve for the cycloid.)

Recall Solution

WHAT: Beltrami produces a valid first integral of E–L whenever . So consistency is guaranteed by the derivation of Beltrami itself — we re-trace it to be sure.

  • Beltrami was derived from .
  • Here , so (constant). This is an integrated form of E–L; differentiating it once returns .
  • WHY consistent — and the edge case made explicit. The product gives two ways to satisfy it: either the E–L bracket vanishes, or (a horizontal point/segment). At an isolated turning point where momentarily, the equation is satisfied trivially by the factor, so at that single instant Beltrami tells you nothing new about the E–L bracket — but E–L is a continuous condition, and everywhere the curve is genuinely sliding () the bracket is forced to zero; by continuity the bracket stays zero through the isolated point too. The only genuinely degenerate case is a curve that is horizontal on a whole interval ( there): then Beltrami degenerates to and carries no E–L information on that stretch, and you must fall back on the full E–L equation directly. For the brachistochrone the curve is strictly descending except at its start, so this degenerate stretch never occurs.
  • Now do the algebra for this explicitly so nothing is hidden. Write .
    • Step 1 — the momentum term: . WHY: chain rule on , with a frozen constant for this partial.
    • Step 2 — form : WHY: common denominator , then — the same -cancellation that makes Beltrami useful.
    • Step 3 — set equal to the Beltrami constant and square: . Answer: the first integral is a legitimate consequence of E–L; no contradiction.

L3.2 — Free endpoint (natural boundary condition)

Extremize with but free (not fixed). Find and the value .

Recall Solution

WHAT: free right endpoint means the boundary term from Integration by Parts does not vanish automatically at ; it forces a natural boundary condition.

  • Interior E–L: , . So .
  • Integrate: . Fixed left end .
  • Natural BC at : . WHY: with free, the only way the boundary term dies is there.
  • , so . Answer: , with .

Level 4 — Synthesis

L4.1 — Several dependent variables

Extremize . Write the E–L equations for both and and identify the motion.

Recall Solution

WHAT: with several unknown functions , there is one E–L equation per function — you wiggle each independently.

  • For : , . E–L: .
  • By identical algebra: .
  • WHY / WHAT IT LOOKS LIKE: is simple harmonic motion; each coordinate oscillates like . Two independent oscillators. Answer: — two uncoupled simple-harmonic oscillators.

L4.2 — Derive the Beltrami identity yourself

Starting only from E–L and the chain rule, derive when . Show every term.

Recall Solution

WHAT: compute the total derivative of the candidate conserved quantity and show it is zero.

  • Total derivative of : .
  • Now compute .
  • Subtract: .
  • WHY the bracket dies: that bracket is the Euler–Lagrange expression, zero on any extremal.
  • So . If , the left side is a constant. Answer: (see Beltrami Identity).

Level 5 — Mastery

L5.1 — Minimal surface of revolution (the catenoid)

A soap film spanning two coaxial rings minimizes surface area . Using Beltrami, find the shape . Then, taking symmetric rings with the curve , verify the boundary values numerically.

Recall Solution

WHAT: , no explicit → Beltrami.

  • .
  • Beltrami: . WHY: the terms cancel exactly, as in L2.3. Where does come from? It is simply the Beltrami constant — the fixed number the left side equals. In L2.3 we called it ; here we rename that same constant because, as we will see two lines down, turns out to be a length (the neck radius), and calling it makes that geometric meaning obvious. So is defined as , the conserved Beltrami value along the curve.
  • Rearrange: .
  • Integrate — the key step, shown in full. Separate variables: . Multiply top and bottom by : . WHY this integral: the shape is the tell-tale signature of the inverse hyperbolic cosine, because . Integrating both sides: , where is the constant of integration. Solving for : , and since is even the is absorbed, giving .
  • Which branch? Both are legitimate — and we need both. The branch describes the film rising away from the throat (increasing ), the branch describes it falling toward the throat. WHY it does not change the answer: has , which is negative left of the throat (the branch) and positive right of it (the branch). A single symmetric catenary automatically stitches both branches together, meeting at the throat where . So picking "the positive branch" is really just choosing to describe the right half.
  • WHAT IT LOOKS LIKE (Fig. s03): the orange curve is that catenary; the plum dot at the bottom is the throat where and (here ); the two teal vertical bars are the rings the film must reach at . Revolving this profile about the horizontal axis sweeps out the catenoid soap film.
  • With : . Check endpoints: . ✓ Answer: ; symmetric case .
Figure — Euler-Lagrange equation — derivation

L5.2 — Noether spotting: what conservation law hides in L4.1?

In L4.1 the Lagrangian is unchanged if you rotate by any fixed angle. By Beltrami-in-time (energy) and this rotational symmetry, name the two conserved quantities. (Conceptual — see Noether's Theorem.)

Recall Solution

WHAT: two symmetries → two conserved quantities.

  • Time-translation (): Beltrami-in- gives = total energy, conserved.
  • Rotational symmetry in the plane: Noether's Theorem gives the conserved angular momentum .
  • WHY: every continuous symmetry of the action yields one conserved quantity — that is precisely Noether's theorem, of which Beltrami (for time symmetry) is the special case. Answer: energy and angular momentum .

Recall Self-test checklist

Beltrami applies when :: has no explicit (). A free endpoint replaces a fixed height with :: the natural boundary condition there. unknown functions give how many E–L equations :: exactly , one per function. The catenoid neck radius equals :: the Beltrami constant , where .