Functionals
A functional is a rule that associates a number to a function, where a function is a rule that associates a number to a variable. That is, given a function
, the functional
is a mapping between the entirety of the values of
on its domain of definition to a number. A general way to write
is:
![$\displaystyle F[f] = \int g[f(x)] dx,$](img1614.svg) |
(14.1) |
where
is some function that determines
, and the integral is extended to the entire domain on which
is defined. We are interested to obtain an expression for the linear order variation of
as
is varied, i.e. writing
, with
the part that depends to
order on
, we are interested in
. The reason is that we are often interested in the function
that minimises
, which is the one for which
. Any variation
can contribute to the total variation
. Using
we have:
![$\displaystyle F[f+\delta f] - F[f] = \int \left \{ g[f(x) + \delta f(x)] - g[f(x)] \right\} dx.$](img1621.svg) |
(14.2) |
Let us approximate the integral
with the sum:
![$\displaystyle F[f+\delta f] - F[f] \simeq \sum_i \{g[f(x_i) + \delta f(x_i)] - g[f(x_i)]\} \Delta x_i,$](img1622.svg) |
(14.3) |
which becomes exact in the limit in which
and
are constant over the interval
. Let us now choose
in such a way that it is equal to a small quantity
over some interval
and zero otherwise. With this choice, all the elements in the sum in
are zero, a part from the term with
, so that we have:
![$\displaystyle F[f+\delta f] - F[f] \simeq \{g[f(x_j) + \epsilon] - g[f(x_j)]\} \Delta x_j.$](img1629.svg) |
(14.4) |
Since the approximation
is equivalent to approximate
to be constant over the interval
, the term in curly brackets on the r.h.s. of
is equal to:
![$\displaystyle g[f(x_j) + \epsilon] - g[f(x_j)] = \frac{\delta g[f(x_j)]}{\delta f(x_j)} \epsilon + o(\epsilon^2),$](img1631.svg) |
(14.5) |
where
is the derivative of the function
w.r.t. to its argument–
in this case. Therefore, for the choice of
for
and zero otherwise, we have:
![$\displaystyle \delta F = \frac{\delta g[f(x_j)]}{\delta f(x_j)} \epsilon \Delta x_j = \frac{\delta g[f(x_j)]}{\delta f(x_j)}\delta f(x_j) \Delta x_j,$](img1636.svg) |
(14.6) |
which allows us to define:
![$\displaystyle \frac{\delta F}{\delta f(x)} = \frac{\delta g[f(x)]}{\delta f(x)}.$](img1637.svg) |
(14.7) |
If other terms
are contributing to the variation of
, they all contribute to the variation of
, the linear order of which becomes:
![$\displaystyle \delta F = \sum_i \frac{\delta g[f(x_i)]}{\delta f(x_i)}\delta f(x_i) \Delta x_i,$](img1638.svg) |
(14.8) |
or, coming back to the limit
,
![$\displaystyle \delta F = \int\frac{\delta g[f(x)]}{\delta f(x)}\delta f(x) dx = \int\frac{\delta F} {\delta f(x)}\delta f(x) dx.$](img1640.svg) |
(14.9) |
Note that
in
depends on the choice of the displacement function
. If we are interested in the extreme
, since
is arbitrary, we must have
for every value of
.