Partial Derivatives
A surface has no single slope. Standing on a hillside you can face uphill, downhill, or along the contour — the steepness depends where you look.
Partial derivatives pin this down by asking a narrower question: what is the slope if I move parallel to one axis?
The definition
Compare with the single-variable definition: identical, except only one input moves. The other is frozen.
How to compute them
Treat the other variable as a constant, then differentiate normally. Every rule you already know still applies.
For :
At the point :
Read that: at the surface climbs at 14 per unit east, and 4 per unit north. Steeper in than in , by a factor of three and a half.
Notation
The curly rather than signals that other variables are present and being held fixed.
Geometric reading
is the slope of the curve formed by slicing the surface with the vertical plane . The slice is a one-variable curve, and is its ordinary derivative.
Higher-order partials
Differentiate again, and you may choose which variable each time:
The last two are the mixed partials: differentiate by then , or by then .
Clairaut's theorem
If and are both continuous near a point, then
Order does not matter. For :
Equal, as promised. In practice this halves the work, and it is a free check on your arithmetic: if your mixed partials disagree, you have made a mistake.
Where this leads
Second partials assemble into the Hessian matrix, which decides whether a critical point is a maximum, a minimum or a saddle — Module 3. Machine learning uses first partials of a loss with respect to millions of weights; that vector is the gradient, next module too.