Partial Derivatives

One-line statement: A partial derivative measures the instantaneous rate of change of a multivariable function with respect to one variable while all other variables are held fixed. Key result in words: For , the partial is the ordinary derivative obtained by treating as a constant. Where it applies: Multivariable calculus, vector calculus, optimization, thermodynamics, PDEs, economics, machine learning (gradients). Who/when: Notation and systematic theory developed in the 18th–19th centuries; the curly symbol popularized by Legendre (1786) and Jacobi (1841).

A partial derivative generalizes the single-variable derivative to functions of several variables. For a function , the partial derivative with respect to a variable records how changes as varies infinitesimally while the remaining variables are frozen. It matters because most quantities in science depend on many variables simultaneously — temperature varies in space and time, profit depends on price and quantity — and partial derivatives isolate the influence of each input. They are the building blocks of the gradient, the Jacobian, and the entire apparatus of multivariable analysis. A surprising fact: a function can have all partial derivatives at a point yet still fail to be continuous there — partial differentiability is weaker than the full notion of differentiability.

The Core Insight

Freeze everything but one variable, then differentiate normally. A partial derivative reduces a hard multivariable problem to a familiar single-variable one by slicing the domain along a coordinate axis. Geometrically, you intersect the surface with a plane parallel to a coordinate axis and measure the slope of the resulting curve. Every rule from single-variable calculus (product, quotient, chain) applies verbatim once the other variables are treated as constants.

Formal Statement

Partial Derivative

Let be defined on an open set , and let . The partial derivative of with respect to at is

1
⟳This is the ordinary difference quotient in the single direction , holding all other coordinates fixed at their values ().

Here every symbol is: is the scalar-valued function; is the base point; is the differentiation variable; is the increment; is the -th standard basis vector. Common notations include , , , and .

Equivalent Directional Form

The partial derivative is the directional derivative along a coordinate axis:

2
⟳Replace the -th coordinate increment in [1] with the vector form , which changes only the -th component.

Clairaut–Schwarz Theorem (Equality of Mixed Partials)

If has continuous second-order partial derivatives and in a neighborhood of , then they are equal:

3
⟳Apply the Mean Value Theorem twice to the second difference , expressing it through both orders of differentiation, then take using continuity.

Differentiability Implies Partials Exist

If is (totally) differentiable at — meaning there exists a linear map with — then all partial derivatives exist at , and the total differential is

4
⟳Evaluate the differentiability condition along ; the linear map's action on recovers exactly . The converse is FALSE — see the counterexample below.

Why It Holds / Derivation

Clairaut's Theorem via the Mean Value Theorem

We prove [3] for near .

Step 1. Define the second difference
Step 2. Set , so . By the Mean Value Theorem there is between and with
Step 3. Apply the MVT again to on : there is between and with
Step 4. By the symmetric argument (subtracting in the other order, defining ), we obtain for some . Step 5. Equate: . As , all four sample points tend to . Continuity of both mixed partials forces .

Carl Gustav Jacob Jacobi | 1804–1851

Jacobi systematized the use of partial derivatives in his work on determinants of derivative arrays — what we now call the Jacobian matrix and Jacobian determinant. His 1841 treatise De determinantibus functionalibus fixed the modern notation in the mathematical mainstream and demonstrated the power of organizing partial derivatives into matrices for studying coordinate transformations, implicit functions, and systems of equations. The chain rule for compositions of multivariable maps is most naturally stated through Jacobian matrix multiplication.

Building Intuition

Imagine a mountainous terrain whose height is , with pointing east and pointing north. Standing at a point, is the slope you feel if you walk due east — you ignore any north–south change because is held fixed. Likewise is the slope walking due north. Each partial is a one-dimensional slice: cut the surface with a vertical plane aligned to an axis, and you get an ordinary curve whose slope is the partial derivative. The full gradient assembles these slices into the single direction of steepest ascent.

Slicing a surface: the partial derivative ∂f/∂x is the slope of the curve cut by the plane y = b

x z y plane y = b z = f(x, b) slope = ∂f/∂x a

Worked Examples

Polynomial Partials with Numbers

Given: . Find and at the point . Step 1 — Differentiate w.r.t. (treat as constant):
Step 2 — Evaluate at :
Step 3 — Differentiate w.r.t. (treat as constant):
Step 4 — Evaluate at :
Boxed answer: (dimensionless slopes; if carry units, slopes carry units of per unit of the respective variable).

Ideal Gas — Partial Derivatives in Thermodynamics

