Quadratic Optimization
Discounts, tax, tips, profit margins
Measurements, material estimation, cutting calculations
Quadratic functions model countless real-world situations: the revenue from selling a product, the area of a fenced region, the height of a thrown ball, the cost of manufacturing. Because every quadratic has a single vertex — a highest or lowest point — we can find the optimal value of any quantity modeled by a quadratic. This is quadratic optimization.
Why the Vertex Is the Key
A quadratic function has a parabola as its graph. The vertex of that parabola is the maximum or minimum point:
- If (opens upward), the vertex is the minimum
- If (opens downward), the vertex is the maximum
The -coordinate of the vertex is:
The optimal value (the -coordinate) is .
This formula comes from completing the square, which rewrites as:
The squared term is minimized (equals zero) when .
Completing the Square to Find the Vertex
Worked Example 1: Standard Form to Vertex Form
Convert to vertex form.
Step 1: Factor out the leading coefficient from the first two terms:
Step 2: Complete the square inside the parentheses. Half of is ; square it to get :
Vertex: . Since , this is a minimum.
Quick Formula Method
Using :
Both methods confirm the vertex is .
Optimization Word Problems
The general strategy for quadratic optimization problems:
- Define variables and write the quantity to optimize as a function
- Express everything in one variable using the given constraint
- Find the vertex using or completing the square
- Interpret the result in context and check that it makes sense
Worked Example 2: Maximum Revenue
A company sells widgets at a price of dollars each. Market research shows that the number of units sold is . Find the price that maximizes revenue.
Step 1: Revenue = (price)(quantity): .
Step 2: This is a quadratic in with (opens downward), so it has a maximum.
Step 3:
Step 4: Maximum revenue: .
Answer: The optimal price is $20 per widget, producing a maximum revenue of $8,000. At this price, widgets are sold.
Worked Example 3: Maximum Area with Fixed Perimeter (Carpentry)
A carpenter has 60 feet of trim to frame a rectangular window. What dimensions maximize the area?
Step 1: Let = width. Then the perimeter constraint gives: , so .
Step 2: Area: .
Step 3: feet, so feet.
Step 4: Maximum area: square feet.
Answer: A square window (15 ft by 15 ft) maximizes the area at 225 sq ft. This confirms the classic result: among all rectangles with a given perimeter, the square has the greatest area.
Worked Example 4: Minimum Cost (Engineering)
A manufacturer’s cost function is , where is the number of units produced daily.
Step 1: Here , so the parabola opens upward — the vertex is a minimum.
Step 2: units.
Step 3: Minimum cost: .
Answer: Producing 400 units daily minimizes the cost at $1,400.
Worked Example 5: Three Sides of Fencing
A farmer needs to fence a rectangular area along a river (no fence needed on the river side). With 200 meters of fencing, what dimensions maximize the enclosed area?
Step 1: Let = the side perpendicular to the river (two of these). Then the side parallel to the river is .
Step 2: Area: .
Step 3: meters. The parallel side is meters.
Step 4: Maximum area: square meters.
Answer: The optimal pen is 50 m by 100 m, enclosing 5,000 sq m.
Worked Example 6: Projectile Motion
A ball is launched upward from a 48-foot platform with an initial velocity of 64 ft/s. Its height is .
Maximum height time: seconds.
Maximum height: feet.
When does it hit the ground? Set :
Taking the positive root: seconds.
Second Derivative Test Preview
In calculus, you will learn that the second derivative of is . This constant tells you the concavity:
- : concave up, so the critical point is a minimum
- : concave down, so the critical point is a maximum
This is exactly what the sign of already tells you in the quadratic case, but the second derivative test generalizes to all differentiable functions — not just quadratics.
Common Mistakes
-
Forgetting domain restrictions. If represents a physical quantity (like length), it must be positive. Always check that your optimal -value is in the feasible domain.
-
Confusing and in the answer. The problem asks for dimensions, not just the vertex coordinates. Translate back to the original variables.
-
Not checking the sign of . The vertex is a maximum only when , and a minimum only when .
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Find the vertex of and state whether it is a maximum or minimum.
Since , the vertex is a maximum.
Answer: Vertex is , a maximum.
Problem 2: A store sells T-shirts at a price of dollars. The demand function is . Find the price that maximizes revenue.
Answer: Price = $10 per shirt, maximum revenue = $2,500 (selling 250 shirts).
Problem 3: A rectangular garden has one side against a house wall (no fence needed). If 40 meters of fencing is available, find the dimensions that maximize the area.
Let = side perpendicular to house (two sides). Parallel side = .
m. Parallel side = m.
sq m.
Answer: 10 m by 20 m, maximum area 200 sq m.
Problem 4: The profit function of a company is , where is the number of units sold. Find the number of units that maximizes profit and the maximum profit.
units
Answer: 60 units for a maximum profit of $1,000.
Problem 5: Two numbers have a sum of 24. Find the two numbers whose product is a maximum.
Let be one number. The other is .
The other number is . Product = .
Answer: Both numbers are 12, with a maximum product of 144.
Key Takeaways
- The vertex of a quadratic occurs at
- If , the vertex is a minimum; if , the vertex is a maximum
- For optimization problems: define the objective function, use constraints to reduce to one variable, then find the vertex
- Among rectangles with a fixed perimeter, the square has the maximum area
- Among rectangles with three sides fenced, the optimal width is half the length
- Always check that the optimal solution lies within the physically meaningful domain
- The second derivative test () extends the vertex analysis to calculus
Return to College Algebra for more topics in this section.
Next Up in College Algebra
All College Algebra topicsLast updated: March 29, 2026