Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 5.8 · SL and HL

Maxima, minima, inflexion and optimisation

Where does a function reach its highest and lowest values, how do you prove which is which, and how do you turn that into the best possible answer to a real problem?

What you will learn

  • Know that stationary points are where f'(x) = 0 and how to classify them
  • Understand why f'' = 0 at a stationary point decides nothing
  • Understand that a point of inflexion needs f'' = 0 and a change of sign, with zero or non-zero gradient
  • Know how to set up and solve an optimisation problem, checking the ends of the domain

You must be able to

  1. Find and classify stationary points using f' or f''
  2. Solve an optimisation problem from a context, justifying the maximum or minimum
  3. Find points of inflexion and justify them by the sign change of f''
  4. Find the greatest or least value of a function on a given domain
  5. Determine the stationary points and inflexions of f from the graph of f' or f''
  6. Show that a quantity in context is given by a stated formula

In the exam. Paper 1: find and classify the stationary points of a function (5 to 8 marks), often with its points of inflexion. Paper 2: optimisation in context, setting up a function from a diagram and maximising or minimising it, by hand or with the GDC (6 to 10 marks). Section B questions on both papers often end here. On HL Paper 3 it turns up as a step inside a longer investigation.

1Stationary points

A stationary point is a point on a graph where the gradient is zero, f′(x)=0f'(x) = 0, so the tangent is horizontal. There are three kinds, drawn in Figure 1.

  • A local maximum: the graph climbs to it and drops away afterwards. It beats every point nearby, though not necessarily every point of the graph.
  • A local minimum: the graph falls to it and climbs afterwards.
  • A stationary point of inflexion: the graph pauses for an instant and then carries on in the direction it was already going.

The first two are turning points.

Figure 1 · Three kinds of stationary point local maximum x y f′: + 0 − local minimum x y f′: − 0 + stationary inflexion x y f′: + 0 + All three have f′ = 0. The sign of f′ on either side is what tells them apart.
Figure 1 · Three kinds of stationary point

Three steps find them.

  1. Differentiate, and factorise f′(x)f'(x) if you can.
  2. Solve f′(x)=0f'(x) = 0 for the xx-coordinates.
  3. Put each xx into f(x)f(x), never into f′(x)f'(x), for the yy-coordinate.

Take p(x)=x4−8x2+3p(x) = x^{4} - 8x^{2} + 3.

