Solution (source code)

= Solution

A missing explicit dependence produces a <first integral> of the <Euler-Lagrange equation>. The two cases follow by differentiating the candidate conserved quantity, as shown in the child solutions.