Menu
Sign up Sign in

AI HL · 12.9

Differentiation

12.9.13

Optimisation in context

12.9.13

Optimisation in context

Target: I can find the greatest or smallest value of a given model on the calculator, and answer in context. (+4 more)

By the end of this section

Key points

Optimising a given model

  • Graph the model. A maximum is the highest point and a minimum is the lowest point of the part that makes sense.
  • Use the calculator's maximum or minimum tool and read both coordinates.
  • The x-coordinate is where the best value happens. The y-coordinate is the best value.
  • Keep to the domain. In context, lengths, times and prices must be positive.

Building the model from a constraint

  • Draw a diagram and name the variables, with units.
  • Write two formulas: the quantity to optimise, and the constraint (the quantity that is fixed).
  • Use the constraint to make one variable the subject, then substitute. The quantity now depends on one variable.
  • Graph that function for positive values and use the maximum or minimum tool.

Answering in context

  • Say what you found, with units: "The greatest volume is 864 cm³ when the base is 12 cm."
  • If the question asks for a value of the other variable, work it out too, from the constraint.
  • Check the answer is sensible: a length cannot be negative, and a fraction is between 0 and 1.

Classic set-ups

  • Box from a sheet: cut a square of side x from each corner of a sheet l by w. The base is \(l-2x\) by \(w-2x\), the height is x, and \(V=x(l-2x)(w-2x)\). Here x must be less than half the shorter side.
  • Track or window with semicircular ends: a rectangle L by w with a semicircle of diameter w on two ends. The curved parts together make one circle of perimeter \(\pi w\). Perimeter \(=2L+\pi w\).
  • Price and sales: let x be the number of rises. The new price and the number sold both depend on x. Profit \(=(\text{price}-\text{cost})\times(\text{number sold})\).
  • Whole numbers: if the answer must be a whole number, find the maximum on the calculator, then work out the quantity at the whole numbers either side and choose the larger.

On the calculator

Maximum or minimum of a model

  • Enter the model as a function and graph it. Use x as the variable.
  • Choose a window that shows the whole peak or the whole valley, for positive x.
  • Use the maximum (or minimum) tool and read both coordinates.
  • Sketch the graph in your working and mark the point.

Screenshot and video to come

Explore: the greatest volume

An open box with a square base of side x cm and height h cm is made from 432 cm² of card. Change x. The card is fixed, so h changes too. Find the x that gives the greatest volume.


Height, h
Volume, V
dV/dx, the gradient of the graph

The box is drawn in proportion, then enlarged or reduced to fit the picture. Compare the shapes, not the sizes.

Change x to see the box and its volume.

  1. Set x = 2, then x = 20. Why is the volume small at both ends?
  2. What happens to the tangent as the point moves towards the top of the graph? What is the sign of dV/dx on each side?
  3. Show the maximum. At that point, is x bigger or smaller than h? Is that what you expected?
  4. The calculator's maximum tool gives the same point. Why does dV/dx = 0 find it too?

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
Maximise a given model

The concentration of a drug in the blood, \(C\) mg per litre, t hours after it is taken is modelled by \(C=8te^{-0.5t}\), for \(0\le t\le 10\). Find the time when the concentration is greatest, and the greatest concentration.

2468101234567t (hours)C (mg/l)C = 8te^(−0.5t)
Working
  1. Graph the model

    Graph \(y=8xe^{-0.5x}\) for \(0\le x\le 10\)

    From the calculator: use x for t. The graph rises, peaks, then falls. Sketch it.

  2. Find the maximum

    From the calculator: maximum at (2, 5.89)

    Use the calculator's maximum tool.

  3. Answer in context

    The concentration is greatest after 2 hours, at 5.89 mg per litre

    Say what the numbers mean, with units.

Video walkthrough coming
Build the model from a surface-area constraint

An open box (no lid) has a square base of side x cm and height h cm. It is made from 432 cm² of card. Find the greatest possible volume of the box.

xxh​‌‍⁠⁡⁢⁣
Working
  1. Two formulas

    \(V=x^2h\) and \(S=x^2+4xh\)

    The base is one square. There are four sides and no top.

  2. Use the constraint

    \(x^2+4xh=432\), so \(h=\frac{432-x^2}{4x}\)

    The area is fixed at 432. Make h the subject.

  3. One variable

    \(V=x^2\cdot\frac{432-x^2}{4x}=108x-\frac{x^3}{4}\)

    Now V depends on x only.

  4. Maximise

    Graph \(y=108x-\frac{x^3}{4}\), x > 0. From the calculator: maximum at (12, 864)

    Only positive x makes sense for a length.

  5. Answer

    The greatest volume is 864 cm³, when x = 12 and h = 6

    Check h: \(\frac{432-144}{48}=6\).

