5.6 · SLPaper 1Paper 2

Local maximum and minimum points

In a minute

At a or inside the of a smooth curve, the is zero, so you find these points by solving f′(x)=0f'(x) = 0. On Paper 2 your GDC can draw y=f′(x)y = f'(x) from f(x)f(x) and solve the equation for you. A local maximum need not be the greatest value on the : check the end points too.

You'll be able to

  • Solve f′(x)=0f'(x) = 0 to find the xx-values at which a curve has a horizontal .
  • Use your GDC to generate f′(x)f'(x) from f(x)f(x) and solve f′(x)=0f'(x) = 0, writing down the equation you solve.
  • Find the coordinates of local maximum and minimum points, decide which is which, and say what they mean in context.
  • Find the greatest and least values of a model on its domain, checking the end points as well as the local maximum and minimum points.
Before you start3 quick questions on what this builds on
Check yourself
Let f(x)=4x3−5x2+7f(x) = 4x^{3} - 5x^{2} + 7. Find f′(x)f'(x).
Check yourself
A function has f′(x)=x2−9f'(x) = x^{2} - 9. Is ff increasing or decreasing at x=2x = 2?
Check yourself
Use your GDC to find the yy-coordinate of the local maximum point of y=−x3+5x+2y = -x^{3} + 5x + 2. Give it to 3 s.f.

Revise first: 2.1 Straight-line equations, 2.2 Function concepts, domain and range, 2.4 Key features of graphs, 5.1 Limits and the derivative as a rate of change, 5.2 Increasing and decreasing functions, 5.3 Differentiation of integer-power polynomials and 5.4 Tangents and normals

Where the gradient is zero

The graph below shows a fish population. It falls to a low point, then climbs to a high point. At each turning point the curve is flat for an instant: the there is horizontal.

1 2 3 4 5 6 7 2 4 6 8 t P local min (2, 4.8) local max (6, 8) P(t)
P(t)=−0.1t3+1.2t2−3.6t+8P(t) = -0.1t^{3} + 1.2t^{2} - 3.6t + 8. The tangent is horizontal at each turning point.

A horizontal tangent has gradient 0. So at a local maximum or local minimum of a smooth curve, f′(x)=0f'(x) = 0. In 5.2 you called points like this .

The reverse is not always true. f′(a)=0f'(a) = 0 only says the tangent is flat. You saw in 5.2 that y=x3y = x^{3} is flat at the origin but rises on both sides of it.

1. Find f′(x)f'(x) and solve f′(x)=0f'(x) = 0. The solutions are the xx-values where the gradient is zero. Keep only those in the domain.

2. Substitute each solution into f(x)f(x), not f′(x)f'(x), to find the yy-coordinate.

3. Decide what each point is, from the graph or from the sign of f′(x)f'(x) just either side. Test values closer to the point than any other solution, with no break in the graph in between.

Worked exampleLet f(x)=2x3−9x2+12x−1f(x) = 2x^{3} - 9x^{2} + 12x - 1. Find the coordinates of the points on the graph of ff where the gradient is zero. Decide whether each is a local maximum or a local minimum.

Try it first, then reveal one step at a time.

  1. Differentiate: f′(x)=6x2−18x+12f'(x) = 6x^{2} - 18x + 12.
Worked exampleAfter a disease outbreak, the number of fish in a lake is modelled by P(t)=−0.1t3+1.2t2−3.6t+8P(t) = -0.1t^{3} + 1.2t^{2} - 3.6t + 8, where PP is in thousands and tt is the time in years, for 0≤t≤70 \le t \le 7. This is the graph above. (a) Find P′(t)P'(t). (b) Find the coordinates of the local minimum point and the local maximum point. (c) Interpret these points in context.

Try it first, then reveal one step at a time.

  1. (a) P′(t)=−0.3t2+2.4t−3.6P'(t) = -0.3t^{2} + 2.4t - 3.6.
