4.10.12 · D3Advanced Topics (Elite Level)

Worked examples — Calculus of variations — functionals, functional derivative

2,103 words10 min readBack to topic

This child page of the parent topic does one thing: it drills the Euler–Lagrange machine (from the parent) against every kind of case it can meet. We start by listing the cases, then work an example for each cell.

Before line one, three reminders in plain words (nothing here is assumed — it is all in the parent):


The scenario matrix

Every problem in this topic falls into one of these shapes. The last column names the example that covers it.

# Case class What is special about it Covered by
C1 has no () E–L collapses to " const" Ex 1
C2 has no explicitly Use Beltrami (avoid ) Ex 2
C3 has no () E–L becomes algebraic, no ODE Ex 3
C4 Full — all slots present Total-derivative chain rule matters Ex 4
C5 Degenerate / limiting input (, , straight-line limit) Check the machine gives the sane limit Ex 5
C6 Free endpoint — boundary term survives Natural boundary condition appears Ex 6
C7 Constraint (fixed area/length) Lagrange multiplier enters Ex 7
C8 Word problem (real-world: fastest slide) Model → identify → solve Ex 8
C9 Exam twist (sign trap / higher derivative) Where students lose marks Ex 9

Read each example's tag [Cn] to see which cell it fills.


Ex 1 — No in [C1]

Figure — Calculus of variations — functionals, functional derivative

Ex 2 — No explicit → Beltrami [C2]

Figure — Calculus of variations — functionals, functional derivative

Ex 3 — No in : E–L is algebraic [C3]


Ex 4 — Full : the total-derivative trap [C4]


Ex 5 — Degenerate / limiting input [C5]


Ex 6 — Free endpoint → natural boundary condition [C6]


Ex 7 — Constraint via Lagrange multiplier [C7]


Ex 8 — Word problem: fastest slide [C8]

Figure — Calculus of variations — functionals, functional derivative

Ex 9 — Exam twist: sign trap & a in [C9]


Recap of the matrix

Recall Did we hit every cell?

Which example proves "no const"? ::: Ex 1 (straight line) Which uses Beltrami because lacks explicit ? ::: Ex 2 (catenary) and Ex 8 (cycloid) Which turns E–L into pure algebra? ::: Ex 3 () Which needs the full total-derivative chain? ::: Ex 4 () Which tests a degenerate limit ? ::: Ex 5 (line) Which produces a natural boundary condition? ::: Ex 6 () Which uses a Lagrange multiplier? ::: Ex 7 (circle arc) Which is a real-world word problem? ::: Ex 8 (brachistochrone) Which springs the sign trap / higher derivative? ::: Ex 9 (Euler–Poisson, )

no y in L

no x in L

no yprime in L

all slots

has ydoubleprime

endpoint free

constraint given

Read the functional J

L_yprime equals const

Beltrami identity

algebraic E-L

full Euler-Lagrange ODE

Euler-Poisson fourth order

natural boundary condition

add lambda multiplier