Summary
- Optimisation: Finding the absolute maximum or minimum value of a quantity.
- Method: Model the quantity as a function of one variable, then find its turning points.
- Turning Point Condition: Set the first derivative to zero ().
- Variable Naming: Capital letters for dependent variables (e.g., , , ), lowercase for independent (e.g., , ).
- Single-Variable Equation Formation:
- Express the quantity to optimise using one independent variable.
- Use constraints to substitute and eliminate other variables.
- GDC Use:
- Plot the single-variable function (map problem variables to ).
- Use built-in "minimum" or "maximum" analysis tools to find the turning point.
- Interpretation: State the final answer in the context of the problem.
- "Show That" Steps: Provide clear algebraic working for substitutions and derivations.
- Contextual Validity: Ensure answers are physically sensible (e.g., positive lengths, volumes).
- Example Area Constraint:
- Example Optimised Function (Perimeter):
- Example Derivative for Optimisation:
- Example Solution: Setting yields .
How it is examined
A long SL question, five or six marks, and the structure is always the same: form an expression from the context, eliminate a variable using a constraint, differentiate, solve , then answer the original question in context with units. The last step is the one students drop, giving the value of rather than the minimum cost. The explicit ban on kinematics at SL is the constraint to hold when writing an SL optimisation question.
Optimisation problems in context.
In SL examinations, questions on kinematics will not be set. Kinematics is HL only, at AHL 5.13 and AHL 3.12.
Practice questions
44 questions · 26 medium · 18 hardQuestion 1
MediumPaper 1 · calculator6 marksA company is designing a closed cylindrical container to hold a specific volume of liquid. The total surface area of the container, in cm, with a fixed volume of cm and a radius of cm, is given by the function , where .
Find .
Solve .
Interpret your answer to (b)(i) in context.
Recall the power rule for differentiation. You may find it helpful to rewrite the term using a negative exponent before differentiating.
Set the derivative you found in part (a) equal to zero and solve for . Remember that .
Consider what setting the derivative to zero tells you about the original function, and relate it back to the problem of designing the container.
Question 2
HardPaper 1 · calculator10 marksA group of engineers is designing a new observation Ferris wheel. The height, , in metres, of a passenger capsule above the ground is modelled by the function , where is the time in seconds after the capsule begins its ascent from the highest point.
The lowest point a capsule reaches is 2 metres above the ground, and the highest point is 32 metres above the ground. The Ferris wheel completes one full rotation in 200 seconds.
Find the values of and .
Using your values from part (a), the function is .
(i) Find .
(ii) Find .
The engineers are particularly interested in the moment when the capsule's vertical speed is at its maximum, for the first time after . This occurs at time .
Calculate the value of .
Calculate the height of the capsule at this time .
The amplitude of a sinusoidal function is half the difference between its maximum and minimum values. The vertical shift (midline) is the average of the maximum and minimum values. Consider the starting point () to determine the sign of .
Remember the chain rule for differentiation. For , the derivative is . The derivative of is .
The vertical speed is given by . To find when the speed is maximum, you need to find the maximum value of . This occurs when or at the endpoints of the domain. Consider the range of the sine function.
Substitute the value of you found in part (c.i) into the original height function .
Question 3
MediumPaper 1 · calculator9 marksA landscape architect is designing a modular planter box for a new urban garden. The planter box has a base and top that are identical sectors of a circle, each with radius cm and angle radians. The height of the planter box is cm. The total length of metal frame used for all edges of the planter box is cm. This includes two circular arcs, four radial edges for the top and bottom sectors, and three vertical connecting edges.
(a) Show that .
(b) The planter box is designed to hold soil, enclosing a volume, .
(i) Find an expression for in terms of .
(ii) Find the expression for .
(iii) Solve algebraically to find the value of that will maximize the volume, .
Carefully identify all the edges that contribute to the total length of the metal frame. Remember the formula for the arc length of a sector.
Recall the formula for the area of a circular sector and how it relates to the volume of a prism.
Remember to use the quotient rule for differentiation, or rewrite the expression using a negative exponent and apply the product rule.
To maximize a function, you typically find where its derivative is equal to zero.
Question 4
HardPaper 2 · calculator19 marks(a) A space probe, 'Voyager Alpha', is launched from a space station. The position of the probe at time days after launch is given by the vector
Distances are measured in thousands of kilometres.
Find the position vector of the probe days after launch.
(b) A second space probe, 'Explorer Beta', is launched from a different station. The position vector of this probe is given by the vector
Determine if the two flight paths intersect and, if so, state the point of intersection.
(c) The two probes were launched at the same time, so .
State, with a reason, whether the two probes actually collide.
(d) Calculate the distance between the two space stations (the initial launch points).
(e) Calculate the shortest distance that ever exists between the two probes and the time when this occurs. Assume days.
Substitute the given time value into the vector equation for the probe's position.
Equate the components of the two position vectors to form a system of linear equations. Solve for and using two of the equations, then check if these values satisfy the third equation.
Consider the results from part (b). For a collision to occur, the paths must intersect AND the probes must be at the intersection point at the same time.
The initial launch points are the constant vectors in the position equations (when or ). Use the 3D distance formula.
Form a vector representing the difference in position of the two probes at time (since they launched simultaneously, ). Find the magnitude squared of this difference vector, then differentiate with respect to and set to zero to find the minimum. Remember to consider the domain .
Question 5
MediumPaper 1 · calculator9 marksA surveillance drone D is flying with a constant velocity, , measured in kilometres per hour, where
.
At time the drone is at a point A(50, 20) relative to an origin O, where distances are
measured in kilometres.
Find the position vector of the drone at time hours.
A protected bird's nest is located at a point N(99, 2).
Find the value of when the drone will be closest to the bird's nest.
An environmental sensor will trigger if the drone flies within 18 kilometres of the nest.
State whether the sensor will trigger. Give a reason for your answer.
Recall that the position vector of an object moving with constant velocity is given by , where is the initial position vector and is the velocity vector.
The drone is closest to the nest when the vector connecting the nest to the drone is perpendicular to the drone's velocity vector. This means their dot product is zero.
Calculate the minimum distance between the drone and the nest using the value of found in part (b), then compare it to the given trigger distance.
Question 6
HardPaper 2 · calculator13 marksA company is designing an open-top storage container with a square base. The side length of the base is cm and the height is cm. The container needs to have a volume of cm.
Explain why .
Rearrange the equation in part (a) to make the subject.
Write down an expression for the surface area, , of the open-top container.
Show that this can be written as
Plot the graph of for .
Find the minimum surface area and the value of when this occurs.
Recall the formula for the volume of a rectangular prism (or cuboid). The base is a square.
Isolate the variable on one side of the equation.
The container has a square base and four rectangular sides. Remember it is open-top.
Substitute the expression for from part (b) into the surface area formula from part (c).
Use your GDC to plot the function. Ensure you choose an appropriate window to see the minimum point.
You can use the GDC's 'minimum' function or calculus by finding the derivative and setting it to zero.
Question 7
MediumPaper 1 · calculator8 marksA builder is designing a large decorative window for a new architectural project. The window is to be in the shape of a rectangle topped with a semi-circle (often called a Norman window).
The width of the rectangular part is metres and its height is metres. The diameter of the semi-circle is metres, with and .

