SUPPORT THE WORK

GetWiki

Partial derivative

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
Partial derivative
[ temporary import ]
please note:
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
{{Calculus}}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, dots) with respect to the variable x is variously denoted by
f^prime_x, f_x, partial_x f, D_xf, D_1f, frac{partial}{partial x}f, text{ or } frac{partial f}{partial x}.
Sometimes, for z=f(x, y, dots), the partial derivative of z with respect to x is denoted as {partial z}over{partial 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, ...), frac{{partial f}}{{partial 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), though he later abandoned it; Carl Gustav Jacob Jacobi reintroduced the symbol again in 1841.WEB,weblink Earliest Uses of Symbols of Calculus, Jeff, Miller, 2009-06-14, Earliest Uses of Various Mathematical Symbols, 2009-02-20,

Introduction

Suppose that f is a function of more than one variable. For instance,
z = f(x,y) = x^2 + xy + y^2.
{{multiple image
| align = right
| direction = vertical
| width = 250


| image1 = Partial func eg.svg
| caption1 = A graph of {{nowrap|z {{=}} x2 + xy + y2}}. For the partial derivative at {{nowrap|(1, 1)}} that leaves y constant, the corresponding tangent line is parallel to the xz-plane.


| image2 = X2+X+1.svg
| caption2 = A slice of the graph above showing the function in the xz-plane at {{nowrap|y {{=}} 1}}. Note that the two axes are shown here with different scales. The slope of the tangent line is 3.
}}The graph of this function defines a surface in euclidean space. To every point on this surface, there are an infinite number of tangent lines. Partial differentiation is the act of choosing one of these lines and finding its slope. Usually, the lines of most interest are those that are parallel to the xz-plane, and those that are parallel to the yz-plane (which result from holding either y or x constant, respectively.)To find the slope of the line tangent to the function at P(1, 1) and parallel to the xz-plane, we treat y as a constant. The graph and this plane are shown on the right. Below, we see how the function looks on the plane y=1 . By finding the derivative of the equation while assuming that y is a constant, we find that the slope of f at the point (x, y) is:
frac{partial z}{partial x} = 2x+y.
So at (1, 1), by substitution, the slope is 3. Therefore,
frac{partial z}{partial x} = 3
at the point (1, 1). That is, the partial derivative of z with respect to x at (1, 1) is 3, as shown in the graph.

Definition

Basic definition

The function f 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 y defines a function, denoted fy , which is a function of one variable x.{{efn|This can also be expressed as the adjointness between the product space and function space constructions.}} That is,
f_y(x) = x^2 + xy + y^2.,
Note that in this section the subscript notation fy denotes a function contingent on a fixed value of y, and not a partial derivative.Once a value of y is chosen, say a, then f(x,y) determines a function fa which traces a curve x2 + ax + a2 on the xz plane:
f_a(x) = x^2 + ax + a^2. ,
In this expression, a is a constant, not a variable, so fa is a function of only one real variable, that being x. 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 a. Assembling the derivatives together into a function gives a function which describes the variation of f in the x direction:
frac{partial f}{partial x}(x,y) = 2x + y.,
This is the partial derivative of f with respect to x. Here ∂ is a rounded d called the partial derivative symbol. To distinguish it from the letter d, ∂ is sometimes pronounced "tho" or "partial".In general, the partial derivative of an n-ary function f(x1,...,xn) in the direction xi at the point (a1,...,an) is defined to be:
frac{partial f}{partial x_i}(a_1,ldots,a_n) = lim_{h to 0}frac{f(a_1,ldots,a_i+h,ldots,a_n) - f(a_1,ldots, a_i, dots,a_n)}{h}.
In the above difference quotient, all the variables except xi are held fixed. That choice of fixed values determines a function of one variable
f_{a_1,ldots,a_{i-1},a_{i+1},ldots,a_n}(x_i) = f(a_1,ldots,a_{i-1},x_i,a_{i+1},ldots,a_n),and by definition,
frac{df_{a_1,ldots,a_{i-1},a_{i+1},ldots,a_n}}{dx_i}(a_i) = frac{partial f}{partial x_i}(a_1,ldots,a_n).
In other words, the different choices of a index a family of one-variable functions just as in the example above. This expression also shows that the computation of partial derivatives reduces to the computation of one-variable derivatives.An important example of a function of several variables is the case of a scalar-valued function f(x1,...x'n) on a domain in Euclidean space mathbb{R}^n (e.g., on mathbb{R}^2 or mathbb{R}^3). In this case f has a partial derivative ∂f/∂x'j with respect to each variable xj. At the point a, these partial derivatives define the vector
nabla f(a) = left(frac{partial f}{partial x_1}(a), ldots, frac{partial f}{partial x_n}(a)right).
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 mathbb{R}^3 with unit vectors mathbf{hat{i}}, mathbf{hat{j}}, mathbf{hat{k}}:
nabla = bigg[{frac{partial}{partial x}} bigg] mathbf{hat{i}} + bigg[{frac{partial}{partial y}}bigg] mathbf{hat{j}} + bigg[{frac{partial}{partial z}}bigg] mathbf{hat{k}}
Or, more generally, for n-dimensional Euclidean space mathbb{R}^n with coordinates (x1, x2, x3,...,xn) and unit vectors (mathbf{hat{e}_1}, mathbf{hat{e}_2}, mathbf{hat{e}_3}, dots , mathbf{hat{e}_n}):
nabla = sum_{j=1}^n bigg[{frac{partial}{partial x_j}}bigg] mathbf{hat{e}_j} = bigg[{frac{partial}{partial x_1}}bigg] mathbf{hat{e}_1} + bigg[{frac{partial}{partial x_2}}bigg] mathbf{hat{e}_2} + bigg[{frac{partial}{partial x_3}}bigg] mathbf{hat{e}_3} + dots + bigg[{frac{partial}{partial x_n}}bigg] mathbf{hat{e}_n}

Formal definition

Like ordinary derivatives, the partial derivative is defined as a limit. Let U be an open subset of Rn and f : U → R a function. The partial derivative of f at the point a = (a1, ..., a'n) ∈ U with respect to the i-th variable x'i is defined as
frac{ partial }{partial x_i }f(mathbf{a}) =
lim_{h rightarrow 0}{f(a_1, dots , a_{i-1}, a_i+h, a_{i+1}, dots ,a_n) -f(a_1, dots, a_i, dots ,a_n) over h }Even if all partial derivatives ∂f/∂x'i(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 → Rm'') by carefully using a componentwise argument.The partial derivative frac{partial f}{partial x} can be seen as another function defined on U and can again be partially differentiated. 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:
frac{partial^2f}{partial x_i, partial x_j} = frac{partial^2f} {partial x_j, partial x_i}.

Examples

Geometry

missing image!
- Cone 3d.png -
The volume of a cone depends on height and radius
The volume V of a cone depends on the cone's height h and its radius r according to the formula
V(r, h) = frac{pi r^2 h}{3}.
The partial derivative of V with respect to r is
frac{ partial V}{partial r} = frac{ 2 pi r h}{3},
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 h equals frac{pi r^2}{3},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 V with respect to r and h are respectively
frac{dV}{dr} = overbrace{frac{2 pi r h}{3}}^frac{ partial V}{partial r} + overbrace{frac{pi r^2}{3}}^frac{ partial V}{partial h}frac{dh}{dr}
and
frac{dV}{dh} = overbrace{frac{pi r^2}{3}}^frac{ partial V}{partial h} + overbrace{frac{2 pi r h}{3}}^frac{ partial V}{partial r}frac{dr}{dh}
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,
k = frac{h}{r} = frac{dh}{dr}.
This gives the total derivative with respect to r:
frac{dV}{dr} = frac{2 pi r h}{3} + frac{pi r^2}{3}k
which simplifies to:
frac{dV}{dr} = k pi r^2
Similarly, the total derivative with respect to h is:
frac{dV}{dh} = pi r^2
The total derivative with respect to both r and h of the volume intended as scalar function of these two variables is given by the gradient vector nabla V = left(frac{partial V}{partial r},frac{partial V}{partial h}right) = left(frac{2}{3}pi rh, frac{1}{3}pi r^2right).

Optimization

Partial derivatives appear in any calculus-based optimization problem with more than one choice variable. For example, in economics a firm may wish to maximize profit π(x, y) with respect to the choice of the quantities x and y of two different types of output. The first order conditions for this optimization are πx = 0 = πy. Since both partial derivatives πx and πy will generally themselves be functions of both arguments x and y, these two first order conditions form a system of two equations in two unknowns.

Thermodynamics and mathematical physics

Partial derivatives appear in thermodynamic equations like Gibbs-Duhem equation as well in other equations from mathematical physics. Here the variables being held constant in partial derivatives can be ratio of simple variables like mole fractions xi in the following example involving the Gibbs energies in a ternary mixture system:bar{G_2}= G + (1-x_2) left(frac{{partial G}}{{partial x_2}}right)_{frac{x_1}{x_3}} Express mole fractions of a component as functions of other components mole fraction and binary mole ratios:x_1 = frac{1-x_2}{1+frac{x_3}{x_1}}x_3 = frac{1-x_2}{1+frac{x_1}{x_3}}Differential quotients can be formed at constant ratios like those above:left(frac{{partial x_1}}{{partial x_2}}right)_{frac{x_1}{x_3}} = - frac{x_1}{1-x_2},left(frac{{partial x_3}}{{partial x_2}}right)_{frac{x_1}{x_3}} = - frac{x_3}{1-x_2}Ratios X, Y, Z of mole fractions can be written for ternary and multicomponent systems:X = frac{x_3}{x_1 + x_3}Y = frac{x_3}{x_2 + x_3}Z = frac{x_2}{x_1 + x_2}which can be used for solving partial differential equations like:left(frac{{partial mu_2}}{{partial n_1}}right)_{n_2, n_3} = left(frac{{partial mu_1}}{{partial n_2}}right)_{n_1, n_3}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, these algorithms require each pixel in an image to be assigned a numerical 'energy' to describe their dissimilarity against orthogonal adjacent pixels. The algorithm then progressively removes rows or columns with the lowest energy. The formula established to determine a pixel's energy (magnitude of gradient at a pixel) depends heavily on the constructs of partial derivatives.

Economics

Partial derivatives play a prominent role in economics, in which most functions describing economic behaviour posit that the behaviour depends on more than one variable. For example, a societal consumption function may describe the amount spent on consumer goods as depending on both income and wealth; the marginal propensity to consume is then the partial derivative of the consumption function with respect to income.

Notation

For the following examples, let f be a function in x, y and z.First-order partial derivatives:
frac{ partial f}{ partial x} = f_x = partial_x f.
Second-order partial derivatives:
frac{ partial^2 f}{ partial x^2} = f_{xx} = partial_{xx} f = partial_x^2 f.
Second-order mixed derivatives:
frac{partial^2 f}{partial y , partial x} = frac{partial}{partial y} left( frac{partial f}{partial x} right) = (f_{x})_{y} = f_{xy} = partial_{yx} f = partial_y partial_x f.
Higher-order partial and mixed derivatives:
frac{ partial^{i+j+k} f}{ partial x^i, partial y^j, partial z^k } = f^{(i, j, k)} = 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, the partial derivative of f with respect to x, holding y and z constant, is often expressed as
left( frac{partial f}{partial x} right)_{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 frac{partial f(x,y,z)}{partial x} is used for the function, while frac{partial f(u,v,w)}{partial 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, v^2). In such a case, evaluation of the function must be expressed in an unwieldy manner as frac{partial f(x,y,z)}{partial x}(17, u+v, v^2) or frac{partial f(x,y,z)}{partial x}Bigg|_{(x,y,z)=(17, u+v, v^2)} 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 ith 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 1st variable.BOOK,weblink Calculus on Manifolds, Spivak, M., W. A. Benjamin, Inc., 1965, 9780805390216, New York, 44, For higher order partial derivatives, the partial derivative (function) of D_i f with respect to the jth variable is denoted D_j(D_i f)=D_{i,j} f. That is, D_jcirc D_i =D_{i,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 D_{i,j}=D_{j,i} as long as comparatively mild regularity conditions on f are satisfied.

Antiderivative analogue

There is a concept for partial derivatives that is analogous to antiderivatives for regular derivatives. Given a partial derivative, it allows for the partial recovery of the original function.Consider the example of frac{partial z}{partial x} = 2x+y. The "partial" integral can be taken with respect to x (treating y as constant, in a similar manner to partial differentiation):
z = int frac{partial z}{partial x} ,dx = x^2 + xy + g(y)
Here, the "constant" of integration is no longer a constant, but instead a function of all the variables of the original function except x. 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 x 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 x^2 + xy + g(y), where g is any one-argument function, represents the entire set of functions in variables x,y that could have produced the x-partial derivative 2x + y.If all the partial derivatives of a function are known (for example, with the gradient), 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.

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 x is simply the partial derivative of the partial derivative (both with respect to x):Chiang, Alpha C. Fundamental Methods of Mathematical Economics, McGraw-Hill, third edition, 1984.{{rp|316–318}}
frac{{partial ^2 f}}{{partial x^2}} equiv partial frac{{partial f / partial x}}{{partial x}} equiv frac{{partial f_x }}{{partial x }} equiv f_{{xx}}.
The cross partial derivative with respect to x and y is obtained by taking the partial derivative of f with respect to x, and then taking the partial derivative of the result with respect to y, to obtain
frac{{partial ^2 f}}{{partial y, partial x}} equiv partial frac{{partial f / partial x}}{{partial y}} equiv frac{{partial f_x}}{{partial y}} equiv f_{{xy}}.
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 {{partial ^2 f}}{{partial x, partial y}} = frac{{partial ^2 f}}{{partial y, partial x}}
or equivalently f_{{xy}}=f_{{yx}}.Own and cross partial derivatives appear in the Hessian matrix which is used in the second order conditions in optimization problems.

See also

{{div col|colwidth=27em}} {{div col end}}

Notes

{{Notelist}}

References

{{Reflist}}

External links



- content above as imported from Wikipedia
- "Partial derivative" does not exist on GetWiki (yet)
- time: 9:03am EDT - Mon, Oct 15 2018
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT