HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a partial derivative of a function of several variables is its
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
with respect to one of those variables, with the others held constant (as opposed to the
total derivative In mathematics, the total derivative of a function at a point is the best linear approximation near this point of the function with respect to its arguments. Unlike partial derivatives, the total derivative approximates the function with res ...
, in which all variables are allowed to vary). Partial derivatives are used in
vector calculus Vector calculus or vector analysis is a branch of mathematics concerned with the differentiation and integration of vector fields, primarily in three-dimensional Euclidean space, \mathbb^3. The term ''vector calculus'' is sometimes used as a ...
and
differential geometry Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
. The partial derivative of a function f(x, y, \dots) with respect to the variable x is variously denoted by It can be thought of as the rate of change of the function in the x-direction. Sometimes, for the partial derivative of z with respect to x is denoted as \tfrac. 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, \ldots), \frac (x, y, \ldots). The symbol used to denote partial derivatives is ∂. One of the first known uses of this symbol in mathematics is by
Marquis de Condorcet Marie Jean Antoine Nicolas de Caritat, Marquis of Condorcet (; ; 17 September 1743 â€“ 29 March 1794), known as Nicolas de Condorcet, was a French Philosophy, philosopher, Political economy, political economist, Politics, politician, and m ...
from 1770, who used it for partial differences. The modern partial derivative notation was created by
Adrien-Marie Legendre Adrien-Marie Legendre (; ; 18 September 1752 – 9 January 1833) was a French people, French mathematician who made numerous contributions to mathematics. Well-known and important concepts such as the Legendre polynomials and Legendre transforma ...
(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 be an
open subset In mathematics, an open set is a generalization of an open interval in the real line. In a metric space (a set with a distance defined between every two points), an open set is a set that, with every point in it, contains all points of the met ...
of \R^n and f:U\to\R a function. The partial derivative of at the point \mathbf=(a_1, \ldots, a_n) \in U with respect to the -th variable is defined as \begin \fracf(\mathbf) & = \lim_ \frac \\ & = \lim_ \frac\,. \end Where \mathbf is the
unit vector In mathematics, a unit vector in a normed vector space is a Vector (mathematics and physics), vector (often a vector (geometry), spatial vector) of Norm (mathematics), length 1. A unit vector is often denoted by a lowercase letter with a circumfle ...
of -th variable . Even if all partial derivatives \partial f / \partial x_i(a) exist at a given point , the function need not be continuous there. However, if all partial derivatives exist in a
neighborhood A neighbourhood (Commonwealth English) or neighborhood (American English) is a geographically localized community within a larger town, city, suburb or rural area, sometimes consisting of a single street and the buildings lining it. Neigh ...
of and are continuous there, then is totally differentiable in that neighborhood and the total derivative is continuous. In this case, it is said that is a function. This can be used to generalize for vector valued functions, by carefully using a componentwise argument. The partial derivative \frac can be seen as another function defined on and can again be partially differentiated. If the direction of derivative is repeated, it is called a ''mixed partial derivative''. If all mixed second order partial derivatives are continuous at a point (or on a set), is termed a function at that point (or on that set); in this case, the partial derivatives can be exchanged by Clairaut's theorem: \frac = \frac .


Notation

For the following examples, let be a function in , , and . First-order partial derivatives: \frac = f'_x = \partial_x f. Second-order partial derivatives: \frac = f''_ = \partial_ f = \partial_x^2 f. Second-order mixed derivatives: \frac = \frac \left( \frac \right) = (f'_)'_ = f''_ = \partial_ f = \partial_y \partial_x f . Higher-order partial and mixed derivatives: \frac = f^ = \partial_x^i \partial_y^j \partial_z^k f. 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 In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. Sometimes called statistical physics or statistical thermodynamics, its applicati ...
, the partial derivative of with respect to , holding and constant, is often expressed as \left( \frac \right)_ . 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 \frac is used for the function, while \frac might be used for the value of the function at the point However, this convention breaks down when we want to evaluate the partial derivative at a point like In such a case, evaluation of the function must be expressed in an unwieldy manner as \frac(17, u+v, v^2) or \left. \frac\right , _ in order to use the Leibniz notation. Thus, in these cases, it may be preferable to use the Euler differential operator notation with D_i as the partial derivative symbol with respect to the -th variable. For instance, one would write D_1 f(17, u+v, v^2) for the example described above, while the expression D_1 f represents the partial derivative ''function'' with respect to the first variable. For higher order partial derivatives, the partial derivative (function) of D_i f with respect to the -th variable is denoted That is, 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 D_=D_ as long as comparatively mild regularity conditions on are satisfied.


