What Is a Partial Derivative?
A partial derivative measures how a multivariable function changes with respect to one variable while all other variables are held constant. The notation ∂f/∂x (read "partial f partial x") represents the rate of change of f with respect to x, treating y (and any other variables) as constants.
Partial derivatives are foundational in multivariable calculus, appearing in gradient vectors, directional derivatives, the Jacobian matrix, optimization problems (including machine learning), thermodynamics, economics, and engineering analysis.
Partial Derivative Rules
Second-Order Partial Derivatives
You can differentiate a partial derivative again to get second-order partials. The notation ∂²f/∂x² represents differentiating with respect to x twice. The mixed partial ∂²f/∂x∂y represents differentiating with respect to x first, then y (or vice versa). By Clairaut's theorem, if f has continuous second partials, ∂²f/∂x∂y = ∂²f/∂y∂x.
Applications
| Field | Application |
|---|---|
| Machine Learning | Gradient descent uses partial derivatives of the loss function |
| Physics | Maxwell's equations, heat equation, wave equation |
| Economics | Marginal utility, optimization of profit functions |
| Engineering | Stress analysis, fluid dynamics |
| Finance | Black-Scholes option pricing (Greeks: Delta, Gamma, Theta) |