= Variational derivative
The <variational derivative> of a <functional> $H[u]$ is the coefficient of a test <variation> $v$ after <integration by parts>:
$$
\left.\frac{d}{d\epsilon}H[u+\epsilon v]\right|_{\epsilon=0}
=\int\frac{\delta H}{\delta u}\,v\,dx.
$$
The allowed <variations> and <boundary conditions> are part of the definition; <compact support> of $v$ in the interior removes boundary contributions without discarding physical boundary terms arbitrarily.
For example, $H[u]=\int_a^b[u_x^2/2+V(u)]\,dx$ has <first variation>
$$
\delta H=\int_a^b[-u_{xx}+V'(u)]v\,dx+[u_xv]_a^b.
$$
Thus its interior <variational derivative> is $-u_{xx}+V'(u)$. Fixed endpoint values impose $v(a)=v(b)=0$. If the endpoint values are free, stationarity also imposes the natural <Neumann boundary conditions> $u_x(a)=u_x(b)=0$. The bulk <Euler-Lagrange equation> and boundary conditions therefore carry different parts of the same variation.
Back to article page