Vertex Learn

Optimisation: 7 exam questions solved step by step

What this lesson covers

  • Optimising means writing the quantity as a function of one variable, then finding its stationary point.
  • At Achieved and Merit the question tells you whether it is a maximum or minimum.
Key idea

Optimisation from a written problem

  1. Write the quantity to maximise or minimise.
  2. Use the constraint to get one variable.
  3. Set the derivative to 0 and solve.
  4. Answer the question asked, with units.
Your turn

Question 1 · Achieved, in context

  • A harbour ferry trip costs
  • C = 2v + 800/v dollars at v km/h.
  • Find the speed for the least cost,
  • And that cost. Assume it is a minimum.
Worked example

Q1: the cheapest speed

  • Power form first.
  • A speed is positive.
  1. C = 2v + 800v⁻¹power form
  2. dC/dv = 2 − 800v⁻²differentiate
  3. = 2 − 800/v²
  4. 2 − 800/v² = 0stationary
  5. 2v² = 800, so v² = 400× v²
  6. v = −20a speed is positive
  7. v = 20: C = 40 + 800/20
  8. = 40 + 40 = 80
  9. 20 km/h, costing $80 a trip
Your turn

Question 2 · Achieved, in context

  • A medicine in the blood t hours after
  • A dose: C = 20te⁻ᵗ mg/L.
  • When is C greatest, and what is it?
  • Assume it is a maximum.
Worked example

Q2: the highest concentration

  • Product rule.
  • e⁻ᵗ is never 0.
  1. u = 20t, v = e⁻ᵗproduct rule
  2. u′ = 20, v′ = −e⁻ᵗchain rule
  3. dC/dt = 20e⁻ᵗ − 20te⁻ᵗu′v + uv′
  4. = 20e⁻ᵗ(1 − t)factorise
  5. e⁻ᵗ > 0, so 1 − t = 0stationary
  6. t = 1
  7. C = 20(1)e⁻¹ = 20/e
  8. ≈ 7.36 mg/L3 s.f.
  9. greatest after 1 h: 7.36 mg/L
Your turn

Question 3 · Merit, in context

  • A rectangular paddock of 1800 m² is
  • Fenced on three sides; a river is the
  • Fourth. Find the least fence needed.
Worked example

Q3: the paddock by the river

  • Area fixes y.
  • Fence: two x, one y.
  1. x out from the river, y along it
  2. xy = 1800, so y = 1800/xarea
  3. L = 2x + y = 2x + 1800/x
  4. dL/dx = 2 − 1800/x²differentiate
  5. 2 − 1800/x² = 0stationary
  6. x² = 900, so x = 30x > 0
  7. y = 1800/30 = 60
  8. L = 60 + 60 = 120
  9. 30 m by 60 m: 120 m of fence
Key idea

Try it: the paddock by the river

Your turn

Question 4 · Merit, in context

  • A closed food tin is a cylinder
  • Holding 128π cm³.
  • Find the radius and height that use
  • The least metal. Assume it is a minimum.
Worked example

Q4: surface area in r only

  • Metal = surface area.
  • Volume gives h.
  1. πr²h = 128πvolume
  2. h = 128/r²÷ πr²
  3. S = 2πr² + 2πrhtwo ends + side
  4. = 2πr² + 2πr(128/r²)substitute h
  5. = 2πr² + 256π/rone variable
Worked example

Q4: the least metal

  • Derivative = 0.
  • Give both dimensions.
  1. S = 2πr² + 256π/r
  2. dS/dr = 4πr − 256π/r²differentiate
  3. 4πr − 256π/r² = 0stationary
  4. 4πr³ = 256π× r²
  5. r³ = 64, so r = 4÷ 4π
  6. h = 128/16 = 8
  7. S = 32π + 64π = 96π
  8. ≈ 302 cm²3 s.f.
  9. radius 4 cm, height 8 cm
Your turn

Question 5 · Merit, in context

  • A poster has 384 cm² of print,
  • Margins 3 cm top and bottom,
  • 2 cm each side. Find the paper size
  • That uses the least paper.
Worked example

Q5: paper area in x only

  • Add the margins.
  • Print area gives y.
  1. print: x wide, y high
  2. xy = 384, so y = 384/xprint area
  3. paper: (x + 4) by (y + 6)
  4. A = (x + 4)(y + 6)
  5. = xy + 6x + 4y + 24expand
  6. = 384 + 6x + 1536/x + 244y = 1536/x
  7. = 408 + 6x + 1536/x
Worked example

