Skip to content
IB Diploma ProgrammeSL & HL

Optimization problems

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Optimization problems notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Optimization problems notes as text: skim, search, and jump between subtopics.

~13 min read

1. Maximum or minimum: set the derivative to zero

An optimisation problem asks for the value of a variable that makes a quantity as large or as small as possible. The quantity may be a volume, a profit or a cost.

At the maximum or minimum of a smooth graph the gradient is zero. So write the derivative, then set the derivative to 0 and solve. On the graphic display calculator, solve the equation, or draw a sketch of the graph of the derivative with the zero marked. When the quantity itself is given, plot it and use the maximum or minimum tool.

Then read the question again. It may ask for the variable, or for the greatest value of the quantity. These are different answers.

maximum or minimum ⇒ dV/dw=0

Worked example 12 marks

An airline restricts the size of bags by stating that the sum of a bag's width, length, and height (ignoring the handle) must not exceed a fixed value, M.

A company is designing a cuboid-shaped bag so that the sum of the bag's width, length, and height equals M. Their design will have a length equal to three times its width.

As the width of the design varies, its volume changes according to the equation dV/dw=690w-36w², where w is the width in centimetres and V is the volume in cubic centimetres.

(a) Use your graphic display calculator to find the value of w that will produce the maximum volume.

  1. 1

    indication of setting the derivative to 0: dV/dw=0 or 690w-36w²=0 (M1) [1]

  2. 2

    w=19.2 cm (19.1666… or 115/6) A1 [1]

2. Build a model with one variable

Many problems give a constraint, such as a fixed perimeter, volume or length. Use it to write every measurement in terms of one variable. Then write the quantity to optimise as a function of that variable alone.

A cone made from a disc of radius 9 cm has slant height 9 cm. Its radius r and height h are linked by the Pythagorean relationship, r²+h²=81. So h=√(81-r²), and V depends on r alone.

The command term show that needs every step. Write the substitution of each expression and end on the given result.

V=1/3π r²h

r²+h²=9²

r=9-θ/40

Worked example 13 marks

A circular disc has radius 9 cm. A sector with an angle of θ degrees is removed from the disc and the edges OA and OB are connected. This makes a cone with radius r cm, height h cm and slant height of 9 cm. Part(b) of the question showed that r=9-θ/40.

(c) Show that the volume of the cone is V=1/3π(9-θ/40)²√(81-(9-θ/40)²).

  1. 1

    substitution of r=9-θ/40 seen anywhere A1 [1]

  2. 2

    recognition of Pythagorean relationship between h, 9 and r: h=√(9²-r²) or r²+h²=81 M1 [1]

  3. 3

    correct substitution of h into the volume formula: V=1/3π r²√(81-r²)=1/3π(9-θ/40)²√(81-(9-θ/40)²) A1 AG [1]

3. Find the optimum on the graphic display calculator

When V is a function of one variable, enter it as y and use the maximum tool, or solve V'=0. Choose a window that shows the turning point. Here θ runs from 0 to 360.

Read the variable first. Then use substitution of the optimum value into the other formulas, such as r=9-θ/40. Keep the full calculator value for each step and round only the final answers.

The parts of a question then ask for the variable, the greatest value and a related measurement. Answer each one with its units.

V_max at dV/dθ=0

Worked example 15 marks

A circular disc has radius 9 cm. A sector with an angle of θ degrees is removed and the edges are connected to make a cone with radius r cm and slant height 9 cm. The volume of the cone is V=1/3π(9-θ/40)²√(81-(9-θ/40)²), where r=9-θ/40.

(d)(i) Using your graphic display calculator, find the value of θ that will maximize the volume of the cone.

(ii) State the maximum volume of the cone.

(iii) Find the corresponding radius of the cone.

  1. 1

    θ=66.1 (66.0612…) A2 [2]

  2. 2

    V_max=294 cm³ (293.835…) A1 [1]

  3. 3

    substitution of their θ into r: r=9-(66.0612…)/40 (M1) [1]

  4. 4

    r=7.35 cm (7.34846…) A1 [1]

4. Use the optimum to find another quantity

The optimum value of the variable is often not the final answer. The question may ask for another measurement at that optimum, such as a height or a total.

Substitute the optimum into the relationship that links the quantities. For the bag, the volume is width × length × height. So the height needs an attempt to calculate height using volume, width and length.

