Steply

Second partial derivatives of f(x, y) = 4x^3 - 2xy + y^4

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

Step by step

The question

Question: find the second partial derivatives of f(x, y) = 4x³ − 2xy + y⁴.

f(x, y) = 4x3 − 2xy + y4

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) = 4x3 − 2xy + y4

Term by term.

4x³: the power 3 comes down: 4 times 3 is 12.

The power goes down by 1.

So 12x².

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 = 12x2 − 2y + 0

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

∂f∂x = 12x2 − 2y

2 Partial by y

Term by term.

4x³ 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 4 comes down.

The power goes down by 1.

So 4y³.

∂f∂y = 0 − 2x + 4y3

Drop the zeros: ∂f/∂y = −2x + 4y³.

∂f∂y = −2x + 4y3

3 The second partials

Now take each answer's partial derivatives again.

f_xy means: first by x, then by y.

Term by term.

12x²: the power 2 comes down: 12 times 2 is 24.

The power goes down by 1.

So 24x.

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

fxx = 24x + 0

Drop the zeros: f_xx = 24x.

fxx = 24x

Term by term.

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

2y gives 2.

fxy = 0 − 2

Drop the zeros: f_xy = −2.

fxy = −2

Term by term.

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

4y³: the power 3 comes down: 4 times 3 is 12.

The power goes down by 1.

So 12y².

fyy = 0 + 12y2

Drop the zeros: f_yy = 12y².

fyy = 12y2

Term by term.

2x gives 2.

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

fyx = −2 + 0

Drop the zeros: f_yx = −2.

fyx = −2

4 Check

Let's check.

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

They do.

Right!

fxy = −2 and fyx = −2

Let's look back.

First: partial by x.

Then: partial by y.

Then: the second partials.

Last: check.

Answer
fyx = −2

Your turn

Try this one yourself, then check:

Find the second partial derivatives of f(x, y) = 3x3 − 3xy + 4y4
Show the answer
fxx = 18x, fyy = 48y², fxy = fyx = −3

More from Partial derivatives

The whole lesson: Partial derivatives →