Mixed partial derivative

An iterated partial derivative such as ∂^2f/(∂x_i∂x_j).
Mixed partial derivative

Let URkU\subseteq\mathbb{R}^k be open and let f:URf:U\to\mathbb{R} be a scalar-valued function. If the partial derivative fxj\frac{\partial f}{\partial x_j} exists on a neighborhood of a point aUa\in U, and if fxj\frac{\partial f}{\partial x_j} is partially differentiable with respect to xix_i at aa, then the mixed partial derivative is

2fxixj(a):=xi(fxj)(a). \frac{\partial^2 f}{\partial x_i\,\partial x_j}(a) := \frac{\partial}{\partial x_i}\left(\frac{\partial f}{\partial x_j}\right)(a).

Mixed partial derivatives appear in second-order Taylor expansions and in the Hessian. Under suitable continuity assumptions (e.g., C2C^2), mixed partials commute: xixjf=xjxif\partial_{x_i}\partial_{x_j}f=\partial_{x_j}\partial_{x_i}f (Schwarz/Clairaut theorem).

Examples:

  • If f(x,y)=x2yf(x,y)=x^2y, then 2fyx(x,y)=y(2xy)=2x\frac{\partial^2 f}{\partial y\,\partial x}(x,y)=\frac{\partial}{\partial y}(2xy)=2x, and 2fxy(x,y)=x(x2)=2x\frac{\partial^2 f}{\partial x\,\partial y}(x,y)=\frac{\partial}{\partial x}(x^2)=2x (they agree).
  • For a polynomial, all mixed partial derivatives exist and are continuous, so they commute.
  • There are functions where mixed partials exist but are not equal at a point if continuity hypotheses fail.