Check yourself
Let f(x)=x3−3x2−24x+10f(x) = x^{3} - 3x^{2} - 24x + 10. Find the values of xx where the gradient of the graph of ff is zero.
Check yourself
Let g(x)=x4−4x3g(x) = x^{4} - 4x^{3}, so g′(x)=4x3−12x2=4x2(x−3)g'(x) = 4x^{3} - 12x^{2} = 4x^{2}(x - 3). The gradient is zero at x=0x = 0 and at x=3x = 3. What is the point on the graph at x=0x = 0?

Solving $f'(x) = 0$ with technology

On Paper 2 a model can be hard to differentiate, or f′(x)=0f'(x) = 0 hard to solve by hand. Your GDC does that work. You still write down the equation you are solving, then give the GDC's values.

There are two routes. If f(x)f(x) is a sum of integer powers of xx, differentiate it by hand as in 5.3. Then let the GDC solve f′(x)=0f'(x) = 0: with its polynomial solver if f′(x)f'(x) is a polynomial, or by graphing y=f′(x)y = f'(x) if it has a negative power, such as −450x2-\frac{450}{x^{2}}.

If you can't differentiate f(x)f(x), for example because it contains ex\mathrm{e}^{x}, let the GDC generate f′(x)f'(x). It can't write f′(x)f'(x) as a formula, but its numerical derivative tool draws the graph of y=f′(x)y = f'(x) from f(x)f(x). The zeros of that graph are the solutions of f′(x)=0f'(x) = 0.

Worked exampleA hiking trail climbs over a hill. Its height above sea level is modelled by h(x)=0.4x3−5x2+16x+300h(x) = 0.4x^{3} - 5x^{2} + 16x + 300 metres, where xx km is the distance along the trail, for 0≤x≤90 \le x \le 9. (a) Find h′(x)h'(x). (b) Use your GDC to solve h′(x)=0h'(x) = 0. Give your answers to 3 s.f. (c) Find the coordinates of the local maximum point, and interpret them.

Try it first, then reveal one step at a time.

  1. (a) h′(x)=1.2x2−10x+16h'(x) = 1.2x^{2} - 10x + 16.

You can check part (c) another way. The GDC's maximum tool on y=h(x)y = h(x) finds the same point, because the local maximum is where h′(x)=0h'(x) = 0. Set a window that shows the hill first: the heights are near 300, far above the standard window.

Check yourself
A factory's average cost per item, CC dollars, when it makes xx hundred items a day is modelled by C(x)=0.002x2+3+450xC(x) = 0.002x^{2} + 3 + \frac{450}{x}, for x>0x > 0. Find C′(x)C'(x), then use your GDC to find the value of xx for which C′(x)=0C'(x) = 0. Give your answer to 3 s.f.
Worked exampleA streaming service models its number of subscribers by S(t)=40+25te−0.2t+2tS(t) = 40 + 25t\mathrm{e}^{-0.2t} + 2t, where SS is in thousands and tt is the number of months after launch, for 0≤t≤300 \le t \le 30. (a) Use your GDC to find the values of tt for which S′(t)=0S'(t) = 0. Give your answers to 3 s.f. (b) Interpret the smaller value in context.

Try it first, then reveal one step at a time.

  1. (a) You can't differentiate 25te−0.2t25t\mathrm{e}^{-0.2t} by hand at SL, so let the GDC generate S′(t)S'(t). Enter S(t)S(t) as the first function and its numerical derivative as the second.

Local is not always the greatest or least

A local maximum is only the highest point near it. On a restricted domain, the graph may climb higher somewhere else, often at an end point. The same goes for a local minimum.

2 4 6 8 10 −20 20 40 60 80 100 x P local max (3, 61) local min (7, 29) greatest (10, 110) least (0, −20) P(x)
P(x)=x3−15x2+63x−20P(x) = x^{3} - 15x^{2} + 63x - 20 for 0≤x≤100 \le x \le 10. The greatest and least values are at the end points, not at the turning points.

So list the candidates: the local maximum and minimum points, and both end points. Work out ff at each and compare the values.

Worked exampleA workshop's weekly profit is modelled by P(x)=x3−15x2+63x−20P(x) = x^{3} - 15x^{2} + 63x - 20, where PP is in thousands of dollars and xx is the number of items made, in hundreds, for 0≤x≤100 \le x \le 10. This is the graph above. (a) Find the local maximum point. (b) Find the greatest weekly profit the model predicts, and comment on your answer to (a).

