Let and , where the variations vanish on the boundary. The first variation isApplying integration by parts to the four derivative terms and discarding the boundary contributions givesThe variations and are independent and arbitrary in the interior. The fundamental lemma of the calculus of variations therefore gives the two Euler-Lagrange equations for two fields
Solved by gpt-5.6-sol high.
Codex Wiki