In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). Partial derivatives are used in vector calculus and differential geometry. The partial derivative of a function f(x,y,…) with respect to the variable x (analogously for any other variable) is variously denoted by
It is the rate of change of the function in the x-direction. Sometimes, for z=f(x,y,…), the partial derivative of z with respect to x is denoted as ∂z∂x. Since a partial derivative generally has the same arguments as the original function, its functional dependence is sometimes explicitly signified by the notation, such as in: f'x(x,y,…),∂f∂x(x,y,…). The symbol used to denote partial derivatives is ∂. One of the first known uses of this symbol in mathematics is by Marquis de Condorcet from 1770, who used it for partial differences. The modern partial derivative notation was created by Adrien-Marie Legendre (1786), although he later abandoned it; Carl Gustav Jacob Jacobi reintroduced the symbol in 1841.
Definition Like ordinary derivatives, the partial derivative is defined as a limit. Let U be an open subset of ℝn and f:U→ℝ a function. The partial derivative of f at the point 𝐚=(a1,…,an)∈U with respect to the i-th variable xi is defined as ∂∂xif(𝐚)=limh→0f(a1,…,ai−1,ai+h,ai+1…,an) −f(a1,…,ai,…,an)h=limh→0f(𝐚+h𝐞i)−f(𝐚)h where 𝐞𝐢 is the unit vector of i-th variable xi. In fact, the last equality shows that the partial derivative is just the directional derivative where the direction is the i-th standard basis vector. Even if all partial derivatives ∂f/∂xi(a) exist at a given point a, the function need not be continuous there. However, if all partial derivatives exist in a neighborhood of a and are continuous there, then f is totally differentiable in that neighborhood and the total derivative is continuous. In this case, it is said that f is a C1 function. This can be used to generalize for vector valued functions, f:U→ℝm, by carefully using a component-wise argument. The partial derivative ∂f∂x is itself a function defined on U and can be partially-differentiated again. If the direction of derivative is not repeated, it is called a mixed partial derivative. If all mixed second order partial derivatives are continuous at a point (or on a set), f is termed a C2 function at that point (or on that set); in this case, the partial derivatives can be exchanged by Clairaut's theorem: ∂2f∂xi∂xj=∂2f∂xj∂xi.
Notation
For the following examples, let f be a function in x, y, and z. First-order partial derivatives: ∂f∂x=f'x=∂xf. Second-order partial derivatives: ∂2f∂x2=f′'xx=∂xxf=∂x2f. Second-order mixed derivatives: ∂2f∂y∂x=∂∂y(∂f∂x)=(f'x)'y=f′'xy=∂yxf=∂y∂xf. Higher-order partial and mixed derivatives: ∂i+j+kf∂xi∂yj∂zk=f(i,j,k)=∂xi∂yj∂zkf. When dealing with functions of multiple variables, some of these variables may be related to each other, thus it may be necessary to specify explicitly which variables are being held constant to avoid ambiguity. In fields such as statistical mechanics, the partial derivative of f with respect to x, holding y and z constant, is often expressed as (∂f∂x)y,z. Conventionally, for clarity and simplicity of notation, the partial derivative function and the value of the function at a specific point are conflated by including the function arguments when the partial derivative symbol (Leibniz notation) is used. Thus, an expression like ∂f(x,y,z)∂x is used for the function, while ∂f(u,v,w)∂u might be used for the value of the function at the point (x,y,z)=(u,v,w). However, this convention breaks down when we want to evaluate the partial derivative at a point like (x,y,z)=(17,u+v,v2). In such a case, evaluation of the function must be expressed in an unwieldy manner as ∂f(x,y,z)∂x(17,u+v,v2) or ∂f(x,y,z)∂x|(x,y,z)=(17,u+v,v2) in order to use the Leibniz notation. Thus, in these cases, it may be preferable to use the Euler differential operator notation with Di as the partial derivative symbol with respect to the i-th variable. For instance, one would write D1f(17,u+v,v2) for the example described above, while the expression D1f represents the partial derivative function with respect to the first variable. For higher order partial derivatives, the partial derivative (function) of Dif with respect to the j-th variable is denoted Dj(Dif)=Di,jf. That is, Dj∘Di=Di,j, so that the variables are listed in the order in which the derivatives are taken, and thus, in reverse order of how the composition of operators is usually notated. Of course, Clairaut's theorem implies that Di,j=Dj,i as long as comparatively mild regularity conditions on f are satisfied.
Coordinate systems For a coordinate system (x,U) on a manifold M with coordinate functions (x1,…,xn), the partial derivative of a function f:M→ℝ with respect to xi at a point p∈U is defined as ∂f∂xi(p):=Di(f∘x−1)(x(p)), where Di is the ordinary partial derivative on ℝn. Applying the chain rule to polar coordinates having x−1(r,θ)=(rcosθ,rsinθ) gives ∂f∂r(p)=D1(f∘x−1)(x(p))=D1f(p)⋅D1(x−1)1(x(p))+D2f(p)⋅D1(x−1)2(x(p))=∂f∂xcosθ+∂f∂ysinθ. Note that partial derivative depends on an entire coordinate system (x,U), rather than a single coordinate function xi.
Gradient
An important example of a function of several variables is the case of a scalar-valued function f(x1,…,xn) on a domain in Euclidean space ℝn (e.g., on ℝ2 or ℝ3). In this case f has a partial derivative ∂f/∂xj with respect to each variable xj. At the point a, these partial derivatives define the vector ∇f(a)=(∂f∂x1(a),…,∂f∂xn(a)). This vector is called the gradient of f at a. If f is differentiable at every point in some domain, then the gradient is a vector-valued function ∇f which takes the point a to the vector ∇f(a). Consequently, the gradient produces a vector field. A common abuse of notation is to define the del operator (∇) as follows in three-dimensional Euclidean space ℝ3 with unit vectors 𝐢̂,𝐣̂,𝐤̂: ∇=[∂∂x]𝐢̂+[∂∂y]𝐣̂+[∂∂z]𝐤̂ Or, more generally, for n-dimensional Euclidean space ℝn with coordinates x1,…,xn and unit vectors 𝐞̂1,…,𝐞̂n: ∇=∑j=1n[∂∂xj]𝐞̂j=[∂∂x1]𝐞̂1+[∂∂x2]𝐞̂2+⋯+[∂∂xn]𝐞̂n
Directional derivative
Example Suppose that f is a function of more than one variable. For instance, z=f(x,y)=x2+xy+y2.
… excerpt ends here. Continue reading the full article.