The builder has decided that the total perimeter of the window frame will be 12 metres and would like to maximize the area for light.
Find an expression for the perimeter in terms of and .
Show that the area, , of the window can be expressed as .
Find .
Hence find the exact value of for which the area is a maximum.
The perimeter includes the two vertical sides of the rectangle, the base of the rectangle, and the arc length of the semi-circle. Remember the formula for the circumference of a circle.
First, write down the formula for the area of the rectangle and the semi-circle in terms of and . Then, use the perimeter expression from part (a) to express in terms of and substitute it into the area formula.
Differentiate the area function with respect to . Treat as a constant.
To find the maximum area, set the derivative to zero and solve for . Ensure your answer is in exact form.
Question 8
HardPaper 2 · calculator15 marks(a) A pharmaceutical company is designing a new cylindrical container for a special liquid. The container has a fixed volume .
The radius of the container is and the height is .
Show that .
(b) Find an expression for the total surface area of the container.
(c) Substitute an expression for (from part (a) ) into your expression for (from part (b) ) and hence show that .
(d) Find .
(e) Find the minimum value of and the values of and when this occurs. Show that this value of is indeed a minimum.
Recall the formula for the volume of a cylinder. Substitute the given volume into this formula.
The total surface area of a cylinder consists of the area of the two circular bases and the area of the curved side.
From part (a), isolate . Then substitute this expression for into the formula for from part (b). Simplify the resulting expression.
Differentiate the expression for with respect to . Remember that can be written as .
To find the minimum value, set and solve for . Then use this value of to find and . To show it's a minimum, use the second derivative test.
Question 9
MediumPaper 1 · calculator5 marksA conical tank is being filled with water. The tank has a height of 12 cm and a radius of 4 cm at its top. Water is poured into the tank such that the volume of water is increasing at a rate of 10 cms.
(a) Find the height of the water in the tank when its volume is 8 cm.
(b) Hence or otherwise, find the rate of change of the height of the water at this instant.
Recall the formula for the volume of a cone, . Use similar triangles to establish a relationship between the radius () and height () of the water in the conical tank.
You have the volume in terms of height . Differentiate with respect to to find . Then, use the chain rule, , to find .
Question 10
HardPaper 2 · calculator15 marks(a) A company is designing a new type of display stand for a product. The stand is in the shape of a right prism with an equilateral triangular base. The side length of the equilateral triangle is cm and the height of the prism is cm.

