A partial derivative measures how changes when one variable moves while the others are held fixed.
Notation
Clairaut's theorem — If and are both continuous, then:
f_{xy} = f_{yx}
Geometric interpretation
- is the slope of at in the -direction.
- is the slope of at in the -direction.
Example — For :
from sympy import symbols, diff
x, y = symbols('x y')
f = x**2 * y + 3*x * y**2
print("f_x =", diff(f, x))
print("f_y =", diff(f, y))
Key insight: Partial derivatives reduce a multivariable problem to a single-variable one by treating all other variables as constants.
Common pitfall: freezes every other variable — it answers a deliberately narrow question. The real-world change of when several inputs move at once is the chain rule’s job, not a single partial’s.