Steply

Partial derivatives

Calculus 3 · 20 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Partial by x
  2. Partial by y
  3. Put the point in
  4. Check

The steps for Partial derivatives of f(x, y) = 3x^2 + 2xy - y^3 at (1, 2). Every solution names its steps, so you always know what comes next.

Worked examples

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

The question

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

f(x, y) = x2y + 3y

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) = x2y + 3y

Term by term.

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

x² gives 2x.

So 2xy.

3y 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 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) = x2y + 3y

Term by term.

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

y gives 1.

So x².

3y gives 3.

So ∂f/∂y = x² + 3.

∂f∂y = x2 + 3

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

f(1.001, 2) − f(1, 2)0.001 = 8.004002 − 80.001 ≈ 4.002

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

Almost the same.

Right!

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

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

f(1, 2.001) − f(1, 2)0.001 = 8.004 − 80.001 ≈ 4

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

Almost the same.

Right!

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

Let's look back.

First: partial by x.

Then: partial by y.

Last: check.

Answer
Careful: fixed y is not 0

▶ Watch it solved

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

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

▶ Watch it solved

Second partial derivatives of f(x, y) = x^3 y^2 Harder

The question

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

f(x, y) = x3y2

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) = x3y2

Term by term.

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

x³ gives 3x².

So 3x²y².

So ∂f/∂x = 3x²y².

∂f∂x = 3x2y2

2 Partial by y

Term by term.

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

y² gives 2y.

So 2x³y.

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

∂f∂y = 2x3y

3 The second partials

Now take each answer's partial derivatives again.

f_xy means: first by x, then by y.

Term by term.

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

x² gives 2x.

So 6xy².

So f_xx = 6xy².

fxx = 6xy2

Term by term.

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

y² gives 2y.

So 6x²y.

So f_xy = 6x²y.

fxy = 6x2y

Term by term.

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

y gives 1.

So 2x³.

So f_yy = 2x³.

fyy = 2x3

Term by term.

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

x³ gives 3x².

So 6x²y.

So f_yx = 6x²y.

fyx = 6x2y

4 Check

Let's check.

The two mixed ones, f_xy and f_yx, must come out the same.

They do.

Right!

fxy = 6x²y and fyx = 6x²y

Let's look back.

First: partial by x.

Then: partial by y.

Then: the second partials.

Last: check.

Answer
fyx = 6x2y

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. partial derivatives of f(x, y) = x^2 y + 3y
    Answer
    Careful: fixed y is not 0
  2. partial derivatives of f(x, y) = 3x + 2y
    Answer
    Careful: fixed y is not 0
  3. partial derivatives of f(x, y) = x^2 + y^2
    Answer
    Careful: fixed y is not 0
  4. partial derivatives of f(x, y) = 4x^2 - 5y
    Answer
    Careful: fixed y is not 0
  5. partial derivatives of f(x, y) = xy
    Answer
    Careful: fixed y is not 0
  6. partial derivatives of f(x, y) = x^3 + 2xy
    Answer
    Careful: fixed y is not 0
  7. partial derivatives of f(x, y) = 2x^2 y^3
    Answer
    Careful: fixed y is not 0

Medium

  1. partial derivatives of f(x, y) = 3x^2 + 2xy - y^3 at (1, 2)
    Answer
    Careful: fixed y is not 0
  2. partial derivatives of f(x, y) = x^2 y^2 - 4xy at (2, 1)
    Answer
    Careful: fixed y is not 0
  3. partial derivatives of f(x, y) = 5x^3 - 2x^2 y + y
    Answer
    Careful: fixed y is not 0
  4. partial derivatives of f(x, y) = x^4 - 3xy^2 + 6y
    Answer
    Careful: fixed y is not 0
  5. partial derivatives of f(x, y) = x^2 + xy + y^2 at (-1, 2)
    Answer
    Careful: fixed y is not 0
  6. partial derivatives of f(x, y) = 2xy^3 - x^2 at (3, -1)
    Answer
    Careful: fixed y is not 0
  7. partial derivatives of f(x, y, z) = xyz + z^2
    Answer
    Careful: fixed y and z is not 0
  8. partial derivatives of f(x, y, z) = x^2 y + yz^3
    Answer
    Careful: fixed y and z is not 0

Harder

  1. second partial derivatives of f(x, y) = x^3 y^2
    Answer
    fyx = 6x2y
  2. second partial derivatives of f(x, y) = x^2 y + 3xy^2
    Answer
    fyx = 2x + 6y
  3. second partial derivatives of f(x, y) = 4x^3 - 2xy + y^4
    Answer
    fyx = −2
  4. second partial derivatives of f(x, y) = x^4 y^2 - 3y
    Answer
    fyx = 8x3y
  5. partial derivatives of f(x, y, z) = 2x^2 z - 3xy + z at (1, 2, -1)
    Answer
    Careful: fixed y and z is not 0