Given that , show that the area of the base of the stand is equal to .
(b) Given that the total external surface area of the stand is cm, show that the volume of the stand may be expressed as .
(c) Sketch the graph of , for .
(d) Find an expression for .
(e) Find the value of which maximizes the volume of the stand.
(f) Hence, or otherwise, find the maximum possible volume of the stand.
Recall that an equilateral triangle can be divided into two right-angled triangles. Use trigonometry to find the height of the equilateral triangle in terms of . The area of a triangle is given by .
First, write down the formula for the total surface area of the prism in terms of and . Use the given total surface area to express in terms of . Then, substitute this expression for into the formula for the volume of the prism.
Identify the roots of the function (where ). Find the maximum point by setting (from part (d) ) and substituting the value back into the volume equation. Pay attention to the shape of a cubic function with a negative coefficient.
Differentiate the volume function with respect to using the power rule.
To find the maximum volume, set the derivative equal to zero and solve for . Remember that must be a positive length.
Substitute the value of found in part (e) into the volume expression .
Question 11
MediumPaper 1 · calculator10 marksA landscape architect is designing a series of modular planter boxes for an urban garden project. The volume, cm, of a particular planter box is modelled by the function , where is the depth of the planter in cm.
(a) Use your graphic display calculator to find the value of that will produce the maximum volume.
(b) Show that the maximum volume of the planter box is cm.
The width of the planter is cm, and the length is cm.
(c) The architect is interested in the total linear dimension , which is defined as the sum of the depth, width, and length of the planter. Hence find the value of when the volume is maximized.
To find the maximum volume, you need to find the value of where the rate of change of volume with respect to is zero. You can use your GDC to find the maximum point of or the root of .
Integrate the derivative to find the volume function . Remember that the volume is 0 when the depth is 0. Then substitute the value of found in part (a) into .
First, write an expression for in terms of . Then, use the value of that maximizes the volume from part (a).
Question 12
HardPaper 2 · calculator24 marksA landscape architect is designing a new public park. The northern boundary of the park is modelled by the function , and other boundaries are straight lines. The plan view of the park is shown in the following diagram, where both axes represent distance and are measured in metres.

