Worked examples
The question
Question: find the absolute maximum and minimum of f(x) = xยฒ โ 4x + 1 on [โ1, 3].
f(x) = x2 โ 4x + 1
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) = 2x^(2 โ 1) โ 4 ร 1 + 0
Now we have fโฒ(x) = 2x โ 4.
= 2x โ 4
Critical points: where the slope is 0.
Solve fโฒ(x) = 0.
fโฒ(x) = 0
2x โ 4 = 0
Take out the 2.
2(x โ 2) = 0
So x = 2.
x = 2
2 Keep the ones inside
x = 2 is inside the interval.
Keep it.
x = 2 in [โ1, 3] โ
3 Test every candidate
The left end: f of โ1 is 6.
f(โ1) = (โ1)2 โ 4(โ1) + 1 = 1 + 4 + 1 = 6
The critical point: f of 2 is โ3.
f(2) = 22 โ 4(2) + 1 = 4 โ 8 + 1 = โ3
The right end: f of 3 is โ2.
f(3) = 32 โ 4(3) + 1 = 9 โ 12 + 1 = โ2
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 6, at x = โ1.
That is the absolute maximum.
max : 6 at x = โ1
The smallest value is โ3, at x = 2.
That is the absolute minimum.
min : โ3 at x = 2
5 Check
Let's check with the graph, only from โ1 to 3.
The highest point is at x = โ1, and the lowest at x = 2.
Right!
Let's look back.
First: critical points.
Then: keep the ones inside.
Then: test every candidate.
Then: biggest and smallest.
Last: check.
Answer min : โ3 at x = 2
โถ Watch it solved
The question
Question: find the absolute maximum and minimum of f(x) = xยณ โ 3x on [0, 3].
f(x) = x3 โ 3x
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) โ 3 ร 1
Now we have fโฒ(x) = 3xยฒ โ 3.
= 3x2 โ 3
Critical points: where the slope is 0.
Solve fโฒ(x) = 0.
fโฒ(x) = 0
3x2 โ 3 = 0
Take out the 3.
3(x2 โ 1) = 0
xยฒ โ 1 is a difference of two squares: xยฒ minus 1 squared.
So it is (x โ 1)(x + 1).
3(x + 1)(x โ 1) = 0
aยฒ โ bยฒ = (a โ b)(a + b), b = 1
A product is 0 only when one of its parts is 0.
a ร b = 0 โ a = 0 or b = 0
So x = โ1 or x = 1.
x = โ1 or x = 1
2 Keep the ones inside
x = โ1 is outside the interval.
Throw it away.
x = โ1 not in [0, 3] โ
x = 1 is inside the interval.
Keep it.
x = 1 in [0, 3] โ
3 Test every candidate
The left end: f of 0 is 0.
f(0) = 03 โ 3(0) = 0 + 0 = 0
The critical point: f of 1 is โ2.
f(1) = 13 โ 3(1) = 1 โ 3 = โ2
The right end: f of 3 is 18.
f(3) = 33 โ 3(3) = 27 โ 9 = 18
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 18, at x = 3.
That is the absolute maximum.
max : 18 at x = 3
The smallest value is โ2, at x = 1.
That is the absolute minimum.
min : โ2 at x = 1
5 Check
Let's check one more point: x = 1.5 gives โ1.12.
It is between the min and the max.
Right!
f(1.5) = โ1.12: between โ2 and 18
Let's look back.
First: critical points.
Then: keep the ones inside.
Then: test every candidate.
Then: biggest and smallest.
Last: check.
Answer min : โ2 at x = 1
โถ Watch it solved
The question
Question: find the absolute maximum and minimum of f(x) = xยณ โ 3x on [โ2, 2].
f(x) = x3 โ 3x
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) โ 3 ร 1
Now we have fโฒ(x) = 3xยฒ โ 3.
= 3x2 โ 3
Critical points: where the slope is 0.
Solve fโฒ(x) = 0.
fโฒ(x) = 0
3x2 โ 3 = 0
Take out the 3.
3(x2 โ 1) = 0
xยฒ โ 1 is a difference of two squares: xยฒ minus 1 squared.
So it is (x โ 1)(x + 1).
3(x + 1)(x โ 1) = 0
aยฒ โ bยฒ = (a โ b)(a + b), b = 1
A product is 0 only when one of its parts is 0.
a ร b = 0 โ a = 0 or b = 0
So x = โ1 or x = 1.
x = โ1 or x = 1
2 Keep the ones inside
x = โ1 is inside the interval.
Keep it.
x = โ1 in [โ2, 2] โ
x = 1 is inside the interval.
Keep it.
x = 1 in [โ2, 2] โ
3 Test every candidate
The left end: f of โ2 is โ2.
f(โ2) = (โ2)3 โ 3(โ2) = โ8 + 6 = โ2
The critical point: f of โ1 is 2.
f(โ1) = (โ1)3 โ 3(โ1) = โ1 + 3 = 2
The critical point: f of 1 is โ2.
f(1) = 13 โ 3(1) = 1 โ 3 = โ2
The right end: f of 2 is 2.
f(2) = 23 โ 3(2) = 8 โ 6 = 2
4 Biggest and smallest
Careful!
The minimum 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 2, at x = โ1 and x = 2.
That is the absolute maximum.
max : 2 at x = โ1 and x = 2
The smallest value is โ2, at x = โ2 and x = 1.
That is the absolute minimum.
min : โ2 at x = โ2 and x = 1
5 Check
Let's check with the graph, only from โ2 to 2.
The highest point is at x = โ1 and x = 2, and the lowest at x = โ2 and x = 1.
Right!
Let's look back.
First: critical points.
Then: keep the ones inside.
Then: test every candidate.
Then: biggest and smallest.
Last: check.
Answer min : โ2 at x = โ2 and x = 1
โถ Watch it solved