The variationδF of a functional F in some point u0 relative to the variation δu is defined as
δF[u0,δu]≡dαdF[u0+αu]α=0
It is itself a functional, which takes two functions as an argument. It is fundamentally an extension of the directional derivative for a functional. In fact, for a functionF:U⊂RN→R , the directional derivative δF on a direction vector δx∈RN is:
Similarly to usual derivatives, the functional F is said to be stationary in u0 if δF[u0,δu]=0. More formally, we say that u0 is a stationary point for F for variations δu null at the boundaries (δu(xstart)=δu(xend)=0) if and only if u0 satisfies the equation
> If for instance $u(t)=\sin \pi t$, the functional would give us
> $$F[\sin \pi t]=\int_{0}^{1}\sin \pi t\ dt=\frac{1}{\pi}\int_{0}^{\pi}\sin \xi\ d\xi=\frac{2}{\pi}> which gives us the value $t_{0}$ for which the function is equal to $1$. With our previous $u$:
> $$F[\sin \pi t]=\sin(\pi t_{0})=1\quad\to \quad t_{0}= \frac{1}{2}
One could also do the same thing to find the zeros of a derivative:
> This statement is in essence a compact way of expressing the search for maxima and minima of $u$.
> [!example]- Curve length
> An example of a functional of several functions is the length of a [[Curve]]. Given some curve in $\mathbb{R}^{3}$, $\gamma(t)=(u(t),v(t),w(t))$, its length is the functional
> $$F[u,v,w]=\int_{0}^{1}\sqrt{ u'(t)^{2}+v'(t)^{2}+w'(t)^{2} }\ dt> The increment $\Delta F$ is
> $$\Delta F=\int_{0}^{1}(u+\delta u)dt-\int_{0}^{1}udt=\int_{0}^{1}\delta u\ dt
If we now take the integral of the square of the function F[u]=∫01u(t)2dt we get
> and the increment is
> $$\Delta F=\int_{0}^{1}(u^{2}+2u\delta u+\delta u^{2})dx-\int_{0}^{1}u^{2}dx=2\int_{0}^{1} u\delta udx+\int_{0}^{1} \delta u^{2}dx