A second method writes h in terms of w. Then h=115-4w and the sum w+3w+h is 115 for every width. This is a useful check on the answer.

V=w× 3w× h

M=w+3w+h

Worked example 13 marks

A company is designing a cuboid-shaped bag so that the sum of the bag's width, length, and height equals M cm. The length is three times the width. Parts(a) and(b) found that the volume is greatest when w=19.1666… and that the maximum volume is 42 200 cm³ to three significant figures.

(c) Hence find the value of M.

  1. 1

    attempt to calculate height using volume, width and length numerical values: h=(42 200)/(19.1666…× 57.5) (M1) [1]

  2. 2

    h=38.3 cm (38.2911…) (A1) [1]

  3. 3

    M=19.1666…+57.5+38.2911…=115 cm (114.957…) A1 [1]

5. Minimising a cost or a surface area

A minimum is found in the same way. Begin with setting the derivative to 0. The graph of the function falls, reaches its lowest point, then rises.

Problems on materials often give a volume. Use it to remove one variable. A closed tin of volume V has surface area 2π r²+2π rh, and V=π r²h gives h in terms of r. Then make a substitution of h into the area.

State the answer with its units, and say whether it is the variable or the minimum value.

V=π r²h

A=2π r²+2π rh

Worked example 16 marks

A closed cylindrical tin has volume 500 cm³. Its radius is r cm and its height is h cm. The surface area of the tin is to be as small as possible.

(a) Show that the surface area is A=2π r²+1000/r.

(b) Find the minimum surface area.

  1. 1

    use the volume: π r²h=500, so h=500/(π r²) (M1) [1]

  2. 2

    A=2π r²+2π r×500/(π r²)=2π r²+1000/r A1 AG [1]

  3. 3

    setting the derivative to 0: dA/dr=4π r-1000/r²=0 (M1) [1]

  4. 4

    r=4.30 cm (4.3012…) (A1) [1]

  5. 5

    substitution of r=4.3012… into A (M1) [1]

  6. 6

    A=349 cm² (348.73…) A1 [1]

6. Testing a claim with the optimum

Some questions ask whether a claim is true. Find the optimum, use it to calculate the quantity in the claim, then compare it with the figure in the claim. State the decision.

Watch the units. Here the claim is in litres and the volumes are in cm³, and 1000 cm³=1 litre. A hemisphere is half a sphere. The sphere's volume, 4/3π r³, is in the formula booklet, so the hemisphere's is 2/3π r³.

The command term determine needs one clear answer. Give the addition of the volume of each part, then say the claim is true or that it is not.

V_hemisphere=2/3π r³

1000 cm³=1 litre

Worked example 15 marks

The cone of greatest volume, with radius 7.34846… cm and volume 293.835… cm³, is completely filled with ice cream. A hemisphere of ice cream with the same radius is then added on the top. The shop states that more than a litre of ice cream is used in every "Ice Cream Delight" (note: 1000 cm³=1 litre).

(e) Determine if the shop's claim is true.

  1. 1

    attempt to find the volume of the hemisphere: V_hemisphere=2/3π(7.34846…)³ (M1) [1]

  2. 2

    V_hemisphere=831.092… (A1) [1]

  3. 3

    addition of volume of cone and their volume of hemisphere: 831.092…+293.835… (M1) [1]

  4. 4

    V_total=1124.928… cm³ A1 [1]

  5. 5

    claim is true (since 1124.928…>1000) A1 [1]

