Steply

Partial derivatives of f(x, y) = xy

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) = xy.

f(x, y) = xy

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 stays fixed: it acts like a plain number.

It is purple now.

f(x, y) = xy

Term by term.

In xy, y is fixed and waits in front.

x gives 1.

So y.

So ∂f/∂x = y.

∂f∂x = y

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 is not 0

2 Partial by y

For ∂f/∂y, only y changes.

x stays fixed: it acts like a plain number.

It is purple now.

f(x, y) = xy

Term by term.

In xy, x is fixed and waits in front.

y gives 1.

So x.

So ∂f/∂y = x.

∂f∂y = x

3 Check

Let's check.

Here is the surface z = f(x, y) near (1, 2).

On the orange curve only x changes.

∂f/∂x is its slope.

On the purple curve only y changes.

∂f/∂y is its slope.

The slope between two very close points.

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

f(1.001, 2) − f(1, 2)0.001 = 2.002 − 20.001 ≈ 2

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

Almost the same.

Right!

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

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

f(1, 2.001) − f(1, 2)0.001 = 2.001 − 20.001 ≈ 1

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

Almost the same.

Right!

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

Let's look back.

First: partial by x.

Then: partial by y.

Last: check.

Answer
Careful: fixed y is not 0

Your turn

Try this one yourself, then check:

Find the partial derivatives of f(x, y) = 3xy
Show the answer
∂f∂x = 3y, ∂f∂y = 3x

More from Partial derivatives

The whole lesson: Partial derivatives →