01 / 21

Quadratic Models
and Optimization

Learn how to find maximum and minimum values of quadratic functions and apply them to real-world optimization problems.

College Algebra

What Is a Quadratic Function?

A quadratic function is any function that can be written in the form \( f(x) = ax^2 + bx + c \), where \( a \neq 0 \). Its graph is a parabola: a smooth, symmetric curve that opens either upward or downward.

\( a \): Leading Coefficient
Controls the direction and width of the parabola.
\( b \): Linear Coefficient
Shifts the axis of symmetry left or right.
\( c \): Constant Term
The y-intercept: \( f(0) = c \).

Opening Direction and the Vertex

Vertex (min)
\( a > 0 \): Opens Up
Vertex (max)
\( a < 0 \): Opens Down

Why Optimization Matters

Many real-world quantities: profit, area, height, and cost can be modeled by quadratic functions. Finding the vertex tells us the optimal value: the input that produces the greatest (or least) output.

★ Maximum Revenue
What price maximizes total sales revenue?
★ Maximum Area
What dimensions give the largest fenced area?
★ Projectile Height
When does a ball reach its peak height?

The Vertex Formula

For any quadratic \( f(x) = ax^2 + bx + c \), the vertex is the point \( (h, k) \) where:

The value \( h \) is the x-coordinate of the vertex (the input that optimizes the function). Substituting back gives \( k \), the optimal output (maximum or minimum value).

Standard Form vs. Vertex Form

Feature Standard Form Vertex Form
Equation \( ax^2 + bx + c \) \( a(x - h)^2 + k \)
Vertex Use \( h = -\frac{b}{2a} \) Read directly: \( (h, k) \)
Y-intercept Read directly: \( c \) Substitute \( x = 0 \)
Best for Finding roots, y-intercept Finding max/min quickly

How to Optimize: Step by Step

1
Write the quadratic model. Express the quantity to optimize as \( f(x) = ax^2 + bx + c \).
2
Identify \( a \), \( b \), and \( c \). Determine the leading coefficient's sign to know if you seek a max or min.
3
Compute the vertex x-coordinate: \( h = -\frac{b}{2a} \).
4
Evaluate \( f(h) \) to find the optimal output \( k \).
5
Interpret the result in context: state the optimal input and the maximum or minimum value.

Example 1: Maximum Revenue

A company's revenue is modeled by \( R(x) = -5x^2 + 200x \), where \( x \) is the price in dollars. What price maximizes revenue?

1
Identify coefficients: \( a = -5 \), \( b = 200 \), \( c = 0 \). Since \( a < 0 \), the parabola opens down: we have a maximum.
2
Find the vertex: \( x = -\frac{200}{2(-5)} = -\frac{200}{-10} = \) \( 20 \)
3
Evaluate: \( R(20) = -5(400) + 200(20) = -2000 + 4000 = \) \( \$2{,}000 \)

Visualizing the Revenue Model

Example 2: Maximum Area

A farmer has 120 meters of fencing to enclose a rectangular field along a river (no fence needed on the river side). What dimensions maximize the area?

River (no fence)
\( x \)
\( x \)
\( 120 - 2x \)
1
Set up: Two widths \( x \) + one length = 120, so length = \( 120 - 2x \).
2
Area model: \( A(x) = x(120 - 2x) = -2x^2 + 120x \).
3
Vertex: \( x = -\frac{120}{2(-2)} = 30 \). Length = \( 120 - 60 = 60 \). Area = \( 30 \times 60 = 1{,}800 \text{m}^2 \).

Example 3: Projectile Motion

A ball is launched upward with height modeled by \( h(t) = -16t^2 + 96t + 5 \), where \( t \) is in seconds and \( h \) is in feet. Find the maximum height.

1
Coefficients: \( a = -16 \), \( b = 96 \), \( c = 5 \). Since \( a < 0 \), the vertex is a maximum.
2
Vertex time: \( t = -\frac{96}{2(-16)} = -\frac{96}{-32} = \) \( 3 \) seconds.
3
Max height: \( h(3) = -16(9) + 96(3) + 5 = -144 + 288 + 5 = \) \( 149 \) feet.

Visualizing Projectile Motion

Completing the Square to Find the Vertex

An alternative to the formula: rewrite \( f(x) = ax^2 + bx + c \) in vertex form by completing the square.

1
Factor out \( a \): \( a\!\left(x^2 + \frac{b}{a}x\right) + c \)
2
Add and subtract \( \left(\frac{b}{2a}\right)^2 \) inside: creates a perfect square trinomial.
3
Rewrite: \( a(x - h)^2 + k \), where \( h = -\frac{b}{2a} \) and \( k = c - \frac{b^2}{4a} \).

Domain Restrictions in Applied Problems

In real-world problems, the variable \( x \) has physical constraints. Always check that your vertex falls within the feasible domain.

Fencing Problem
Width \( x \) must satisfy \( 0 < x < 60 \) (otherwise a side has non-positive length).
Projectile
Time \( t \ge 0 \) and \( h(t) \ge 0 \): the ball can't go underground.
Pricing
Price \( x \ge 0 \) and demand \( \ge 0 \): both must stay non-negative.

Common Mistakes to Avoid

✕ Wrong Sign in Formula
Using \( \frac{b}{2a} \) instead of \( -\frac{b}{2a} \). The negative sign is critical.
✕ Max vs. Min Confusion
Forgetting to check the sign of \( a \). Positive \( a \) gives a minimum, not a maximum.
✕ Ignoring Domain
Reporting a vertex outside the problem's physical constraints without checking endpoints.
✕ Mixing Up \( h \) and \( k \)
Answering with the x-coordinate when asked for the maximum value, or vice versa.

Summary: Quadratic Optimization

Property \( a > 0 \) \( a < 0 \)
Parabola Opens Upward Downward
Vertex Is a Minimum Maximum
Optimal x-value \( h = -\frac{b}{2a} \) \( h = -\frac{b}{2a} \)
Optimal output \( k = f(h) \) \( k = f(h) \)
Range \( [k, \infty) \) \( (-\infty, k] \)

Question 1 of 5

What is the vertex of the quadratic function \( f(x) = -3x^2 + 12x - 7 \)?

Question 2 of 5

A ball's height is given by \( h(t) = -4.9t^2 + 29.4t + 2 \). At what time does the ball reach its maximum height?

Question 3 of 5

A company's profit is modeled by \( P(x) = -2x^2 + 80x - 300 \). What is the maximum profit?

Question 4 of 5

If \( f(x) = 2x^2 - 8x + 3 \), what type of extremum does the vertex represent?

Question 5 of 5

A farmer uses 100 m of fencing for three sides of a rectangular plot (one side is along a barn). The area is \( A(x) = -2x^2 + 100x \). What is the maximum area?