- Foundation
- About 14 min
- 5 practice questions
Optimisation with numbers and simple costs
Solve optimisation problems about numbers, fencing, and income: build one formula in one variable, find its stationary point, check it is a maximum or minimum and state the answer with units.
If something looks wrong, please tell us.
Earlier you found the largest rectangle for a fixed perimeter. The same method works for many other questions that ask for the 'largest', 'smallest', 'cheapest' or 'most profitable'. The skill is not the differentiating, which is routine, but turning a sentence into a formula with one variable. This lesson practises that on numbers, fences and sales.
The method
- Name the quantity to be made largest or smallest, and write a formula for it.
- If it uses two variables, use the condition in the question to eliminate one, so it has a single variable x.
- Write the sensible range of x, for example x > 0.
- Differentiate, set the derivative to 0 and solve.
- Check with f″ or a sign table that you have a maximum or a minimum, then answer the question that was asked, with units.
One quantity, one variable, then f′ = 0. Check the nature of the point and answer in words.
Worked example 1: two numbers with a fixed sum
Two positive numbers add up to 20. Find the largest possible product. Call the numbers x and 20 − x. The product is P = x(20 − x) = 20x − x². Then P′ = 20 − 2x = 0 gives x = 10, and P″ = −2 < 0, so this is a maximum. The numbers are 10 and 10 and the largest product is 100.
Worked example 2: a number and its reciprocal
For x > 0, find the least value of x + 1/x. Let f = x + 1/x. Then f′ = 1 − 1/x², which is zero when x² = 1, so x = 1 (we want x > 0). Also f″ = 2/x³ = 2 at x = 1, which is positive, so it is a minimum. The least value is f(1) = 2. This shows that a positive number plus its reciprocal is never less than 2.
Worked example 3: the shortest fence for a given area
A rectangular plot must have an area of 900 m². Find the dimensions that need the least fencing. Let one side be x metres; the other is 900/x. The perimeter is P = 2x + 1800/x for x > 0. Then P′ = 2 − 1800/x², which is zero when x² = 900, so x = 30. Also P″ = 3600/x³ is positive, so it is a minimum. The sides are 30 m and 900/30 = 30 m, a square, and the least fence is 2(30 + 30) = 120 m. Notice that for a fixed area the square has the shortest perimeter, and for a fixed perimeter the square has the greatest area.
Worked example 4: the best selling price
Suppose a shopkeeper finds that at a price of p rupees she sells q = 100 − 2p items a day (an illustrative demand formula). Her income is R = pq = 100p − 2p². Then R′ = 100 − 4p = 0 gives p = 25, and R″ = −4 < 0, so income is greatest there. At p = 25 she sells q = 50 items, and the income is 25 × 50 = 1250 rupees a day. This is income, not profit, because costs have not been considered.
Key takeaways: turn the words into a formula in one variable and state its range. Solve f′ = 0, test whether it is a maximum or minimum, and compute the quantity asked for, not only x. For a fixed sum, the product is greatest when the numbers are equal; for a fixed area, the rectangle with the shortest fence is a square. Check units and whether the answer is sensible.
Check your understanding
-
1. Two positive numbers have sum 30. What is the greatest possible product?
- 225
- 200
- 250
- 150
Show answer
Answer: A. With numbers x and 30 − x, P = 30x − x². P′ = 30 − 2x = 0 gives x = 15, and the product is 15 × 15 = 225.
-
2. For x > 0, what is the least value of x + 1/x?
- 1
- 0
- 2
- 1/2
Show answer
Answer: C. f′ = 1 − 1/x² = 0 gives x = 1, and f″ = 2/x³ > 0. The least value is 1 + 1 = 2.
-
3. A rectangle has area 400 m². What is the least possible perimeter?
- 40 m
- 80 m
- 100 m
- 160 m
Show answer
Answer: B. With sides x and 400/x, P = 2x + 800/x. P′ = 2 − 800/x² = 0 gives x = 20, so it is a 20 m square with perimeter 80 m.
-
4. Income is R = 60p − 3p² rupees for a price of p rupees. At what price is income greatest, and what is it?
- p = 20, R = 0 rupees
- p = 10, R = 600 rupees
- p = 30, R = 900 rupees
- p = 10, R = 300 rupees
Show answer
Answer: D. R′ = 60 − 6p = 0 gives p = 10. Then R = 600 − 300 = 300 rupees. R″ = −6 < 0, so it is a maximum.
-
5. For x > 0, what is the least value of x + 36/x?
- 6
- 12
- 18
- 72
Show answer
Answer: B. f′ = 1 − 36/x² = 0 gives x = 6. Then f(6) = 6 + 6 = 12, and f″ = 72/x³ > 0 confirms a minimum.
Sign in to keep track of the lessons you finish.