Let U and V be Banach spaces (complete normed vector spaces). The Fréchet derivative of a function f:U→V at X∈U is a linear mapping L:U→V such that
f(X+E)−f(X)−L(X,E)=o(∥E∥)
for all E∈U. The notation L(X,E) should be read as “the Fréchet derivative of f at X in the direction E”. The Fréchet derivative may not exist, but if it does exist then it is unique. When U=V=R, the Fréchet derivative is just the usual derivative of a scalar function: L(x,e)=f′(x)e.
As a simple example, consider U=V=Rn×n and f(X)=X2. From the expansion
f(X+E)−f(X)=XE+EX+E2
we deduce that L(X,E)=XE+EX, the first order part of the expansion. If X commutes with E then LX(E)=2XE=2EX.
More generally, it can be shown that if f has the power series expansion f(x)=∑i=0∞aixi with radius of convergence r then for X,E∈Rn×n with ∥X∥<r, the Fréchet derivative is
L(X,E)=i=1∑∞aij=1∑iXj−1EXi−j.
An explicit formula for the Fréchet derivative of the matrix exponential, f(A)=eA, is
L(A,E)=∫01eA(1−s)EeAsds.
Like the scalar derivative, the Fréchet derivative satisfies sum and product rules: if g and h are Fréchet differentiable at A then
A key requirement of the definition of Fréchet derivative is that L(X,E) must satisfy the defining equation for all E. This is what makes the Fréchet derivative different from the Gâteaux derivative (or directional derivative), which is the mapping G:U→V given by
G(X,E)=t→0limtf(X+tE)−f(X)=dtdt=0f(X+tE).
Here, the limit only needs to exist in the particular direction E. If the Fréchet derivative exists at X then it is equal to the Gâteaux derivative, but the converse is not true.
and it can be shown that cond is given in terms of the Fréchet derivative by
cond(f,X)=∥f(X)∥∥L(X)∥∥X∥,
where
∥L(X)∥=Z=0sup∥Z∥∥L(X,Z)∥.
For matrix functions, the Fréchet derivative has a number of interesting properties, one of which is that the eigenvalues of L(X) are the divided differences
for 1≤i,j≤n, where the λi are the eigenvalues of X. We can check this formula in the case F(X)=X2. Let (λ,u) be an eigenpair of X and (μ,v) an eigenpair of XT, so that Xu=λu and XTv=μv, and let E=uvT. Then
L(X,E)=XE+EX=XuvT+uvTX=(λ+μ)uvT.
So uvT is an eigenvector of L(X) with eigenvalue λ+μ. But f[λ,μ]=(λ2−μ2)/(λ−μ)=λ+μ (whether or not λ and μ are distinct).
References
This is a minimal set of references, which contain further useful references within.