Steply

Absolute max and min of f(x) = x^3 - 12x on [0, 3]

Step by step, with the reason for every step · Absolute maximum and minimum · Calculus 1

Step by step

The question

Question: find the absolute maximum and minimum of f(x) = x³ − 12x on [0, 3].

f(x) = x3 − 12x

On a closed interval, the highest and lowest values are at an end, or where the slope is 0.

So we test those, and only those.

candidates: the two ends + where f′ = 0

1 Critical points

Use the power rule on each term.

f′(x) = 3x^(3 − 1) − 12 × 1

Now we have f′(x) = 3x² − 12.

= 3x2 − 12

Critical points: where the slope is 0.

Solve f′(x) = 0.

f′(x) = 0
3x2 − 12 = 0

Take out the 3.

3(x2 − 4) = 0

x² − 4 is a difference of two squares: x² minus 2 squared.

So it is (x − 2)(x + 2).

3(x + 2)(x − 2) = 0
a² − b² = (a − b)(a + b), b = 2

A product is 0 only when one of its parts is 0.

a × b = 0 → a = 0 or b = 0

So x = −2 or x = 2.

x = −2 or x = 2

2 Keep the ones inside

x = −2 is outside the interval.

Throw it away.

x = −2 not in [0, 3] ✗

x = 2 is inside the interval.

Keep it.

x = 2 in [0, 3] ✓

3 Test every candidate

The left end: f of 0 is 0.

f(0) = 03 − 12(0) = 0 + 0 = 0

The critical point: f of 2 is −16.

f(2) = 23 − 12(2) = 8 − 24 = −16

The right end: f of 3 is −9.

f(3) = 33 − 12(3) = 27 − 36 = −9

4 Biggest and smallest

Careful!

The maximum is at an end, where the slope is not 0.

That is why we test the ends.

Careful: the ends count too

The biggest value is 0, at x = 0.

That is the absolute maximum.

max : 0 at x = 0

The smallest value is −16, at x = 2.

That is the absolute minimum.

min : −16 at x = 2

5 Check

Let's check one more point: x = 1.5 gives −14.62.

It is between the min and the max.

Right!

f(1.5) = −14.62: between −16 and 0

Let's look back.

First: critical points.

Then: keep the ones inside.

Then: test every candidate.

Then: biggest and smallest.

Last: check.

Answer
min : −16 at x = 2

Your turn

Try this one yourself, then check:

Find the absolute maximum and minimum of f(x) = x3 − 12x
Show the answer
max 0 at x = 0, min −16 at x = 2

More from Absolute maximum and minimum

The whole lesson: Absolute maximum and minimum →