In the theory of computational mechanics, there are a few operations used that are not taught in Calculus 101, which can be confusing without taking a lecture in calculus of variations. One of them is taking variations (a.k.a. Gateaux derivatives), akin to taking directional derivatives, but with functions of functions called functionals.

You need to take variations when you are linearizing a nonlinear problem for the purpose of solving with a numerical scheme. Linearization is the process of expanding a function or functional into a series, and discarding terms that are of order higher than linear—i.e. quadratic, cubic, quartic, etc. These expansions are called Taylor for functions, and Volterra for functionals.

Taylor Series

A function f:RRf:\IR\to\IR can be expanded about a point xˉ\bar{x} as a power series:

f(x)=f(xˉ)+dfdxxˉ(xxˉ)1!+d2fdx2xˉ(xxˉ)22!+d3fdx3xˉ(xxˉ)33!+=n=0dnfdxnxˉ(xxˉ)nn!\begin{equation} \begin{aligned} f(x) &= f(\bar{x}) + \frac{\dif f}{\dif x}\evat_{\bar{x}} \frac{(x-\bar{x})}{1!} + \frac{\dif^2 f}{\dif x^2}\evat_{\bar{x}}\frac{(x-\bar{x})^2}{2!} + \frac{\dif^3 f}{\dif x^3}\evat_{\bar{x}}\frac{(x-\bar{x})^3}{3!} + \cdots \\ &= \suml{n=0}{\infty} \frac{\dif^n f}{\dif x^n} \evat_{\bar{x}}\frac{(x-\bar{x})^n}{n!} \end{aligned} \tag{1}\end{equation}

Letting xx be a perturbation δx\var x from the expansion point xˉ\bar{x}, that is xxˉ+δxx\to\bar{x}+\var x, the series can also be phrased as follows

f(xˉ+δx)=f(xˉ)+dfdxxˉδx1!+d2fdx2xˉδx22!+d3fdx3xˉδx33!+=n=0dnfdxnxˉδxnn!\begin{equation} \begin{aligned} f(\bar{x}+\var x) &= f(\bar{x}) + \frac{\dif f}{\dif x}\evat_{\bar{x}} \frac{\var x}{1!} + \frac{\dif^2 f}{\dif x^2}\evat_{\bar{x}}\frac{\var x^2}{2!} + \frac{\dif^3 f}{\dif x^3}\evat_{\bar{x}}\frac{\var x^3}{3!} + \cdots \\ &= \suml{n=0}{\infty} \frac{\dif^n f}{\dif x^n} \evat_{\bar{x}}\frac{\var x^n}{n!} \end{aligned} \htmlId{eq:2}{} \tag{2}\end{equation}

This is what is taught in Calculus 101 and everyone knows. Now for the part that you may have missed:

Variation

Let XX be the space of functions RR\IR\to\IR. The variation of a functional FXF\in X is defined as

DuF(u)v:=limϵ0F(u+ϵv)F(u)ϵddϵF(u+ϵv)ϵ=0\begin{equation} \boxed{ \varn{F(u)}{u}{v} := \lim_{\eps\to 0} \frac{F(u+\eps v) - F(u)}{\eps} \equiv \deriv{}{\eps} F(u + \eps v) \evat_{\eps = 0} } \tag{3}\end{equation}

where vXv \in X is called the perturbation of the variation. This operation is analogous to taking the directional derivative of a function.

Shorthand notation

When working with variational formulations, writing out variations can be a bit of a hassle if there are many symbols involved. Therefore we use the following shorthand for variations:

ΔF:=DuF(u)v\begin{equation} \Var F := \varn{F(u)}{u}{v} \tag{4}\end{equation}

Here, we assume that there is no chance of confusing the varied function or perturbation. We use this shorthand in contexts where the perturbation does not play an important role.

The shorthand for evaluation is

Fˉ:=F(uˉ)andΔˉF:=DuF(u)vuˉ\begin{equation} \bar{F} := F(\bar{u}) \eqand \bar{\Var} F := \varn{F(u)}{u}{v}\evat_{\bar{u}} \tag{5}\end{equation}

where there is no risk of confusion for uˉX\bar{u}\in X.

Volterra Series

Let XX be the space of functions RR\IR\to\IR. Analogous to the Taylor series, a functional FXF\in X can be expanded about a point uˉ\bar{u} as a power series:

F(uˉ+v)=F(uˉ)+11!DuF(u)vuˉ+12!Du2F(u)v2uˉ+13!Du3F(u)v3uˉ+=n=01n!DunF(u)vnuˉ\begin{equation} \boxed{ \begin{aligned} F(\bar{u}+v) &= F(\bar{u}) + \frac{1}{1!} \varn{F(u)}{u}{v}\evat_{\bar{u}} + \frac{1}{2!} D^2_u F(u) \dtp v^2 \evat_{\bar{u}} + \frac{1}{3!} D^3_u F(u) \dtp v^3 \evat_{\bar{u}} + \cdots \\ &= \suml{n=0}{\infty} \frac{1}{n!} D^n_u F(u) \dtp v^n \evat_{\bar{u}} \end{aligned} } \htmlId{eq:6}{} \tag{6}\end{equation}

where vXv\in X is the perturbation of the expansion. This is called the Volterra series expansion of FF. Verbally, the Volterra series expansion of a functional about a function is the infinite sum of the variations of the functional with increasing degree, evaluated at that function, each divided by the factorial of the degree.

In shorthand notation, the expansion is rendered

F=Fˉ+ΔˉF1!+Δˉ2F2!+Δˉ3F3!+\begin{equation} \boxed{ F = \bar{F} + \frac{\bar{\Var} F}{1!} + \frac{\bar{\Var}^2 F}{2!} + \frac{\bar{\Var}^3 F}{3!} + \cdots } \htmlId{eq:7}{} \tag{7}\end{equation}

To me, there is an elegance in (7) that is not reflected in (2) or (6).