# Differential (mathematics)

In mathematics, differential refers to several related notions derived from the early days of calculus, put on a rigorous footing, such as infinitesimal differences and the derivatives of functions.
The term is used in various branches of mathematics such as calculus, differential geometry, algebraic geometry and algebraic topology.

## Introduction

The term differential is used nonrigorously in calculus to refer to an infinitesimal ("infinitely small") change in some varying quantity. For example, if x is a variable, then a change in the value of x is often denoted Δx (pronounced delta x). The differential dx represents an infinitely small change in the variable x. The idea of an infinitely small or infinitely slow change is, intuitively, extremely useful, and there are a number of ways to make the notion mathematically precise.
Using calculus, it is possible to relate the infinitely small changes of various variables to each other mathematically using derivatives. If y is a function of x, then the differential dy of y is related to dx by the formula $dy={\frac {dy}{dx}}\,dx,$ where ${\frac {dy}{dx}}\,$denotes not 'dy divided by dx' as one would intuitively read, but 'the derivative of y with respect to x '. This formula summarizes the idea that the derivative of y with respect to x is the limit of the ratio of differences Δy/Δx as Δx approaches zero.

### Basic notions

* In calculus, the differential represents a change in the linearization of a function.
** The total differential is its generalization for functions of multiple variables.
* In traditional approaches to calculus, differentials (e.g. dx, dy, dt, etc.) are interpreted as infinitesimals. There are several methods of defining infinitesimals rigorously, but it is sufficient to say that an infinitesimal number is smaller in absolute value than any positive real number, just as an infinitely large number is larger than any real number.
* The differential is another name for the Jacobian matrix of partial derivatives of a function from R$^n$ to R$^m$ (especially when this matrix is viewed as a linear map).
* More generally, the differential or pushforward refers to the derivative of a map between smooth manifolds and the pushforward operations it defines. The differential is also used to define the dual concept of pullback.
* Stochastic calculus provides a notion of stochastic differential and an associated calculus for stochastic processes.
* The integrator in a Stieltjes integral is represented as the differential of a function. Formally, the differential appearing under the integral behaves exactly as a differential: thus, the integration by substitution and integration by parts formulae for Stieltjes integral correspond, respectively, to the chain rule and product rule for the differential.

## History and usage

Infinitesimal quantities played a significant role in the development of calculus. Archimedes used them, even though he did not believe that arguments involving infinitesimals were rigorous. Isaac Newton referred to them as fluxions. However, it was Gottfried Leibniz who coined the term differentials for infinitesimal quantities and introduced the notation for them which is still used today.
In Leibniz's notation, if x is a variable quantity, then dx denotes an infinitesimal change in the variable x. Thus, if y is a function of x, then the derivative of y with respect to x is often denoted dy/dx, which would otherwise be denoted (in the notation of Newton or Lagrange) ẏ or y′. The use of differentials in this form attracted much criticism, for instance in the famous pamphlet The Analyst by Bishop Berkeley. Nevertheless, the notation has remained popular because it suggests strongly the idea that the derivative of y at x is its instantaneous rate of change (the slope of the graph's tangent line), which may be obtained by taking the limit of the ratio Δy/Δx as Δx becomes arbitrarily small. Differentials are also compatible with dimensional analysis, where a differential such as dx has the same dimensions as the variable x.
Calculus evolved into a distinct branch of mathematics during the 17th century CE, although there were antecedents going back to antiquity. The presentations of, e.g., Newton, Leibniz, were marked by non-rigorous definitions of terms like differential, fluent and "infinitely small". While many of the arguments in Bishop Berkeley's 1734 The Analyst are theological in nature, modern mathematicians acknowledge the validity of his argument against "the Ghosts of departed Quantities"; however, the modern approaches do not have the same technical issues. Despite the lack of rigor, immense progress was made in the 17th and 18th centuries. In the 19th century, Cauchy and others gradually developed the Epsilon, delta approach to continuity, limits and derivatives, giving a solid conceptual foundation for calculus.
In the 20th century, several new concepts in, e.g., multivariable calculus, differential geometry, seemed to encapsulate the intent of the old terms, especially differential; both differential and infinitesimal are used with new, more rigorous, meanings.
Differentials are also used in the notation for integrals because an integral can be regarded as an infinite sum of infinitesimal quantities: the area under a graph is obtained by subdividing the graph into infinitely thin strips and summing their areas. In an expression such as $\int f(x)\,dx,$ the integral sign (which is a modified long s) denotes the infinite sum, f(x) denotes the "height" of a thin strip, and the differential dx denotes its infinitely thin width.