Recap

  • An optimisation problem asks for the variable that makes a quantity as large or as small as possible.
  • At a maximum or minimum the gradient is zero: set the derivative to 0 and solve, or find the turning point of the graph on the graphic display calculator.
  • Use the constraint (fixed perimeter, volume or length) to write the quantity as a function of one variable before you differentiate.
  • For a show that question, write every substitution. The given answer is reached, never used to work backwards.
  • Read what is asked: the variable, the greatest or least value, or a related quantity. Keep full calculator values and round only at the end. Check units.
  • When a claim or budget is tested, compare the value with the figure given and state the decision.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what is true about f'(x) at a point where a smooth function f(x) has a maximum.1 mark
    Answer
    1. f'(x)=0.

    Trap: f(x)=0 confuses the height of the curve with its gradient.

  2. A business makes x hundred phone cases a week. Weekly profit is P=-0.5x²+30x-200, in thousands of dollars. (a) Determine the number of cases that gives the greatest profit. (b) State the greatest profit, in dollars.3 marks
    Answer
    1. (a)
    2. P'(x)=-x+30. Set P'(x)=0, so x=30.
    3. So 3000 cases.
    4. (b)
    5. P(30)=-0.5(900)+900-200=250.
    6. The greatest profit is 250 000 dollars.

    Trap: x=30 is in hundreds of cases and P=250 is in thousands of dollars. Quoting 30 or 250 leaves out the units.

  3. A rectangular pen uses 40 m of fencing. Its width is x m. (a) Show that the area of the pen is A=x(20-x). (b) Find the greatest possible area.4 marks
    Answer
    1. (a)
    2. Two widths and two lengths use 40 m, so 2x+2y=40 and y=20-x.
    3. A=xy=x(20-x).
    4. (b)
    5. A=20x-x², so A'=20-2x=0 and x=10.
    6. A=10× 10=100 m².

    Trap: Writing the length as 40-x forgets that the fencing goes round all four sides.

  4. A farmer uses 60 m of fencing for three sides of a rectangular field. The fourth side is a straight wall. The two sides at right angles to the wall are each x m. Find the greatest possible area.4 marks
    Answer
    1. The side parallel to the wall is 60-2x.
    2. A=x(60-2x)=60x-2x².
    3. A'=60-4x=0, so x=15.
    4. A=15× 30=450 m².

    Trap: Using 60-x for the third side counts only one of the two sides at right angles to the wall.

  5. The cost per poster, C dollars, of a batch of n posters is C=0.02n+80/n, with n a whole number. Find the batch size with the lowest cost per poster, and that cost to the nearest cent.4 marks
    Answer
    1. C'=0.02-80/n²=0, so n²=4000 and n=63.2…
    2. n is a whole number, so compare n=63 and n=64.
    3. C(63)=2.5298… and C(64)=2.53.
    4. The batch size is 63 posters, and the lowest cost per poster is 2.53 dollars.

    Trap: n=63.2… is not a possible batch size. The answer must be a whole number, so check C at both neighbours before choosing.

  6. A square sheet of card has side 30 cm. A square of side x cm is cut from each corner and the sides are folded up to make an open box. (a) Show that the volume of the box is V=900x-120x²+4x³. (b) Find the value of x that gives the greatest volume. (c) State the greatest volume in litres.5 marks
    Answer
    1. (a)
    2. The base has side 30-2x and the height is x, so V=x(30-2x)²=x(900-120x+4x²)=900x-120x²+4x³.
    3. (b)
    4. V'=900-240x+12x²=0, so x²-20x+75=0 and x=5 or x=15.
    5. At x=15 the base has side 0, so V=0. Reject it. x=5.
    6. (c)
    7. V=5× 20²=2000 cm³=2 litres.

    Trap: Setting V'=0 gives two roots. x=15 makes a box with no base: it is the smallest volume, not the greatest.

  7. An open box has a square base of side x cm and height h cm. The total area of the base and four sides is 1200 cm². (a) Show that h=(1200-x²)/4x and that the volume is V=300x-1/4x³. (b) Find the greatest possible volume.6 marks
    Answer
    1. (a)
    2. Area =x²+4xh=1200, so h=(1200-x²)/4x.
    3. V=x²h=(x(1200-x²))/4=300x-1/4x³.
    4. (b)
    5. V'=300-3/4x²=0, so x²=400 and x=20.
    6. V=300(20)-1/4(8000)=6000-2000=4000 cm³.

    Trap: Writing 2x²+4xh includes a lid. The box is open, so there is one square face.

  8. A window is a rectangle, width 2r metres and height h metres, with a semicircle of radius r on top. The outside edge (base, two sides and curved top) is 12 m long. (a) Show that the area of the window is A=12r-(2+π/2)r². (b) Find the value of r that gives the greatest area, and the greatest area.6 marks
    Answer
    1. (a)
    2. Edge: 2r+2h+π r=12, so h=(12-2r-π r)/2.
    3. A=2rh+1/2π r²=r(12-2r-π r)+1/2π r²=12r-2r²-1/2π r².
    4. (b)
    5. A'=12-4r-π r=0, so r=12/(4+π)=1.68 m.
    6. A=12(1.6803…)-(2+π/2)(1.6803…)²=10.1 m².

    Trap: The curved top is a semicircle, so its length is π r. Using 2π r is the whole circle.

  9. A closed rectangular water tank has a square base of side x metres and a volume of 2 m³. Metal costs 15 dollars per m² and the budget is 150 dollars. (a) Show that the total surface area of the tank is S=2x²+8/x. (b) Find the smallest possible surface area. (c) Determine whether the budget is enough.6 marks
    Answer
    1. (a)
    2. x²h=2, so h=2/x².
    3. S=2x²+4xh=2x²+8/x.
    4. (b)
    5. S'=4x-8/x²=0, so x³=2 and x=1.26.
    6. S=2(1.5874…)+8/(1.2599…)=9.52 m².
    7. (c)
    8. Cost =15× 9.5244…=142.87 dollars, which is less than 150 dollars.
    9. The budget is enough.

    Trap: 9.52 is an area, not a cost. Compare money with money: multiply by 15 dollars first.

  10. A rectangular enclosure has an area of 600 m². Two opposite sides have length x metres and cost 20 dollars per metre. The other two sides cost 12 dollars per metre. (a) Show that the total cost of the fencing is C=40x+(14 400)/x dollars. (b) Find the value of x that gives the lowest cost, and the lowest cost. (c) The site allows the sides of length x to be at most 15 metres. The budget is 1550 dollars. Determine whether the enclosure can be fenced within the budget.8 marks
    Answer
    1. (a)
    2. The other sides have length 600/x.
    3. C=2(20x)+2(12×600/x)=40x+(14 400)/x.
    4. (b)
    5. C'=40-(14 400)/x²=0, so x²=360 and x=19.0 m (18.973…).
    6. C=40(18.973…)+(14 400)/(18.973…)=1520 dollars to 3 significant figures (1517.89 dollars).
    7. (c)
    8. x=18.973… is more than 15, so it is not allowed.
    9. For x<18.973…, C'<0 (for example C'(15)=40-(14 400)/225=-24), so C decreases all the way to x=15.
    10. The lowest allowed cost is at x=15: C=40(15)+(14 400)/15=600+960=1560 dollars.
    11. 1560>1550, so the enclosure cannot be fenced within the budget.

    Trap: Using the stationary point x=18.973… gives 1517.89 dollars and the wrong answer yes: it breaks the 15 metre limit, so the lowest allowed cost is at x=15.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Using the printed 42 200 to work backwards to show that it is the maximum volumeevidence of the need to integrate, then V=345(19.1666…)²-12(19.1666…)³=42 246.5…, and only then 42 200 cm³ (AG)