The function models the northern boundary of the park between points B and C and is given by
, for .
(i) Find .
(ii) Hence find the coordinates of the point on the park's northern boundary that is furthest north.
Point A has coordinates , point B has coordinates , point C has coordinates and point D has coordinates .
(i) Write down the integral which can be used to find the area of the shaded region representing the park.
(ii) Find the area of the park.
(i) A landscaper uses the trapezoidal rule with 4 intervals to estimate the area of the park. Calculate this estimate.
(ii) Calculate the percentage error in the landscaper's estimate.
(iii) Suggest how the landscaper might be able to reduce the error whilst still using the trapezoidal rule.
A square-shaped meditation garden, PQRS, is to be built within the park. The side [PS] lies on the southern boundary (x-axis), and the side [QR] lies on the eastern boundary of the park (). Point Q lies on the northern boundary curve .
(i) Find the x-coordinate of point P for the largest area of the meditation garden.
(ii) Find the largest area of the meditation garden.
Recall the power rule for differentiation: if , then . The derivative of a constant term is zero.
The point furthest north corresponds to the maximum value of . To find this, set the derivative to zero and solve for . Then substitute this -value back into to find the corresponding -coordinate.
The area under a curve from to is given by the definite integral . Identify the function and the limits of integration from the problem description.
Evaluate the definite integral you wrote down in part (b)(i). Use your GDC for calculation if allowed, or integrate term by term.
The trapezoidal rule formula is , where . For 4 intervals over , . Calculate at .
Percentage error is given by . Use the exact area from part (b)(ii) and the estimate from part (c)(i).
Consider how the number of intervals affects the accuracy of numerical integration methods like the trapezoidal rule.
Let the x-coordinate of P be . The side length of the square will be . Since Q lies on , its y-coordinate is . For a square, the side length must equal the height, so equate to and solve for . Remember that must be within the park's boundaries.
Once you have the x-coordinate of P, calculate the side length of the square using . Then square this side length to find the area.
Question 13
MediumPaper 2 · calculator13 marksA company's profit, , in thousands of dollars, from selling thousand units of a new smart device, is modelled by the function , for .
Find an expression for .
Find the equation of the tangent to the profit curve at the point where .
Determine the number of units sold (to the nearest unit) that maximizes the company's profit, and state the maximum profit (to two decimal places).
Determine the range of values of (number of thousands of units sold) for which the company's profit is increasing.
Use the quotient rule for differentiation. Recall that if , then .
To find the equation of a tangent line, you need a point and the gradient . The point can be found by evaluating at , and the gradient is .
Maximum profit occurs when the gradient of the profit function is zero, i.e., . Solve for and then calculate at that value. Remember is in thousands of units and is in thousands of dollars.
The profit is increasing when the derivative is positive. Use your result from part (a) and the roots found in part (c). Remember that .
Question 14
HardPaper 2 · calculator17 marks(a) A company is designing a new storage silo for a farm. The silo consists of a cylindrical body topped with a hemispherical dome. The silo is built on a flat concrete base, so only the curved surface of the cylinder and the surface of the hemispherical dome require material.
Let the radius of the cylindrical base be metres and the height of the cylindrical body be metres.

