calculus

Partial Derivative

A partial derivative measures how a multivariable function changes when only one variable changes, holding others constant. Notation: ∂f/∂x.

本术语中文版本即将上线。下方暂以英文原文展示。

For a function of several variables f(x,y,z,)f(x, y, z, \ldots), the partial derivative with respect to xx is

fx=limh0f(x+h,y,)f(x,y,)h,\frac{\partial f}{\partial x} = \lim_{h \to 0} \frac{f(x + h, y, \ldots) - f(x, y, \ldots)}{h},

treating all other variables as constants. Notation: \partial (rounded "d", read "del") distinguishes from total derivatives.

Example: f(x,y)=x2y+3yf(x, y) = x^2 y + 3y. Then fx=2xy\frac{\partial f}{\partial x} = 2xy (treating yy as constant) and fy=x2+3\frac{\partial f}{\partial y} = x^2 + 3.

Partial derivatives are the building blocks of multivariable calculus. The gradient f=(f/x,f/y,)\nabla f = (\partial f/\partial x, \partial f/\partial y, \ldots) points in the direction of steepest ascent — the foundation of gradient descent in machine learning. Partial differential equations model heat, waves, fluids, electromagnetism, and quantum mechanics.