4.10.13 · D3Advanced Topics (Elite Level)

Worked examples — Euler-Lagrange equation — derivation

2,750 words13 min readBack to topic

This page is a catalogue of cases. The parent derivation gave you the machine: Here we feed it every kind of Lagrangian you can meet, so you never hit an input we did not show. First a map, then the worked cases.


The scenario matrix

Every problem in the Calculus of Variations is decided by which variables actually depends on. That single fact tells you which shortcut applies. The matrix below lists every case class.

Cell depends on… What simplifies Tool of choice Example
A only () Ex 1
B (no ) Beltrami Identity Ex 2
C (no ) Ex 3
D full nothing skips full E–L ODE Ex 4
E degenerate linear in , OR no at all E–L collapses check consistency Ex 5
F free endpoint (one end loose in or in ) boundary term survives natural BC / transversality Ex 6
G word problem (real world) model then apply B Brachistochrone Problem-style Ex 7
H exam twist (higher / symmetry) generalized E–L / Noether's Theorem modified rule Ex 8

Ex 1 — Cell A: depends on only

Figure — Euler-Lagrange equation — derivation

Ex 2 — Cell B: no explicit , use Beltrami


Ex 3 — Cell C: no explicit , but present


Ex 4 — Cell D: full dependence, run the whole ODE


Ex 5 — Cell E: degenerate — two flavours


Ex 6 — Cell F: free endpoints (in and in )

Figure — Euler-Lagrange equation — derivation

Ex 7 — Cell G: real-world word problem


Ex 8 — Cell H: exam twist, higher derivative


Recall Which cell am I in? (self-quiz)

— which cell and which shortcut? ::: Cell A (only ) → const. — which cell? ::: Cell B (no bare ) → Beltrami identity. — which cell? ::: Cell C (no bare ) → const, but path bends (valid only on ). gives E–L . What does that mean? ::: is a total derivative — every path is extremal (Cell E-5a, degenerate). has no — what does E–L become? ::: An algebraic condition ; no ODE, may clash with endpoints (Cell E-5b). Right end is free in . What replaces the missing value? ::: The natural BC there (Cell F-6a). The endpoint's is also free — what condition? ::: Transversality at that end (Cell F-6b). contains . What equation replaces E–L? ::: Euler–Poisson: add (Cell H).