Given: The ideal gas law , with , , , . Find how pressure changes with temperature (at fixed ) and with volume (at fixed ). Step 1 — Partial w.r.t. at constant :
Step 2 — Partial w.r.t. at constant :
Boxed answer: . The subscripts and explicitly state what is held constant — essential in thermodynamics.

Common Misconceptions

The subscript "held constant" is not optional in physics. Writing is ambiguous in thermodynamics because can be expressed in terms of different variable sets. The notation versus (constant volume vs. constant entropy) gives genuinely different numbers. Always declare which variables are frozen. Mixed partials are NOT always equal. The interchange requires continuity of the mixed second derivatives (Clairaut's hypothesis). Without it, the order of differentiation can matter — see the counterexample.

Existence of Partials Does Not Imply Continuity

Consider

At the origin both partials exist: along the -axis , so ; similarly . Yet is not continuous at — along the line , for all , so the limit is . Thus a function can have all first-order partials at a point and still be discontinuous there. Partial differentiability is strictly weaker than total differentiability.

Mixed Partials That Disagree

For

one computes but . The mixed second partials exist but are unequal because they fail to be continuous at the origin — exactly the situation Clairaut's theorem excludes.

Connections

Partial derivatives are the components of the Gradient, whose direction gives steepest ascent and whose magnitude gives the maximal rate of change. Assembling partials of a vector-valued map produces the Jacobian Matrix, which governs the multivariable Chain Rule and the Inverse Function Theorem. When set to zero, partials locate stationary points in Multivariable Optimization, with the Hessian Matrix of second partials classifying them. Partial derivatives are the alphabet of Partial Differential Equations, and the Total Differential in [4] links them to Differentiability in Several Variables. They also underlie the Directional Derivative, of which they are the axis-aligned special case.

Real-World Applications

  1. Thermodynamics (Maxwell relations). Equalities like derive directly from equality of mixed partials of thermodynamic potentials.
  2. Machine learning (backpropagation). Training neural networks computes partial derivatives of a loss function with respect to millions of weights; gradient descent uses these to update parameters.
  3. Economics (marginal analysis). Marginal utility and marginal product (holding capital fixed) quantify the effect of one input.
  4. Fluid dynamics (Navier–Stokes equations). Velocity fields evolve via PDEs built from spatial and temporal partial derivatives.
  5. Electromagnetism (Maxwell's equations). Divergence and curl are combinations of partial derivatives of the field components.
  6. Heat transfer (the heat equation). relates the time partial to the sum of second spatial partials.
  7. Quantitative finance (the Greeks). The option sensitivities Delta , Theta , and Vega are all partial derivatives of an option's price.

Historical Development

  • 1690s — Leibniz and the Bernoullis differentiate expressions in several variables informally, treating extra variables as parameters.
  • 1734 — Leonhard Euler develops systematic methods for functions of several variables and conditions for exactness of differentials.
  • 1740s — Alexis Clairaut and Euler independently establish the symmetry of mixed second derivatives for smooth functions.
  • 1770s — Lagrange advances the theory in the calculus of variations, treating partial derivatives of action-like functionals.
  • 1786 — Adrien-Marie Legendre introduces a rounded "" symbol to distinguish partial from total differentiation.
  • 1841 — Jacobi's De determinantibus functionalibus firmly standardizes the notation and the use of derivative matrices (Jacobians).
  • 1860s–1870s — Weierstrass and others place limits and differentiability on rigorous – foundations, clarifying the gap between partial and total differentiability.
  • 1880s — Hermann Schwarz gives the careful modern statement and proof of the equality-of-mixed-partials theorem (hence "Clairaut–Schwarz").
  • 20th century — The notion generalizes to the Fréchet and Gâteaux derivatives in infinite-dimensional spaces, and partial derivatives become central to the theory of distributions and PDEs.

Subtleties & Limits

The frontier is not whether partials exist, but how weakly differentiable a function can be while still admitting meaningful "partial derivatives." Sobolev spaces replace classical partials with weak derivatives defined through integration by parts, allowing differential equations to have solutions that are not differentiable in the classical sense. Determining the optimal regularity of solutions to nonlinear PDEs — for instance, whether solutions to the 3D incompressible Navier–Stokes equations stay smooth (a Clay Millennium Problem) — hinges on controlling partial derivatives. Even at the undergraduate boundary, the precise gap between "all partials exist," "all directional derivatives exist," and "fully differentiable" reveals how subtle multivariable smoothness truly is.

See Also

Gradient · Jacobian Matrix · Hessian Matrix · Directional Derivative · Multivariable Chain Rule · Total Differential · Partial Differential Equations · Clairaut's Theorem · Implicit Function Theorem · Maxwell Relations

Before this

Where this leads