# Notation for differentiation

(Redirected from Lagrange's notation)

In differential calculus, there is no single uniform notation for differentiation. Instead, several different notations for the derivative of a function or variable have been proposed by different mathematicians. The usefulness of each notation varies with the context, and it is sometimes advantageous to use more than one notation in a given context. The most common notations for differentiation (and its opposite operation, the antidifferentiation or indefinite integration) are listed below.

## Leibniz's notation

dy
dx
d2y
dx2
The first and second derivatives of y with respect to x, in the Leibniz notation.

The original notation employed by Gottfried Leibniz is used throughout mathematics. It is particularly common when the equation y = f(x) is regarded as a functional relationship between dependent and independent variables y and x. Leibniz's notation makes this relationship explicit by writing the derivative as

${\frac {dy}{dx}}.$ The function whose value at x is the derivative of f at x is therefore written

${\frac {df}{dx}}(x){\text{ or }}{\frac {df(x)}{dx}}{\text{ or }}{\frac {d}{dx}}f(x).$ Higher derivatives are written as

${\frac {d^{2}y}{dx^{2}}},{\frac {d^{3}y}{dx^{3}}},{\frac {d^{4}y}{dx^{4}}},\ldots ,{\frac {d^{n}y}{dx^{n}}}.$ This is a suggestive notational device that comes from formal manipulations of symbols, as in,

${\frac {d\left({\frac {d\left({\frac {dy}{dx}}\right)}{dx}}\right)}{dx}}=\left({\frac {d}{dx}}\right)^{3}y={\frac {d^{3}y}{dx^{3}}}.$ Logically speaking, these equalities are not theorems. Instead, they are simply definitions of notation.

The value of the derivative of y at a point x = a may be expressed in two ways using Leibniz's notation:

$\left.{\frac {dy}{dx}}\right|_{x=a}={\frac {dy}{dx}}(a)$ .

Leibniz's notation allows one to specify the variable for differentiation (in the denominator). This is especially helpful when considering partial derivatives. It also makes the chain rule easy to remember and recognize:

${\frac {dy}{dx}}={\frac {dy}{du}}\cdot {\frac {du}{dx}}.$ Leibniz's notation for differentiation does require assigning a meaning to symbols such as dx or dy on their own, and some authors do not attempt to assign these symbols meaning. Leibniz treated these symbols as infinitesimals. Later authors have assigned them other meanings, such as infinitesimals in non-standard analysis or exterior derivatives.

### Leibniz's notation for antidifferentiation

y dx
∫∫ y dx2
The single and double indefinite integrals of y with respect to x, in the Leibniz notation.

Leibniz introduced the integral symbol in Analyseos tetragonisticae pars secunda and Methodi tangentium inversae exempla (both from 1675). It is now the standard symbol for integration.

{\begin{aligned}\int y'\,dx&=\int f'(x)\,dx=f(x)+C_{0}=y+C_{0}\\\int y\,dx&=\int f(x)\,dx=F(x)+C_{1}\\\int \int y\,dx^{2}&=\int \left(\int y\,dx\right)dx=\int _{X\times X}f(x)\,dx=\int F(x)\,dx=g(x)+C_{2}\\\underbrace {\int \dots \int } _{\!\!n}y\,\underbrace {dx\dots dx} _{n}&=\int _{\underbrace {X\times \cdots \times X} _{n}}f(x)\,dx=\int s(x)\,dx=S(x)+C_{n}\end{aligned}} ## Lagrange's notation

f(x)
f ″(x)
A function f of x, differentiated once and twice in Lagrange's notation.

One of the most common modern notations for differentiation is due to Joseph Louis Lagrange. In Lagrange's notation, a prime mark denotes a derivative. If f is a function, then its derivative evaluated at x is written

$f'(x)$ .

Lagrange first used the notation in unpublished works, and it appeared in print in 1770.

Higher derivatives are indicated using additional prime marks, as in $f''(x)$ for the second derivative and $f'''(x)$ for the third derivative. The use of repeated prime marks eventually becomes unwieldy. Some authors continue by employing Roman numerals, as in

$f^{\mathrm {IV} }(x),f^{\mathrm {V} }(x),f^{\mathrm {VI} }(x),\ldots ,$ to denote fourth, fifth, sixth, and higher order derivatives. Other authors use Arabic numerals in parentheses, as in

$f^{(4)}(x),f^{(5)}(x),f^{(6)}(x),\ldots .$ This notation also makes it possible to describe the nth derivative, where n is a variable. This is written

$f^{(n)}(x).$ Unicode characters related to Lagrange's notation include

• U+2032 ◌′ PRIME (derivative)
• U+2033 ◌″ DOUBLE PRIME (double derivative)
• U+2034 ◌‴ TRIPLE PRIME (third derivative)
• U+2057 ◌⁗ QUADRUPLE PRIME (fourth derivative)

When there are two independent variables for a function f(x,y), the following convention may be followed:

{\begin{aligned}f^{\prime }&={\frac {df}{dx}}=f_{x}\\f_{\prime }&={\frac {df}{dy}}=f_{y}\\f^{\prime \prime }&={\frac {d^{2}f}{dx^{2}}}=f_{xx}\\f_{\prime }^{\prime }&={\frac {\partial ^{2}f}{\partial x\partial y}}\ =f_{xy}\\f_{\prime \prime }&={\frac {d^{2}f}{dy^{2}}}=f_{yy}\,,\end{aligned}} ### Lagrange's notation for antidifferentiation

f(−1)(x)
f(−2)(x)
The single and double indefinite integrals of f with respect to x, in the Lagrange notation.

When taking the antiderivative, Lagrange followed Leibniz's notation:

$f(x)=\int f'(x)\,dx=\int y\,dx.$ However, because integration is the inverse of differentiation, Lagrange's notation for higher order derivatives extends to integrals as well. Repeated integrals of f may be written as

$f^{(-1)}(x)$ for the first integral (this is easily confused with the inverse function $f^{-1}(x)$ ),
$f^{(-2)}(x)$ for the second integral,
$f^{(-3)}(x)$ for the third integral, and
$f^{(-n)}(x)$ for the nth integral.

## Euler's notation

Dx y
D2f
The x derivative of y and the second derivative of f, Euler notation.

Leonhard Euler's notation uses a differential operator suggested by Louis François Antoine Arbogast, denoted as D (D operator) or (Newton–Leibniz operator) When applied to a function f(x), it is defined by

$Df={\frac {df}{dx}}.$ Higher derivatives are notated as powers of D, as in

$D^{2}f$ for the second derivative,
$D^{3}f$ for the third derivative, and
$D^{n}f$ for the nth derivative.

Euler's notation leaves implicit the variable with respect to which differentiation is being done. However, this variable can also be notated explicitly. When f is a function of a variable x, this is done by writing

$D_{x}f$ for the first derivative,
$D_{x}^{2}f$ for the second derivative,
$D_{x}^{3}f$ for the third derivative, and
$D_{x}^{n}f$ for the nth derivative.

When f is a function of several variables, it's common to use a "" rather than D. As above, the subscripts denote the derivatives that are being taken. For example, the second partial derivatives of a function f(x, y) are:

$\partial _{xx}f={\frac {\partial ^{2}f}{\partial x^{2}}},$ $\partial _{xy}f={\frac {\partial ^{2}f}{\partial y\partial x}},$ $\partial _{yx}f={\frac {\partial ^{2}f}{\partial x\partial y}},$ $\partial _{yy}f={\frac {\partial ^{2}f}{\partial y^{2}}}.$ Euler's notation is useful for stating and solving linear differential equations, as it simplifies presentation of the differential equation, which can make seeing the essential elements of the problem easier.

### Euler's notation for antidifferentiation

D−1
x
y
D−2f
The x antiderivative of y and the second antiderivative of f, Euler notation.

Euler's notation can be used for antidifferentiation in the same way that Lagrange's notation is. as follows

$D^{-1}f(x)$ for a first antiderivative,
$D^{-2}f(x)$ for a second antiderivative, and
$D^{-n}f(x)$ for an nth antiderivative.

## Newton's notation

The first and second derivatives of x, Newton's notation.

Newton's notation for differentiation (also called the dot notation for differentiation) places a dot over the dependent variable. That is, if y is a function of t, then the derivative of y with respect to t is

${\dot {y}}$ Higher derivatives are represented using multiple dots, as in

${\ddot {y}},{\overset {...}{y}}$ Newton extended this idea quite far:

{\begin{aligned}{\ddot {y}}&\equiv {\frac {d^{2}y}{dt^{2}}}={\frac {d}{dt}}\left({\frac {dy}{dt}}\right)={\frac {d}{dt}}{\Bigl (}{\dot {y}}{\Bigr )}={\frac {d}{dt}}{\Bigl (}f'(t){\Bigr )}=D_{t}^{2}y=f''(t)=y''_{t}\\{\overset {...}{y}}&={\dot {\ddot {y}}}\equiv {\frac {d^{3}y}{dt^{3}}}=D_{t}^{3}y=f'''(t)=y'''_{t}\\{\overset {\,4}{\dot {y}}}&={\overset {....}{y}}={\ddot {\ddot {y}}}\equiv {\frac {d^{4}y}{dt^{4}}}=D_{t}^{4}y=f^{\rm {IV}}(t)=y_{t}^{(4)}\\{\overset {\,5}{\dot {y}}}&={\ddot {\overset {...}{y}}}={\dot {\ddot {\ddot {y}}}}={\ddot {\dot {\ddot {y}}}}\equiv {\frac {d^{5}y}{dt^{5}}}=D_{t}^{5}y=f^{\rm {V}}(t)=y_{t}^{(5)}\\{\overset {\,6}{\dot {y}}}&={\overset {...}{\overset {...}{y}}}\equiv {\frac {d^{6}y}{dt^{6}}}=D_{t}^{6}y=f^{\rm {VI}}(t)=y_{t}^{(6)}\\{\overset {\,7}{\dot {y}}}&={\dot {\overset {...}{\overset {...}{y}}}}\equiv {\frac {d^{7}y}{dt^{7}}}=D_{t}^{7}y=f^{\rm {VII}}(t)=y_{t}^{(7)}\\{\overset {\,10}{\dot {y}}}&={\ddot {\ddot {\ddot {\ddot {\ddot {y}}}}}}\equiv {\frac {d^{10}y}{dt^{10}}}=D_{t}^{10}y=f^{\rm {X}}(t)=y_{t}^{(10)}\\{\overset {\,n}{\dot {y}}}&\equiv {\frac {d^{n}y}{dt^{n}}}=D_{t}^{n}y=f^{(n)}(t)=y_{t}^{(n)}\end{aligned}} Unicode characters related to Newton's notation include:

• U+0307 ◌̇ COMBINING DOT ABOVE (derivative)
• U+0308 ◌̈ COMBINING DIAERESIS (double derivative)
• U+20DB ◌⃛ COMBINING THREE DOTS ABOVE (third derivative) ← replaced by "combining diaeresis" + "combining dot above".
• U+20DC ◌⃜ COMBINING FOUR DOTS ABOVE (fourth derivative) ← replaced by "combining diaeresis" twice.
• U+030D ◌̍ COMBINING VERTICAL LINE ABOVE (integral)
• U+030E ◌̎ COMBINING DOUBLE VERTICAL LINE ABOVE (second integral)
• U+20DE ◌⃞ COMBINING ENCLOSING SQUARE (integral)
• U+1DE0 ◌ᷠ COMBINING LATIN SMALL LETTER N (nth derivative)

Newton's notation is generally used when the independent variable denotes time. If location y is a function of t, then ${\dot {y}}$ denotes velocity and ${\ddot {y}}$ denotes acceleration. This notation is popular in physics and mathematical physics. It also appears in areas of mathematics connected with physics such as differential equations. It is only popular for first and second derivatives, but in applications these are usually the only derivatives that are necessary.

When taking the derivative of a dependent variable y = f(x), an alternative notation exists:

${\frac {\dot {y}}{\dot {x}}}={\dot {y}}:{\dot {x}}\equiv {\frac {dy}{dt}}:{\frac {dx}{dt}}={\frac {\frac {dy}{dt}}{\frac {dx}{dt}}}={\frac {dy}{dx}}={\frac {d}{dt}}{\Bigl (}f(x){\Bigr )}=Dy=f'(x)=y'$ Newton developed the following partial differential operators using side-dots on a curved X ( ⵋ ). Definitions given by Whiteside are below:

{\begin{aligned}{\mathcal {X}}\ &=\ f(x,y)\,,\\\cdot {\mathcal {X}}\ &=\ x{\frac {\partial f}{\partial x}}=xf_{x}\,,\\{\mathcal {X}}\cdot \ &=\ y{\frac {\partial f}{\partial y}}=yf_{y}\,,\\\colon {\mathcal {X}}\,{\text{ or }}\,\cdot \colon {\mathcal {X}}\ &=\ x^{2}{\frac {\partial ^{2}f}{\partial x^{2}}}=x^{2}f_{xx}\,,\\{\mathcal {X}}\colon \,{\text{ or }}\,\cdot {\mathcal {X}}\cdot \ &=\ y^{2}{\frac {\partial ^{2}f}{\partial y^{2}}}=y^{2}f_{yy}\,,\\\cdot {\mathcal {X}}\cdot \,{\text{ or }}\,{\mathcal {X}}\colon \cdot \ &=\ xy{\frac {\partial ^{2}f}{\partial x\partial y}}=xyf_{xy}\,,\end{aligned}} ### Newton's notation for integration

The first and second antiderivatives of x, in one of Newton's notations.

Newton developed many different notations for integration in his Quadratura curvarum (1704) and later works: he wrote a small vertical bar or prime above the dependent variable (), a prefixing rectangle (y), or the inclosure of the term in a rectangle (y) to denote the fluent or time integral (absement).

{\begin{aligned}y&=\Box {\dot {y}}\equiv \int {\dot {y}}\,dt=\int f'(t)\,dt=D_{t}^{-1}(D_{t}y)=f(t)+C_{0}=y_{t}+C_{0}\\{\overset {\,\prime }{y}}&=\Box y\equiv \int y\,dt=\int f(t)\,dt=D_{t}^{-1}y=F(t)+C_{1}\end{aligned}} To denote multiple integrals, Newton used two small vertical bars or primes (), or a combination of previous symbols , to denote the second time integral (absity).

${\overset {\,\prime \prime }{y}}=\Box {\overset {\,\prime }{y}}\equiv \int {\overset {\,\prime }{y}}\,dt=\int F(t)\,dt=D_{t}^{-2}y=g(t)+C_{2}$ Higher order time integrals were as follows:

{\begin{aligned}{\overset {\,\prime \prime \prime }{y}}&=\Box {\overset {\,\prime \prime }{y}}\equiv \int {\overset {\,\prime \prime }{y}}\,dt=\int g(t)\,dt=D_{t}^{-3}y=G(t)+C_{3}\\{\overset {\,\prime \prime \prime \prime }{y}}&=\Box {\overset {\,\prime \prime \prime }{y}}\equiv \int {\overset {\,\prime \prime \prime }{y}}\,dt=\int G(t)\,dt=D_{t}^{-4}y=h(t)+C_{4}\\{\overset {\;n}{\overset {\,\prime }{y}}}&=\Box {\overset {\;n-1}{\overset {\,\prime }{y}}}\equiv \int {\overset {\;n-1}{\overset {\,\prime }{y}}}\,dt=\int s(t)\,dt=D_{t}^{-n}y=S(t)+C_{n}\end{aligned}} This mathematical notation did not become widespread because of printing difficulties and the Leibniz–Newton calculus controversy.

## Partial derivatives

fxfxy
A function f differentiated against x, then against x and y.

When more specific types of differentiation are necessary, such as in multivariate calculus or tensor analysis, other notations are common.

For a function f(x), we can express the derivative using subscripts of the independent variable:

{\begin{aligned}f_{x}&={\frac {df}{dx}}\\f_{xx}&={\frac {d^{2}f}{dx^{2}}}.\end{aligned}} This type of notation is especially useful for taking partial derivatives of a function of several variables.

∂f/∂x
A function f differentiated against x.

Partial derivatives are generally distinguished from ordinary derivatives by replacing the differential operator d with a "" symbol. For example, we can indicate the partial derivative of f(x, y, z) with respect to x, but not to y or z in several ways:

${\frac {\partial f}{\partial x}}=f_{x}=\partial _{x}f$ .

What makes this distinction important is that a non-partial derivative such as $\textstyle {\frac {df}{dx}}$ may, depending on the context, be interpreted as a rate of change in $f$ relative to $x$ when all variables are allowed to vary simultaneously, whereas with a partial derivative such as $\textstyle {\frac {\partial f}{\partial x}}$ it is explicit that only one variable should vary.

Other notations can be found in various subfields of mathematics, physics, and engineering, see for example the Maxwell relations of thermodynamics. The symbol $\left({\frac {\partial T}{\partial V}}\right)_{S}$ is the derivative of the temperature T with respect to the volume V while keeping constant the entropy (subscript) S, while $\left({\frac {\partial T}{\partial V}}\right)_{P}$ is the derivative of the temperature with respect to the volume while keeping constant the pressure P. This becomes necessary in situations where the number of variables exceeds the degrees of freedom, so that one has to choose which other variables are to be kept fixed.

Higher-order partial derivatives with respect to one variable are expressed as

${\frac {\partial ^{2}f}{\partial x^{2}}}=f_{xx}$ ${\frac {\partial ^{3}f}{\partial x^{3}}}=f_{xxx}.$ Mixed partial derivatives can be expressed as

${\frac {\partial ^{2}f}{\partial y\partial x}}=f_{xy}.$ In this last case the variables are written in inverse order between the two notations, explained as follows:

$(f_{x})_{y}=f_{xy}$ ${\frac {\partial }{\partial y}}\left({\frac {\partial f}{\partial x}}\right)={\frac {\partial ^{2}f}{\partial y\partial x}}$ ## Notation in vector calculus

Vector calculus concerns differentiation and integration of vector or scalar fields. Several notations specific to the case of three-dimensional Euclidean space are common.

Assume that (x, y, z) is a given Cartesian coordinate system, that A is a vector field with components $\mathbf {A} =(\mathbf {A} _{x},\mathbf {A} _{y},\mathbf {A} _{z})$ , and that $\varphi =\varphi (x,y,z)$ is a scalar field.

The differential operator introduced by William Rowan Hamilton, written and called del or nabla, is symbolically defined in the form of a vector,

$\nabla =\left({\frac {\partial }{\partial x}},{\frac {\partial }{\partial y}},{\frac {\partial }{\partial z}}\right),$ where the terminology symbolically reflects that the operator ∇ will also be treated as an ordinary vector.

φ
Gradient of the scalar field φ.
• Gradient: The gradient $\mathrm {grad\,} \varphi$ of the scalar field $\varphi$ is a vector, which is symbolically expressed by the multiplication of ∇ and scalar field $\varphi$ ,
{\begin{aligned}\operatorname {grad} \varphi &=\left({\frac {\partial \varphi }{\partial x}},{\frac {\partial \varphi }{\partial y}},{\frac {\partial \varphi }{\partial z}}\right)\\&=\left({\frac {\partial }{\partial x}},{\frac {\partial }{\partial y}},{\frac {\partial }{\partial z}}\right)\varphi \\&=\nabla \varphi \end{aligned}} ∇∙A
The divergence of the vector field A.
• Divergence: The divergence $\mathrm {div} \,\mathbf {A}$ of the vector field A is a scalar, which is symbolically expressed by the dot product of ∇ and the vector A,
{\begin{aligned}\operatorname {div} \mathbf {A} &={\partial A_{x} \over \partial x}+{\partial A_{y} \over \partial y}+{\partial A_{z} \over \partial z}\\&=\left({\frac {\partial }{\partial x}},{\frac {\partial }{\partial y}},{\frac {\partial }{\partial z}}\right)\cdot \mathbf {A} \\&=\nabla \cdot \mathbf {A} \end{aligned}} 2φ
The Laplacian of the scalar field φ.
• Laplacian: The Laplacian $\operatorname {div} \operatorname {grad} \varphi$ of the scalar field $\varphi$ is a scalar, which is symbolically expressed by the scalar multiplication of ∇2 and the scalar field φ,
{\begin{aligned}\operatorname {div} \operatorname {grad} \varphi &=\nabla \cdot (\nabla \varphi )\\&=(\nabla \cdot \nabla )\varphi \\&=\nabla ^{2}\varphi \\&=\Delta \varphi \\\end{aligned}} ∇×A
The curl of vector field A.
• Rotation: The rotation $\mathrm {curl} \,\mathbf {A}$ , or $\mathrm {rot} \,\mathbf {A}$ , of the vector field A is a vector, which is symbolically expressed by the cross product of ∇ and the vector A,
{\begin{aligned}\operatorname {curl} \mathbf {A} &=\left({\partial A_{z} \over {\partial y}}-{\partial A_{y} \over {\partial z}},{\partial A_{x} \over {\partial z}}-{\partial A_{z} \over {\partial x}},{\partial A_{y} \over {\partial x}}-{\partial A_{x} \over {\partial y}}\right)\\&=\left({\partial A_{z} \over {\partial y}}-{\partial A_{y} \over {\partial z}}\right)\mathbf {i} +\left({\partial A_{x} \over {\partial z}}-{\partial A_{z} \over {\partial x}}\right)\mathbf {j} +\left({\partial A_{y} \over {\partial x}}-{\partial A_{x} \over {\partial y}}\right)\mathbf {k} \\&={\begin{vmatrix}\mathbf {i} &\mathbf {j} &\mathbf {k} \\{\cfrac {\partial }{\partial x}}&{\cfrac {\partial }{\partial y}}&{\cfrac {\partial }{\partial z}}\\A_{x}&A_{y}&A_{z}\end{vmatrix}}\\&=\nabla \times \mathbf {A} \end{aligned}} Many symbolic operations of derivatives can be generalized in a straightforward manner by the gradient operator in Cartesian coordinates. For example, the single-variable product rule has a direct analogue in the multiplication of scalar fields by applying the gradient operator, as in

$(fg)'=f'g+fg'~~~\Longrightarrow ~~~\nabla (\phi \psi )=(\nabla \phi )\psi +\phi (\nabla \psi ).$ Further notations have been developed for more exotic types of spaces. For calculations in Minkowski space, the d'Alembert operator, also called the d'Alembertian, wave operator, or box operator is represented as $\Box$ , or as $\Delta$ when not in conflict with the symbol for the Laplacian.