Try it first, then reveal one step at a time.

  1. (a) P′(x)=3x2−30x+63=3(x−3)(x−7)P'(x) = 3x^{2} - 30x + 63 = 3(x - 3)(x - 7), so P′(x)=0P'(x) = 0 at x=3x = 3 and x=7x = 7.
Check yourself
Let f(x)=x3−7.5x2+12x+2.5f(x) = x^{3} - 7.5x^{2} + 12x + 2.5, for 0≤x≤60 \le x \le 6. Its graph has a local maximum point (1,8)(1, 8) and a local minimum point (4,−5.5)(4, -5.5). Find the greatest value of ff on this domain.
Worked exampleUse the streaming model from the previous section: S(t)=40+25te−0.2t+2tS(t) = 40 + 25t\mathrm{e}^{-0.2t} + 2t thousand subscribers, for 0≤t≤300 \le t \le 30. Its local maximum is at t=6.45439…t = 6.45439\ldots and its local minimum at t=17.0102…t = 17.0102\ldots. Find the greatest number of subscribers in the first 30 months, to 3 s.f., and comment on your answer.

Try it first, then reveal one step at a time.

  1. A local minimum has higher points right next to it, so it can't be the greatest value. The candidates are the local maximum and the two end points.

To find S(30)S(30) on the GDC, set a window that includes t=30t = 30 first: the TI-84's value tool only accepts an xx inside the window.

Common mistakes

  • Substituting the xx-value into f′(x)f'(x) to find the yy-coordinate. That always gives 0; use f(x)f(x).
  • Giving the local maximum as the greatest value of a model on a restricted domain. Work out the value at each end point and compare.
  • Writing only a GDC answer. Write down the equation f′(x)=0f'(x) = 0 with your derivative in it, so the method mark can be awarded.
  • Rounding xx before substituting it into f(x)f(x). Keep the GDC's full value and round only the final answer to 3 s.f.
  • Answering with xx when the question asks for the maximum value. "Find the maximum value" wants f(x)f(x) there; "find where" wants xx.
  • Keeping a solution of f′(x)=0f'(x) = 0 that lies outside the domain, such as a negative time. Reject it and say why.

Exam tips

  • "Find the coordinates" of a local maximum or minimum: give both, (x,y)(x, y), with the yy-value worked out from f(x)f(x) and given exactly or to 3 s.f.
  • "Use your answer to (a) to find" or "hence": set the derivative you found equal to zero and show that line. Using only the GDC's maximum tool on ff may not earn the method marks.
  • "Justify" that a point is a local maximum: give the sign of f′(x)f'(x) just either side, such as h′(1)=7.2>0h'(1) = 7.2 > 0 and h′(3)=−3.2<0h'(3) = -3.2 < 0 either side of x≈2.16x \approx 2.16.

Key takeaways

Learn thisAt a local maximum or local minimum inside the domain of a smooth curve, f′(x)=0f'(x) = 0: the tangent there is horizontal.
Learn thisTo find local maximum and minimum points, solve f′(x)=0f'(x) = 0 for xx, check whether each is a maximum, a minimum or neither, then find each yy-coordinate from f(x)f(x), not from f′(x)f'(x).
Learn thisIf f′(a)=0f'(a) = 0 and f′(x)f'(x) changes from ++ to −- as xx increases through aa, there is a local maximum at x=ax = a. From −- to ++ it is a local minimum. With no change of sign it is neither.
Learn thisWith a GDC, write down f′(x)=0f'(x) = 0, then solve it with the equation solver, or draw y=f′(x)y = f'(x) with the numerical derivative and find its zeros.
Learn thisA local maximum or minimum need not be the greatest or least value on the domain. For a graph with no breaks or sharp corners on a≤x≤ba \le x \le b, compare ff at the local maximum and minimum points and at both end points.

Practise this

39 past-paper questions on Applications of differentiation in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Applications of differentiation →