Q5: the least paper

  • Derivative = 0.
  • Answer for the paper.
  1. A = 408 + 6x + 1536/x
  2. dA/dx = 6 − 1536/x²differentiate
  3. 6 − 1536/x² = 0stationary
  4. x² = 256, so x = 16x > 0
  5. y = 384/16 = 24
  6. 16 cm by 24 cmthe print, not the paper
  7. paper 20 cm by 30 cmx + 4, y + 6
  8. A = 20 × 30 = 600 cm²
Key idea

Try it: an open box

Your turn

Question 6 · Excellence

  • Find the point on y = √x nearest
  • To A(2, 0), and its distance.
  • Justify that it is the nearest.
Worked example

Q6: distance as a function of x

  • A point on the curve.
  • Work with D².
  1. point P(x, √x) on the curve
  2. D² = (x − 2)² + (√x − 0)²distance formula
  3. = x² − 4x + 4 + xexpand
  4. = x² − 3x + 4
  5. D least when D² leastD ≥ 0
Worked example

Q6: nearest, and why

  • Excellence: justify the min.
  • Square root at the end.
  1. D² = x² − 3x + 4
  2. d(D²)/dx = 2x − 3differentiate
  3. 2x − 3 = 0, so x = 3/2stationary
  4. d²(D²)/dx² = 2 > 0a minimum
  5. D² = 9/4 − 9/2 + 4 = 7/4
  6. D = √7/2 ≈ 1.323 s.f.
  7. P(1.5, √1.5) ≈ (1.5, 1.22)
  8. nearest distance ≈ 1.32 units
Your turn

Question 7 · Excellence, in context

  • A 30 cm sheet is folded 10 cm from
  • Each edge to make a gutter. Each side
  • Makes angle θ with the horizontal.
  • Find θ for the greatest cross-section.
Question 7 · Excellence, in context
Worked example

Q7: the area in θ

  • A rectangle and two triangles.
  • Trig for each length.
  1. height = 10sin θside 10 cm
  2. overhang = 10cos θeach side
  3. middle: 10 × 10sin θ = 100sin θ
  4. ends: 2 × (1/2)(10cos θ)(10sin θ)
  5. = 100sin θ cos θ
  6. A = 100sin θ + 100sin θ cos θ
Worked example

Q7: the best angle

  • A quadratic in cos θ.
  • Justify the maximum.
  1. A = 100sin θ + 100sin θ cos θ
  2. dA/dθ = 100(cos θ + cos²θ − sin²θ)
  3. = 100(2cos²θ + cos θ − 1)sin²θ = 1 − cos²θ
  4. = 100(2cos θ − 1)(cos θ + 1)factorise
  5. cos θ = 1/2, so θ = π/3stationary
  6. cos θ = −1: θ = πfolded flat, A = 0
  7. dA/dθ: + before π/3, − aftera maximum
  8. A = 100(√3/2)(1 + 1/2) = 75√3
  9. θ = π/3 (60°): A ≈ 130 cm²
Key idea

Try it: find the best shape

Common mistakes

  • Setting the derivative to zero is the whole answer.
    Also justify that it is a maximum or minimum, unless the question says to assume it, then give what was asked.
  • The fence in the river paddock is 2x + 2y.
    A river is one side, so the fence covers three sides: 2x + y.
  • Leaving two variables in the formula before differentiating.
    Use the constraint to write the quantity in one variable first.
Summary

The method that solved all seven

  • Model, one variable, derivative, answer.
StepHow
Namethe variables, with units
Modelthe quantity to optimise
Constraintdown to one variable
Derivativeset it equal to 0
Rejectvalues that cannot happen
Answerwhat was asked, units

Challenge

1

A lifeguard at Piha stands at A on the water's edge (a straight shoreline). A swimmer is 40 m out to sea from point B on the shoreline, and AB = 100 m. The lifeguard runs at 5 m s⁻¹ along the sand and swims at 3 m s⁻¹. Where should the lifeguard enter the water to reach the swimmer in the least time? Find that time and justify that it is the least.

Hint

Let the lifeguard enter the water x m from B. Time = distance ÷ speed for each part. The swim is the hypotenuse of a right-angled triangle.

Answer

Enter the water 70 m from A (30 m short of B); least time 923 ≈ 30.7 s

Step by step
  1. If the entry point is x m from B, the run is 100 − x and the swim is √(x² + 1600).
  2. T = 100 − x5 + √(x² + 1600)3.
  3. dTdx = −15 + x3√(x² + 1600) = 0 gives 5x = 3√(x² + 1600), so 16x² = 14400 and x = 30.
  4. At x = 30 the swim is 50 m, so T = 705 + 503 = 923 s.
  5. Compare the ends: x = 0 gives 33.3 s and x = 100 gives 35.9 s, both longer, so x = 30 gives the least time.