Gradient

An important example of a function of several variables is the case of a
scalar-valued function In mathematics and physics, a scalar field is a function associating a single number to each point in a region of space – possibly physical space. The scalar may either be a pure mathematical number (dimensionless) or a scalar physical q ...
f(x_1, \ldots, x_n) on a domain in Euclidean space \R^n (e.g., on \R^2 or In this case has a partial derivative \partial f/\partial x_j with respect to each variable . At the point , these partial derivatives define the vector \nabla f(a) = \left(\frac(a), \ldots, \frac(a)\right). This vector is called the ''
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
'' of at . If is differentiable at every point in some domain, then the gradient is a vector-valued function which takes the point to the vector . Consequently, the gradient produces a
vector field In vector calculus and physics, a vector field is an assignment of a vector to each point in a space, most commonly Euclidean space \mathbb^n. A vector field on a plane can be visualized as a collection of arrows with given magnitudes and dire ...
. A common
abuse of notation In mathematics, abuse of notation occurs when an author uses a mathematical notation in a way that is not entirely formally correct, but which might help simplify the exposition or suggest the correct intuition (while possibly minimizing errors an ...
is to define the
del operator Del, or nabla, is an operator used in mathematics (particularly in vector calculus) as a vector differential operator, usually represented by the nabla symbol ∇. When applied to a function defined on a one-dimensional domain, it denotes t ...
() as follows in three-dimensional
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
\R^3 with
unit vectors In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) of length 1. A unit vector is often denoted by a lowercase letter with a circumflex, or "hat", as in \hat (pronounced "v-hat"). The term ''normalized vec ...
\nabla = \left \right\hat + \left \right\hat + \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
\hat Or, more generally, for -dimensional Euclidean space \R^n with coordinates x_1, \ldots, x_n and unit vectors \nabla = \sum_^n \left frac \right\hat_j = \left frac \right\hat_1 + \left frac \right\hat_2 + \dots + \left frac \right\hat_n


Directional derivative


Example

Suppose that is a function of more than one variable. For instance, z = f(x,y) = x^2 + xy + y^2 . The
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discret ...
of this function defines a
surface A surface, as the term is most generally used, is the outermost or uppermost layer of a physical object or space. It is the portion or region of the object that can first be perceived by an observer using the senses of sight and touch, and is ...
in
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
. To every point on this surface, there are an infinite number of
tangent line In geometry, the tangent line (or simply tangent) to a plane curve at a given point is, intuitively, the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points o ...
s. Partial differentiation is the act of choosing one of these lines and finding its
slope In mathematics, the slope or gradient of a Line (mathematics), line is a number that describes the direction (geometry), direction of the line on a plane (geometry), plane. Often denoted by the letter ''m'', slope is calculated as the ratio of t ...
. Usually, the lines of most interest are those that are parallel to the -plane, and those that are parallel to the -plane (which result from holding either or constant, respectively). To find the slope of the line tangent to the function at and parallel to the -plane, we treat as a constant. The graph and this plane are shown on the right. Below, we see how the function looks on the plane . By finding the
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
of the equation while assuming that is a constant, we find that the slope of at the point is: \frac = 2x+y. So at , by substitution, the slope is . Therefore, \frac = 3 at the point . That is, the partial derivative of with respect to at is , as shown in the graph. The function can be reinterpreted as a family of functions of one variable indexed by the other variables: f(x,y) = f_y(x) = x^2 + xy + y^2. In other words, every value of defines a function, denoted , which is a function of one variable . That is, f_y(x) = x^2 + xy + y^2. In this section the subscript notation denotes a function contingent on a fixed value of , and not a partial derivative. Once a value of is chosen, say , then determines a function which traces a curve on the -plane: f_a(x) = x^2 + ax + a^2. In this expression, is a , not a , so is a function of only one real variable, that being . Consequently, the definition of the derivative for a function of one variable applies: f_a'(x) = 2x + a. The above procedure can be performed for any choice of . Assembling the derivatives together into a function gives a function which describes the variation of in the direction: \frac(x,y) = 2x + y. This is the partial derivative of with respect to . Here '' is a rounded 'd' called the '' partial derivative symbol''; to distinguish it from the letter 'd', '' is sometimes pronounced "partial".


Higher order partial derivatives

Second and higher order partial derivatives are defined analogously to the higher order derivatives of univariate functions. For the function f(x, y, ...) the "own" second partial derivative with respect to is simply the partial derivative of the partial derivative (both with respect to ): \frac \equiv \partial \frac \equiv \frac \equiv f_. The cross partial derivative with respect to and is obtained by taking the partial derivative of with respect to , and then taking the partial derivative of the result with respect to , to obtain \frac \equiv \partial \frac \equiv \frac \equiv f_. Schwarz's theorem states that if the second derivatives are continuous, the expression for the cross partial derivative is unaffected by which variable the partial derivative is taken with respect to first and which is taken second. That is, \frac = \frac or equivalently f_ = f_. Own and cross partial derivatives appear in the
Hessian matrix In mathematics, the Hessian matrix, Hessian or (less commonly) Hesse matrix is a square matrix of second-order partial derivatives of a scalar-valued Function (mathematics), function, or scalar field. It describes the local curvature of a functio ...
which is used in the second order conditions in
optimization Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criteria, from some set of available alternatives. It is generally divided into two subfiel ...
problems. The higher order partial derivatives can be obtained by successive differentiation


Antiderivative analogue

There is a concept for partial derivatives that is analogous to
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a continuous function is a differentiable function whose derivative is equal to the original function . This can be stated ...
s for regular derivatives. Given a partial derivative, it allows for the partial recovery of the original function. Consider the example of \frac = 2x+y. The so-called partial integral can be taken with respect to (treating as constant, in a similar manner to partial differentiation): z = \int \frac \,dx = x^2 + xy + g(y). Here, the
constant of integration In calculus, the constant of integration, often denoted by C (or c), is a constant term added to an antiderivative of a function f(x) to indicate that the indefinite integral of f(x) (i.e., the set of all antiderivatives of f(x)), on a connecte ...
is no longer a constant, but instead a function of all the variables of the original function except . The reason for this is that all the other variables are treated as constant when taking the partial derivative, so any function which does not involve will disappear when taking the partial derivative, and we have to account for this when we take the antiderivative. The most general way to represent this is to have the constant represent an unknown function of all the other variables. Thus the set of functions where is any one-argument function, represents the entire set of functions in variables that could have produced the -partial derivative If all the partial derivatives of a function are known (for example, with the
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
), then the antiderivatives can be matched via the above process to reconstruct the original function up to a constant. Unlike in the single-variable case, however, not every set of functions can be the set of all (first) partial derivatives of a single function. In other words, not every vector field is
conservative Conservatism is a cultural, social, and political philosophy and ideology that seeks to promote and preserve traditional institutions, customs, and values. The central tenets of conservatism may vary in relation to the culture and civiliza ...
.


Applications


Geometry

The
volume Volume is a measure of regions in three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch) ...
of a
cone In geometry, a cone is a three-dimensional figure that tapers smoothly from a flat base (typically a circle) to a point not contained in the base, called the '' apex'' or '' vertex''. A cone is formed by a set of line segments, half-lines ...
depends on the cone's
height Height is measure of vertical distance, either vertical extent (how "tall" something or someone is) or vertical position (how "high" a point is). For an example of vertical extent, "This basketball player is 7 foot 1 inches in height." For an e ...
and its
radius In classical geometry, a radius (: radii or radiuses) of a circle or sphere is any of the line segments from its Centre (geometry), center to its perimeter, and in more modern usage, it is also their length. The radius of a regular polygon is th ...
according to the formula V(r, h) = \frac. The partial derivative of with respect to is \frac = \frac, which represents the rate with which a cone's volume changes if its radius is varied and its height is kept constant. The partial derivative with respect to equals which represents the rate with which the volume changes if its height is varied and its radius is kept constant. By contrast, the ''total'' derivative of with respect to and are respectively \begin \frac &= \overbrace^\frac + \overbrace^\frac\frac\,, \\ \frac &= \overbrace^\frac + \overbrace^\frac\frac\,. \end The difference between the total and partial derivative is the elimination of indirect dependencies between variables in partial derivatives. If (for some arbitrary reason) the cone's proportions have to stay the same, and the height and radius are in a fixed ratio , k = \frac = \frac. This gives the total derivative with respect to , \frac = \frac + \frack\,, which simplifies to \frac = k \pi r^2, Similarly, the total derivative with respect to is \frac = \pi r^2. The total derivative with respect to and of the volume intended as scalar function of these two variables is given by the
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
vector \nabla V = \left(\frac,\frac\right) = \left(\frac\pi rh, \frac\pi r^2\right).


