Skip to content

Partial Derivative

Definition

Let E⊆RnE \subseteq \mathbb{R}^n and consider a function f ⁣:E→Rk\boldsymbol{f} \colon E \to \mathbb{R}^k. For an interior point x0\boldsymbol{x}_0 of EE and an integer 1≤j≤n1 \leq j \leq n, the partial derivative of f\boldsymbol{f} with respect to the xjx_j-variable at x=x0\boldsymbol{x} = \boldsymbol{x}_0, denoted by ∂f∂xj(x0)\displaystyle \frac{\partial \boldsymbol{f}}{\partial x_j}(\boldsymbol{x}_0), is given by

∂f∂xj(x0)=lim⁡t→0f(x0+tej)−f(x0)t=ddtf(x0+tej) ∣t=0,\frac{\partial \boldsymbol{f}}{\partial x_j}(\boldsymbol{x}_0) = \lim_{{t\to0}} \frac{\boldsymbol{f}(\boldsymbol{x}_0 + t\boldsymbol{e}_j) - \boldsymbol{f}(\boldsymbol{x}_0)}{t} = \left.\frac{\mathrm{d}}{\mathrm{d}t}\boldsymbol{f}(\boldsymbol{x}_0 + t\boldsymbol{e}_j)\,\right|_{t=0},

where ej\boldsymbol{e}_j represents the unit vector in the positive direction of the jj-th coordinate, provided the limit exists.

The partial derivative changes only the jjth coordinate, so it is the Directional Derivative along the coordinate vector ej\boldsymbol{e}_j when the corresponding two-sided limit exists.


Interpretation

The partial derivative measures how the function changes when you nudge only one coordinate while keeping all others fixed. It is an ordinary derivative of the one-variable function t↦f(x0+tej)t\mapsto\boldsymbol{f}(\boldsymbol{x}_0+t\boldsymbol{e}_j) at t=0t=0, as the second line of the Definition shows.

A curved surface z = f(x1, x2) cut by the vertical plane x2 = b; the cut is a curve whose tangent at the point (a, b) has slope equal to the partial derivative in x1.

The vertical plane x2=bx_2=b cuts the graph of ff in the red curve x1↦f(x1,b)x_1\mapsto f(x_1,b), which is the graph of a function of x1x_1 alone. Its tangent line at (a,b)(a,b) has slope ∂f∂x1(a,b)\frac{\partial f}{\partial x_1}(a,b). Cutting with the plane x1=ax_1=a instead gives a curve in the x2x_2-direction, and its slope at (a,b)(a,b) is ∂f∂x2(a,b)\frac{\partial f}{\partial x_2}(a,b).

In practice, one treats every other variable as a constant and differentiates with the one-variable rules, as in the Example. For a vector-valued f\boldsymbol{f}, the partial derivative is a vector in Rk\mathbb{R}^k, computed component by component. These vectors are the columns of the Jacobian matrix, and for a real-valued ff the partial derivatives form the gradient.

A common slip is to expect partial derivatives to describe the function in every direction. They only look along the coordinate axes. The function with f(x,y)=xy/(x2+y2)f(x,y)=xy/(x^2+y^2) for (x,y)≠(0,0)(x,y)\neq(0,0) and f(0,0)=0f(0,0)=0 vanishes on both axes, so both partial derivatives at the origin are 00. Yet it is not even continuous there, since f(t,t)=12f(t,t)=\tfrac{1}{2} for every t≠0t\neq0. Existence of partial derivatives is therefore weaker than total differentiability; the Key Results give a sufficient condition, continuity of the partial derivatives, that closes the gap.


Key Results

  • The partial derivative ∂f∂xj(x0)\displaystyle \frac{\partial \boldsymbol{f}}{\partial x_j}(\boldsymbol{x}_0) exists if and only if both Dejf(x0)\mathrm{D}_{\boldsymbol{e}_j}\boldsymbol{f}(\boldsymbol{x}_0) and D−ejf(x0)\mathrm{D}_{-\boldsymbol{e}_j}\boldsymbol{f}(\boldsymbol{x}_0) exist and are negatives of each other. In such a scenario, we have ∂f∂xj(x0)=Dejf(x0).\displaystyle \frac{\partial \boldsymbol{f}}{\partial x_j}(\boldsymbol{x}_0)=\mathrm{D}_{\boldsymbol{e}_j}\boldsymbol{f}(\boldsymbol{x}_0).
  • If f\boldsymbol{f} is totally differentiable at x0,\boldsymbol{x}_0\text{,} then for every unit vector v=(v1, …, vn)=∑j=1nvjej\displaystyle \boldsymbol{v} = (v_1,\,\ldots,\,v_n)= \sum_{j=1}^n v_j\boldsymbol{e}_j we have Dvf(x0)=∑j=1nvj∂∂xjf(x0).\displaystyle \mathrm{D}_{\boldsymbol{v}}\boldsymbol{f}(\boldsymbol{x}_0) = \sum_{j=1}^n v_j \frac{\partial }{\partial x_j}\boldsymbol{f}(\boldsymbol{x}_0). Without total differentiability this can fail even when all partial derivatives exist.
  • If all the partial derivatives are both existent within a neighbourhood and continuous at the centre, then f\boldsymbol{f} is totally differentiable at this point.

Examples

  • The partial derivative of f(x,y)=3x2y2+4xy3+7yf(x,y) = 3x^2y^2 + 4xy^3 + 7y with respect to the first variable is ∂∂xf(x,y)=6xy2+4y3.\dfrac{\partial }{\partial x}f(x,y) = 6xy^2 + 4y^3.

Prerequisites

Sources

Aliases: partial differentiation Symbols: partial, real numbers, subset, sum

Last updated: 22 October 2026 19:04