Steply

Partial derivatives of f(x, y, z) = x^2 y + yz^3

Step by step, with the reason for every step · Partial derivatives · Calculus 3

Step by step

The question

Question: find the partial derivatives of f(x, y, z) = x²y + yz³.

f(x, y, z) = x2y + yz3

1 Partial by x

The partial derivative ∂f/∂x is the slope when only x changes.

∂f/∂x: only x changes

For ∂f/∂x, only x changes.

y and z stay fixed: they act like plain numbers.

They are purple now.

f(x, y, z) = x2y + yz3

Term by term.

In x²y, y is fixed and waits in front.

x² gives 2x.

So 2xy.

yz³ has no x: it is a fixed number, so it gives 0.

∂f∂x = 2xy + 0

Drop the zeros: ∂f/∂x = 2xy.

∂f∂x = 2xy

Careful!

A fixed letter is not 0!

In x²y, y stays in front.

Only a term with no x at all gives 0.

Careful: fixed y and z is not 0

2 Partial by y

For ∂f/∂y, only y changes.

x and z stay fixed: they act like plain numbers.

They are purple now.

f(x, y, z) = x2y + yz3

Term by term.

In x²y, x² is fixed and waits in front.

y gives 1.

So x².

In yz³, z³ is fixed and waits in front.

y gives 1.

So z³.

So ∂f/∂y = x² + z³.

∂f∂y = x2 + z3

3 Partial by z

For ∂f/∂z, only z changes.

x and y stay fixed: they act like plain numbers.

They are purple now.

f(x, y, z) = x2y + yz3

Term by term.

x²y has no z: it is a fixed number, so it gives 0.

In yz³, y is fixed and waits in front.

z³ gives 3z².

So 3yz².

∂f∂z = 0 + 3yz2

Drop the zeros: ∂f/∂z = 3yz².

∂f∂z = 3yz2

4 Check

The slope between two very close points.

Move x by 0.001: the change in f, over 0.001, is about 4.

f(1.001, 2, 1) − f(1, 2, 1)0.001 = 4.004002 − 40.001 ≈ 4.002

And ∂f/∂x at that point is 4.

Almost the same.

Right!

∂f∂x at (1, 2, 1) = 4

Now move y by 0.001: the change in f, over 0.001, is about 2.

f(1, 2.001, 1) − f(1, 2, 1)0.001 = 4.002 − 40.001 ≈ 2

And ∂f/∂y at that point is 2.

Almost the same.

Right!

∂f∂y at (1, 2, 1) = 2

Now move z by 0.001: the change in f, over 0.001, is about 6.01.

f(1, 2, 1.001) − f(1, 2, 1)0.001 = 4.006006 − 40.001 ≈ 6.006

And ∂f/∂z at that point is 6.

Almost the same.

Right!

∂f∂z at (1, 2, 1) = 6

Let's look back.

First: partial by x.

Then: partial by y.

Then: partial by z.

Last: check.

Answer
Careful: fixed y and z is not 0

Your turn

Try this one yourself, then check:

Find the partial derivatives of f(x, y, z) = 2x2y + 2yz3
Show the answer
∂f∂x = 4xy, ∂f∂y = 2x² + 2z³, ∂f∂z = 6yz²

More from Partial derivatives

The whole lesson: Partial derivatives →