Partial Derivatives
Differentiate with respect to one variable while holding others constant.
A function of several variables, such as , changes differently depending on which input you vary. The partial derivative measures the rate of change as varies with held fixed, and does the reverse. You compute them with the ordinary rules, treating the other variable as a constant.
Together the partial derivatives form the gradient , which points in the direction of steepest increase. Setting the gradient to zero finds critical points of surfaces, the starting point for optimisation in economics, physics and machine learning.
Key ideas
- Hold every other variable constant and differentiate as usual.
- Mixed partials and are equal for smooth functions.
- The gradient is perpendicular to level curves.
- Second derivative test: classifies critical points.
Worked example
For , find and at .
- , treating as constant.
- , treating as constant.
- At : .
- .
Answer: ,
Common mistakes
- Differentiating the held-constant variable as if it changed.
- Dropping a term like entirely when differentiating with respect to ; it becomes .
- Confusing the gradient vector with a single number.
Practice questions
Try each one, then open the answer. Numerical answers on this page are verified by an automated calculation check.
1.For , find at .
Show answer
2.For , find at .
Show answer
3.For , find at .
Show answer