p′(x)=4x3−16x=4x(x2−4)=4x(x−2)(x+2)\begin{aligned}p'(x) &= 4x^{3} - 16x \\[6pt] &= 4x(x^{2} - 4) \\[6pt] &= 4x(x-2)(x+2)\end{aligned}p′(x)=0  ⇔  x=−2, 0 or 2p'(x) = 0 \;\Leftrightarrow\; x = -2,\ 0\ \text{or}\ 2p(0)=3,p(±2)=16−32+3=−13into p, not p′p(0) = 3, \quad p(\pm 2) = 16 - 32 + 3 = -13 \qquad \textcolor{#838c91}{\text{into }p\text{, not }p'}

The stationary points are (−2,−13)(-2, -13), (0,3)(0, 3) and (2,−13)(2, -13). Now decide what each one is.

2The first derivative test: watch the sign of f′f'

Figure 1 puts the rule under each picture. Look at the sign of f′f' just left of the point, at the point and just right of it.

+,0,−+, 0, - is a local maximum. −,0,+-, 0, + is a local minimum. +,0,++, 0, + or −,0,−-, 0, - is a stationary point of inflexion.

For p′(x)=4x(x−2)(x+2)p'(x) = 4x(x-2)(x+2), take a test value in each of the four intervals.

x=−3:p′(−3)=4(−3)(−5)(−1)=−60<0decreasingx = -3: \quad p'(-3) = 4(-3)(-5)(-1) = -60 < 0 \qquad \textcolor{#838c91}{\text{decreasing}}x=−1:p′(−1)=4(−1)(−3)(1)=12>0increasingx = -1: \quad p'(-1) = 4(-1)(-3)(1) = 12 > 0 \qquad \textcolor{#838c91}{\text{increasing}}x=1:p′(1)=4(1)(−1)(3)=−12<0decreasingx = 1: \quad p'(1) = 4(1)(-1)(3) = -12 < 0 \qquad \textcolor{#838c91}{\text{decreasing}}x=3:p′(3)=4(3)(1)(5)=60>0increasingx = 3: \quad p'(3) = 4(3)(1)(5) = 60 > 0 \qquad \textcolor{#838c91}{\text{increasing}}
  • So p′p' goes −,0,+-,0,+ at x=−2x=-2 (a local minimum), +,0,−+,0,- at x=0x=0 (a local maximum) and −,0,+-,0,+ at x=2x=2 (a local minimum).
  • A test value must have no other zero of f′f' between it and the point it tests. That is why every interval above got its own value.

Now a cubic with a sign diagram to look at: f(x)=2x3−3x2−12x+5f(x) = 2x^{3} - 3x^{2} - 12x + 5.

f′(x)=6x2−6x−12=6(x+1)(x−2)\begin{aligned}f'(x) &= 6x^{2} - 6x - 12 \\[6pt] &= 6(x+1)(x-2)\end{aligned}f′(x)=0  ⇔  x=−1 or x=2f'(x) = 0 \;\Leftrightarrow\; x = -1 \ \text{or}\ x = 2f(−1)=−2−3+12+5=12f(-1) = -2 - 3 + 12 + 5 = 12f(2)=16−12−24+5=−15f(2) = 16 - 12 - 24 + 5 = -15f′(−2)=24>0,f′(0)=−12<0,f′(3)=24>0f'(-2) = 24 > 0, \quad f'(0) = -12 < 0, \quad f'(3) = 24 > 0
  • The signs run +,0,−+,0,- through x=−1x=-1 and −,0,+-,0,+ through x=2x=2. So (−1,12)(-1, 12) is a local maximum and (2,−15)(2, -15) a local minimum. Figure 2 draws the graph with the sign diagram underneath.
  • On an exam paper the sign diagram, or the test values, is your reason. It earns the R mark.
Figure 2 · Classifying the stationary points of f(x) = 2x³ − 3x² − 12x + 5 x y 1 3 −16 −8 8 −2 local max (−1, 12) local min (2, −15) −1 2 f′ > 0 ↗ f′ < 0 ↘ f′ > 0 ↗ f′(x) = 6(x + 1)(x − 2). Up, then down, then up: a maximum at x = −1 and a minimum at x = 2.
Figure 2 · Classifying the stationary points of f(x) = 2x³ − 3x² − 12x + 5

When you are given the graph of f′f'. Exams often show f′f' and ask about ff. Read the graph as a ready-made sign diagram.

  • It crosses the xx-axis from below to above: f′f' goes −,0,+-,0,+, so ff has a local minimum.
  • It crosses from above to below: ff has a local maximum.
  • It only touches the axis and stays on one side: f′f' keeps its sign, so ff has a stationary point of inflexion.

Suppose the graph of f′f' is the cubic f′(x)=(3−x)(x+1)2f'(x) = (3-x)(x+1)^{2}.

x=3: f′ crosses from + to −local maximum of fx = 3:\ f'\ \text{crosses from}\ +\ \text{to}\ - \qquad \textcolor{#838c91}{\text{local maximum of }f}x=−1: f′ touches the axis, stays +stationary point of inflexion of fx = -1:\ f'\ \text{touches the axis, stays}\ + \qquad \textcolor{#838c91}{\text{stationary point of inflexion of }f}
  • Write "f′f'" in the reason, not just "the gradient". An answer that does not say whether it means the gradient of ff or of f′f' can lose the mark.

3The second derivative test: which way does it bend?

From 5.7, f′′f'' gives the concavity. A stationary point on a concave-down stretch is the top of a cap, a maximum. On a concave-up stretch it is the bottom of a cup, a minimum.

At a stationary point: f′′(x)<0f''(x) < 0 means a local maximum. f′′(x)>0f''(x) > 0 means a local minimum. If f′′(x)=0f''(x) = 0, the test says nothing.

Back to the cubic: f′′(x)=12x−6f''(x) = 12x - 6.

f′′(−1)=−18<0concave down: local maximum at (−1,12)f''(-1) = -18 < 0 \qquad \textcolor{#838c91}{\text{concave down: local maximum at }(-1, 12)}f′′(2)=18>0concave up: local minimum at (2,−15)f''(2) = 18 > 0 \qquad \textcolor{#838c91}{\text{concave up: local minimum at }(2, -15)}

Same verdicts in two lines. Which test:

  • Use the second derivative when f′′f'' is easy to find.
  • Use the sign of f′f' when f′′f'' is messy.
  • The sign of f′f' is the only test that works when f′′=0f'' = 0.

If the question names a test, use that one.

Why f′′=0f''=0 settles nothing

  • In Figure 3, y=x4y = x^{4}, y=−x4y = -x^{4} and y=x3y = x^{3} all have f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0. Yet the origin is a minimum, a maximum and a stationary inflexion respectively.
  • So when f′′=0f'' = 0 at a stationary point, go back to the sign of f′f'. For y=x4y = x^{4}, f′(x)=4x3f'(x) = 4x^{3} is negative for x<0x < 0 and positive for x>0x > 0, so the origin is a minimum.
Figure 3 · f′(0) = 0 and f″(0) = 0 in all three y = x⁴: minimum x y y = −x⁴: maximum x y y = x³: inflexion x y f′: − 0 + f′: + 0 − f′: + 0 + Same two facts, three different stationary points. When f″ = 0, go back to the sign of f′.
Figure 3 · f′(0) = 0 and f″(0) = 0 in all three

4Concavity and points of inflexion

A point of inflexion = a point where the graph switches concavity, from concave up to concave down or the other way round.

  • Concave up means f′′(x)>0f''(x) > 0. Concave down means f′′(x)<0f''(x) < 0. Since f′′f'' is positive on one side and negative on the other, it is zero at the point itself.
  • The guide is careful about the converse. So must you be.

At a point of inflexion, f′′(x)=0f''(x) = 0 and f′′f'' changes sign. f′′(x)=0f''(x) = 0 on its own is not enough.

  • The standard warning is y=x4y = x^{4} at the origin. Here f′′(x)=12x2f''(x) = 12x^{2} is zero at 00 but positive on both sides. So the graph is concave up all the way through and the origin is a minimum.
    • Anyone who solves f′′=0f''=0 and stops calls it an inflexion.

Points of inflexion come in two kinds.

  • A stationary point of inflexion has f′=0f' = 0 as well: a horizontal tangent, like y=x3y = x^{3} at the origin.
  • A non-stationary point of inflexion has f′≠0f' \ne 0: the graph switches its bend while still rising or falling. These are the common ones. A cubic has exactly one inflexion, and it is non-stationary unless f′f' happens to be zero there too.
  • At either kind the tangent crosses the curve from one side to the other. That is why the tangents in Figure 4 cut through the graph.

A function with both kinds. f(x)=x4−4x3f(x) = x^{4} - 4x^{3} is drawn in Figure 4.

f′(x)=4x3−12x2=4x2(x−3)\begin{aligned}f'(x) &= 4x^{3} - 12x^{2} \\[6pt] &= 4x^{2}(x-3)\end{aligned}f′′(x)=12x2−24x=12x(x−2)\begin{aligned}f''(x) &= 12x^{2} - 24x \\[6pt] &= 12x(x-2)\end{aligned}

Stationary points. f′(x)=0f'(x) = 0 at x=0x = 0 and x=3x = 3, with f(0)=0f(0) = 0 and f(3)=81−108=−27f(3) = 81 - 108 = -27.

  • At x=3x = 3, f′′(3)=108−72=36>0f''(3) = 108 - 72 = 36 > 0, so (3,−27)(3, -27) is a local minimum.
  • At x=0x = 0, f′′(0)=0f''(0) = 0, so the second derivative test fails. Use the sign of f′f': f′(−1)=4(1)(−4)=−16<0f'(-1) = 4(1)(-4) = -16 < 0 and f′(1)=4(1)(−2)=−8<0f'(1) = 4(1)(-2) = -8 < 0. The signs run −,0,−-, 0, -, so (0,0)(0, 0) is a stationary point of inflexion.

Points of inflexion. f′′(x)=0f''(x) = 0 at x=0x = 0 and x=2x = 2. Check the sign change at each.

f′′(−1)=36>0,f′′(1)=−12<0changes sign at x=0f''(-1) = 36 > 0, \quad f''(1) = -12 < 0 \qquad \textcolor{#838c91}{\text{changes sign at }x = 0}f′′(1)=−12<0,f′′(3)=36>0changes sign at x=2f''(1) = -12 < 0, \quad f''(3) = 36 > 0 \qquad \textcolor{#838c91}{\text{changes sign at }x = 2}f(2)=16−32=−16,f′(2)=4(4)(−1)=−16f(2) = 16 - 32 = -16, \quad f'(2) = 4(4)(-1) = -16
  • So (0,0)(0, 0) is an inflexion with zero gradient and (2,−16)(2, -16) an inflexion with gradient −16-16.
  • The graph is concave up for x<0x<0, concave down for 0<x<20<x<2 and concave up for x>2x>2.
  • f′(x)=4x2(x−3)f'(x)=4x^{2}(x-3) is negative except at x=0x=0 and x=3x=3. So ff is decreasing for x<3x<3, merely pausing at the origin, and increasing for x>3x>3.
  • When a question says "sketch", mark the stationary points and inflexions with coordinates, as Figure 4 does.
Figure 4 · Two kinds of point of inflexion on y = x⁴ − 4x³ x y −1 1 2 3 −24 −16 −8 8 4 O: stationary inflexion B (2, −16) non-stationary inflexion A (3, −27): minimum At O the curve changes bend with a horizontal tangent; at B it changes bend with gradient −16.
Figure 4 · Two kinds of point of inflexion on y = x⁴ − 4x³

An exact-value example for Paper 1. Let g(x)=x2(3−2ln⁡x)g(x) = x^{2}(3 - 2\ln x), for x>0x > 0.

g′(x)=2x(3−2ln⁡x)+x2(−2x)product rule=4x−4xln⁡x=4x(1−ln⁡x)\begin{aligned}g'(x) &= 2x(3 - 2\ln x) + x^{2}\left(-\frac{2}{x}\right) && \textcolor{#838c91}{\text{product rule}} \\[6pt] &= 4x - 4x\ln x = 4x(1 - \ln x)\end{aligned}g′(x)=0  ⇔  ln⁡x=1  ⇔  x=ex=0 is outside the domaing'(x) = 0 \;\Leftrightarrow\; \ln x = 1 \;\Leftrightarrow\; x = e \qquad \textcolor{#838c91}{x = 0\text{ is outside the domain}}g(e)=e2(3−2)=e2g(e) = e^{2}(3 - 2) = e^{2}g′′(x)=4(1−ln⁡x)+4x(−1x)=−4ln⁡xg''(x) = 4(1 - \ln x) + 4x\left(-\frac{1}{x}\right) = -4\ln xg′′(e)=−4<0local maximum (e,e2)g''(e) = -4 < 0 \qquad \textcolor{#838c91}{\text{local maximum }\left(e, e^{2}\right)}g′′(x)=0  ⇔  ln⁡x=0  ⇔  x=1g''(x) = 0 \;\Leftrightarrow\; \ln x = 0 \;\Leftrightarrow\; x = 1g(1)=3,g′(1)=4g(1) = 3, \quad g'(1) = 4
  • −4ln⁡x-4\ln x is positive for 0<x<10 < x < 1 and negative for x>1x > 1, so g′′g'' changes sign at x=1x = 1: the graph is concave up, then concave down.
  • The maximum is (e,e2)\left(e, e^{2}\right) and the inflexion is (1,3)(1, 3), non-stationary since its gradient is 44. Keep exact values on Paper 1: e2e^{2}, not 7.397.39.

Inflexions from the graph of f′f'

  • f′′f'' is the gradient of f′f'. So an inflexion of ff is a turning point of f′f', where it stops rising and starts falling, or the reverse. Where f′f' rises, ff is concave up. Where f′f' falls, ff is concave down.
  • Take the graph f′(x)=(3−x)(x+1)2f'(x)=(3-x)(x+1)^{2} from section 3. By the product rule, f′′(x)=(x+1)(5−3x)f''(x)=(x+1)(5-3x). So f′f' has a turning point at:
    • x=−1x=-1, where f′=0f'=0: the stationary inflexion of ff.
    • x=53x=\tfrac53, where f′=25627f'=\tfrac{256}{27}: a non-stationary inflexion of ff.
  • ff is concave down for x<−1x<-1 and x>53x>\tfrac53, and concave up between. The reason to write is "f′f' has a turning point here", or "f′′=0f''=0 and changes sign".

Inflexions from the graph of f′′f''

  • When the graph you are given is f′′f'' itself, read the inflexions of ff straight off it. They are at the xx-intercepts where the graph crosses the xx-axis.
    • Where it only touches the axis and turns back, f′′f'' keeps its sign and there is no inflexion. Example: f′′(x)=12x2f''(x) = 12x^{2} at x=0x = 0 for y=x4y = x^{4}.
    • Where the graph of f′′f'' is above the axis, ff is concave up. Below it, ff is concave down.
  • Write "the graph of f′′f'' crosses the xx-axis at x=ax = a, so f′′f'' changes sign" as the reason.

5Local or greatest? Check the ends

A local maximum is only the top of its own hill. The greatest value of a function on a domain (the global or absolute maximum) may be elsewhere. On a closed interval it is often at an end point, where the graph just stops.

Take f(x)=2x3−3x2−12x+5f(x) = 2x^{3} - 3x^{2} - 12x + 5 again, now on −2≤x≤4-2 \le x \le 4. The candidates are the stationary points and the two ends.

xx−2-2 (end)−1-1 (local max)22 (local min)44 (end)
f(x)f(x)111212−15-153737
  • The greatest value is 3737, at the end x=4x = 4; the local maximum 1212 is not it.
  • The least value is −15-15, at the local minimum. So the range on this domain is −15≤f(x)≤37-15 \le f(x) \le 37. Figure 5 shows why.
Figure 5 · Local is not the same as greatest x y −1 1 2 3 4 −15 −10 −5 5 10 15 20 25 30 35 (−2, 1) (4, 37) greatest local max (−1, 12) least (2, −15) On −2 ≤ x ≤ 4 the local maximum is 12, but the greatest value is 37, at the end point x = 4.
Figure 5 · Local is not the same as greatest

A second case, where the ends win both ways. The depth of water in a reservoir, in cm, is D(t)=t3−9t2+15t+30D(t) = t^{3} - 9t^{2} + 15t + 30 for 0≤t≤80 \le t \le 8 hours.

D′(t)=3t2−18t+15=3(t−1)(t−5)D'(t) = 3t^{2} - 18t + 15 = 3(t-1)(t-5)D(0)=30,D(1)=37,D(5)=5,D(8)=86D(0) = 30, \quad D(1) = 37, \quad D(5) = 5, \quad D(8) = 86
  • The depth is greatest at the end, 86 cm86\ \mathrm{cm} when t=8t=8, and least at the interior minimum, 5 cm5\ \mathrm{cm} when t=5t=5. The local maximum 3737 at t=1t=1 is neither.
  • When a question gives a domain and asks for the "maximum value", "minimum value" or "range", also evaluate ff at the ends.

With a GDC (Paper 2). Graph y=f(x)y = f(x) over the domain given and use the maximum or minimum tool for a turning point. Give both coordinates to 3 significant figures.

  • Point of inflexion: graph y=f′(x)y=f'(x) and find its turning point, or graph y=f′′(x)y=f''(x) and find where it crosses the xx-axis (a crossing, not a touch).
  • Window: show the whole domain, so the ends are not missed.
  • Write down which function you graphed.

6Optimisation

Optimisation = finding the value of a variable that makes a quantity as large or as small as possible. Examples: the most volume, the least material, the greatest profit.

The calculus is the easy part. The marks go to the set-up and the justification. Use the same steps every time.

  1. Draw and label a diagram. Name the variables.
  2. Write the quantity to optimise, QQ, in terms of the variables.
  3. If QQ has two variables, use the constraint (the fixed fact in the question) to remove one. QQ must be a function of one variable before you differentiate.
  4. State the domain: the values that make physical sense.
  5. Differentiate, set Q′=0Q' = 0 and solve.
  6. Justify that it is a maximum or a minimum: second derivative, sign of Q′Q', or end points.
  7. Answer the question asked, with units. If it asked for the greatest volume, a value of xx is not the answer.

Example A, area, with end points (Paper 1). A 40 cm40\ \mathrm{cm} length of wire is cut into two pieces. One piece is bent into a square and the other into a circle. Find where to cut so that the total area enclosed is least.

  • Let the square use x cmx\ \mathrm{cm} of wire, so the circle uses (40−x) cm(40 - x)\ \mathrm{cm}, and 0≤x≤400 \le x \le 40. Figure 6(a) shows the two shapes.
  • The square has side x4\tfrac{x}{4}. The circle has circumference 40−x=2πr40 - x = 2\pi r, so r=40−x2πr = \tfrac{40 - x}{2\pi} and its area is πr2=(40−x)24π\pi r^{2} = \tfrac{(40 - x)^{2}}{4\pi}.
A=x216+(40−x)24πsquare plus circle, one variableA = \frac{x^{2}}{16} + \frac{(40 - x)^{2}}{4\pi} \qquad \textcolor{#838c91}{\text{square plus circle, one variable}}domain: 0≤x≤40all circle at one end, all square at the other\text{domain: } 0 \le x \le 40 \qquad \textcolor{#838c91}{\text{all circle at one end, all square at the other}}dAdx=x8−40−x2π\frac{dA}{dx} = \frac{x}{8} - \frac{40 - x}{2\pi}dAdx=0  ⇒  πx=4(40−x)  ⇒  x=160π+4=22.4…\frac{dA}{dx} = 0 \;\Rightarrow\; \pi x = 4(40 - x) \;\Rightarrow\; x = \frac{160}{\pi + 4} = 22.4\ldotsd2Adx2=18+12π>0 for all xminimum\frac{d^{2}A}{dx^{2}} = \frac{1}{8} + \frac{1}{2\pi} > 0 \ \text{for all}\ x \qquad \textcolor{#838c91}{\text{minimum}}A=1600(π+4)2+400π(π+4)2=400π+4=56.0…40−x=40ππ+4A = \frac{1600}{(\pi + 4)^{2}} + \frac{400\pi}{(\pi + 4)^{2}} = \frac{400}{\pi + 4} = 56.0\ldots \qquad \textcolor{#838c91}{40 - x = \frac{40\pi}{\pi + 4}}
  • Cut so that 160π+4≈22.4 cm\tfrac{160}{\pi + 4} \approx 22.4\ \mathrm{cm} forms the square, leaving about 17.6 cm17.6\ \mathrm{cm} for the circle. The least total area is 400π+4≈56.0 cm2\tfrac{400}{\pi + 4} \approx 56.0\ \mathrm{cm^{2}}.
  • Check the end points: A(0)=400π≈127A(0) = \tfrac{400}{\pi} \approx 127 (all circle) and A(40)=100A(40) = 100 (all square), both larger. Figure 6(b): the least area is interior, but the greatest is at an end, x=0x = 0.
Figure 6 · A 40 cm wire cut into a square and a circle (a) The wire, cut at the best place x cm (40 − x) cm square side x/4 circle circumference 40 − x x (cm) A (cm²) 10 20 30 40 40 80 120 (b) Total area against x least (22.4, 56.0) all circle (0, 127) all square (40, 100) A(x) = x²/16 + (40 − x)²/(4π) is least at x = 160/(π + 4) ≈ 22.4, where A = 400/(π + 4) ≈ 56.0.
Figure 6 · A 40 cm wire cut into a square and a circle

Example B, surface area from a volume constraint (Paper 2). A water tank is an open cylinder (no lid) that must hold 8 m38\ \mathrm{m^{3}}. Find the radius that uses the least sheet metal, and that least area.

Two variables, rr and hh, and one constraint: the volume.

πr2h=8  ⇒  h=8πr2constraint\pi r^{2}h = 8 \;\Rightarrow\; h = \frac{8}{\pi r^{2}} \qquad \textcolor{#838c91}{\text{constraint}}A=πr2+2πrhbase plus curved side, no lid=πr2+2πr×8πr2=πr2+16rone variable, r>0\begin{aligned}A &= \pi r^{2} + 2\pi rh && \textcolor{#838c91}{\text{base plus curved side, no lid}} \\[6pt] &= \pi r^{2} + 2\pi r \times \frac{8}{\pi r^{2}} = \pi r^{2} + \frac{16}{r} && \textcolor{#838c91}{\text{one variable, }r > 0}\end{aligned}dAdr=2πr−16r2\frac{dA}{dr} = 2\pi r - \frac{16}{r^{2}}dAdr=0  ⇒  r3=8π  ⇒  r=1.365…≈1.37 m\frac{dA}{dr} = 0 \;\Rightarrow\; r^{3} = \frac{8}{\pi} \;\Rightarrow\; r = 1.365\ldots \approx 1.37\ \mathrm{m}d2Adr2=2π+32r3>0 for all r>0minimum\frac{d^{2}A}{dr^{2}} = 2\pi + \frac{32}{r^{3}} > 0 \ \text{for all}\ r > 0 \qquad \textcolor{#838c91}{\text{minimum}}h=8π×(1.365…)2=1.37 mh = \frac{8}{\pi \times (1.365\ldots)^{2}} = 1.37\ \mathrm{m}A=17.6 m23 s.f.A = 17.6\ \mathrm{m^{2}} \qquad \textcolor{#838c91}{\text{3 s.f.}}
  • The least metal is about 17.6 m217.6\ \mathrm{m^{2}}, with r≈1.37 mr \approx 1.37\ \mathrm{m} and h≈1.37 mh \approx 1.37\ \mathrm{m}. The height equals the radius, since πr3=8\pi r^{3} = 8 gives h=8πr2=rh = \tfrac{8}{\pi r^{2}} = r.
  • Figure 7 shows A(r)A(r): the curved side dominates for small rr, the base for large rr.
  • On Paper 2 you may graph A(r)A(r) on the GDC and use the minimum tool. Still write down the function you graphed: "from GDC, r=1.37r = 1.37" with no function earns little.
Figure 7 · Sheet metal for an open 8 m³ tank against its radius r (m) A (m²) 1 2 3 10 20 30 40 min (1.37, 17.6) A(r) = πr² + 16/r. Too narrow and the side is huge; too wide and the base is. The least metal is used at r ≈ 1.37 m, where A ≈ 17.6 m².
Figure 7 · Sheet metal for an open 8 m³ tank against its radius

Example C, a constraint from geometry (Paper 1). A small greenhouse is a square-based pyramid. Its four sloping edges are glazing bars, each 3 m3\ \mathrm{m} long, meeting at the apex directly above the centre of the base. Find the greatest volume it can enclose, in exact form.

Let the height be hh and the base side ss.

The apex, the centre of the base and one corner make a right-angled triangle. Its sides are:

  • hypotenuse 33 (a bar)
  • one leg hh
  • the other leg, half a diagonal of the base.

Pythagoras is the constraint. hh is the better variable because the base area then comes out with no square root.

(half-diagonal)2=9−h2(\text{half-diagonal})^{2} = 9 - h^{2}s2=2×(half-diagonal)2=18−2h2the diagonal of a square is s2s^{2} = 2 \times (\text{half-diagonal})^{2} = 18 - 2h^{2} \qquad \textcolor{#838c91}{\text{the diagonal of a square is }s\sqrt{2}}V=13s2h=13(18−2h2)h=6h−23h3one variableV = \tfrac{1}{3}s^{2}h = \tfrac{1}{3}(18 - 2h^{2})h = 6h - \tfrac{2}{3}h^{3} \qquad \textcolor{#838c91}{\text{one variable}}domain: 0<h<3a bar is longer than the height\text{domain: } 0 < h < 3 \qquad \textcolor{#838c91}{\text{a bar is longer than the height}}dVdh=6−2h2=0  ⇒  h2=3  ⇒  h=3reject −3\frac{dV}{dh} = 6 - 2h^{2} = 0 \;\Rightarrow\; h^{2} = 3 \;\Rightarrow\; h = \sqrt{3} \qquad \textcolor{#838c91}{\text{reject }-\sqrt{3}}d2Vdh2=−4h<0 for h>0maximum\frac{d^{2}V}{dh^{2}} = -4h < 0 \ \text{for}\ h > 0 \qquad \textcolor{#838c91}{\text{maximum}}s2=18−6=12,V=13×12×3=43s^{2} = 18 - 6 = 12, \quad V = \tfrac{1}{3} \times 12 \times \sqrt{3} = 4\sqrt{3}
  • The greatest volume is 43 m34\sqrt{3}\ \mathrm{m^{3}} (about 6.93 m36.93\ \mathrm{m^{3}}), with height 3 m\sqrt{3}\ \mathrm{m} and base side 23 m2\sqrt{3}\ \mathrm{m}.
  • The root h=−3h = -\sqrt{3} solves V′=0V' = 0 but is not a height. Say so in words when you reject it.
  • The volume is 00 at both ends of the domain (a flat pyramid at h=0h = 0, no base at h=3h = 3). So the one stationary point is the greatest value.
  • When the diagram holds a right-angled triangle, use Pythagoras. Other shapes call for similar triangles or trigonometry. For a rectangle under a curve, the curve's equation is the constraint.

Example D, profit, with end points. A small workshop makes xx hundred chairs a week, where 0≤x≤100 \le x \le 10, and its weekly profit is P(x)=−2x3+27x2−84x+100P(x) = -2x^{3} + 27x^{2} - 84x + 100 hundred dollars.

P′(x)=−6x2+54x−84=−6(x−2)(x−7)\begin{aligned}P'(x) &= -6x^{2} + 54x - 84 \\[6pt] &= -6(x-2)(x-7)\end{aligned}P′(x)=0  ⇔  x=2 or x=7P'(x) = 0 \;\Leftrightarrow\; x = 2 \ \text{or}\ x = 7P′′(x)=−12x+54;P′′(7)=−30<0 (max),P′′(2)=30>0 (min)P''(x) = -12x + 54; \quad P''(7) = -30 < 0\ \text{(max)}, \quad P''(2) = 30 > 0\ \text{(min)}P(7)=149,P(0)=100,P(10)=−40compare with the endsP(7) = 149, \quad P(0) = 100, \quad P(10) = -40 \qquad \textcolor{#838c91}{\text{compare with the ends}}
  • The largest profit is 149149 hundred dollars, $14 900 a week, from 700 chairs.
  • The check of P(0)P(0) and P(10)P(10) is part of the answer. Had either been larger than 149149, the best plan would have been at an end of the domain.

Practice questions

51 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.