Steply

Find the absolute maximum and the absolute minimum values of f on…

Step by step, with the reason for every step · AP Calculus AB Practice Exam 2 · AP Calculus AB

Step by step

The question

Question: find the absolute maximum and minimum of f(x) = x³ + 3x² − 9x − 4 on [−4, 2].

f(x) = x3 + 3x2 − 9x − 4

On a closed interval, the highest and lowest values are at an end, or inside.

Inside, a top or a bottom is where the curve turns.

There it is flat: the slope is 0.

So we test the ends and those points.

candidates: the two ends + where f′ = 0

1 Critical points

Use the power rule on each term.

f′(x) = 3x^(3 − 1) + 3 × 2x^(2 − 1) − 9 × 1 + 0

Now we have f′(x) = 3x² + 6x − 9.

= 3x2 + 6x − 9

Critical points: where the slope is 0.

Solve f′(x) = 0.

f′(x) = 0

That is 3x² + 6x − 9 = 0.

3x2 + 6x − 9 = 0

Take out the 3.

3(x2 + 2x − 3) = 0

To factor x² + 2x − 3, the rule: we need two numbers that multiply to −3 and add to 2.

They are 3 and −1: they multiply to −3 and add to 2.

? × ? = −3
? + ? = 2
3 × (−1) = −3, 3 + (−1) = 2 ✓

So we write it as 3(x + 3)(x − 1).

3(x + 3)(x − 1) = 0

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

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

So x = −3 or x = 1.

x = −3 or x = 1

2 Keep the ones inside

x = −3 is inside the interval.

Keep it.

x = −3 in [−4, 2] ✓

x = 1 is inside the interval.

Keep it.

x = 1 in [−4, 2] ✓

3 Test every candidate

The left end: f of −4 is 16.

f(−4) = (−4)3 + 3(−4)2 − 9(−4) − 4 = −64 + 48 + 36 − 4 = 16

The critical point: f of −3 is 23.

f(−3) = (−3)3 + 3(−3)2 − 9(−3) − 4 = −27 + 27 + 27 − 4 = 23

The critical point: f of 1 is −9.

f(1) = 13 + 3(1)2 − 9(1) − 4 = 1 + 3 − 9 − 4 = −9

The right end: f of 2 is −2.

f(2) = 23 + 3(2)2 − 9(2) − 4 = 8 + 12 − 18 − 4 = −2

4 Biggest and smallest

The biggest value is 23, at x = −3.

That is the absolute maximum.

max : 23 at x = −3

The smallest value is −9, at x = 1.

That is the absolute minimum.

min : −9 at x = 1

5 Check

Let's check one more point.

Every x inside must give a value between the min and the max.

Take the middle, x = −1: it gives 7.

Between them.

Right!

f(−1) = 7: between −9 and 23

Let's look back.

First: critical points.

Then: keep the ones inside.

Then: test every candidate.

Then: biggest and smallest.

Last: check.

Answer
min : −9 at x = 1

Your turn

Try this one yourself, then check your answer:

Find the absolute maximum and minimum of f(x) = x3 + 3x2 − 9x − 2 on [−3, 1]
Show the answer
max 25 at x = −3, min −7 at x = 1

More from AP Calculus AB Practice Exam 2

The whole lesson: AP Calculus AB Practice Exam 2 →