Quadratic Functions in Depth
Master every form and feature of parabolas
You have seen parabolas before. You know that $y = x^2$ creates a U-shaped curve, and you have probably solved a few quadratic equations. But now it is time to truly master these curves - to understand them so thoroughly that you can write their equations in any form, convert between forms at will, and extract every piece of information they contain.
Think about catching a football. The ball traces an arc through the air, and if you know the right equation, you can predict exactly where it will land, how high it will go, and when it will reach its peak. That equation is a quadratic function. Architects use the same mathematics to design arches. Engineers use it to shape satellite dishes. Businesses use it to maximize profit. The parabola is everywhere, and understanding its forms gives you power over all these situations.
The key insight is this: the same parabola can be written in different ways, and each way makes different information obvious. Learning to see the same curve from multiple perspectives is what this lesson is about.
Core Concepts
Three Forms of Quadratic Functions
Every quadratic function can be written in three equivalent forms. Each form highlights different features of the parabola:
Standard Form: $f(x) = ax^2 + bx + c$
This is the form you encounter most often. It makes the y-intercept immediately visible (it is just $c$), and the coefficients $a$, $b$, and $c$ plug directly into the quadratic formula.
Vertex Form: $f(x) = a(x - h)^2 + k$
This form tells you the vertex at a glance - it is the point $(h, k)$. When you need to know the highest or lowest point of a parabola, vertex form is your friend.
Factored Form: $f(x) = a(x - r_1)(x - r_2)$
This form reveals the x-intercepts (also called roots or zeros) directly. The parabola crosses the x-axis at $x = r_1$ and $x = r_2$.
The value of $a$ is the same in all three forms for the same parabola. It controls the direction (up if positive, down if negative) and the width of the curve.
Vertex Form: A Closer Look
The vertex form $f(x) = a(x - h)^2 + k$ deserves special attention. The vertex is at $(h, k)$, but notice the subtraction sign in the formula. This means:
- If your function is $f(x) = (x - 3)^2 + 5$, the vertex is at $(3, 5)$
- If your function is $f(x) = (x + 2)^2 - 1$, rewrite as $(x - (-2))^2 + (-1)$, so the vertex is at $(-2, -1)$
That minus sign catches many students. When you see $(x + 2)$, that is really $(x - (-2))$, so $h = -2$.
The Axis of Symmetry
Every parabola is perfectly symmetric. If you fold it along a vertical line through the vertex, both halves match exactly. This line is the axis of symmetry.
In vertex form, the axis of symmetry is simply $x = h$.
In standard form, the axis of symmetry is $x = -\frac{b}{2a}$.
The axis of symmetry passes through the vertex. Any point on the parabola has a mirror image on the other side of this line.
Converting to Vertex Form: Completing the Square
This is one of the most important algebraic techniques you will learn. Completing the square transforms standard form into vertex form, revealing the vertex directly.
The idea is to create a perfect square trinomial - something that factors as $(x + n)^2$.
Here is the process for $f(x) = ax^2 + bx + c$:
Step 1: If $a \neq 1$, factor $a$ out of the first two terms: $$f(x) = a\left(x^2 + \frac{b}{a}x\right) + c$$
Step 2: Take half of the coefficient of $x$ inside the parentheses, and square it. This is the number you need to “complete the square.”
Step 3: Add this number inside the parentheses. But to keep the equation balanced, you must also subtract the equivalent amount (accounting for the factor of $a$ outside).
Step 4: Rewrite the perfect square trinomial as a squared binomial.
This sounds abstract, but the examples below will make it concrete.
Finding Key Features
Once you have a quadratic in any form, you can extract all its important features:
Vertex:
- From vertex form: read off $(h, k)$
- From standard form: calculate $x = -\frac{b}{2a}$, then substitute to find $y$
Axis of symmetry:
- From vertex form: $x = h$
- From standard form: $x = -\frac{b}{2a}$
Y-intercept:
- Set $x = 0$ and calculate
- In standard form, it is simply $c$
X-intercepts (if they exist):
- Set $f(x) = 0$ and solve
- In factored form, read off $r_1$ and $r_2$ directly
Maximum or minimum value:
- If $a > 0$, the parabola opens upward, so the vertex is the minimum
- If $a < 0$, the parabola opens downward, so the vertex is the maximum
- The max/min value is the y-coordinate of the vertex (that is, $k$)
Maximum and Minimum in Context
Real-world problems often ask for the maximum or minimum value of something - the highest a ball goes, the maximum profit, the minimum cost. Quadratic functions model many of these situations.
The strategy is always the same:
- Write the quadratic function that models the situation
- Determine whether you need a maximum (when $a < 0$) or minimum (when $a > 0$)
- Find the vertex - the x-coordinate tells you the input that produces the max/min, and the y-coordinate is the max/min value itself
Quadratic Regression
Sometimes you have data points that follow a curved pattern, and you want to find the quadratic function that best fits the data. This is called quadratic regression.
Most graphing calculators and software can perform quadratic regression automatically. You input the data points, and the technology outputs the values of $a$, $b$, and $c$ for the best-fitting parabola.
When is quadratic regression appropriate? When your data:
- Increases then decreases (or vice versa)
- Shows a curved, roughly parabolic pattern
- Represents a phenomenon where physics or economics suggests a quadratic relationship
Review: Solving Quadratic Equations
You have multiple tools for solving $ax^2 + bx + c = 0$:
Factoring: If you can factor the expression, use the Zero Product Property. Fast when it works, but not all quadratics factor nicely.
Square Roots: If the equation has the form $(something)^2 = k$, take the square root of both sides. Remember $\pm$.
Completing the Square: Always works. Transform to vertex form, then solve.
Quadratic Formula: Always works. $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
The discriminant $b^2 - 4ac$ tells you what to expect:
- Positive: two real solutions
- Zero: one real solution (a repeated root)
- Negative: no real solutions
Notation and Terminology
| Term | Meaning | Example |
|---|---|---|
| Standard form | $f(x) = ax^2 + bx + c$ | $f(x) = 2x^2 + 8x + 5$ |
| Vertex form | $f(x) = a(x-h)^2 + k$ | $f(x) = 2(x+2)^2 - 3$ |
| Factored form | $f(x) = a(x - r_1)(x - r_2)$ | $f(x) = 2(x-1)(x-5)$ |
| Vertex | The point $(h, k)$ in vertex form; the maximum or minimum point | $(-2, -3)$ |
| Axis of symmetry | $x = h$ or $x = -\frac{b}{2a}$; the vertical line through the vertex | $x = -2$ |
| Completing the square | Method to convert standard form to vertex form | |
| Roots/zeros | The x-values where $f(x) = 0$; the x-intercepts | $x = 1$ and $x = 5$ |
| Discriminant | $b^2 - 4ac$; determines the number of real solutions |
Examples
Identify the vertex and axis of symmetry for $f(x) = (x - 3)^2 - 7$.
Solution:
This function is already in vertex form: $f(x) = a(x - h)^2 + k$
Comparing with the given function:
- $a = 1$ (the coefficient in front, which is 1 when not written)
- $h = 3$ (from $(x - 3)$)
- $k = -7$ (the constant added at the end)
Vertex: $(h, k) = (3, -7)$
Axis of symmetry: $x = h = 3$
Since $a = 1 > 0$, the parabola opens upward, and the vertex $(3, -7)$ is the minimum point.
Interpretation: The lowest value this function ever reaches is $-7$, and it occurs when $x = 3$.
Write $f(x) = x^2 + 6x + 5$ in vertex form.
Solution:
We will complete the square.
Step 1: The coefficient of $x^2$ is already 1, so we can proceed directly.
Step 2: Take half of the coefficient of $x$: $\frac{6}{2} = 3$
Square it: $3^2 = 9$
Step 3: We need to add and subtract 9: $$f(x) = x^2 + 6x + 9 - 9 + 5$$
Step 4: The first three terms form a perfect square: $$f(x) = (x + 3)^2 - 9 + 5$$ $$f(x) = (x + 3)^2 - 4$$
This is vertex form. The vertex is at $(-3, -4)$.
Check: Let’s verify with $x = 0$:
- Original: $f(0) = 0 + 0 + 5 = 5$
- Vertex form: $f(0) = (0 + 3)^2 - 4 = 9 - 4 = 5$ ✓
Why this works: We added 9 to create a perfect square, then immediately subtracted 9 to keep the function unchanged. The net effect is zero - we just rewrote the same function in a more useful form.
Convert $f(x) = 2x^2 - 12x + 7$ to vertex form.
Solution:
Step 1: Factor out the leading coefficient from the first two terms: $$f(x) = 2(x^2 - 6x) + 7$$
Step 2: Inside the parentheses, take half of $-6$ and square it: $$\left(\frac{-6}{2}\right)^2 = (-3)^2 = 9$$
Step 3: Add 9 inside the parentheses. But be careful - that 9 is being multiplied by 2 (the factor outside), so we must subtract $2 \times 9 = 18$ to balance: $$f(x) = 2(x^2 - 6x + 9) + 7 - 18$$
Step 4: Rewrite the perfect square and simplify: $$f(x) = 2(x - 3)^2 - 11$$
The vertex is $(3, -11)$. The axis of symmetry is $x = 3$.
Check: Using $x = 3$:
- Original: $f(3) = 2(9) - 12(3) + 7 = 18 - 36 + 7 = -11$ ✓
- Vertex form: $f(3) = 2(0)^2 - 11 = -11$ ✓
Since $a = 2 > 0$, the parabola opens upward, and $-11$ is the minimum value.
A ball is thrown upward with the height (in feet) given by $h(t) = -16t^2 + 64t + 5$, where $t$ is time in seconds. Find the maximum height and when it occurs.
Solution:
This is a quadratic function with $a = -16 < 0$, so the parabola opens downward. The vertex gives the maximum.
Method 1: Using the vertex formula
The time of maximum height is: $$t = -\frac{b}{2a} = -\frac{64}{2(-16)} = -\frac{64}{-32} = 2$$
The maximum height is: $$h(2) = -16(2)^2 + 64(2) + 5 = -16(4) + 128 + 5 = -64 + 128 + 5 = 69$$
Method 2: Completing the square
$$h(t) = -16(t^2 - 4t) + 5$$ $$h(t) = -16(t^2 - 4t + 4) + 5 + 64$$ $$h(t) = -16(t - 2)^2 + 69$$
From vertex form, the vertex is $(2, 69)$.
Answer: The ball reaches its maximum height of 69 feet at $t = 2$ seconds.
Real-world interpretation: The ball starts at 5 feet (initial height when $t = 0$), rises for 2 seconds, peaks at 69 feet, then falls back down. The coefficient $-16$ comes from the acceleration due to gravity (in feet per second squared, divided by 2).
A parabola has vertex $(2, -3)$ and passes through the point $(0, 5)$. Write the equation in all three forms.
Solution:
Step 1: Start with vertex form
Since we know the vertex $(2, -3)$, we can write: $$f(x) = a(x - 2)^2 - 3$$
We need to find $a$ using the fact that the point $(0, 5)$ is on the parabola: $$5 = a(0 - 2)^2 - 3$$ $$5 = a(4) - 3$$ $$8 = 4a$$ $$a = 2$$
Vertex form: $f(x) = 2(x - 2)^2 - 3$
Step 2: Convert to standard form
Expand the vertex form: $$f(x) = 2(x - 2)^2 - 3$$ $$f(x) = 2(x^2 - 4x + 4) - 3$$ $$f(x) = 2x^2 - 8x + 8 - 3$$
Standard form: $f(x) = 2x^2 - 8x + 5$
Step 3: Convert to factored form
Find the zeros by setting $f(x) = 0$ and solving: $$2x^2 - 8x + 5 = 0$$
Using the quadratic formula: $$x = \frac{8 \pm \sqrt{64 - 40}}{4} = \frac{8 \pm \sqrt{24}}{4} = \frac{8 \pm 2\sqrt{6}}{4} = \frac{4 \pm \sqrt{6}}{2}$$
So the roots are $r_1 = \frac{4 + \sqrt{6}}{2}$ and $r_2 = \frac{4 - \sqrt{6}}{2}$.
Factored form: $f(x) = 2\left(x - \frac{4 + \sqrt{6}}{2}\right)\left(x - \frac{4 - \sqrt{6}}{2}\right)$
Summary:
- Vertex form: $f(x) = 2(x - 2)^2 - 3$
- Standard form: $f(x) = 2x^2 - 8x + 5$
- Factored form: $f(x) = 2\left(x - \frac{4 + \sqrt{6}}{2}\right)\left(x - \frac{4 - \sqrt{6}}{2}\right)$
Note that the factored form involves irrational numbers in this case - that is perfectly fine. Not every quadratic has integer roots.
A farmer has 200 feet of fencing to enclose a rectangular area. What dimensions maximize the enclosed area?
Solution:
Step 1: Set up the problem
Let $x$ be the width and $y$ be the length of the rectangle.
The perimeter constraint: $2x + 2y = 200$, which simplifies to $x + y = 100$, so $y = 100 - x$.
The area to maximize: $A = xy = x(100 - x) = 100x - x^2$
Step 2: Recognize this as a quadratic
$$A(x) = -x^2 + 100x$$
This is a quadratic with $a = -1 < 0$, so it opens downward. The vertex is the maximum.
Step 3: Find the vertex
$$x = -\frac{b}{2a} = -\frac{100}{2(-1)} = -\frac{100}{-2} = 50$$
When $x = 50$: $$y = 100 - 50 = 50$$ $$A = 50 \times 50 = 2500$$
Answer: The maximum area of 2500 square feet is achieved when the rectangle is a 50 by 50 foot square.
Insight: This problem reveals something profound - among all rectangles with the same perimeter, the square encloses the most area. This is not a coincidence; it is a consequence of the mathematics. Quadratic optimization proves it rigorously.
Check: Try other dimensions with perimeter 200:
- $40 \times 60$: Area = 2400 square feet
- $30 \times 70$: Area = 2100 square feet
- $50 \times 50$: Area = 2500 square feet ✓ (largest)
Given $f(x) = 3(x - 1)(x - 5)$, find the vertex form and standard form.
Solution:
From factored to standard form:
Expand the factors: $$f(x) = 3(x - 1)(x - 5)$$ $$f(x) = 3(x^2 - 5x - x + 5)$$ $$f(x) = 3(x^2 - 6x + 5)$$ $$f(x) = 3x^2 - 18x + 15$$
Standard form: $f(x) = 3x^2 - 18x + 15$
From factored to vertex form:
The x-intercepts are at $x = 1$ and $x = 5$. The axis of symmetry is the midpoint: $$x = \frac{1 + 5}{2} = 3$$
Find the y-coordinate of the vertex by substituting $x = 3$: $$f(3) = 3(3 - 1)(3 - 5) = 3(2)(-2) = -12$$
So the vertex is $(3, -12)$.
Vertex form: $f(x) = 3(x - 3)^2 - 12$
Verification: All three forms should give the same value for any $x$. Try $x = 0$:
- Factored: $f(0) = 3(0-1)(0-5) = 3(-1)(-5) = 15$ ✓
- Standard: $f(0) = 3(0) - 18(0) + 15 = 15$ ✓
- Vertex: $f(0) = 3(0-3)^2 - 12 = 3(9) - 12 = 27 - 12 = 15$ ✓
Key Properties and Rules
Form Conversion Summary
| From | To | Method |
|---|---|---|
| Standard | Vertex | Complete the square |
| Standard | Factored | Factor (if possible) or find roots with quadratic formula |
| Vertex | Standard | Expand $(x-h)^2$ and distribute |
| Vertex | Factored | Set equal to zero, solve for roots |
| Factored | Standard | FOIL/expand and distribute $a$ |
| Factored | Vertex | Find axis of symmetry (midpoint of roots), substitute to find vertex |
The Axis of Symmetry Shortcut
When you have factored form $f(x) = a(x - r_1)(x - r_2)$, the axis of symmetry is: $$x = \frac{r_1 + r_2}{2}$$
This is the midpoint of the two x-intercepts. The vertex lies on this line.
Completing the Square - Quick Reference
For $f(x) = ax^2 + bx + c$:
- Factor out $a$ from the first two terms
- Take half of the coefficient of $x$ (inside parentheses), square it
- Add this inside the parentheses, subtract $a$ times this value outside
- Write the perfect square trinomial as $(x + \text{something})^2$
The vertex is $\left(-\frac{b}{2a}, c - \frac{b^2}{4a}\right)$.
Common Mistakes to Avoid
- Sign error in vertex form: Remember $(x - h)^2$, so $(x + 2)^2$ means $h = -2$
- Forgetting to multiply when completing the square: When $a \neq 1$, the number added inside is multiplied by $a$ when you subtract outside
- Not checking your work: Substituting a point into all forms should give the same value
- Confusing maximum and minimum: $a > 0$ means minimum (opens up); $a < 0$ means maximum (opens down)
Real-World Applications
Projectile Motion
The height of any object thrown, launched, or dropped follows a quadratic path (ignoring air resistance):
$$h(t) = -\frac{1}{2}gt^2 + v_0 t + h_0$$
where $g$ is gravitational acceleration, $v_0$ is initial velocity, and $h_0$ is initial height. The vertex tells you the maximum height and when it occurs. Setting $h(t) = 0$ tells you when the object lands.
Basketball players, quarterbacks, and golfers all intuitively understand parabolic motion - their brains calculate these arcs in real time.
Maximizing Revenue and Profit
In economics, revenue often follows a quadratic pattern. If you charge too little, you make less per item. If you charge too much, fewer people buy. Somewhere in the middle is the sweet spot.
A typical revenue function looks like $R(p) = -ap^2 + bp$, where $p$ is price. The vertex gives the price that maximizes revenue.
Minimizing Cost
Manufacturing and shipping costs often have quadratic components. Producing too few items means high per-unit costs. Producing too many means excess inventory and storage costs. The minimum-cost production level is at the vertex.
Architecture and Engineering
Parabolic arches distribute weight efficiently and appear in bridges, doorways, and cathedrals. The St. Louis Gateway Arch, suspension bridge cables (which form catenary curves, close to parabolas), and the cables of the Golden Gate Bridge all involve parabolic mathematics.
Satellite Dishes and Headlight Reflectors
A parabolic reflector has a remarkable property: signals coming from straight ahead all bounce to a single point (the focus). This is why satellite dishes and car headlights use parabolic shapes - they concentrate or project signals with perfect focus.
The equation of such a parabola is $y = \frac{1}{4p}x^2$, where $p$ is the distance from the vertex to the focus.
Self-Test Problems
Problem 1: Identify the vertex and axis of symmetry for $f(x) = -2(x + 4)^2 + 9$.
Show Answer
The function is in vertex form: $f(x) = a(x - h)^2 + k$
Rewrite $(x + 4)$ as $(x - (-4))$, so $h = -4$ and $k = 9$.
Vertex: $(-4, 9)$
Axis of symmetry: $x = -4$
Since $a = -2 < 0$, the parabola opens downward, and the vertex is the maximum point. The maximum value is $9$.
Problem 2: Convert $f(x) = x^2 - 8x + 10$ to vertex form.
Show Answer
Complete the square:
Take half of $-8$: $\frac{-8}{2} = -4$
Square it: $(-4)^2 = 16$
$$f(x) = x^2 - 8x + 16 - 16 + 10$$ $$f(x) = (x - 4)^2 - 6$$
Vertex form: $f(x) = (x - 4)^2 - 6$
Vertex: $(4, -6)$
Problem 3: Convert $f(x) = 3x^2 + 12x - 5$ to vertex form.
Show Answer
Factor out $3$ from the first two terms: $$f(x) = 3(x^2 + 4x) - 5$$
Take half of $4$, square it: $(\frac{4}{2})^2 = 4$
Add $4$ inside, subtract $3 \times 4 = 12$ outside: $$f(x) = 3(x^2 + 4x + 4) - 5 - 12$$ $$f(x) = 3(x + 2)^2 - 17$$
Vertex form: $f(x) = 3(x + 2)^2 - 17$
Vertex: $(-2, -17)$
Problem 4: A rocket’s height is given by $h(t) = -4.9t^2 + 49t + 10$ (in meters, with $t$ in seconds). When does it reach maximum height, and what is that height?
Show Answer
Since $a = -4.9 < 0$, the parabola opens downward, and the vertex is the maximum.
$$t = -\frac{b}{2a} = -\frac{49}{2(-4.9)} = -\frac{49}{-9.8} = 5$$
$$h(5) = -4.9(25) + 49(5) + 10 = -122.5 + 245 + 10 = 132.5$$
Answer: The rocket reaches its maximum height of 132.5 meters at $t = 5$ seconds.
Problem 5: Write the equation of a parabola with x-intercepts at $x = -1$ and $x = 7$ that passes through $(1, -24)$.
Show Answer
Start with factored form: $f(x) = a(x + 1)(x - 7)$
Use the point $(1, -24)$ to find $a$: $$-24 = a(1 + 1)(1 - 7)$$ $$-24 = a(2)(-6)$$ $$-24 = -12a$$ $$a = 2$$
Factored form: $f(x) = 2(x + 1)(x - 7)$
Standard form: $f(x) = 2(x^2 - 6x - 7) = 2x^2 - 12x - 14$
Vertex form: Axis of symmetry is $x = \frac{-1 + 7}{2} = 3$
$f(3) = 2(3 + 1)(3 - 7) = 2(4)(-4) = -32$
So $f(x) = 2(x - 3)^2 - 32$
Problem 6: You are enclosing a rectangular garden against a wall (so you only need fencing on three sides). You have 80 feet of fencing. What dimensions maximize the area?
Show Answer
Let $x$ be the length parallel to the wall and $y$ be the width (perpendicular to the wall).
Constraint: $x + 2y = 80$, so $x = 80 - 2y$
Area: $A = xy = (80 - 2y)(y) = 80y - 2y^2$
This is a quadratic in $y$ with $a = -2 < 0$, so the vertex is the maximum.
$$y = -\frac{80}{2(-2)} = -\frac{80}{-4} = 20$$
$$x = 80 - 2(20) = 40$$
Answer: The dimensions that maximize area are 40 feet by 20 feet, giving an area of 800 square feet.
Problem 7: For what values of $k$ does $x^2 + 6x + k = 0$ have exactly one real solution?
Show Answer
For exactly one real solution, the discriminant must equal zero: $$b^2 - 4ac = 0$$ $$36 - 4(1)(k) = 0$$ $$36 = 4k$$ $$k = 9$$
Answer: $k = 9$
Check: $x^2 + 6x + 9 = (x + 3)^2 = 0$ has exactly one solution: $x = -3$. ✓
Summary
-
A quadratic function can be written in three forms, each revealing different information:
- Standard form $f(x) = ax^2 + bx + c$ shows the y-intercept ($c$) and is ready for the quadratic formula
- Vertex form $f(x) = a(x-h)^2 + k$ shows the vertex $(h, k)$ directly
- Factored form $f(x) = a(x - r_1)(x - r_2)$ shows the x-intercepts $r_1$ and $r_2$
-
Completing the square converts standard form to vertex form. Factor out $a$, take half of the linear coefficient and square it, add inside and subtract the equivalent outside, then rewrite as a squared binomial.
-
The vertex is the maximum or minimum point of the parabola. In standard form, find it with $x = -\frac{b}{2a}$, then substitute to get the y-coordinate.
-
The axis of symmetry is $x = h$ (vertex form) or $x = -\frac{b}{2a}$ (standard form). It passes through the vertex.
-
For optimization problems, set up a quadratic function, find the vertex, and interpret: the x-coordinate is the input that produces the maximum or minimum, and the y-coordinate is that max/min value.
-
The value of $a$ determines direction: $a > 0$ means the parabola opens upward (minimum at vertex); $a < 0$ means it opens downward (maximum at vertex).
-
Quadratic functions model projectile motion, revenue optimization, cost minimization, and the geometry of parabolic reflectors.
You now have complete mastery over the parabola. You can see it from any angle - standard, vertex, or factored - and move between perspectives at will. Whether you are predicting where a ball will land, maximizing profit, or designing a satellite dish, the parabola is your tool. The techniques you have learned here - especially completing the square and optimization - will serve you throughout calculus and beyond.