Steply

Partial derivatives of f(x, y) = 2xy^3 - x^2 at (3, -1)

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) = 2xy³ − x² at (3, −1).

f(x, y) = 2xy3 − x2

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) = 2xy3 − x2

Term by term.

In 2xy³, 2y³ is fixed and waits in front.

x gives 1.

So 2y³.

x²: the power 2 comes down: −1 times 2 is −2.

The power goes down by 1.

So 2x.

So ∂f/∂x = 2y³ − 2x.

∂f∂x = 2y3 − 2x

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) = 2xy3 − x2

Term by term.

In 2xy³, 2x is fixed and waits in front.

y³ gives 3y².

So 6xy².

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

∂f∂y = 6xy2 + 0

Drop the zeros: ∂f/∂y = 6xy².

∂f∂y = 6xy2

3 Put the point in

Put x = 3, y = −1 into ∂f/∂x.

fx(3, −1) = 2(−1)3 − 2(3)

Work out each term.

fx(3, −1) = −2 − 6

So f_x(3, −1) = −8.

fx(3, −1) = −8

Put x = 3, y = −1 into ∂f/∂y.

fy(3, −1) = 6(3)(−1)2

So f_y(3, −1) = 18.

fy(3, −1) = 18

4 Check

Let's check.

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

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 −8.

f(3.001, −1) − f(3, −1)0.001 = −15.008001 − (−15)0.001 ≈ −8.001

And ∂f/∂x at that point is −8.

Almost the same.

Right!

∂f∂x at (3, −1) = −8

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

f(3, −0.999) − f(3, −1)0.001 = −14.982018 − (−15)0.001 ≈ 17.982

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

Almost the same.

Right!

∂f∂y at (3, −1) = 18

Let's look back.

First: partial by x.

Then: partial by y.

Then: put the point in.

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) = xy3 − 2x2
Show the answer
∂f∂x = y³ − 4x, ∂f∂y = 3xy²

More from Partial derivatives

The whole lesson: Partial derivatives →