Optimization

Partial derivatives appear in any calculus-based
optimization Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criteria, from some set of available alternatives. It is generally divided into two subfiel ...
problem with more than one choice variable. For example, in
economics Economics () is a behavioral science that studies the Production (economics), production, distribution (economics), distribution, and Consumption (economics), consumption of goods and services. Economics focuses on the behaviour and interac ...
a firm may wish to maximize
profit Profit may refer to: Business and law * Profit (accounting), the difference between the purchase price and the costs of bringing to market * Profit (economics), normal profit and economic profit * Profit (real property), a nonpossessory inter ...
with respect to the choice of the quantities and of two different types of output. The first order conditions for this optimization are . Since both partial derivatives and will generally themselves be functions of both arguments and , these two first order conditions form a system of two equations in two unknowns.


Thermodynamics, quantum mechanics and mathematical physics

Partial derivatives appear in thermodynamic equations like Gibbs-Duhem equation, in quantum mechanics as in Schrödinger wave equation, as well as in other equations from
mathematical physics Mathematical physics is the development of mathematics, mathematical methods for application to problems in physics. The ''Journal of Mathematical Physics'' defines the field as "the application of mathematics to problems in physics and the de ...
. The variables being held constant in partial derivatives here can be ratios of simple variables like
mole fraction In chemistry, the mole fraction or molar fraction, also called mole proportion or molar proportion, is a quantity defined as the ratio between the amount of a constituent substance, ''ni'' (expressed in unit of moles, symbol mol), and the to ...
s in the following example involving the Gibbs energies in a ternary mixture system: \bar= G + (1-x_2) \left(\frac\right)_ Express
mole fraction In chemistry, the mole fraction or molar fraction, also called mole proportion or molar proportion, is a quantity defined as the ratio between the amount of a constituent substance, ''ni'' (expressed in unit of moles, symbol mol), and the to ...
s of a component as functions of other components' mole fraction and binary mole ratios: \begin x_1 &= \frac \\ x_3 &= \frac \end Differential quotients can be formed at constant ratios like those above: \begin \left(\frac\right)_ &= - \frac \\ \left(\frac\right)_ &= - \frac \end Ratios X, Y, Z of mole fractions can be written for ternary and multicomponent systems: \begin X &= \frac \\ Y &= \frac \\ Z &= \frac \end which can be used for solving
partial differential equation In mathematics, a partial differential equation (PDE) is an equation which involves a multivariable function and one or more of its partial derivatives. The function is often thought of as an "unknown" that solves the equation, similar to ho ...
s like: \left(\frac\right)_ = \left(\frac\right)_ This equality can be rearranged to have differential quotient of mole fractions on one side.