Video walkthrough coming
Minimise a quantity with a volume constraint

A closed cylindrical can has radius r cm and height h cm. Its volume is 400 cm³. Find the smallest possible surface area of the can.

rh
Working
  1. Two formulas

    \(V=\pi r^2h=400\) and \(S=2\pi r^2+2\pi rh\)

    Two ends and a curved side.

  2. Use the constraint

    \(h=\frac{400}{\pi r^2}\)

    Make h the subject of the volume equation.

  3. One variable

    \(S=2\pi r^2+2\pi r\cdot\frac{400}{\pi r^2}=2\pi r^2+\frac{800}{r}\)

    The \(\pi\) cancels in the second term.

  4. Minimise

    Graph \(y=2\pi x^2+\frac{800}{x}\), x > 0. From the calculator: minimum at (3.99, 301)

    Use the minimum tool this time.

  5. Answer

    The smallest surface area is 301 cm², when r = 3.99 cm and h = 7.99 cm

    A smaller area means less metal.

Video walkthrough coming
An open box from a sheet

A rectangular sheet of card measures 40 cm by 25 cm. A square of side x cm is cut from each corner and the sides are folded up to make an open box. Find the greatest possible volume of the box.

40 cm25 cmx
Working
  1. Sides of the box

    Length \(40-2x\), width \(25-2x\), height x

    Two squares come off each side, so each side loses 2x.

  2. Volume and domain

    \(V=x(40-2x)(25-2x)\), for \(0<x<12.5\)

    The width \(25-2x\) must stay positive, so x is less than 12.5.

  3. Maximise

    Graph \(y=x(40-2x)(25-2x)\) for 0 < x < 12.5. From the calculator: maximum at (5, 2250)

    Use the maximum tool on the part that makes sense.

  4. Answer

    The greatest volume is 2250 cm³, when x = 5

    Check: the box is 30 cm by 15 cm by 5 cm, and \(30\times15\times5=2250\).

Video walkthrough coming
A track with semicircular ends

A running track has two straight sides of length L metres. At each end there is a semicircle of diameter w metres. The perimeter of the track is 400 m. Find the greatest possible area of the rectangle between the two semicircles.

Working
  1. The perimeter

    \(2L+\pi w=400\)

    Two straight sides, and two semicircles that together make a circle of perimeter \(\pi w\).

  2. Use the constraint

    \(L=\frac{400-\pi w}{2}\)

    Make L the subject.

  3. One variable

    \(A=Lw=\frac{w(400-\pi w)}{2}\), for \(0<w<\frac{400}{\pi}\)

    L must be positive, which limits w.

  4. Maximise

    Graph \(y=\frac{x(400-\pi x)}{2}\). From the calculator: maximum at (63.7, 6370)

    Use x for w on the calculator.

  5. Answer

    The greatest area is 6370 m², when w = 63.7 m and L = 100 m

    Check L: \(\frac{400-\pi(63.66)}{2}=100\).

Video walkthrough coming
Price and sales

A theatre sells 150 tickets for a show at €20 each. For every €1 increase in the price, 4 fewer tickets are sold. Each ticket sold costs the theatre €8. The price must be a whole number of euros. Find the ticket price that gives the greatest profit, and the profit.

Working
  1. Name the variable

    Let x be the number of €1 increases. Price \(=20+x\). Tickets sold \(=150-4x\)

    Both the price and the sales depend on x.

  2. Profit model

    \(P=(20+x-8)(150-4x)=(12+x)(150-4x)\), for \(0\le x\le 37.5\)

    Profit per ticket times the number of tickets.

  3. Maximise

    Graph \(y=(12+x)(150-4x)\). From the calculator: maximum at (12.75, 2450.25)

    This is the best if x could be any number.

  4. Whole numbers

    x = 12: \(P=24\times102=2448\). x = 13: \(P=25\times98=2450\)

    x must be a whole number. Compare the whole numbers either side of 12.75.

  5. Answer

    Charge €33. The profit is €2450

    x = 13 gives the larger profit, and the price is \(20+13=33\).

Video walkthrough coming