## Approaches

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 :
There are several approaches for making the notion of differentials mathematically precise.
* Differentials as linear maps. This approach underlies the definition of the derivative and the exterior derivative in differential geometry.
* Differentials as nilpotent elements of commutative rings. This approach is popular in algebraic geometry.
* Differentials in smooth models of set theory. This approach is known as synthetic differential geometry or smooth infinitesimal analysis and is closely related to the algebraic geometric approach, except that ideas from topos theory are used to hide the mechanisms by which nilpotent infinitesimals are introduced.
* Differentials as infinitesimals in hyperreal number systems, which are extensions of the real numbers that contain invertible infinitesimals and infinitely large numbers. This is the approach of nonstandard analysis pioneered by Abraham Robinson.
These approaches are very different from each other, but they have in common the idea of being quantitative, i.e., saying not just that a differential is infinitely small, but how small it is.

### Differentials as linear maps

There is a simple way to make precise sense of differentials, first used on the Real line by regarding them as linear maps. It can be used on $\mathbb {R}$, $\mathbb {R} ^{n}$, a Hilbert space, a Banach space, or more generally, a topological vector space. The case of the Real line is the easiest to explain. This type of differential is also known as a covariant vector or cotangent vector, depending on context.

#### Differentials as linear maps on R

Suppose $f(x)$ is a real-valued function on $\mathbb {R}$. We can reinterpret the variable $x$ in $f(x)$ as being a function rather than a number, namely the identity map on the real line, which takes a real number $p$ to itself: $x(p)=p$. Then $f(x)$ is the composite of $f$ with $x$, whose value at $p$ is $f(x(p))=f(p)$. The differential $\operatorname {d} f$ (which of course depends on $f$) is then a function whose value at $p$ (usually denoted $df_{p}$) is not a number, but a linear map from $\mathbb {R}$ to $\mathbb {R}$. Since a linear map from $\mathbb {R}$ to $\mathbb {R}$ is given by a $1\times 1$ matrix, it is essentially the same thing as a number, but the change in the point of view allows us to think of $df_{p}$ as an infinitesimal and compare it with the standard infinitesimal $dx_{p}$, which is again just the identity map from $\mathbb {R}$ to $\mathbb {R}$ (a $1\times 1$ matrix with entry $1$). The identity map has the property that if $\varepsilon$ is very small, then $dx_{p}(\varepsilon )$ is very small, which enables us to regard it as infinitesimal. The differential $df_{p}$ has the same property, because it is just a multiple of $dx_{p}$, and this multiple is the derivative $f'(p)$ by definition. We therefore obtain that $df_{p}=f'(p)\,dx_{p}$, and hence $df=f'\,dx$. Thus we recover the idea that $f'$ is the ratio of the differentials $df$ and $dx$.
This would just be a trick were it not for the fact that:
* it captures the idea of the derivative of $f$ at $p$ as the best linear approximation to $f$ at $p$;
* it has many generalizations.

#### Differentials as linear maps on R$^n$

