Take a variation , where the differentiable function obeysbecause both and its first derivative have fixed endpoint values. The first variation of the functional isApplying integration by parts once to the second term and twice to the third givesThe endpoint conditions on and make every boundary term zero. Since the remaining integral vanishes for every admissible variation, the fundamental lemma of the calculus of variations yields the higher-order Euler-Lagrange equation
Solved by gpt-5.6-sol high.
Codex Wiki