Partial Derivatives Practice Problems with Answers
12 partial derivative practice problems with answers: first and second partials, gradients, directional derivatives, tangent planes and critical points.
Multivariable calculus Updated 4 min read
At a glance
- Problems
- 12, with answers and full solutions
- Level
- Calculus 3
- You need
- All the single-variable derivative rules, especially the chain rule
- Main idea
- Differentiate in one variable and treat every other variable as a constant
- Practice with new numbers
- Partial derivatives lesson
On this page
These partial derivative practice problems start with first partials and move on to second partials, gradients, directional derivatives, tangent planes and critical points. Try each one first. The answers come first, then full solutions.
The one idea behind every problem:
For the ideas with pictures, read the partial derivatives guide and the gradient guide.
Problems
First partials
- f(x, y) = x^3y^2 + 4xy. Find f_x and f_y.
- f(x, y) = e^{xy}. Find f_x and f_y.
- f(x, y) = \sin(x^2y). Find f_x and f_y.
- f(x, y) = \ln(x^2 + y^2). Find f_x.
- f(x, y) = \dfrac{x}{y}. Find f_x and f_y.
- f(x, y, z) = xyz + z^2. Find f_z.
Second partials and values
- f(x, y) = x^2y^3. Find f_{xx}, f_{yy} and f_{xy}.
- f(x, y) = x^2 + 3xy - y^2. Find f_x(1, 2) and f_y(1, 2).
Gradients and planes
- Find \nabla f(2, 1) for f(x, y) = x^2y.
- Find the directional derivative of f(x, y) = x^2y at (2, 1) in the direction of \langle 3, 4\rangle.
- Find the tangent plane to z = x^2 + y^2 at (1, 2, 5).
- Find and classify the critical point of f(x, y) = x^2 + y^2 - 4x + 6y.
Answers
| Problem | Answer |
|---|---|
| 1 | f_x = 3x^2y^2 + 4y, f_y = 2x^3y + 4x |
| 2 | f_x = ye^{xy}, f_y = xe^{xy} |
| 3 | f_x = 2xy\cos(x^2y), f_y = x^2\cos(x^2y) |
| 4 | f_x = \dfrac{2x}{x^2 + y^2} |
| 5 | f_x = \dfrac{1}{y}, f_y = -\dfrac{x}{y^2} |
| 6 | f_z = xy + 2z |
| 7 | f_{xx} = 2y^3, f_{yy} = 6x^2y, f_{xy} = 6xy^2 |
| 8 | f_x(1, 2) = 8, f_y(1, 2) = -1 |
| 9 | \langle 4, 4\rangle |
| 10 | \frac{28}{5} |
| 11 | z = 5 + 2(x - 1) + 4(y - 2), or z = 2x + 4y - 5 |
| 12 | (2, -3), a local minimum with value -13 |
Step-by-step solutions
1. For f_x, y^2 and 4y are constants: f_x = 3x^2y^2 + 4y. For f_y, x^3 and 4x are constants: f_y = 2x^3y + 4x.
2. Chain rule with inside xy. Its x-derivative is y and its y-derivative is x:
3. Chain rule with inside x^2y:
4. Derivative of \ln u is \frac{u'}{u}, and the x-derivative of x^2 + y^2 is 2x:
5. In x, \frac{x}{y} is x times the constant \frac{1}{y}. In y, it is x\cdot y^{-1}:
6. Treat x and y as constants: f_z = xy + 2z.
7. First, f_x = 2xy^3 and f_y = 3x^2y^2. Then:
Check: f_{yx} = \frac{\partial}{\partial x}(3x^2y^2) = 6xy^2. They match.
8. f_x = 2x + 3y, so f_x(1, 2) = 2 + 6 = 8. f_y = 3x - 2y, so f_y(1, 2) = 3 - 4 = -1.
9. f_x = 2xy and f_y = x^2. At (2, 1): \nabla f = \langle 4, 4\rangle.
10. The length of \langle 3, 4\rangle is 5, so the unit vector is \left\langle\frac{3}{5}, \frac{4}{5}\right\rangle:
11. f_x = 2x = 2 and f_y = 2y = 4 at (1, 2). The tangent plane is z = f(a, b) + f_x(x - a) + f_y(y - b):
12. Set f_x = 2x - 4 = 0 and f_y = 2y + 6 = 0: (2, -3). The second derivative test gives D = f_{xx}f_{yy} - f_{xy}^2 = 2\cdot 2 - 0 = 4 > 0 with f_{xx} > 0, so it is a local minimum. The value is 4 + 9 - 8 - 18 = -13.
Common mistakes on these problems
- Differentiating the constant variable. In problem 1, f_x of 4xy is 4y, not 4y + 4x.
- Dropping the chain rule. In problem 3, the factor 2xy comes from the inside x^2y.
- Using a direction that is not a unit vector. In problem 10, normalize \langle 3, 4\rangle first.
- Mixing up f_{xy} order. f_{xy} means differentiate in x first, then y. For smooth functions both orders agree, which makes a good check.
Keep practicing
For unlimited problems with instant feedback, try the partial derivatives lesson, the second partials lesson, the tangent planes lesson and the gradient lesson. For optimization with a constraint, move on to the Lagrange multiplier problems.
Practice it now
Partial derivatives
Solve real problems on this topic with instant feedback, hints and a step-by-step walkthrough for every answer. Free, no sign-up needed to start.
Practice this lesson