Radford Mathematics IB Mathematics resources • AI SL

Radford Mathematics

Contact / enquiry

Send a question about tutoring, revision courses, website resources or anything else. Your message will be sent to info@radfordmathematics.com.

IB Mathematics: Applications and Interpretation SL — Topic 5 Calculus

AI SL Optimisation

Modelling, calculus, technology, domains and interpretation.

AI SL · SL 5.7

Learning goal

Solve AI SL optimisation problems by identifying the quantity to maximise or minimise, building a one-variable model, using calculus and/or technology as required, respecting the relevant domain, and interpreting the result in context.

Syllabus link

IB Mathematics AI SL: SL 5.7. Optimisation problems in context, including maximising profit, minimising cost and maximising volume for a given surface area. AI SL 5.6 supports this through solving \(f'(x)=0\), local maxima/minima and technology.

Big idea

Build the model first, then follow the wording of the question: show calculus when expected, use the GDC when instructed, and always check that the result fits the domain and the context.

AI SL habit

Use technology to obtain, check and interpret results — but when calculus is requested, the GDC checks the working rather than replacing it.

1

A first question

A farmer has 50 m of fencing to make a rectangular enclosure. All four sides of the enclosure must be fenced.

What is the maximum possible area of the enclosure?

A very long, narrow rectangle uses the available fencing but encloses little area. A shape that is too short and wide also encloses less area. Somewhere between these extremes is the rectangle with the largest possible area.

We will solve this opening problem after Worked Example 1, once we have seen the four-step method in action.

Rectangular enclosure made with 50 metres of fencing
Let the side lengths be \(x\) and \(y\); the total fencing gives the constraint.
2

What is an optimisation problem?

An optimisation problem asks for the largest or smallest possible value of a quantity, under one or more restrictions. In the opening question, the target is the largest possible area and the restriction is the 50 m of available fencing.

Target quantity

The target quantity is what is being optimised: area, volume, cost, profit, time, fencing length, and so on.

For the opening problem, if the side lengths are \(x\) and \(y\), then \(A=xy\).

Constraint

The constraint links the variables and limits the possible designs.

\[2x+2y=50\Rightarrow y=25-x,\]

so the area can be written \(A(x)=x(25-x)\).

Identify the target quantity and the constraint.
Write the target quantity and constraint using the problem’s variables.
Use the constraint to rewrite the target as a function of one variable.

State or infer the relevant domain.

Optimise and check.

Use calculus and/or technology as required. Respect the domain and endpoints, then interpret the result in context.

3

Worked examples

Worked example 1: pen against a wall

Question. A farmer uses 80 m of fencing to make a rectangular pen against a straight wall. No fencing is needed along the wall. Find the dimensions that maximise the area.

Solution

Step 1: Identify the target and constraint. The target is the area; the constraint is that 80 m of fencing is used for the three exposed sides.

Step 2: Write the equations. Let \(x\) be each side perpendicular to the wall and \(y\) the side parallel to it:

\[A=xy,\qquad 2x+y=80.\]

Step 3: Write the target in one variable.

\[y=80-2x,\qquad A(x)=x(80-2x),\qquad 0\le x\le40.\]

Step 4: Use calculus to optimise, then check with the GDC.

\[A'(x)=80-4x.\]

Set \(A'(x)=0\):

\[80-4x=0\Rightarrow x=20.\]

Then \(y=80-2(20)=40\) m and \(A(20)=800\text{{ m}}^2\).

Answer The maximum area occurs when the pen is 20 m by 40 m, with maximum area 800 m².

Rectangular pen against a wall with sides x and y
Only three sides are fenced, so \(2x+y=80\).
GDC graph of the pen area showing a maximum at 20 comma 800
The GDC check confirms the maximum at \((20,800)\).

AI SL habit: use the calculator to check your calculus

After calculus gives a candidate maximum or minimum, graph the target function over the meaningful domain. Check that the stationary \(x\)-value appears at the expected maximum or minimum and check the corresponding target value. If the question asks for calculus, the GDC is a check, not a replacement for the working.

Return to the opening fencing problem

Question. A farmer has 50 m of fencing for all four sides of a rectangle. Find the maximum possible area.

Solution

Step 1: target \(A=xy\); constraint \(2x+2y=50\).

Step 2: rearrange the constraint:

\[y=25-x.\]

Step 3:

\[A(x)=x(25-x)=25x-x^2,\qquad 0\le x\le25.\]

Step 4:

\[A'(x)=25-2x=0\Rightarrow x=12.5.\]

Then \(y=12.5\) and \(A(12.5)=156.25\text{{ m}}^2\).

Answer The enclosure is 12.5 m by 12.5 m and the maximum area is 156.25 m².

Worked example 2: largest rectangle under a curve

Question. A rectangle has one vertex at the origin, sides on the coordinate axes, and its top-right corner on \(y=12-x^2\), with \(0\le x\le\sqrt{{12}}\). Find the maximum possible area.

Solution

Step 1: target area; constraint \(y=12-x^2\).

Step 2: \(A=xy\).

Step 3:

\[A(x)=x(12-x^2),\qquad 0\le x\le\sqrt{{12}}.\]

Step 4:

\[A'(x)=12-3x^2.\]
\[12-3x^2=0\Rightarrow x^2=4\Rightarrow x=2,\]

where the positive value is used because \(x\) is a length. Then \(y=8\) and \(A(2)=16\).

Answer The maximum area is 16 square units, produced by a \(2\) by \(8\) rectangle.

Rectangle under the curve y equals 12 minus x squared
GDC graph showing the maximum area at 2 comma 16

Worked example 3: a maximum at an endpoint

Question. A rectangle has one vertex at the origin, sides on the coordinate axes, and its top-right corner on \(y=9-x^2\), with \(0\le x\le1\). Find the maximum possible area.

Solution

Step 1: target area; the curve gives \(y=9-x^2\), and the width is restricted to \(0\le x\le1\).

Step 2: \(A=xy\).

Step 3:

\[A(x)=x(9-x^2),\qquad 0\le x\le1.\]

Step 4:

\[A'(x)=9-3x^2=0\Rightarrow x=\sqrt3.\]

But \(\sqrt3\notin[0,1]\), so there is no stationary candidate inside the allowed interval. Check the endpoints:

\[A(0)=0,\qquad A(1)=8.\]

Answer The maximum possible area is 8 square units, at the endpoint \(x=1\), where \(y=8\).

Rectangle under y equals 9 minus x squared restricted to x from 0 to 1
GDC graph of the restricted area function increasing to the endpoint

Why the domain and endpoints matter

A maximum or minimum on a restricted interval does not have to occur at a stationary point. It can occur at an endpoint. On a closed interval, compare stationary candidates with endpoint values. The stated domain is part of the mathematics.

Worked example 4: maximising profit

Question. A company sells \(x\) items. The price per item is \(p(x)=60-0.2x\) euros and the production cost is \(C(x)=12x+150\) euros. Find the number of items that maximises profit.

Solution

Step 1: the target is profit.

Step 2: revenue is price × quantity and profit is revenue minus cost:

\[R(x)=x(60-0.2x),\qquad P(x)=R(x)-C(x).\]

Step 3:

\[P(x)=-0.2x^2+48x-150.\]

A meaningful domain is \(0\le x\le300\), because the price model reaches zero at \(x=300\).

Step 4:

\[P'(x)=-0.4x+48=0\Rightarrow x=120.\]
\[P(120)=2730.\]
GDC graph of the profit function with maximum at 120 comma 2730

Answer The profit is maximised at 120 items, with a modelled maximum profit of €2730.

When the variable must be a whole number

If a variable represents a count — for example, people, items or boxes — a continuous optimum may be a decimal. Check the nearby feasible integer values and choose the one giving the best target value.

Worked example 5: minimum surface area of a cylinder

Question. A closed cylinder has volume \(250\pi\text{{ cm}}^3\). Find the radius and height that minimise its surface area.

Solution

Step 1: target surface area; constraint fixed volume.

Step 2:

\[S=2\pi r^2+2\pi rh,\qquad \pi r^2h=250\pi.\]

Step 3: from the volume constraint, \(h=250/r^2\), so

\[S(r)=2\pi r^2+\frac{{500\pi}}{{r}},\qquad r>0.\]

Step 4: write with powers and differentiate:

\[S'(r)=4\pi r-500\pi r^{{-2}}.\]

Set \(S'(r)=0\):

\[4\pi r-\frac{{500\pi}}{{r^2}}=0\Rightarrow4r^3=500\Rightarrow r=5.\]

Then \(h=250/5^2=10\text{{ cm}}\).

Answer The surface area is minimised when \(r=5\text{{ cm}}\) and \(h=10\text{{ cm}}\).

Closed cylinder with radius r and height h
GDC graph of cylinder surface area with minimum at radius 5
4

How the four steps appear in IB AI SL questions

The wording matters. IB questions often reveal the four steps gradually across several parts. Read the whole question first so that you know which method must be shown. If the question says “find \(f'(x)\)” and then “hence”, show the calculus and stationary-point reasoning. If it says “use your graphic display calculator”, use the GDC as instructed while still stating the target function, relevant domain and interpretation.

Annotated IB-style question: three garden plots [11 marks]

Three identical rectangular plots are placed side by side against a straight wall. No fencing is needed along the wall. Each plot has depth \(x\) metres and width \(y\) metres. The total area is \(192\text{{ m}}^2\).

(a) Write down an equation connecting \(x\) and \(y\). [1]

(b) Let \(L\) metres be the total fencing required. Show that \(L=4x+\frac{{192}}{{x}}\). [3]

(c) Find \(\frac{{dL}}{{dx}}\). [2]

(d) Hence find the values of \(x\) and \(y\) for which the total fencing is a minimum. [3]

(e) State the minimum total length of fencing. [1]

(f) Use your GDC to check that your value of \(x\) corresponds to a minimum of \(L\). [1]

Three adjacent garden plots beside a wall

Solution

Step 1: target total fencing \(L\); constraint fixed total area.

Step 2:

\[3xy=192,\qquad L=4x+3y.\]

Step 3: from \(3xy=192\), \(y=64/x\), so

\[L(x)=4x+\frac{{192}}{{x}},\qquad x>0.\]

Step 4:

\[L'(x)=4-\frac{{192}}{{x^2}}.\]

Set \(L'(x)=0\):

\[4-\frac{{192}}{{x^2}}=0\Rightarrow x^2=48\Rightarrow x=4\sqrt3.\]

Then

\[y=\frac{{64}}{{4\sqrt3}}=\frac{{16\sqrt3}}{{3}}.\]

The minimum fencing is

\[L_{{\min}}=4(4\sqrt3)+\frac{{192}}{{4\sqrt3}}=32\sqrt3\approx55.4\text{{ m}}.\]
GDC graph confirming a minimum fencing length near 6.93 comma 55.4

Answer Each plot should be \(4\sqrt3\) m deep and \(\frac{{16\sqrt3}}{{3}}\) m wide. The minimum fencing is \(32\sqrt3\text{{ m}}\approx55.4\text{{ m}}\).

AI SL exam habit

Match the method to the command. If the question asks for a derivative or says hence, show the calculus. If it says use your graphic display calculator, show the function and the relevant calculator result. When time allows, use the GDC to check a calculus answer before moving on.

5

Practice questions

For each question, first identify the target quantity and the constraint or model. Follow the command wording, check the relevant domain and interpret the result in context.

  1. A rectangle has one vertex at the origin and its top-right corner on \(y=9-x^2\), \(0\le x\le3\). Find the maximum possible area.
  2. A closed cylinder has fixed surface area \(150\pi\text{{ cm}}^2\). Its volume is \(V(r)=\pi r(75-r^2)\), \(0<r<\sqrt{{75}}\). Use your GDC to find the value of \(r\) that maximises the volume. Hence find the height and maximum volume.
  3. A closed cylinder has volume \(128\pi\text{{ cm}}^3\). Find the radius and height that minimise its surface area.
  4. The profit, in euros, from selling \(x\) items is \(P(x)=-0.5x^2+70x-800\), \(0\le x\le140\). Find the number of items that maximises profit and determine the maximum profit.
  5. A rectangle is placed under \(y=16-2x^2\), \(0\le x\le2\sqrt2\), with sides on the coordinate axes. Find the maximum possible perimeter.
  6. A rectangle has area \(100\text{{ cm}}^2\). Find the dimensions that minimise its perimeter.
  7. The preparation time is \(T(n)=18+\frac{{45}}{{n}}+1.5n\), where \(n\) is the integer number of cooks and \(1\le n\le20\). Determine the integer number of cooks that minimises preparation time.
  8. A closed rectangular box has width \(w\) cm, length \(1.5w\) cm and volume \(12000\text{{ cm}}^3\). Find the dimensions that minimise its surface area.
6

Answer key

1. Rectangle under a curve

\[A(x)=x(9-x^2)=9x-x^3,\qquad A'(x)=9-3x^2.\]

Set \(A'(x)=0\) to obtain \(x=\sqrt3\). Then \(y=6\) and \(A_{{\max}}=6\sqrt3\approx10.4\). A GDC graph confirms the maximum near \((1.73,10.4)\).

2. Maximum cylinder volume for fixed surface area

Graph \(V(r)=\pi r(75-r^2)\) on \(0<r<\sqrt{{75}}\). The GDC maximum tool gives \(r=5\text{{ cm}}\) and \(V_{{\max}}=250\pi\text{{ cm}}^3\approx785\text{{ cm}}^3\). From \(2\pi r^2+2\pi rh=150\pi\), \(h=10\text{{ cm}}\).

3. Minimum surface area of a cylinder

\[h=\frac{{128}}{{r^2}},\qquad S(r)=2\pi r^2+\frac{{256\pi}}{{r}},\qquad S'(r)=4\pi r-\frac{{256\pi}}{{r^2}}.\]

Set \(S'(r)=0\): \(4r^3=256\), so \(r=4\). Then \(h=8\). The GDC graph confirms the minimum.

4. Profit

\[P'(x)=-x+70.\]

Set \(P'(x)=0\) to obtain \(x=70\). Then \(P(70)=1650\). Sell 70 items; maximum profit €1650.

5. Maximum perimeter under a curve

\[P(x)=2x+2(16-2x^2)=32+2x-4x^2,\qquad P'(x)=2-8x.\]

The stationary point is \(x=0.25\); then \(y=15.875\) and \(P_{{\max}}=32.25\).

6. Minimum perimeter with fixed area

\[y=\frac{{100}}{{x}},\qquad P(x)=2x+\frac{{200}}{{x}},\qquad P'(x)=2-\frac{{200}}{{x^2}}.\]

The minimum occurs at \(x=10\), so \(y=10\). The rectangle is \(10\text{{ cm}}\times10\text{{ cm}}\) with minimum perimeter \(40\text{{ cm}}\).

7. Integer decision after continuous optimisation

\[T'(n)=-\frac{{45}}{{n^2}}+1.5=0\Rightarrow n=\sqrt{{30}}\approx5.48.\]

Check the nearby integers: \(T(5)=34.5\) and \(T(6)=34.5\). Thus the model gives the same minimum preparation time for 5 or 6 cooks.

8. Closed rectangular box

From \(1.5w^2h=12000\), \(h=8000/w^2\). For a closed box, \(S=2(lw+lh+wh)\), so

\[S(w)=3w^2+\frac{{40000}}{{w}},\qquad S'(w)=6w-\frac{{40000}}{{w^2}}.\]

Set \(S'(w)=0\): \(6w^3=40000\), so \(w\approx18.8\text{{ cm}}\). Hence \(l\approx28.2\text{{ cm}}\) and \(h\approx22.6\text{{ cm}}\).

7

Summary checklist

Before you finish an AI SL optimisation problem, check:

  1. What quantity am I maximising or minimising?
  2. What restriction or relationship links the variables?
  3. Have I written the target quantity as a function of one variable?
  4. What values of the variable are meaningful in context?
  5. Have I followed the command wording: calculus when expected, or a GDC method when instructed?
  6. If I used calculus, is each stationary candidate inside the meaningful domain, and do I also need to compare endpoints?
  7. Have I used the GDC appropriately to obtain or verify the required maximum/minimum?
  8. If the variable is discrete, have I checked nearby integer values?
  9. If the calculator disagrees with my calculus, have I rechecked the model, derivative, equation and domain?
  10. Have I interpreted the final result correctly and included units?

Final AI SL habit

Use technology throughout the topic to obtain, check and interpret results. When a question expects calculus, show the calculus; when it explicitly asks for the GDC, follow that instruction directly. In both cases, the model, domain and interpretation still matter.