In mathematics, specifically in the calculus of variations, a variation of a function can be concentrated on an arbitrarily small interval, but not a single point.Accordingly, the necessary condition of extremum (functional derivative equal zero) appears in a weak formulation (variational form) integrated with an arbitrary function . The fundamental lemma of the calculus of variations is typically used to transform this weak formulation into the strong formulation (differential equation), free of the integration with arbitrary function. The proof usually exploits the possibility to choose concentrated on an interval on which keeps sign (positive or negative). Several versions of the lemma are in use. Basic versions are easy to formulate and prove. More powerful versions are used when needed.
If a continuous function
f
(a,b)
b | |
\int | |
a |
f(x)h(x)dx=0
for all compactly supported smooth functions
h
(a,b)
f
Here "smooth" may be interpreted as "infinitely differentiable", but often is interpreted as "twice continuously differentiable" or "continuously differentiable" or even just "continuous", since these weaker statements may be strong enough for a given task. "Compactly supported" means "vanishes outside
[c,d]
c
d
a<c<d<b
h
h
a
b
[a,b]
Suppose
f(\bar{x}) ≠ 0
\bar{x}\in(a,b)
f
c,d
a<c<\bar{x}<d<b
f(\bar{x})>0
h
(c,d)
h(x)=\begin{cases} \exp\left(-
1 | |
(x-c)(d-x) |
\right),&c<x<d\\ 0,&otherwise \end{cases}
Note this bump function satisfies the properties in the statement, including
Cinfty
b | |
\int | |
a |
f(x)h(x)dx>0,
we reach a contradiction.
If a pair of continuous functions f, g on an interval (a,b) satisfies the equality
b | |
\int | |
a |
(f(x)h(x)+g(x)h'(x))dx=0
for all compactly supported smooth functions h on (a,b), then g is differentiable, and g = f everywhere.
The special case for g = 0 is just the basic version.
Here is the special case for f = 0 (often sufficient).
If a continuous function g on an interval (a,b) satisfies the equality
b | |
\int | |
a |
g(x)h'(x)dx=0
for all smooth functions h on (a,b) such that
h(a)=h(b)=0
If, in addition, continuous differentiability of g is assumed, then integration by parts reduces both statements to the basic version; this case is attributed to Joseph-Louis Lagrange, while the proof of differentiability of g is due to Paul du Bois-Reymond.
The given functions (f, g) may be discontinuous, provided that they are locally integrable (on the given interval). In this case, Lebesgue integration is meant, the conclusions hold almost everywhere (thus, in all continuity points), and differentiability of g is interpreted as local absolute continuity (rather than continuous differentiability). Sometimes the given functions are assumed to be piecewise continuous, in which case Riemann integration suffices, and the conclusions are stated everywhere except the finite set of discontinuity points.
If a tuple of continuous functions
f0,f1,...,fn
b | |
\int | |
a |
(f0(x)h(x)+f1(x)h'(x)+...+fn(x)h(n)(x))dx=0
for all compactly supported smooth functions h on (a,b), then there exist continuously differentiable functions
u0,u1,...,un-1
\begin{align} f0&=u'0,\\ f1&=u0+u'1,\\ f2&=u1+u'2\\ \vdots\\ fn-1&=un-2+u'n-1,\\ fn&=un-1\end{align}
everywhere.
This necessary condition is also sufficient, since the integrand becomes
(u0h)'+(u1h')'+...+(un-1h(n-1))'.
The case n = 1 is just the version for two given functions, since
f=f0=u'0
f1=u0,
f0-f'1=0.
In contrast, the case n=2 does not lead to the relation
f0-f'1+f''2=0,
f2=u1
f0-f'1+f''2=0
f0-(f1-f'2)'=0
f0-(f1-(f2-f'3)')'=0
(a,b)\toRd
If a continuous multivariable function f on an open set
\Omega\subsetRd
\int\Omegaf(x)h(x)dx=0
for all compactly supported smooth functions h on Ω, then f is identically zero.
Similarly to the basic version, one may consider a continuous function f on the closure of Ω, assuming that h vanishes on the boundary of Ω (rather than compactly supported).[1]
Here is a version for discontinuous multivariable functions.
Let
\Omega\subsetRd
f\inL2(\Omega)
\int\Omegaf(x)h(x)dx=0
for all compactly supported smooth functions h on Ω. Then f=0 (in L2, that is, almost everywhere).
This lemma is used to prove that extrema of the functional
J[y]=
x1 | ||
\int | L(t,y(t), | |
x0 |
y(t)) |
dt
y:[x0,x1]\toV
V
{\partialL(t,y(t),
y(t)) |
\over\partialy}={d\overdt}{\partialL(t,y(t),
y(t)) |
\over\partial
y} |
.