A partial derivative is the derivative of a function of several variables with respect to one variable, treating the remaining variables as constants. It extends single-variable differentiation to multivariable calculus, where different inputs can produce different rates of change. Partial derivatives describe coordinatewise sensitivity and provide the components from which gradients, tangent approximations, and derivatives of vector-valued functions are constructed. (ocw.mit.edu)
Definition and notation
Let , where is open, and let . The partial derivative with respect to the -th coordinate is the limit
provided this limit exists as a finite real number. Here is the coordinate vector with in position and zeros elsewhere. Only changes in the difference quotient. Common notations include , , and . The symbol distinguishes partial differentiation from ordinary differentiation, usually written with . (openstax.org)
For , the geometric interpretation of is the slope of the curve obtained by intersecting the graph with the plane , measured in the increasing -direction. The derivative similarly describes the section with . These slopes describe particular slices of the surface rather than its behavior in every direction. (ocw.mit.edu)
Calculation
Partial derivatives follow the usual differentiation rules, including linearity, the product rule, the quotient rule, and the chain rule. Expressions involving only the other coordinates act as constants. For example, the polynomial
has
Thus , whereas . The distinction reflects two separate sensitivities of the same function. When is written without an evaluation point, it normally denotes a new function defined wherever the relevant partial derivative exists. (openstax.org)
Partial derivatives and differentiability
The existence of all first partial derivatives at a point does not by itself imply that the function is continuous or differentiable there. Coordinatewise limits examine only coordinate lines; multivariable differentiability requires one linear map to approximate the change under arbitrary small displacements. For a differentiable scalar-valued function,
The remainder becomes negligible relative to . A standard sufficient condition is that the first partial derivatives exist in a neighborhood and are continuous at the point. This condition is sufficient, not necessary. (openstax.org)
For two variables, the corresponding tangent plane is
It expresses a first-order approximation, whereas each individual partial derivative supplies only one coefficient of that approximation. (openstax.org)
Gradient, directional derivatives, and total change
In Cartesian coordinates, the gradient collects a scalar function’s first partial derivatives:
If is differentiable, its directional derivative along a unit vector is
where the dot denotes the Euclidean inner product. Partial derivatives are therefore directional derivatives along coordinate axes. When the gradient is nonzero, its direction gives the greatest instantaneous increase among unit directions. (openstax.org)
A total derivative accounts for all changing inputs. If , the chain rule gives
Consequently, differentiating while holding fixed differs from differentiating along a path on which changes. For a vector-valued function, first partial derivatives are organized into the Jacobian matrix, representing its derivative when it is differentiable. (openstax.org)
Higher-order derivatives
Repeated partial differentiation produces second- and higher-order derivatives. To specify the order unambiguously,
This is a mixed partial derivative because two different coordinates are involved. Clairaut’s theorem states that the two mixed second derivatives agree when they exist and are continuous in a neighborhood. Without suitable regularity, reversing the differentiation order can change the result. (openstax.org)
The Hessian matrix collects second partial derivatives:
For a twice continuously differentiable function, it is symmetric and describes the quadratic part of the local approximation. In mathematical optimization, Hessian information helps distinguish local minima, maxima, and saddle points. (live.ocw.mit.edu)
Applications and computational methods
A partial differential equation relates an unknown multivariable function to its partial derivatives. For example, the one-dimensional heat equation
describes temperature evolution in an idealized homogeneous medium, with constant thermal diffusivity . Time differentiation holds position fixed; spatial differentiation holds time fixed. Such equations are central to mathematical physics. (ocw.mit.edu)
In machine learning, partial derivatives of a loss function with respect to model parameters form the gradient used by gradient descent. Automatic differentiation computes these derivatives by applying the chain rule through elementary operations; backpropagation applies this principle to neural-network training. Alternatively, finite differences estimate partial derivatives by perturbing one coordinate. Their accuracy depends on step size, smoothness, and floating-point roundoff, unlike symbolic differentiation, which manipulates mathematical expressions. (cs.cornell.edu)