Fréchet derivatives and Gâteaux derivatives

Jordan Bell
April 3, 2014

1 Introduction

In this note all vector spaces are real. If X and Y are normed spaces, we denote by ℬ⁢(X,Y) the set of bounded linear maps X→Y, and write ℬ⁢(X)=ℬ⁢(X,X). ℬ⁢(X,Y) is a normed space with the operator norm.

2 Remainders

If X and Y are normed spaces, let o⁢(X,Y) be the set of all maps r:X→Y for which there is some map α:X→Y satisfying:

  • •

    r⁢(x)=∥x∥⁢α⁢(x) for all x∈X,

  • •

    α⁢(0)=0,

  • •

    α is continuous at 0.

Following Penot,11 1 Jean-Paul Penot, Calculus Without Derivatives, p. 133, §2.4. we call elements of o⁢(X,Y) remainders. It is immediate that o⁢(X,Y) is a vector space.

If X and Y are normed spaces, if f:X→Y is a function, and if x0∈X, we say that f is stable at x0 if there is some ϵ>0 and some c>0 such that ∥x-x0∥≤ϵ implies that ∥f⁢(x-x0)∥≤c⁢∥x-x0∥. If T:X→Y is a bounded linear map, then ∥T⁢x∥≤∥T∥⁢∥x∥ for all x∈X, and thus a bounded linear map is stable at 0. The following lemma shows that the composition of a remainder with a function that is stable at 0 is a remainder.22 2 Jean-Paul Penot, Calculus Without Derivatives, p. 134, Lemma 2.41.

Lemma 1.

Let X,Y be normed spaces and let r∈o⁢(X,Y). If W is a normed space and f:W→X is stable at 0, then r∘f∈o⁢(W,Y). If Z is a normed space and g:Y→Z is stable at 0, then g∘r∈o⁢(X,Z).

Proof.

r∈o⁢(X,Y) means that there is some α:X→Y satisfying r⁢(x)=∥x∥⁢α⁢(x) for all x∈X, that takes the value 0 at 0, and that is continuous at 0. As f is stable at 0, there is some ϵ>0 and some c>0 for which ∥w∥≤ϵ implies that ∥f⁢(w)∥≤c⁢∥w∥. Define β:W→Y by

β⁢(w)={∥f⁢(w)∥∥w∥⁢α⁢(f⁢(w))w≠00w=0,

for which we have

(r∘f)⁢(w)=∥w∥⁢β⁢(w),w∈W.

If ∥w∥≤ϵ, then ∥β⁢(w)∥≤c⁢∥α⁢(f⁢(w))∥. But f⁢(w)→0 as w→0, and because α is continuous at 0 we get that α⁢(f⁢(w))→α⁢(0)=0 as w→0. So the above inequality gives us β⁢(w)→0 as w→0. As β⁢(0)=0, the function β:W→Y is continuous at 0, and therefore r∘f is remainder.

As g is stable at 0, there is some ϵ>0 and some c>0 for which ∥y∥≤ϵ implies that ∥g⁢(y)∥≤c⁢∥y∥. Define γ:X→Z by

γ⁢(x)={g⁢(∥x∥⁢α⁢(x))∥x∥x≠00x=0.

For all x∈X,

(g∘r)⁢(x)=g⁢(∥x∥⁢α⁢(x))=∥x∥⁢γ⁢(x).

Since α⁢(0)=0 and α is continuous at 0, there is some δ>0 such that ∥x∥≤δ implies that ∥α⁢(x)∥≤ϵ. Therefore, if ∥x∥≤δ∧1 then

∥g⁢(∥x∥⁢α⁢(x))∥≤c⁢∥x∥⁢∥α⁢(x)∥≤c⁢∥x∥⁢ϵ,

and hence if ∥x∥≤δ∧1 then ∥γ⁢(x)∥≤c⁢ϵ. This shows that γ⁢(x)→0 as x→0, and since γ⁢(0)=0 the function γ:X→Z is continuous at 0, showing that g∘r is a remainder. ∎

If Y1,…,Yn are normed spaces where Yk has norm ∥⋅∥k, then ∥(y1,…,yn)∥=max1≤k≤n⁡∥yk∥k is a norm on ∏k=1nYk, and one can prove that the topology induced by this norm is the product topology.

Lemma 2.

If X and Y1,…,Yn are normed spaces, then a function r:X→∏k=1nYk is a remainder if and only if each of rk:X→Yk are remainders, 1≤k≤n, where r⁢(x)=(r1⁢(x),…,rn⁢(x)) for all x∈X.

Proof.

Suppose that there is some function α:X→∏k=1nYk such that r⁢(x)=∥x∥⁢α⁢(x) for all x∈X. With α⁢(x)=(α1⁢(x),…,αn⁢(x)), we have

rk⁢(x)=∥x∥⁢αk⁢(x),x∈X.

Because α⁢(x)→0 as x→0, for each k we have αk⁢(x)→0 as x→0, which shows that rk is a remainder.

Suppose that each rk is a remainder. Thus, for each k there is a function αk:X→Yk satisfying rk⁢(x)=∥x∥⁢αk⁢(x) for all x∈X and αk⁢(x)→0 as x→0. Then the function α:X→∏k=1nYk defined by α⁢(x)=(α1⁢(x),…,αn⁢(x)) satisfies r⁢(x)=∥x∥⁢α⁢(x). Because αk⁢(x)→0 as x→0 for each of the finitely many k, 1≤k≤n, we have α⁢(x)→0 as x→0. ∎

3 Definition and uniqueness of Fréchet derivative

Suppose that X and Y are normed spaces, that U is an open subset of X, and that x0∈U. A function f:U→Y is said to be Fréchet differentiable at x0 if there is some L∈ℬ⁢(X,Y) and some r∈o⁢(X,Y) such that

f⁢(x)=f⁢(x0)+L⁢(x-x0)+r⁢(x-x0),x∈U. (1)

Suppose there are bounded linear maps L1,L2 and remainders r1,r2 that satisfy the above. Writing r1⁢(x)=∥x∥⁢α1⁢(x) and r2⁢(x)=∥x∥⁢α2⁢(x) for all x∈X, we have

L1⁢(x-x0)+∥x-x0∥⁢α1⁢(x-x0)=L2⁢(x-x0)+∥x-x0∥⁢α2⁢(x-x0),x∈U,

i.e.,

L1⁢(x-x0)-L2⁢(x-x0)=∥x-x0∥⁢(α2⁢(x-x0)-α1⁢(x-x0)),x∈U.

For x∈X, there is some h>0 such that for all |t|≤h we have x0+t⁢x∈U, and then

L1⁢(t⁢x)-L2⁢(t⁢x)=∥t⁢x∥⁢(α2⁢(t⁢x)-α1⁢(t⁢x)),

hence, for 0<|t|≤h,

L1⁢(x)-L2⁢(x)=∥x∥⁢(α2⁢(t⁢x)-α1⁢(t⁢x)).

But α2⁢(t⁢x)-α1⁢(t⁢x)→0 as t→0, which implies that L1⁢(x)-L2⁢(x)=0. As this is true for all x∈X, we have L1=L2 and then r1=r2. If f is Fréchet differentiable at x0, the bounded linear map L in (1) is called the Fréchet derivative of f at x0, and we define D⁢f⁢(x0)=L. Thus,

f⁢(x)=f⁢(x0)+D⁢f⁢(x0)⁢(x-x0)+r⁢(x-x0),x∈U.

If U0 is the set of those points in U at which f is Fréchet differentiable, then D⁢f:U0→ℬ⁢(X,Y).

Suppose that X and Y are normed spaces and that U is an open subset of X. We denote by C1⁢(U,Y) the set of functions f:U→Y that are Fréchet differentiable at each point in U and for which the function D⁢f:U→ℬ⁢(X,Y) is continuous. We say that an element of C1⁢(U,Y) is continuously differentiable. We denote by C2⁢(U,Y) those elements f of C1⁢(U,Y) such that

D⁢f∈C1⁢(U,ℬ⁢(X,Y));

that is, C2⁢(U,Y) are those f∈C1⁢(U,Y) such that the function D⁢f:U→ℬ⁢(X,Y) is Fréchet differentiable at each point in U and such that the function

D⁢(D⁢f):U→ℬ⁢(X,ℬ⁢(X,Y))

is continuous.33 3 See Henri Cartan, Differential Calculus, p. 58, §5.1, and Jean Dieudonné, Foundations of Modern Analysis, enlarged and corrected printing, p. 179, Chapter VIII, §12.

The following theorem characterizes continuously differentiable functions ℝn→ℝm.44 4 Henri Cartan, Differential Calculus, p. 36, §2.7.

Theorem 3.

Suppose that f:ℝn→ℝm is Fréchet differentiable at each point in ℝn, and write

f=(f1,…,fm).

f∈C1⁢(ℝn,ℝm) if and only if for each 1≤i≤m and 1≤j≤n the function

∂⁡fi∂⁡xj:ℝn→ℝ

is continuous.

4 Properties of the Fréchet derivative

If f:X→Y is Fréchet differentiable at x0, then because a bounded linear map is continuous and in particular continuous at 0, and because a remainder is continuous at 0, we get that f is continuous at x0.

We now prove that Fréchet differentiation at a point is linear.

Lemma 4 (Linearity).

Let X and Y be normed spaces, let U be an open subset of X and let x0∈U. If f1,f2:U→Y are both Fréchet differentiable at x0 and if α∈ℝ, then α⁢f1+f2 is Fréchet differentiable at x0 and

D⁢(α⁢f1+f2)⁢(x0)=α⁢D⁢f1⁢(x0)+D⁢f2⁢(x0).
Proof.

There are remainders r1,r2∈o⁢(X,Y) such that

f1⁢(x)=f1⁢(x0)+D⁢f1⁢(x0)⁢(x-x0)+r1⁢(x-x0),x∈U,

and

f2⁢(x)=f2⁢(x0)+D⁢f2⁢(x0)⁢(x-x0)+r2⁢(x-x0),x∈U.

Then for all x∈U,

(α⁢f1+f2)⁢(x)-(α⁢f1+f2)⁢(x0) = α⁢f1⁢(x)-α⁢f1⁢(x0)+f2⁢(x)-f2⁢(x0)
= α⁢D⁢f1⁢(x0)⁢(x-x0)+α⁢r1⁢(x-x0)
+D⁢f2⁢(x0)⁢(x-x0)+r2⁢(x-x0)
= (α⁢D⁢f1⁢(x0)+D⁢f2⁢(x0))⁢(x-x0)
+(α⁢r1+r2)⁢(x-x0),

and α⁢r1+r2∈o⁢(X,Y). ∎

The following lemma gives an alternate characterization of a function being Fréchet differentiable at a point.55 5 Jean-Paul Penot, Calculus Without Derivatives, p. 136, Lemma 2.46.

Lemma 5.

Suppose that X and Y are normed space, that U is an open subset of X, and that x0∈U. A function f:U→Y is Fréchet differentiable at x0 if and only if there is some function F:U→ℬ⁢(X,Y) that is continuous at x0 and for which

f⁢(x)-f⁢(x0)=F⁢(x)⁢(x-x0),x∈U.
Proof.

Suppose that there is a function F:U→ℬ⁢(X,Y) that is continuous at x0 and that satisfies f⁢(x)-f⁢(x0)=F⁢(x)⁢(x-x0) for all x∈U. Then, for x∈U,

f⁢(x)-f⁢(x0) = F⁢(x)⁢(x-x0)-F⁢(x0)⁢(x-x0)+F⁢(x0)⁢(x-x0)
= F⁢(x0)⁢(x-x0)+r⁢(x-x0),

where r:X→Y is defined by

r⁢(x)={(F⁢(x+x0)-F⁢(x0))⁢(x)x+x0∈U0x+x0∉U.

We further define

α⁢(x)={(F⁢(x+x0)-F⁢(x0))⁢(x)∥x∥x+x0∈U,x≠00x+x0∉U0x=0,

with which r⁢(x)=∥x∥⁢α⁢(x) for all x∈X. To prove that r is a remainder it suffices to prove that α⁢(x)→0 as x→0. Let ϵ>0. That F:U→ℬ⁢(X,Y) is continuous at x0 tells us that there is some δ>0 for which ∥x∥<δ implies that ∥F⁢(x+x0)-F⁢(x0)∥<ϵ and hence

∥(F⁢(x+x0)-F⁢(x0))⁢(x)∥≤∥F⁢(x+x0)-F⁢(x0)∥⁢∥x∥<ϵ⁢∥x∥.

Therefore, if ∥x∥<δ then ∥α⁢(x)∥<ϵ, which establishes that r is a remainder and therefore that f is Fréchet differentiable at x0, with Fréchet derivative D⁢f⁢(x0)=F⁢(x0).

Suppose that f is Fréchet differentiable at x0: there is some r∈o⁢(X,Y) such that

f⁢(x)=f⁢(x0)+D⁢f⁢(x0)⁢(x-x0)+r⁢(x-x0),x∈U,

where D⁢f⁢(x0)∈ℬ⁢(X,Y). As r is a remainder, there is some α:X→Y satisfying r⁢(x)=∥x∥⁢α⁢(x) for all x∈X, and such that α⁢(0)=0 and α⁢(x)→0 as x→0. For each x∈X, by the Hahn-Banach extension theorem66 6 Walter Rudin, Functional Analysis, second ed., p. 59, Corollary to Theorem 3.3. there is some λx∈X* such that λx⁢x=∥x∥ and |λx⁢v|≤∥v∥ for all v∈X. Thus,

r⁢(x)=(λx⁢x)⁢α⁢(x),x∈X.

Define F:U→ℬ⁢(X,Y) by

F⁢(x)=D⁢f⁢(x0)+(λx-x0)⁢α⁢(x-x0),

i.e. for x∈U and v∈X,

F⁢(x)⁢(v)=D⁢f⁢(x0)⁢(v)+(λx-x0⁢v)⁢α⁢(x-x0)∈Y.

Then for x∈U,

r⁢(x-x0)=(λx-x0⁢(x-x0))⁢α⁢(x-x0)=F⁢(x)⁢(x-x0)-D⁢f⁢(x0)⁢(x-x0),

and hence

f⁢(x)=f⁢(x0)+F⁢(x)⁢(x-x0),x∈U.

To complete the proof it suffices to prove that F is continuous at x0. But both λ0=0 and α⁢(0)=0 so F⁢(x0)=D⁢f⁢(x0), and for x∈U and v∈X,

∥(F⁢(x)-F⁢(x0))⁢(v)∥ = ∥(λx-x0⁢v)⁢α⁢(x-x0)∥
= |λx-x0⁢v|⁢∥α⁢(x-x0)∥
≤ ∥v∥⁢∥α⁢(x-x0)∥,

so ∥F⁢(x)-F⁢(x0)∥≤∥α⁢(x-x0)∥. From this and the fact that α⁢(0)=0 and α⁢(x)→0 as x→0 we get that F is continuous at x0, completing the proof. ∎

We now prove the chain rule for Fréchet derivatives.77 7 Jean-Paul Penot, Calculus Without Derivatives, p. 136, Theorem 2.47.

Theorem 6 (Chain rule).

Suppose that X,Y,Z are normed spaces and that U and V are open subsets of X and Y respectively. If f:U→Y satisfies f⁢(U)⊆V and is Fréchet differentiable at x0 and if g:V→Z is Fréchet differentiable at f⁢(x0), then g∘f:U→Z is Fréchet differentiable at x0, and its Fréchet derivative at x0 is

D⁢(g∘f)⁢(x0)=D⁢g⁢(f⁢(x0))∘D⁢f⁢(x0).
Proof.

Write y0=f⁢(x0), L1=D⁢f⁢(x0), and L2=D⁢g⁢(y0). Because f is Fréchet differentiable at x0, there is some r1∈o⁢(X,Y) such that

f⁢(x)=f⁢(x0)+L1⁢(x-x0)+r1⁢(x-x0),x∈U,

and because g is Fréchet differentiable at y0 there is some r2∈o⁢(Y,Z) such that

g⁢(y)=g⁢(y0)+L2⁢(y-y0)+r2⁢(y-y0),y∈V.

For all x∈U we have f⁢(x)∈V, and using the above formulas,

g⁢(f⁢(x)) =g⁢(y0)+L2⁢(f⁢(x)-y0)+r2⁢(f⁢(x)-y0)
=g⁢(y0)+L2⁢(L1⁢(x-x0)+r1⁢(x-x0))+r2⁢(L1⁢(x-x0)+r1⁢(x-x0))
=g⁢(y0)+L2⁢(L1⁢(x-x0))+L2⁢(r1⁢(x-x0))+r2⁢(L1⁢(x-x0)+r1⁢(x-x0)).

Define r3:X→Z by r3⁢(x)=r2⁢(L1⁢x+r1⁢(x)), and fix any c>∥L1∥. Writing r1⁢(x)=∥x∥⁢α1⁢(x), the fact that α⁢(0)=0 and that α is continuous at 0 gives us that there is some δ>0 such that if ∥x∥<δ then ∥α⁢(x)∥<c-∥L1∥, and hence if ∥x∥<δ then ∥r1⁢(x)∥≤(c-∥L1∥)⁢∥x∥. Then, ∥x∥<δ implies that

∥L1⁢x+r1⁢(x)∥≤∥L1⁢x∥+∥r1⁢(x)∥≤∥L1∥⁢∥x∥+(c-∥L1∥)⁢∥x∥=c⁢∥x∥.

This shows that x↦L1⁢x+r1⁢(x) is stable at 0 and so by Lemma 1 that r3∈o⁢(X,Z). Then, r:X→Z defined by r=L1∘r1+r3 is a sum of two remainders and so is itself a remainder, and we have

g∘f⁢(x)=g∘f⁢(x0)+L2∘L1⁢(x-x0)+r⁢(x-x0),x∈U.

But L1∈ℬ⁢(X,Y) and L2∈ℬ⁢(Y,Z), so L2∘L1∈ℬ⁢(X,Z). This shows that g∘f is Fréchet differentiable at x0 and that its Fréchet derivative at x0 is

L2∘L1=D⁢g⁢(y0)∘D⁢f⁢(x0)=D⁢g⁢(f⁢(x0))∘D⁢f⁢(x0).

∎

The following is the product rule for Fréchet derivatives. By f1⋅f2 we mean the function x↦f1⁢(x)⁢f2⁢(x).

Theorem 7 (Product rule).

Suppose that X is a normed space, that U is an open subset of X, that f1,f2:U→ℝ are functions, and that x0∈U. If f1 and f2 are both Fréchet differentiable at x0, then f1⋅f2 is Fréchet differentiable at x0, and its Fréchet derivative at x0 is

D⁢(f1⋅f2)⁢(x0)=f2⁢(x0)⁢D⁢f1⁢(x0)+f1⁢(x0)⁢D⁢f2⁢(x0).
Proof.

There are r1,r2∈o⁢(X,ℝ) with which

f1⁢(x)=f1⁢(x0)+D⁢f1⁢(x0)⁢(x-x0)+r1⁢(x-x0),x∈U

and

f2⁢(x)=f2⁢(x0)+D⁢f2⁢(x0)⁢(x-x0)+r2⁢(x-x0),x∈U.

Multiplying the above two formulas,

f1⁢(x)⁢f2⁢(x) = f1⁢(x0)⁢f2⁢(x0)+f2⁢(x0)⁢D⁢f1⁢(x0)⁢(x-x0)+f1⁢(x0)⁢D⁢f2⁢(x0)⁢(x-x0)
+D⁢f1⁢(x0)⁢(x-x0)⁢D⁢f2⁢(x0)⁢(x-x0)+r1⁢(x-x0)⁢r2⁢(x-x0)
+f1⁢(x0)⁢r2⁢(x-x0)+r2⁢(x-x0)⁢D⁢f1⁢(x0)⁢(x-x0)
+f2⁢(x0)⁢r1⁢(x-x0)+r1⁢(x-x0)⁢D⁢f2⁢(x0)⁢(x-x0).

Define r:X→ℝ by

r⁢(x) = D⁢f1⁢(x0)⁢x⁢D⁢f2⁢(x0)⁢x+r1⁢(x)⁢r2⁢(x)+f1⁢(x0)⁢r2⁢(x)+r2⁢(x)⁢D⁢f1⁢(x0)⁢x
+f2⁢(x0)⁢r1⁢(x)+r1⁢(x)⁢D⁢f2⁢(x0)⁢x,

for which we have, for x∈U,

f1⁢(x)⁢f2⁢(x)=f1⁢(x0)⁢f2⁢(x0)+f2⁢(x0)⁢D⁢f1⁢(x0)⁢(x-x0)+f1⁢(x0)⁢D⁢f2⁢(x0)⁢(x-x0)+r⁢(x-x0).

Therefore, to prove the claim it suffices to prove that r∈o⁢(X,ℝ). Define α:X→ℝ by α⁢(0)=0 and α⁢(x)=D⁢f1⁢(x0)⁢x⁢D⁢f2⁢(x0)⁢x∥x∥ for x≠0. For x≠0,

|α⁢(x)| = |D⁢f1⁢(x0)⁢x|⁢|D⁢f2⁢(x0)⁢x|∥x∥
≤ ∥D⁢f1⁢(x0)∥⁢∥x∥⁢∥D⁢f2⁢(x0)∥⁢∥x∥∥x∥
= ∥D⁢f1⁢(x0)∥⁢∥D⁢f2⁢(x0)∥⁢∥x∥.

Thus α⁢(x)→0 as x→0, showing that the first term in the expression for r belongs to o⁢(X,ℝ). Likewise, each of the other five terms in the expression for r belongs to o⁢(X,ℝ), and hence r∈o⁢(X,ℝ), completing the proof. ∎

5 Dual spaces

If X is a normed space, we denote by X* the set of bounded linear maps X→ℝ, i.e. X*=ℬ⁢(X,ℝ). X* is itself a normed space with the operator norm. If X is a normed space, the dual pairing ⟨⋅,⋅⟩:X×X*→ℝ is

⟨x,ψ⟩=ψ⁢(x),x∈X,ψ∈X*.

If U is an open subset of X and if a function f:U→ℝ is Fréchet differentiable at x0∈U, then D⁢f⁢(x0) is a bounded linear map X→ℝ, and so belongs to X*. If U0 are those points in U at which f:U→ℝ is Fréchet differentiable, then

D⁢f:U0→X*.

In the case that X is a Hilbert space with inner product ⟨⋅,⋅⟩, the Riesz representation theorem shows that R:X→X* defined by R⁢(x)⁢(y)=⟨y,x⟩ is an isometric isomorphism. If f:U→ℝ is Fréchet differentiable at x0∈U, then we define

∇⁡f⁢(x0)=R-1⁢(D⁢f⁢(x0)),

and call ∇⁡f⁢(x0)∈X the gradient of f at x0. With U0 denoting the set of those points in U at which f is Fréchet differentiable,

∇⁡f:U0→X.

(To define the gradient we merely used that R is a bijection, but to prove properties of the gradient one uses that R is an isometric isomorphism.)

Example. Let X be a Hilbert space, A∈ℬ⁢(X), v∈X, and define

f⁢(x)=⟨A⁢x,x⟩-⟨x,v⟩,x∈X.

For all x0,x∈X we have, because the inner product of a real Hilbert space is symmetric,

f⁢(x)-f⁢(x0) = ⟨A⁢x,x⟩-⟨x,v⟩-⟨A⁢x0,x0⟩+⟨x0,v⟩
= ⟨A⁢x,x⟩-⟨A⁢x0,x⟩+⟨A⁢x0,x⟩-⟨A⁢x0,x0⟩-⟨x-x0,v⟩
= ⟨A⁢(x-x0),x⟩+⟨A⁢x0,x-x0⟩-⟨x-x0,v⟩
= ⟨x-x0,A*⁢x⟩+⟨x-x0,A⁢x0⟩-⟨x-x0,v⟩
= ⟨x-x0,A*⁢x+A⁢x0-v⟩
= ⟨x-x0,A*⁢x-A*⁢x0+A*⁢x0+A⁢x0-v⟩
= ⟨x-x0,(A*+A)⁢x0-v⟩+⟨x-x0,A*⁢(x-x0)⟩.

With D⁢f⁢(x0)⁢(x-x0)=⟨x-x0,(A*+A)⁢x0-v⟩, or D⁢f⁢(x0)⁢(x)=⟨x,(A*+A)⁢x0-v⟩, we have that f is Fréchet differentiable at each x0∈X. Furthermore, its gradient at x0 is

∇⁡f⁢(x0)=(A*+A)⁢x0-v.

For each x0∈X, the function f:X→ℝ is Fréchet differentiable at x0, and thus

D⁢f:X→X*,

and we can ask at what points D⁢f has a Fréchet derivative. For x0,x,y∈X,

(D⁢f⁢(x)-D⁢f⁢(x0))⁢(y)= ⟨y,(A*+A)⁢x-v⟩-⟨y,(A*+A)⁢x0-v⟩
= ⟨y,(A*+A)⁢(x-x0)⟩.

For D⁢(D⁢f)⁢(x0)⁢(x-x0)⁢(y)=⟨y,(A*+A)⁢(x-x0)⟩, in other words with

D2⁢f⁢(x0)⁢(x)⁢(y)=D⁢(D⁢f)⁢(x0)⁢(x)⁢(y)=⟨y,(A*+A)⁢x⟩,

we have that D⁢f is Fréchet differentiable at each x0∈X. Thus

D2⁢f:X→ℬ⁢(X,X*).

Because D2⁢f⁢(x0) does not depend on x0, it is Fréchet differentiable at each point in X, with D3⁢f⁢(x0)=0 for all x0∈X. Here D3⁢f:X→ℬ⁢(X,ℬ⁢(X,X*)).

6 Gâteaux derivatives

Let X and Y be normed spaces, let U be an open subset of X, let f:U→Y be a function, and let x0∈U. If there is some T∈ℬ⁢(X,Y) such that for all v∈X we have

limt→0⁡f⁢(x0+t⁢v)-f⁢(x0)t=T⁢v, (2)

then we say that f is Gâteaux differentiable at x0 and call T the Gâteaux derivative of f at x0.88 8 Our definition of the Gâteaux derivative follows Jean-Paul Penot, Calculus Without Derivatives, p. 127, Definition 2.23. It is apparent that there is at most one T∈ℬ⁢(X,Y) that satisfies (2) for all v∈X. We write f′⁢(x0)=T. Thus, f′ is a map from the set of points in U at which f is Gâteaux differentiable to ℬ⁢(X,Y). If V⊆U and f is Gâteaux differentiable at each element of V, we say that f is Gâteaux differentiable on V.

Example. Define f:ℝ2→ℝ by f⁢(x1,x2)=x14⁢x2x16+x23 for (x1,x2)≠(0,0) and f⁢(0,0)=0. For v=(v1,v2)∈ℝ2 and t≠0,

f⁢(0+t⁢v)-f⁢(0)t=f⁢(t⁢v1,t⁢v2)t={1t⋅t5⁢v14⁢v2t6⁢v16+t3⁢v23v≠(0,0)0v=(0,0)={t⁢v14⁢v2t3⁢v16+v23v≠(0,0)0v=(0,0).

Hence, for any v∈ℝ2, we have f⁢(0+t⁢v)-f⁢(0)t→0 as t→0. Therefore, f is Gâteaux differentiable at (0,0) and f′⁢(0,0)⁢v=0∈ℝ for all v∈ℝ2, i.e. f′⁢(0,0)=0. However, for (x1,x2)≠(0,0),

f⁢(x1,x12)=x16x16+x16=12,

from which it follows that f is not continuous at (0,0). We stated in §4 that if a function is Fréchet differentiable at a point then it is continuous at that point, and so f is not Fréchet differentiable at (0,0). Thus, a function that is Gâteaux differentiable at a point need not be Fréchet differentiable at that point.

We prove that being Fréchet differentiable at a point implies being Gâteaux differentiable at the point, and that in this case the Gâteaux derivative is equal to the Fréchet derivative.

Theorem 8.

Suppose that X and Y are normed spaces, that U is an open subset of X, that f∈YU, and that x0∈U. If f is Fréchet differentiable at x0, then f is Gâteaux differentiable at x0 and f′⁢(x0)=D⁢f⁢(x0).

Proof.

Because f is Fréchet differentiable at x0, there is some r∈o⁢(X,Y) for which

f⁢(x)=f⁢(x0)+D⁢f⁢(x0)⁢(x-x0)+r⁢(x-x0),x∈U.

For v∈X and nonzero t small enough that x0+t⁢v∈U,

f⁢(x0+t⁢v)-f⁢(x0)t=D⁢f⁢(x0)⁢(x0+t⁢v-x0)+r⁢(x0+t⁢v-x0)t=t⁢D⁢f⁢(x0)⁢v+r⁢(t⁢v)t.

Writing r⁢(x)=∥x∥⁢α⁢(x),

f⁢(x0+t⁢v)-f⁢(x0)t=t⁢D⁢f⁢(x0)+∥t⁢v∥⁢α⁢(t⁢v)t=D⁢f⁢(x0)⁢v+∥v∥⁢α⁢(t⁢v).

Hence,

limt→0⁡f⁢(x0+t⁢v)-f⁢(x0)t=D⁢f⁢(x0)⁢v.

This holds for all v∈X, and as D⁢f⁢(x0)∈ℬ⁢(X,Y) we get that f is Gâteaux differentiable at x0 and that f′⁢(x0)=D⁢f⁢(x0). ∎

If X is a vector space and u,v∈X, let

[u,v]={(1-t)⁢u+t⁢v:0≤t≤1},

namely, the line segment joining u and v. The following is a mean value theorem for Gâteaux derivatives.99 9 Antonio Ambrosetti and Giovanni Prodi, A Primer of Nonlinear Analysis, p. 13, Theorem 1.8.

Theorem 9 (Mean value theorem).

Let X and Y be normed spaces, let U be an open subset of X, and let f:U→Y be Gâteaux differentiable on U. If u,v∈U and [u,v]⊂U, then

∥f⁢(u)-f⁢(v)∥≤supw∈[u,v]⁡∥f′⁢(w)∥⋅∥u-v∥.
Proof.

If f⁢(u)=f⁢(v) then immediately the claim is true. Otherwise, f⁢(v)-f⁢(u)≠0, and so by the Hahn-Banach extension theorem1010 10 Walter Rudin, Functional Analysis, second ed., p. 59, Corollary. there is some ψ∈Y* satisfying ψ⁢(f⁢(v)-f⁢(u))=∥f⁢(v)-f⁢(u)∥ and ∥ψ∥=1. Define h:[0,1]→ℝ by

h⁢(t)=⟨f⁢((1-t)⁢u+t⁢v),ψ⟩.

For 0<t<1 and τ≠0 satisfying t+τ∈[0,1], we have

h⁢(t+τ)-h⁢(t)τ = 1τ⁢⟨f⁢((1-t-τ)⁢u+(t+τ)⁢v),ψ⟩-1τ⁢⟨f⁢((1-t)⁢u+t⁢v),ψ⟩
= ⟨f⁢((1-t)⁢u+t⁢v+(v-u)⁢τ)-f⁢((1-t)⁢u+t⁢v)τ,ψ⟩.

Because f is Gâteaux differentiable at (1-t)⁢u+t⁢v,

limτ→0⁡f⁢((1-t)⁢u+t⁢v+(v-u)⁢τ)-f⁢((1-t)⁢u+t⁢v)τ=f′⁢((1-t)⁢u+t⁢v)⁢(v-u),

so because ψ is continuous,

limτ→0⁡h⁢(t+τ)-h⁢(t)τ=⟨f′⁢((1-t)⁢u+t⁢v)⁢(v-u),ψ⟩,

which shows that h is differentiable at t and that

h′⁢(t)=⟨f′⁢((1-t)⁢u+t⁢v)⁢(v-u),ψ⟩.

h:[0,1]→ℝ is a composition of continuous functions so it is continuous. Applying the mean value theorem, there is some θ, 0<θ<1, for which

h′⁢(θ)=h⁢(1)-h⁢(0).

On the one hand,

h′⁢(θ)=⟨f′⁢((1-θ)⁢u+θ⁢v)⁢(v-u),ψ⟩.

On the other hand,

h⁢(1)-h⁢(0)=⟨f⁢(v),ψ⟩-⟨f⁢(u),ψ⟩=⟨f⁢(v)-f⁢(u),ψ⟩=∥f⁢(v)-f⁢(u)∥.

Therefore

∥f⁢(v)-f⁢(u)∥ = |⟨f′⁢((1-θ)⁢u+θ⁢v)⁢(v-u),ψ⟩|
≤ ∥ψ∥⁢∥f′⁢((1-θ)⁢u+θ⁢v)⁢(v-u)∥
= ∥f′⁢((1-θ)⁢u+θ⁢v)⁢(v-u)∥
≤ ∥f′⁢((1-θ)⁢u+θ⁢v)∥⁢∥v-u∥
≤ supw∈[u,v]⁡∥f′⁢(w)∥⁢∥v-u∥.

∎

7 Antiderivatives

Suppose that X is a Banach space and that f:[a,b]→X be continuous. Define F:[a,b]→X by

F⁢(x)=∫axf.

Let x0∈(a,b). For x∈(a,b), we have

F⁢(x)-F⁢(x0)=∫axf-∫ax0f=∫x0xf=f⁢(x0)⁢(x-x0)+∫x0x(f-f⁢(x0)),

from which it follows that F is Fréchet differentiable at x0, and that

D⁢F⁢(x0)⁢(x-x0)=f⁢(x0)⁢(x-x0).

If we identify f⁢(x0)∈X with the map x↦f⁢(x0)⁢x, namely if we say that X=ℬ⁢(ℝ,X), then D⁢F⁢(x0)=f⁢(x0).

Let X be a normed space, let Y be a Banach space, let U be an open subset of X, and let f∈C1⁢(U,Y). Suppose that u,v∈U satisfy [u,v]⊂U. Write I=(0,1) and define γ:I→U by γ⁢(t)=(1-t)⁢u+t⁢v. We have

D⁢γ⁢(t)=v-u,t∈I,

and thus by Theorem 6,

D⁢(f∘γ)⁢(t)=D⁢f⁢(γ⁢(t))∘D⁢γ⁢(t),t∈I,

that is,

D⁢(f∘γ)⁢(t)=D⁢f⁢(γ⁢(t))∘(v-u),t∈I,

i.e.

D⁢(f∘γ)⁢(t)=D⁢f⁢(γ⁢(t))⁢(v-u),t∈I.

If t∈I and t+h∈I, then

D⁢(f∘γ)⁢(t+h)-D⁢(f∘γ)⁢(t) = D⁢f⁢(γ⁢(t+h))⁢(v-u)-D⁢f⁢(γ⁢(t))⁢(v-u)
= (D⁢f⁢(γ⁢(t+h))-D⁢f⁢(γ⁢(t)))⁢(v-u),

and hence

∥D⁢(f∘γ)⁢(t+h)-D⁢(f∘γ)⁢(t)∥≤∥D⁢f⁢(γ⁢(t+h))-D⁢f⁢(γ⁢(t))∥⁢∥v-u∥.

Because D⁢f:U→ℬ⁢(X,Y) is continuous, it follows that

∥D⁢(f∘γ)⁢(t+h)-D⁢(f∘γ)⁢(t)∥→0

as h→0, i.e. that D⁢(f∘γ) is continuous at t, and thus that

D⁢(f∘γ):I→ℬ⁢(ℝ,Y)

is continuous. If we identify ℬ⁢(ℝ,Y) with Y, then

D⁢(f∘γ):I→Y.

On the one hand,

∫01D⁢(f∘γ)=(f∘γ)⁢(1)-(f∘γ)⁢(0)=f⁢(v)-f⁢(u).

On the other hand,

∫01D⁢(f∘γ)=∫01D⁢f⁢(γ⁢(t))⁢(v-u)⁢𝑑t=(∫01D⁢f⁢((1-t)⁢u+t⁢v)⁢𝑑t)⁢(v-u);

here,

∫01D⁢f⁢((1-t)⁢u+t⁢v)⁢𝑑t∈ℬ⁢(X,Y).

Therefore

f⁢(v)-f⁢(u)=(∫01D⁢f⁢((1-t)⁢u+t⁢v)⁢𝑑t)⁢(v-u).