If $f$ is a function from $\mathbb {R} ^{n}$ to $\mathbb {R}$, then we say that $f$ is differentiable at $p\in \mathbb {R} ^{n}$ if there is a linear map $df_{p}$ from $\mathbb {R} ^{n}$ to $\mathbb {R}$ such that for any $\varepsilon >0$, there is a neighbourhood $N$ of $p$ such that for $x\in N$, $\left|f(x)-f(p)-df_{p}(x-p)\right|<\varepsilon \left|x-p\right|.$
We can now use the same trick as in the one-dimensional case and think of the expression $f(x_{1},x_{2},\ldots ,x_{n})$ as the composite of $f$ with the standard coordinates $x_{1},x_{2},\ldots ,x_{n}$ on $\mathbb {R} ^{n}$ (so that $x_{j}(p)$ is the $j$-th component of $p\in \mathbb {R} ^{n}$). Then the differentials $\left(dx_{1}\right)_{p},\left(dx_{2}\right)_{p},\ldots ,\left(dx_{n}\right)_{p}$ at a point $p$ form a basis for the vector space of linear maps from $\mathbb {R} ^{n}$ to $\mathbb {R}$ and therefore, if $f$ is differentiable at $p$, we can write $\operatorname {d} f_{p}$ as a linear combination of these basis elements: $df_{p}=\sum _{j=1}^{n}D_{j}f(p)\,(dx_{j})_{p}.$
The coefficients $D_{j}f(p)$ are (by definition) the partial derivatives of $f$ at $p$ with respect to $x_{1},x_{2},\ldots ,x_{n}$. Hence, if $f$ is differentiable on all of $\mathbb {R} ^{n}$, we can write, more concisely: $\operatorname {d} f={\frac {\partial f}{\partial x_{1}}}\,dx_{1}+{\frac {\partial f}{\partial x_{2}}}\,dx_{2}+\cdots +{\frac {\partial f}{\partial x_{n}}}\,dx_{n}.$
In the one-dimensional case this becomes $df={\frac {df}{dx}}dx$ as before.
This idea generalizes straightforwardly to functions from $\mathbb {R} ^{n}$ to $\mathbb {R} ^{m}$. Furthermore, it has the decisive advantage over other definitions of the derivative that it is invariant under changes of coordinates. This means that the same idea can be used to define the differential of smooth maps between smooth manifolds.
Aside: Note that the existence of all the partial derivatives of $f(x)$ at $x$ is a necessary condition for the existence of a differential at $x$. However it is not a sufficient condition. For counterexamples, see Gateaux derivative.

#### Differentials as linear maps on a vector space

The same procedure works on a vector space with a enough additional structure to reasonably talk about continuity. The most concrete case is a Hilbert space, also known as a complete inner product space, where the inner product and its associated norm define a suitable concept of distance. The same procedure works for a Banach space, also known as a complete Normed vector space. However, for a more general topological vector space, some of the details are more abstract because there is no concept of distance.
For the important case of a finite dimension, any inner product space is a Hilbert space, any normed vector space is a Banach space and any topological vector space is complete. As a result, you can define a coordinate system from an arbitrary basis and use the same technique as for $\mathbb {R} ^{n}$.

### Differentials as germs of functions

This approach works on any differentiable manifold. If
* U and V are open sets containing p
* $f\colon U\to \mathbb {R}$ is continuous
* $g\colon V\to \mathbb {R}$ is continuous
then f is equivalent to g at p, denoted $f\sim _{p}g$, if and only if there is an open $W\subseteq U\cap V$ containing p such that $f(x)=g(x)$ for every x in W. The germ of f at p, denoted $[f]_{p}$, is the set of all real continuous functions equivalent to f at p; if f is smooth at p then $[f]_{p}$ is a smooth germ. If
* $U_{1}$, $U_{2}$ $V_{1}$ and $V_{2}$ are open sets containing p
* $f_{1}\colon U_{1}\to \mathbb {R}$, $f_{2}\colon U_{2}\to \mathbb {R}$, $g_{1}\colon V_{1}\to \mathbb {R}$ and $g_{2}\colon V_{2}\to \mathbb {R}$ are smooth functions
* $f_{1}\sim _{p}g_{1}$
* $f_{2}\sim _{p}g_{2}$
* r is a real number
then
* $r*f_{1}\sim _{p}r*g_{1}$
* $f_{1}+f_{2}\colon U_{1}\cap U_{2}\to \mathbb {R} \sim _{p}g_{1}+g_{2}\colon V_{1}\cap V_{2}\to \mathbb {R}$
* $f_{1}*f_{2}\colon U_{1}\cap U_{2}\to \mathbb {R} \sim _{p}g_{1}*g_{2}\colon V_{1}\cap V_{2}\to \mathbb {R}$
This shows that the germs at p form an algebra.
Define ${\mathcal {I}}_{p}$ to be the set of all smooth germs vanishing at p and ${\mathcal {I}}_{p}^{2}$ to be the product of ideals ${\mathcal {I}}_{p}{\mathcal {I}}_{p}$. Then a differential at p (cotangent vector at p) is an element of ${\mathcal {I}}_{p}/{\mathcal {I}}_{p}^{2}$. The differential of a smooth function f at p, denoted $\mathrm {d} f_{p}$, is $[f-f(p)]_{p}/{\mathcal {I}}_{p}^{2}$.
A similar approach is to define differential equivalence of first order in terms of derivatives in an arbitrary coordinate patch. Then the differential of f at p is the set of all functions differentially equivalent to $f-f(p)$ at p.

### Algebraic geometry

In algebraic geometry, differentials and other infinitesimal notions are handled in a very explicit way by accepting that the coordinate ring or structure sheaf of a space may contain nilpotent elements. The simplest example is the ring of dual numbers R[ε], where ε$^2$ = 0.
This can be motivated by the algebro-geometric point of view on the derivative of a function f from R to R at a point p. For this, note first that f − f(p) belongs to the ideal I$_p$ of functions on R which vanish at p. If the derivative f vanishes at p, then f − f(p) belongs to the square I$_p$$^2$ of this ideal. Hence the derivative of f at p may be captured by the equivalence class [f − f(p)] in the quotient space I$_p$/I$_p$$^2$, and the 1-jet of f (which encodes its value and its first derivative) is the equivalence class of f in the space of all functions modulo I$_p$$^2$. Algebraic geometers regard this equivalence class as the restriction of f to a thickened version of the point p whose coordinate ring is not R (which is the quotient space of functions on R modulo I$_p$) but R[ε] which is the quotient space of functions on R modulo I$_p$$^2$. Such a thickened point is a simple example of a scheme.

#### Algebraic geometry notions

Differentials are also important in algebraic geometry, and there are several important notions.
* Abelian differentials usually mean differential one-forms on an algebraic curve or Riemann surface.
* Quadratic differentials (which behave like "squares" of abelian differentials) are also important in the theory of Riemann surfaces.
* Kähler differentials provide a general notion of differential in algebraic geometry.

### Synthetic differential geometry

A fifth approach to infinitesimals is the method of synthetic differential geometry or smooth infinitesimal analysis. This is closely related to the algebraic-geometric approach, except that the infinitesimals are more implicit and intuitive. The main idea of this approach is to replace the category of sets with another category of smoothly varying sets which is a topos. In this category, one can define the real numbers, smooth functions, and so on, but the real numbers automatically contain nilpotent infinitesimals, so these do not need to be introduced by hand as in the algebraic geometric approach. However the logic in this new category is not identical to the familiar logic of the category of sets: in particular, the law of the excluded middle does not hold. This means that set-theoretic mathematical arguments only extend to smooth infinitesimal analysis if they are constructive (e.g., do not use proof by contradiction). Constructivists regard this disadvantage as a positive thing, since it forces one to find constructive arguments wherever they are available.

### Nonstandard analysis

The final approach to infinitesimals again involves extending the real numbers, but in a less drastic way. In the nonstandard analysis approach there are no nilpotent infinitesimals, only invertible ones, which may be viewed as the reciprocals of infinitely large numbers. Such extensions of the real numbers may be constructed explicitly using equivalence classes of sequences of real numbers, so that, for example, the sequence (1, 1/2, 1/3, ..., 1/n, ...) represents an infinitesimal. The first-order logic of this new set of hyperreal numbers is the same as the logic for the usual real numbers, but the completeness axiom (which involves second-order logic) does not hold. Nevertheless, this suffices to develop an elementary and quite intuitive approach to calculus using infinitesimals, see transfer principle.

## Differential geometry

The notion of a differential motivates several concepts in differential geometry (and differential topology).
* The differential (Pushforward) of a map between manifolds.
* Differential forms provide a framework which accommodates multiplication and differentiation of differentials.
* The exterior derivative is a notion of differentiation of differential forms which generalizes the differential of a function (which is a differential 1-form).
* Pullback is, in particular, a geometric name for the chain rule for composing a map between manifolds with a differential form on the target manifold.
* Covariant derivatives or differentials provide a general notion for differentiating of vector fields and tensor fields on a manifold, or, more generally, sections of a vector bundle: see Connection (vector bundle). This ultimately leads to the general concept of a connection.

## Other meanings

The term differential has also been adopted in homological algebra and algebraic topology, because of the role the exterior derivative plays in de Rham cohomology: in a cochain complex $(C_{\bullet },d_{\bullet }),$ the maps (or coboundary operators) d$_i$ are often called differentials. Dually, the boundary operators in a chain complex are sometimes called codifferentials.
The properties of the differential also motivate the algebraic notions of a derivation and a differential algebra.