Partial Derivative
Partial Derivative
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.
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.
Applications
Geometry
The volume V of a cone depends on the cone's height h and its radius r according to the
formula
The partial derivative of V with respect to r is
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 , which
represents the rate with which the volume changes if its height is varied and its radius is
kept constant.
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,
which simplifies to
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
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, quantum
mechanics and mathematical
physics
Partial derivatives appear in thermodynamic equations like Gibbs-Duhem equation, in
quantum mechanics as Schrodinger wave 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:
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.