Find an expression for the total exterior surface area, m, of the silo in terms of and .
(b) Show that the total volume, m, of the silo is given by the expression
.
(c) The farm requires the silo to have a total storage capacity of m.
Hence show that .
(d) The company wants to minimize the material used for the exterior of the silo.
Show that is given by the expression
.
(e) Find an expression for .
(f) Find the value of and the value of that minimizes the use of plastic.
(g) By interpreting your answer to part (f), suggest the best shape for the silo.
Recall the formula for the curved surface area of a cylinder and the surface area of a hemisphere. The base of the cylinder is not included in the exterior surface area.
Recall the formula for the volume of a cylinder and the volume of a hemisphere. Combine these and express with a common denominator.
Substitute the given volume into the expression from part (b) and rearrange the equation to solve for .
Substitute the expression for from part (c) into the surface area expression from part (a) and simplify.
Differentiate the expression for with respect to . Remember that can be written as .
To find the minimum, set and solve for . Then use the value of to find from part (c).
Consider what means for the shape of the silo.
Question 15
MediumPaper 2 · calculator11 marksA metal sheet, with dimensions by , is to be used to create an open-top storage container. A square of side length is cut from each corner of the sheet. The sides are then folded upwards to form the container.
Show that the volume of the container can be expressed as .
Determine an expression for .
Hence, demonstrate that for the container to have a maximum volume, must satisfy the equation .
Using your GDC, find the maximum possible volume of the container, correct to three significant figures.
Consider the dimensions of the base of the container and its height after the squares are cut and the flaps are folded up. The length and width of the base will each be reduced by . The height of the container will be .
Differentiate the volume expression with respect to . Remember the power rule for differentiation.
To find the maximum volume, you need to set the first derivative of the volume with respect to to zero, i.e., . Then, simplify the resulting equation.
Solve the quadratic equation for . Remember that must be a positive value and less than half of the smallest original dimension of the sheet. Once you find the valid value of , substitute it back into the original volume formula .
Question 16
HardPaper 2 · calculator23 marks(a) A confectionery company is designing a new wrapper for a chocolate bar. The wrapper is in the shape of a rectangular prism with a square base of side length cm. The height, cm, is twice the side length of the base.
Write down an expression for in terms of .
(b) The chocolate bar has a volume of cm.
Find the value of and .
(c) Calculate the total external surface area of this rectangular prism wrapper.
(d) The company also considers a cylindrical wrapper with radius cm and height cm. This wrapper must also hold cm of chocolate.
Find an expression for the height, , of the cylindrical wrapper in terms of .
(e) Let the total external surface area of the cylindrical wrapper be cm.
Show that .
(f) Find .
(g.i) Hence or otherwise, find the value of that will minimize .
(g.ii) Find the minimum value of for the cylindrical wrapper.
(h) To account for manufacturing waste and overlap, an additional of the calculated surface area is required for the rectangular prism wrapper, and for the cylindrical wrapper.
Determine which wrapper design the company should choose to minimize material usage. Justify your answer.
The question states a direct relationship between the height and the side length of the square base.
The volume of a rectangular prism is given by the area of the base multiplied by the height. Use the expression from part (a) to relate the height to the base side length.
The total surface area of a rectangular prism with a square base is the sum of the areas of the two square bases and the four rectangular sides. Use the values of and found in part (b).
The volume of a cylinder is given by . Use the given volume to express in terms of .
The total surface area of a cylinder is . Substitute the expression for from part (d) into this formula.
Differentiate the expression for with respect to . Remember that and .
To find the minimum value of , set the derivative to zero and solve for . Alternatively, you can use a GDC to find the minimum point of the function or the root of .
Substitute the value of found in part (g.i) into the surface area formula .
Calculate the total material needed for each wrapper type by adding the respective percentage increases to their surface areas. Then compare the two total amounts.
Question 17
MediumPaper 2 · calculator9 marksA construction company is designing a drainage channel with a rectangular cross-section. They have a total of metres of a special waterproof lining material to form the base and the two vertical sides of the channel's cross-section. Let represent the height of the channel in metres.
(a) Find an expression for the cross-sectional area, , of the channel in terms of , in its simplest form.
(b) Determine the value of that maximizes the cross-sectional area.
(c) Calculate the maximum cross-sectional area of the channel.
Let the width of the channel be . Express the total length of the lining material in terms of and . Then, express in terms of and substitute it into the formula for the area of a rectangle.
To find the maximum value of a quadratic function, you can use calculus (finding the derivative and setting it to zero) or the formula for the x-coordinate of the vertex of a parabola.
Substitute the value of found in part (b) into the area expression from part (a).
Question 18
HardPaper 2 · calculator31 marksA marine engineer is modelling the vertical displacement, meters, of a buoy from its equilibrium position at time minutes after being disturbed by a wave. The motion is described by the differential equation:
.
This equation can be rewritten as a system of coupled first-order differential equations:
.
Find the general solution for .
Initially, the buoy is at its equilibrium position () and has an initial upward velocity of m/min ().
Find an expression for in terms of .
Sketch against in the interval .
The engineer is interested in the maximum upward displacement of the buoy.
Find the time, in minutes, when this maximum displacement occurs.
Calculate the maximum upward displacement of the buoy.
An improved model for the buoy's motion, considering an external periodic force, is given by:
.
The same initial conditions as in part (b.i) apply ( and ).
Use Euler's method with a -interval of to predict the value of when .
To find the general solution of a second-order linear homogeneous differential equation, first find the characteristic equation by assuming a solution of the form . Then solve for the eigenvalues .
Use the initial conditions to set up a system of linear equations for the constants and from your general solution in part (a). Remember to differentiate your general solution first to use the initial velocity condition.
Consider the behavior of the function as increases. What is ? What is the limit as ? Is there a maximum or minimum point? Use your GDC to help you plot the function.
To find the maximum displacement, you need to find the critical points of the function . This involves setting the first derivative to zero and solving for .
Once you have the time at which the maximum displacement occurs, substitute this value of back into the original function to find the maximum displacement.
First, rewrite the second-order differential equation as a system of two first-order equations: and . Then apply Euler's method iteratively for and for 10 steps, starting from with a step size of .
Question 19
MediumPaper 2 · calculator19 marks(a) Two drones, P and Q, are launched simultaneously. Drone P is launched from the origin of a coordinate system, while Drone Q is launched from a point units along the positive horizontal axis. The velocity equations for the two drones are given by and where:
and
Write down vector equations for the displacement, and , of the two drones at time .
(b) Find an expression for the vector joining the centre of Drone P to the centre of Drone Q.
(c) Hence find the shortest distance between the two drones.
(d) The pilot of Drone P adjusts its initial velocity vector to . The velocity equation for Drone P is now .
Find the values of and if the two drones collide when seconds.
(e) Using the values of and found in part (d), find the angle to the horizontal at which Drone P was initially launched.
To find the displacement vector from the velocity vector, integrate each component with respect to time. Remember to include the initial position as the constant of integration.
The vector joining Drone P to Drone Q is given by . Subtract the corresponding components of the displacement vectors found in part (a).
The shortest distance occurs when the magnitude of the relative position vector is minimized. This is equivalent to minimizing the square of the magnitude. Find the derivative of the squared magnitude with respect to and set it to zero.
For a collision to occur, the position vectors of the two drones must be equal at the specified time. First, find the new displacement vector for Drone P using the adjusted velocity. Then, set the components of and equal to each other at to solve for and .
The initial velocity vector for Drone P is . The angle to the horizontal can be found using the components of this initial velocity vector and trigonometry (e.g., tangent function).
Question 20
HardPaper 2 · calculator17 marksA decorative garden sculpture is made from two parts: a cylindrical base and a hemispherical dome on top. The outer surface of the sculpture is painted. This includes the curved surface of the cylinder and the curved surface of the hemisphere. The cylindrical part rests on a flat pedestal, so its base is not painted, and there is no flat surface between the cylinder and the hemisphere.
Let the height of the cylinder be and the radius of its base be .

