In short
Optimization means finding the largest or smallest value of a quantity, such as an area, a cost or a distance. The calculus is what you already know; the new skill is setting up: identify the quantity to optimise, write it as a function, use the constraint to reduce it to one variable, and state the domain. Then find and justify the extremum.
What you need to know
- Identify the objective function and the constraint in a word problem.
- Use the constraint to write the objective as a function of one variable.
- State a sensible domain for the variable.
- Find and justify the optimal value.
Setting up
- Objective: the quantity to make largest or smallest (area, volume, cost, time).
- Variables: name them, ideally on a sketch.
- Constraint: an equation linking the variables (a fixed perimeter, a fixed volume).
- One variable: use the constraint to substitute.
- Domain: the values that make physical sense.
Example. Two positive numbers have sum 20. Make their product as large as possible. Objective: . Constraint: , so and on .
Solving and justifying
gives . Since , is concave down everywhere, so this single critical point is the absolute maximum. The numbers are 10 and 10, and the largest product is 100.
Fencing. A farmer has 200 m of fence for a rectangular pen. With side lengths and , , so , and the area is on . at , and . The best pen is a 50 m by 50 m square with area 2500 m².
A minimum problem
Find the smallest value of the sum of a positive number and its reciprocal. Objective: for . Then at (rejecting , which is outside the domain). changes from negative to positive at 1, and it is the only critical point, so the absolute minimum is .
The domain here is open and unbounded, so there are no endpoints to test. That is exactly when the single critical point argument is useful.
Most real design problems are optimization problems in disguise: the least material for a container of fixed volume, the shortest route between two places, the price that brings in the most revenue. Topic 5.11 works through harder versions where the setup needs more geometry.
Key terms
- Optimization
- Finding the maximum or minimum value of a quantity under given conditions.
- Objective function
- The function whose value is to be maximised or minimised.
- Constraint
- An equation or condition linking the variables.
- Feasible domain
- The set of input values that make sense in the problem.
Common mistakes
Differentiating a function of two variables.
Use the constraint to write the objective in one variable first.
Forgetting the domain.
State the domain; it decides which critical points and endpoints count.
Stopping at the critical point.
Justify that it gives a maximum or minimum, then answer the actual question.
How this topic is tested
- Draw and label a diagram before writing any equation.
- Write the objective in words first, then as a formula.
- Finish with a sentence giving the answer with units.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · MP 1 · Implementing Mathematical Processes
Two positive numbers have sum 20. What is their largest possible product?
Question 2 · MP 1 · Implementing Mathematical Processes
A rectangle has perimeter 200 m. What is its largest possible area?
Question 3 · MP 3 · Justification
In an optimization problem, what is the constraint used for?
Question 4 · MP 1 · Implementing Mathematical Processes
What is the smallest value of for ?
Question 5 · MP 4 · Communication and Notation
Which is a valid justification that x = 50 maximises A(x) = x(100 − x) on (0, 100)?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Free response (no calculator) · 4 points
A rectangle has one side on the x-axis and its upper corners on the parabola y = 12 − x², for −√12 < x < √12.
- (a) Write the area of the rectangle as a function of x, where (x, 12 − x²) is the upper right corner and x > 0.
- (b) Find the value of x that maximises the area. Justify.
- (c) Find the maximum area.
Scoring guide: one point for each of the following
Part (a)
- .
Part (b)
- at .
- , and is the only critical point for , so it is the absolute maximum.
Part (c)
- square units.
Connected topics
Frequently asked questions
How do I know which quantity to optimise?
The question says: look for words like largest, smallest, least cost, maximum volume.
What if the domain is closed?
Then use the Candidates Test and include the endpoints.
Are calculators allowed?
Some optimization questions are on calculator sections, where solving f′ = 0 numerically is fine.