# Gateaux derivative

Part of a series of articles about :
Calculus :
$\int _{a}^{b}f'(t)\,dt=f(b)-f(a)$ :
Fundamental theorem
Limits
Continuity
Rolle's theorem
Mean value theorem
Inverse function theorem :
Differential
Definitions
Derivative (generalizations)
Differential
infinitesimal
of a function
total
Concepts
Differentiation notation
Second derivative
Implicit differentiation
Logarithmic differentiation
Related rates
Taylor's theorem
Rules and identities
Sum
Product
Chain
Power
Quotient
L'Hôpital's rule
Inverse
General Leibniz
Faà di Bruno's formula
Reynolds :
Integral
Lists of integrals
Integral transform
Leibniz integral rule
Definitions
Antiderivative
Integral (improper)
Riemann integral
Lebesgue integration
Contour integration
Integral of inverse functions
Integration by
Parts
Discs
Cylindrical shells
Substitution (trigonometric, tangent half-angle, Euler)
Euler's formula
Partial fractions (Heaviside's method)
Changing order
Reduction formulae
Differentiating under the integral sign
Risch algorithm :
Series
Geometric (arithmetico-geometric)
Harmonic
Alternating
Power
Binomial
Taylor
Convergence tests
Summand limit (term test)
Ratio
Root
Integral
Direct comparison
Limit comparison
Alternating series
Cauchy condensation
Dirichlet
Abel :
Vector
Gradient
Divergence
Curl
Laplacian
Directional derivative
Identities
Theorems
Gradient
Green's
Stokes'
Divergence
generalized Stokes
Helmholtz decomposition :
Multivariable
Formalisms
Matrix
Tensor
Exterior
Geometric
Definitions
Partial derivative
Multiple integral
Line integral
Surface integral
Volume integral
Jacobian
Hessian :
Advanced
Calculus on Euclidean space
Generalized functions
Limit of distributions :
Specialized
Fractional
Malliavin
Stochastic
Variations :
Miscellanea
Precalculus
History
Glossary
List of topics
Integration Bee
Mathematical analysis
Nonstandard analysis :
vte :
In mathematics, the Gateaux differential or Gateaux derivative is a generalization of the concept of directional derivative in differential calculus. Named after René Gateaux, it is defined for functions between locally convex topological vector spaces such as Banach spaces. Like the Fréchet derivative on a Banach space, the Gateaux differential is often used to formalize the functional derivative commonly used in the calculus of variations and physics.
Unlike other forms of derivatives, the Gateaux differential of a function may be a nonlinear operator. However, often the definition of the Gateaux differential also requires that it be a continuous linear transformation. Some authors, such as Tikhomirov (2001), draw a further distinction between the Gateaux differential (which may be nonlinear) and the Gateaux derivative (which they take to be linear). In most applications, continuous linearity follows from some more primitive condition which is natural to the particular setting, such as imposing complex differentiability in the context of infinite dimensional holomorphy or continuous differentiability in nonlinear analysis.

## Definition

Suppose $X$ and $Y$ are locally convex topological vector spaces (for example, Banach spaces), $U\subseteq X$ is open, and $F:U\to Y.$ The Gateaux differential $dF(u;\psi )$ of $F$ at $u\in U$ in the direction $\psi \in X$ is defined as
| $dF(u;\psi )=\lim _{\tau \to 0}{\frac {F(u+\tau \psi )-F(u)}{\tau }}=\left.{\frac {d}{d\tau }}F(u+\tau \psi )\right|_{\tau =0}$ | (1) |
If the limit exists for all $\psi \in X,$ then one says that $F$ is Gateaux differentiable at $u.$
The limit appearing in (1) is taken relative to the topology of $Y.$ If $X$ and $Y$ are real topological vector spaces, then the limit is taken for real $\tau .$ On the other hand, if $X$ and $Y$ are complex topological vector spaces, then the limit above is usually taken as $\tau \to 0$ in the complex plane as in the definition of complex differentiability. In some cases, a weak limit is taken instead of a strong limit, which leads to the notion of a weak Gateaux derivative.

## Linearity and continuity

At each point $u\in U,$ the Gateaux differential defines a function $dF(u;\cdot ):X\to Y.$
This function is homogeneous in the sense that for all scalars $\alpha ,$ $dF(u;\alpha \psi )=\alpha dF(u;\psi ).\,$
However, this function need not be additive, so that the Gateaux differential may fail to be linear, unlike the Fréchet derivative. Even if linear, it may fail to depend continuously on $\psi$ if $X$ and $Y$ are infinite dimensional (i.e. in the case that $dF(u;\cdot )$ is an unbounded linear operator). Furthermore, for Gateaux differentials that are linear and continuous in $\psi ,$ there are several inequivalent ways to formulate their continuous differentiability.
For example, consider the real-valued function $F$ of two real variables defined by $F(x,y)={\begin{cases}{\dfrac {x^{3}}{x^{2}+y^{2}}}&{\text{if }}(x,y)\neq (0,0),\\0&{\text{if }}(x,y)=(0,0).\end{cases}}$ This is Gateaux differentiable at $(0,0)$ with its differential there being $dF(0,0;a,b)={\begin{cases}{\dfrac {F(\tau a,\tau b)-0}{\tau }}&(a,b)\neq (0,0),\\0&(a,b)=(0,0)\end{cases}}={\begin{cases}{\dfrac {a^{3}}{a^{2}+b^{2}}}&(a,b)\neq (0,0),\\0&(a,b)=(0,0).\end{cases}}$ However this is continuous but not linear in the arguments $(a,b).$ In infinite dimensions, any discontinuous linear functional on $X$ is Gateaux differentiable, but its Gateaux differential at $0$ is linear but not continuous.
Relation with the Fréchet derivative
If $F$ is Fréchet differentiable, then it is also Gateaux differentiable, and its Fréchet and Gateaux derivatives agree. The converse is clearly not true, since the Gateaux derivative may fail to be linear or continuous. In fact, it is even possible for the Gateaux derivative to be linear and continuous but for the Fréchet derivative to fail to exist.
Nevertheless, for functions $F$ from a complex Banach space $X$ to another complex Banach space $Y,$ the Gateaux derivative (where the limit is taken over complex $\tau$ tending to zero as in the definition of complex differentiability) is automatically linear, a theorem of Zorn (1945). Furthermore, if $F$ is (complex) Gateaux differentiable at each $u\in U$ with derivative $DF(u)\colon \psi \mapsto dF(u;\psi )$ then $F$ is Fréchet differentiable on $U$ with Fréchet derivative $DF$ (Zorn 1946). This is analogous to the result from basic complex analysis that a function is analytic if it is complex differentiable in an open set, and is a fundamental result in the study of infinite dimensional holomorphy.
Continuous differentiability
Continuous Gateaux differentiability may be defined in two inequivalent ways. Suppose that $F\colon U\to Y$ is Gateaux differentiable at each point of the open set $U.$ One notion of continuous differentiability in $U$ requires that the mapping on the product space $dF\colon U\times X\to Y$ be continuous. Linearity need not be assumed: if $X$ and $Y$ are Fréchet spaces, then $dF(u;\cdot )$ is automatically bounded and linear for all $u$ (Hamilton 1982).
A stronger notion of continuous differentiability requires that $u\mapsto DF(u)$ be a continuous mapping $U\to L(X,Y)$ from $U$ to the space of continuous linear functions from $X$ to $Y.$ Note that this already presupposes the linearity of $DF(u).$
As a matter of technical convenience, this latter notion of continuous differentiability is typical (but not universal) when the spaces $X$ and $Y$ are Banach, since $L(X,Y)$ is also Banach and standard results from functional analysis can then be employed. The former is the more common definition in areas of nonlinear analysis where the function spaces involved are not necessarily Banach spaces. For instance, differentiation in Fréchet spaces has applications such as the Nash–Moser inverse function theorem in which the function spaces of interest often consist of smooth functions on a manifold.

## Higher derivatives

Whereas higher order Fréchet derivatives are naturally defined as multilinear functions by iteration, using the isomorphisms $L^{n}(X,Y)=L(X,L^{n-1}(X,Y)),$ higher order Gateaux derivative cannot be defined in this way. Instead the $n$th order Gateaux derivative of a function $F:U\subseteq X\to Y$ in the direction $h$ is defined by
| $d^{n}F(u;h)=\left.{\frac {d^{n}}{d\tau ^{n}}}F(u+\tau h)\right|_{\tau =0}.$ | (2) |
Rather than a multilinear function, this is instead a homogeneous function of degree $n$ in $h.$
There is another candidate for the definition of the higher order derivative, the function
| $D^{2}F(u)\{h,k\}=\lim _{\tau \to 0}{\frac {DF(u+\tau k)h-DF(u)h}{\tau }}=\left.{\frac {\partial ^{2}}{\partial \tau \,\partial \sigma }}F(u+\sigma h+\tau k)\right|_{\tau =\sigma =0}$ | (3) |
that arises naturally in the calculus of variations as the second variation of $F,$ at least in the special case where $F$ is scalar-valued. However, this may fail to have any reasonable properties at all, aside from being separately homogeneous in $h$ and $k.$ It is desirable to have sufficient conditions in place to ensure that $D^{2}F(u)\{h,k\}$ is a symmetric bilinear function of $h$ and $k,$ and that it agrees with the polarization of $d^{n}F.$
For instance, the following sufficient condition holds (Hamilton 1982). Suppose that $F$ is $C^{1}$ in the sense that the mapping $DF:U\times X\to Y$ is continuous in the product topology, and moreover that the second derivative defined by (3) is also continuous in the sense that $D^{2}F:U\times X\times X\to Y$ is continuous. Then $D^{2}F(u)\{h,k\}$ is bilinear and symmetric in $h$ and $k.$ By virtue of the bilinearity, the polarization identity holds $D^{2}F(u)\{h,k\}={\frac {1}{2}}d^{2}F(u;h+k)-d^{2}F(u;h)-d^{2}F(u;k)$ relating the second order derivative $D^{2}F(u)$ with the differential $d^{2}F(u;-).$ Similar conclusions hold for higher order derivatives.

## Properties

A version of the fundamental theorem of calculus holds for the Gateaux derivative of $F,$ provided $F$ is assumed to be sufficiently continuously differentiable. Specifically:
* Suppose that $F:X\to Y$ is $C^{1}$ in the sense that the Gateaux derivative is a continuous function $dF:U\times X\to Y.$ Then for any $u\in U$ and $h\in X,$$F(u+h)-F(u)=\int _{0}^{1}dF(u+th;h)\,dt$ where the integral is the Gelfand–Pettis integral (the weak integral) (Vainberg (1964)).
Many of the other familiar properties of the derivative follow from this, such as multilinearity and commutativity of the higher-order derivatives. Further properties, also consequences of the fundamental theorem, include:
* (The chain rule) $d(G\circ F)(u;x)=dG(F(u);dF(u;x))$ for all $u\in U$ and $x\in X.$ (Importantly, as with simple partial derivatives, the Gateaux derivative does not satisfy the chain rule if the derivative is permitted to be discontinuous.)
* (Taylor's theorem with remainder) Suppose that the line segment between $u\in U$ and $u+h$ lies entirely within $U.$ If $F$ is $C^{k}$ then $F(u+h)=F(u)+dF(u;h)+{\frac {1}{2!}}d^{2}F(u;h)+\dots +{\frac {1}{(k-1)!}}d^{k-1}F(u;h)+R_{k}$ where the remainder term is given by $R_{k}(u;h)={\frac {1}{(k-1)!}}\int _{0}^{1}(1-t)^{k-1}d^{k}F(u+th;h)\,dt$

## Example

Let $X$ be the Hilbert space of square-integrable functions on a Lebesgue measurable set $\Omega$ in the Euclidean space $\mathbb {R} ^{n}.$ The functional $E:X\to \mathbb {R}$ $E(u)=\int _{\Omega }F(u(x))\,dx$ where $F$ is a real-valued function of a real variable and $u$ is defined on $\Omega$ with real values, has Gateaux derivative $dE(u;\psi )=\langle F'(u),\psi \rangle :=\int _{\Omega }F'(u(x))\,\psi (x)\,dx.$
Indeed, the above is the limit $\tau \to 0$ of ${\begin{aligned}{\frac {E(u+\tau \psi )-E(u)}{\tau }}&={\frac {1}{\tau }}\left(\int _{\Omega }F(u+\tau \,\psi )\,dx-\int _{\Omega }F(u)\,dx\right)\\[6pt]&={\frac {1}{\tau }}\left(\int _{\Omega }\int _{0}^{1}{\frac {d}{ds}}F(u+s\,\tau \,\psi )\,ds\,dx\right)\\[6pt]&=\int _{\Omega }\int _{0}^{1}F'(u+s\tau \psi )\,\psi \,ds\,dx.\end{aligned}}$