Image resizing

Partial derivatives are key to target-aware image resizing algorithms. Widely known as
seam carving Seam carving (or liquid rescaling) is an algorithm for content-aware image scaling, image resizing, developed by Shai Avidan, of Mitsubishi Electric Research Laboratories (MERL), and Ariel Shamir, of the Interdisciplinary Center and MERL. It fu ...
, these algorithms require each
pixel In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a Raster graphics, raster image, or the smallest addressable element in a dot matrix display device. In most digital display devices, p ...
in an image to be assigned a numerical 'energy' to describe their dissimilarity against orthogonal adjacent pixels. The
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
then progressively removes rows or columns with the lowest energy. The formula established to determine a pixel's energy (magnitude of
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
at a pixel) depends heavily on the constructs of partial derivatives.


Economics

Partial derivatives play a prominent role in
economics Economics () is a behavioral science that studies the Production (economics), production, distribution (economics), distribution, and Consumption (economics), consumption of goods and services. Economics focuses on the behaviour and interac ...
, in which most functions describing economic behaviour posit that the behaviour depends on more than one variable. For example, a societal
consumption function In economics, the consumption function describes a relationship between consumption and disposable income. The concept is believed to have been introduced into macroeconomics by John Maynard Keynes in 1936, who used it to develop the notion of ...
may describe the amount spent on consumer goods as depending on both income and wealth; the
marginal propensity to consume In economics, the marginal propensity to consume (MPC) is a metric that quantifies induced consumption, the concept that the increase in personal consumer spending ( consumption) occurs with an increase in disposable income (income after taxes a ...
is then the partial derivative of the consumption function with respect to income.


See also

*
d'Alembert operator In special relativity, electromagnetism and wave theory, the d'Alembert operator (denoted by a box: \Box), also called the d'Alembertian, wave operator, box operator or sometimes quabla operator (''cf''. nabla symbol) is the Laplace operator of ...
*
Chain rule In calculus, the chain rule is a formula that expresses the derivative of the Function composition, composition of two differentiable functions and in terms of the derivatives of and . More precisely, if h=f\circ g is the function such that h ...
*
Curl (mathematics) In vector calculus, the curl, also known as rotor, is a vector operator that describes the Differential (infinitesimal), infinitesimal Circulation (physics), circulation of a vector field in three-dimensional Euclidean space. The curl at a poin ...
*
Divergence In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to ...
*
Exterior derivative On a differentiable manifold, the exterior derivative extends the concept of the differential of a function to differential forms of higher degree. The exterior derivative was first described in its current form by Élie Cartan in 1899. The re ...
*
Iterated integral In multivariable calculus, an iterated integral is the result of applying integrals to a function of more than one variable (for example f(x,y) or f(x,y,z)) in such a way that each of the integrals considers some of the variables as given consta ...
*
Jacobian matrix and determinant In vector calculus, the Jacobian matrix (, ) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. If this matrix is square, that is, if the number of variables equals the number of compon ...
*
Laplace operator In mathematics, the Laplace operator or Laplacian is a differential operator given by the divergence of the gradient of a Scalar field, scalar function on Euclidean space. It is usually denoted by the symbols \nabla\cdot\nabla, \nabla^2 (where \ ...
*
Multivariable calculus Multivariable calculus (also known as multivariate calculus) is the extension of calculus in one variable to calculus with functions of several variables: the differentiation and integration of functions involving multiple variables ('' mult ...
*
Symmetry of second derivatives In mathematics, the symmetry of second derivatives (also called the equality of mixed partials) is the fact that exchanging the order of partial derivatives of a multivariate function :f\left(x_1,\, x_2,\, \ldots,\, x_n\right) does not change the ...
* Triple product rule, also known as the cyclic chain rule.


Notes


External links

*
Partial Derivatives
at
MathWorld ''MathWorld'' is an online mathematics reference work, created and largely written by Eric W. Weisstein. It is sponsored by and licensed to Wolfram Research, Inc. and was partially funded by the National Science Foundation's National Science ...
{{Calculus topics Multivariable calculus Differential operators