Partial derivatives, explained with worked examples
5 min read
Short answer
A partial derivative measures how a function of several variables changes when you move one variable and hold the others fixed. To compute , treat every other variable as a constant and differentiate with respect to as usual.
The picture: slice, then take the slope
The graph of is a surface. Fix and you cut the surface with a vertical plane, leaving an ordinary curve in . The slope of that curve is . Fix instead and you get . Together they describe the tilt of the surface along the two axes, which is exactly what the gradient collects into one vector.
The method
- Choose the variable you are differentiating by.
- Treat all other variables as constants (numbers).
- Differentiate with the usual single-variable rules.
Notation: , and all mean the same thing. Second partials differentiate again; the mixed ones and are equal whenever they are continuous (Clairaut's theorem), which is a handy check.
Worked example
Let . Find , and their values at .
: treat as a constant. and is constant, so .
: treat as a constant. and , so .
At : and . Moving in the -direction the surface rises at slope 4; moving in it rises at slope 13.
Try it yourself
For , find , at , and confirm .
Show the answer
and . At : and . Mixed partials: and . They match.
Keep going with practice
Partial derivatives open Vidi's Multivariable & Vector Calculus course, with interactive 3D surfaces where you can see the slices.