Full working
  1. T = 100 − x5 + √(x² + 1600)3, 0 ≤ x ≤ 100time = distance ÷ speed
  2. dTdx = −15 + x3√(x² + 1600)chain rule
  3. 5x = 3√(x² + 1600)dTdx = 0
  4. 25x² = 9x² + 14400, so x² = 900, x = 30square, x ≥ 0
  5. swim = √(900 + 1600) = 50 m3, 4, 5 triangle
  6. T = 705 + 503 = 14 + 503 = 923substitute
  7. T(0) = 20 + 403 ≈ 33.3, T(100) = √116003 ≈ 35.9the ends are longer
  8. enter the water 70 m from A; least time 923 ≈ 30.7 s
2

A cone is placed inside a sphere of radius 3 cm, with its tip and the whole rim of its base touching the sphere. Find the height of the cone with the greatest volume, and show that this cone fills exactly 827 of the sphere.

Hint

Let the cone's height be h. Draw the cross-section through the axis: the centre of the sphere is 3 from the tip, so it is h − 3 from the base. Pythagoras then gives r² in terms of h.

Answer

Height 4 cm (base radius 2√2 cm), volume 32π3 cm³, which is 827 of the sphere's 36π cm³

Step by step
  1. In the cross-section, the base radius r, the distance h − 3 from the centre to the base, and the sphere's radius 3 make a right-angled triangle.
  2. So r² = 9 − (h − 3)² = 6h − h².
  3. V = (13)πr²h = (π3)(6h² − h³), with 0 < h < 6.
  4. dVdh = (π3)(12h − 3h²) = πh(4 − h), which is 0 at h = 4. The second derivative is negative there, so it is a maximum.
  5. At h = 4, r² = 8 and V = 32π3. The sphere holds (43)π(27) = 36π, and (32π3) ÷ 36π = 827.
Full working
  1. r² + (h − 3)² = 3², so r² = 6h − h²Pythagoras in the cross-section
  2. V = (13)π(6h − h²)h = (π3)(6h² − h³)one variable
  3. dVdh = (π3)(12h − 3h²) = πh(4 − h)differentiate
  4. h = 4h > 0
  5. d²Vdh² = (π3)(12 − 6h) = −4π < 0 at h = 4a maximum
  6. r² = 24 − 16 = 8, V = (π3)(8)(4) = 32π3the greatest cone
  7. sphere: (43)π(3³) = 36πvolume of the sphere
  8. (32π3) ÷ 36π = 32108 = 827the fraction
  9. height 4 cm; the cone fills 827 of the sphere
3

A corridor 2.7 m wide meets a corridor 6.4 m wide at a right-angled corner. Find the length of the longest straight pole that can be carried horizontally around the corner, and explain why your method gives the longest.

Hint

Picture the pole touching the inside corner and both outer walls, at angle θ to the walls of the wide corridor. Its length is a function of θ. The pole fits only if it is shorter than this length at every angle.

Answer

12.5 m, when tan θ = 43

Step by step
  1. With the pole touching the inside corner at angle θ, the part in the narrow corridor is 2.7cos θ and the part in the wide corridor is 6.4sin θ.
  2. So the gap length at angle θ is L(θ) = 2.7cos θ + 6.4sin θ, for 0 < θ < π2.
  3. A pole gets around only if it fits at every angle, so the longest pole equals the smallest value of L. That is why we minimise to find a longest.
  4. dLdθ = 2.7sin θcos²θ − 6.4cos θsin²θ = 0 gives tan³θ = 6.42.7 = 6427, so tan θ = 43.
  5. Then sin θ = 45 and cos θ = 35, so L = 2.7 ÷ 0.6 + 6.4 ÷ 0.8 = 4.5 + 8 = 12.5 m. L is very large near both ends, so this is the minimum.
Full working
  1. L(θ) = 2.7cos θ + 6.4sin θ, 0 < θ < π2the gap at angle θ
  2. dLdθ = 2.7sin θcos²θ − 6.4cos θsin²θddθ(sec θ) = sec θ tan θ, ddθ(cosec θ) = −cosec θ cot θ
  3. 2.7sin³θ = 6.4cos³θdLdθ = 0, × sin²θcos²θ
  4. tan³θ = 6427, so tan θ = 43cube root
  5. sin θ = 45, cos θ = 353, 4, 5 triangle
  6. L = 2.70.6 + 6.40.8 = 4.5 + 8 = 12.5substitute
  7. L → ∞ as θ → 0 and as θ → π2so 12.5 is the least value
  8. longest pole = least gap = 12.5 m

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91578

Is your child on track?

Take the free placement test