= Euler-Lagrange equation
{c}
{wiki}
For a sufficiently smooth <functional> $I[y]=\int_a^bF(x,y,y')dx$, a stationary path with fixed endpoints satisfies
$$
\frac d{dx}F_{y'}-F_y=0.
$$
To derive it, set $y_\epsilon=y+\epsilon\eta$ with $\eta(a)=\eta(b)=0$. The <first variation> is $\int(F_y\eta+F_{y'}\eta')dx$. <Integration by parts> makes it $\int(F_y-(F_{y'})')\eta\,dx$, and the <fundamental lemma of the calculus of variations> makes its coefficient zero.
For $F=(y')^2/2$, the equation is $y''=0$, so stationary paths are <straight lines>. Stationarity is a necessary <first-order condition>; it does not by itself prove that the path is a minimum.
Back to article page