h=√(9²-(9-θ/40)²) written by itselfrecognition of Pythagorean relationship between h, 9 and r: h=√(9²-r²) or r²+h²=81
V=1/3π r²h, then the given V with no working betweensubstitution of r and h seen before the final AG line
V_total=1124.9… with no comment on the claimclaim is true (since 1124.928…>1000)

Frequently asked questions

How do I solve a maximum or minimum problem using calculus?
At a maximum or minimum of a smooth graph the gradient is zero. Write the derivative, set the derivative to 0 and solve it. Before you differentiate, use the constraint, such as a fixed perimeter, volume or length, to write the quantity as a function of one variable.
How do I know whether a question wants the variable or the maximum value?
Read the question again: it may ask for the variable, or for the greatest value of the quantity. These are different answers. Find the value of the variable by solving the derivative equal to zero, then substitute it into the quantity to get the greatest value, and state each answer with its units.
How do I write a quantity in terms of one variable?
Use the constraint to write every measurement in terms of one variable. For a cone made from a disc of radius 9 cm, the slant height is 9 cm, so the Pythagorean relationship r² + h² = 81 gives h = √(81 - r²). The volume then depends on r alone.
How do I minimise a cost or a surface area?
Begin by setting the derivative to 0, since the graph of the function falls, reaches its lowest point, then rises. For a closed tin of volume V, use V = π r²h to remove h from A = 2π r² + 2π rh. Then substitute, and state the answer with its units.
How do I check a claim about a volume given in litres?
Check the units, since 1000 cm³ = 1 litre. Find the optimum, use it to calculate the quantity in the claim, then compare it with the figure in the claim and state the decision. For a hemisphere, the volume is 2/3π r³, which is half the volume of a sphere.
What is a common mistake in a rectangle or box optimisation question?
Writing the length as 40 - x forgets that the fencing goes round all four sides. For an open box, writing 2x² + 4xh includes a lid, when there is only one square face. Setting the derivative to 0 can also give a root such as x = 15 that is the smallest volume, not the greatest.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters