Steply

Partial derivatives of f(x, y) = 4x^2 - 5y

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) = 4x² − 5y.

f(x, y) = 4x2 − 5y

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) = 4x2 − 5y

Term by term.

4x²: the power 2 comes down: 4 times 2 is 8.

The power goes down by 1.

So 8x.

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

∂f∂x = 8x + 0

Drop the zeros: ∂f/∂x = 8x.

∂f∂x = 8x

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) = 4x2 − 5y

Term by term.

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

5y gives 5.

∂f∂y = 0 − 5

Drop the zeros: ∂f/∂y = −5.

∂f∂y = −5

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

f(1.001, 2) − f(1, 2)0.001 = −5.991996 − (−6)0.001 ≈ 8.004

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

Almost the same.

Right!

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

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

f(1, 2.001) − f(1, 2)0.001 = −6.005 − (−6)0.001 ≈ −5

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

Almost the same.

Right!

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

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

More from Partial derivatives

The whole lesson: Partial derivatives →