I can
- find the greatest or least value of a function on an interval
- solve problems about the largest product, area or height
- count the real roots of a cubic by using its turning points
Key idea
On an interval like 0 ≤ x ≤ 3, the greatest and least values are at a stationary point inside the interval or at one of the two ends. So find f′(x) = 0, then work out f at each stationary point inside the interval and at both ends. Pick the biggest or smallest.
For a word problem, write one quantity using one letter, then do the same steps. For a rectangle with perimeter 28, the sides add to 14, so the area is x(14 − x).
For roots of a cubic like x³ − 3x + k = 0, find the turning points of x³ − 3x. The equation x³ − 3x = −k has three roots when the line y = −k cuts the graph three times, which means −k lies strictly between the two turning values.
Worked examples
Example 1: greatest value of f(x) = −2x² + 8x − 11 for 0 ≤ x ≤ 3
Watch it: greatest value of f(x) = −2x² + 8x − 11 for 0 ≤ x ≤ 3, step by step:
- A greatest value is at a stationary point or at an end.
- f(2) = −2 × 4 + 16 − 11 = −3.
- At the end x = 3: f(3) = −18 + 24 − 11 = −5.
- The other end.
- Compare the three values.
- The greatest value is −3, at x = 2.
- f′(x) = −4x + 8 = 0, so x = 2.
- f(2) = −8 + 16 − 11 = −3.
- Ends: f(0) = −11 and f(3) = −18 + 24 − 11 = −5.
- The biggest of −3, −11 and −5 is −3.
Greatest value = −3
Example 2: rectangle with perimeter 28 cm
Watch it: rectangle with perimeter 28 cm, largest area, step by step:
- Half the perimeter is 14, so the sides are x and 14 − x.
- The largest area is where the gradient is 0.
- Both sides are 7, so A = 7 × 7 = 49.
- The rectangle is a square.
- The area A is largest at x = 7, where A = 49.
- Sides add to 14. Area A = x(14 − x) = 14x − x².
- A′ = 14 − 2x = 0, so x = 7.
- A = 7 × 7 = 49.
Largest area = 49 cm²
Example 3: x³ − 3x + k = 0 has three distinct real roots. How many integer k?
Watch it: x³ − 3x + k = 0 with three distinct real roots, step by step:
- Find the turning points of g.
- Put x = −1 and x = 1 into g.
- Three roots need the line y = −k to cut between the turning points.
- Multiply by −1 and swap the signs.
- −1, 0 and 1 all fit.
- The line y = −k must cut the curve three times, so −k is between −2 and 2.
- g(x) = x³ − 3x has g′(x) = 3x² − 3 = 0, so x = ±1.
- g(−1) = 2 and g(1) = −2.
- Three roots need −2 < −k < 2, which means −2 < k < 2.
- The integers are −1, 0, 1.
Answer: 3
Try it
Show answer
6Show answer
18Show answer
36Show answer
5Show answer
0, 4Show answer
53Common mistakes
- Forgetting to check the ends of the interval.
- Using a stationary point that lies outside the interval.
- Allowing the turning value itself when the roots must be distinct. The inequality is strict.
Remember
- Check stationary points inside the interval and both ends.
- Write a word problem with one letter before you differentiate.
- A repeated root happens when −k equals a turning value.
Practise this
Worksheets 81 to 110 of Level 14 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh