Steply

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

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

f(x, y) = 3x2 + 2xy − y3

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) = 3x2 + 2xy − y3

Term by term.

3x²: the power 2 comes down: 3 times 2 is 6.

The power goes down by 1.

So 6x.

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

x gives 1.

So 2y.

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

∂f∂x = 6x + 2y + 0

Drop the zeros: ∂f/∂x = 6x + 2y.

∂f∂x = 6x + 2y

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) = 3x2 + 2xy − y3

Term by term.

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

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

y gives 1.

So 2x.

y³: the power 3 comes down: −1 times 3 is −3.

The power goes down by 1.

So 3y².

∂f∂y = 0 + 2x − 3y2

Drop the zeros: ∂f/∂y = 2x − 3y².

∂f∂y = 2x − 3y2

3 Put the point in

Put x = 1, y = 2 into ∂f/∂x.

fx(1, 2) = 6(1) + 2(2)

Work out each term.

fx(1, 2) = 6 + 4

So f_x(1, 2) = 10.

fx(1, 2) = 10

Put x = 1, y = 2 into ∂f/∂y.

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

Work out each term.

fy(1, 2) = 2 − 12

So f_y(1, 2) = −10.

fy(1, 2) = −10

4 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 10.

f(1.001, 2) − f(1, 2)0.001 = −0.989997 − (−1)0.001 ≈ 10.003

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

Almost the same.

Right!

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

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

f(1, 2.001) − f(1, 2)0.001 = −1.010006 − (−1)0.001 ≈ −10.006

And ∂f/∂y at that point is −10.

Almost the same.

Right!

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

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) = 3x2 + 4xy − 4y3
Show the answer
∂f∂x = 6x + 4y, ∂f∂y = 4x − 12y²

More from Partial derivatives

The whole lesson: Partial derivatives →