Find an expression for the total external painted surface area, , of the sculpture in terms of and .
Show that the total volume, , enclosed by the sculpture is given by the expression
The total volume enclosed by the sculpture is .
Hence show that .
The cost of painting the sculpture is proportional to its total external painted surface area.
Show that is given by the expression
.
To minimize the cost of painting, the surface area must be minimized.
Find an expression for .
Find the value of and the value of that minimizes the painted surface area.
By interpreting your answer to part (f), suggest the best shape for the sculpture to minimize the painted surface area.
Recall the formulas for the curved surface area of a cylinder and a hemisphere. The problem specifies that the base of the cylinder is not painted and there is no flat surface between the cylinder and hemisphere.
Recall the formulas for the volume of a cylinder and a hemisphere. Combine these to find the total volume.
Substitute the given volume into the expression for from part (b) and rearrange the equation to solve for .
Substitute the expression for from part (c) into the surface area formula from part (a) and simplify.
Differentiate the expression for with respect to . Remember that .
Set the derivative to zero and solve for . Then use the expression for from part (c) to find the corresponding height.
Consider what a shape looks like when the height of the cylindrical part is zero.
No question on this page matches those filters. Try another difficulty or paper.
1,013 more IB Math AI questions in the app
Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.
Where marks are lost
- Using your own wrong value after failing a "show that." All follow through is withdrawn for the rest of that question.
- Leaving an answer in calculator notation. Never accepted in a final answer, and AI's constant calculator use makes this the easiest slip in the whole subject.
Links to other topics and subjects
- Other contexts: efficient use of material in packaging.
- Links to other subjects: kinematics (physics); allocative efficiency (economics).
- TOK: how can the rise in tax for plastic containers, for example plastic bags and plastic bottles, be justified using optimization?