01 / 21

Factoring & Squares to
Analyze Graphs

Learn how factoring and completing the square reveal the zeros, vertex, and symmetry of any quadratic function.

Algebra 1

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 always a parabola: a smooth, U-shaped curve that opens upward when \( a > 0 \) and downward when \( a < 0 \).

Zeros
The \( x \)-values where \( f(x) = 0 \): where the parabola crosses the \( x \)-axis.
Vertex
The highest or lowest point: the extreme value of the function.
Axis of Symmetry
The vertical line through the vertex: the parabola is a mirror image on each side.

Anatomy of a Parabola

\(x\)
\(y\)
Vertex
Axis of Symmetry
Zero
Zero

Why Rewrite a Quadratic?

The standard form \( ax^2 + bx + c \) makes it easy to find the \( y \)-intercept, but it hides the zeros and vertex. By rewriting the function in different forms, we unlock different information:

Factored Form
\( a(x - r)(x - s) \) instantly shows the zeros \( r \) and \( s \).
Vertex Form
\( a(x - h)^2 + k \) instantly shows the vertex \( (h, k) \) and axis of symmetry \( x = h \).

The Factored Form

If we can factor \( ax^2 + bx + c = a(x - r)(x - s) \), then:

1
Zeros: \( x = r \) and \( x = s \) (set each factor to zero).
2
Axis of symmetry: \( x = \frac{r + s}{2} \) (midpoint of the zeros).
3
Vertex: Plug the axis of symmetry back into \( f(x) \) to find the \( y \)-coordinate.

The Vertex Form

Completing the square transforms \( ax^2 + bx + c \) into \( a(x - h)^2 + k \). This form directly reveals:

1
Vertex: The point \( (h, k) \) is the minimum (if \( a > 0 \)) or maximum (if \( a < 0 \)).
2
Axis of symmetry: The vertical line \( x = h \).
3
Direction: If \( a > 0 \), parabola opens up. If \( a < 0 \), parabola opens down.

Factored vs. Vertex Form

Factored Form Vertex Form
Expression \( a(x - r)(x - s) \) \( a(x - h)^2 + k \)
Best reveals Zeros directly Vertex directly
Axis of symmetry \( x = \frac{r+s}{2} \) \( x = h \)
Method Factor the expression Complete the square
When to use Need \( x \)-intercepts Need max/min value

How to Complete the Square

1
Factor out \( a \): Write \( a\left(x^2 + \frac{b}{a}x\right) + c \).
2
Half-square the coefficient: Take half of \( \frac{b}{a} \), square it to get \( \left(\frac{b}{2a}\right)^2 \).
3
Add and subtract inside: \( a\!\left(x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 - \left(\frac{b}{2a}\right)^2\right) + c \).
4
Rewrite as a square: \( a\!\left(x + \frac{b}{2a}\right)^2 + c - \frac{b^2}{4a} \).
5
Read off the vertex: \( h = -\frac{b}{2a} \), \( k = c - \frac{b^2}{4a} \).

Example 1: Factoring to Find Zeros

Analyze \( f(x) = x^2 - 6x + 8 \).

1
Factor: Find two numbers that multiply to \( 8 \) and add to \( -6 \): they are \( -2 \) and \( -4 \). So \( f(x) = (x - 2)(x - 4) \).
2
Zeros: \( x = 2 \) and \( x = 4 \).
3
Axis of symmetry: \( x = \frac{2+4}{2} = 3 \).
4
Vertex: \( f(3) = (3-2)(3-4) = (1)(-1) = -1 \). Vertex: \( (3, -1) \).
\(0\)
\(2\)
\(3\)
\(4\)
\(6\)
\(0\)
\(-1\)
\((3, -1)\)
\(x=2\)
\(x=4\)

Example 2: Completing the Square

Write \( f(x) = x^2 + 4x + 1 \) in vertex form and identify the vertex.

1
Half the coefficient of \( x \): \( \frac{4}{2} = 2 \). Square it: \( 2^2 = 4 \).
2
Add and subtract \( 4 \): \( (x^2 + 4x + 4) - 4 + 1 = (x + 2)^2 - 3 \).
3
Vertex form: \( f(x) = (x + 2)^2 - 3 \).
4
Vertex: \( (-2, -3) \). Axis: \( x = -2 \). Minimum value: \( -3 \).

Example 3: Real-World Context

A ball is thrown upward. Its height in feet after \( t \) seconds is \( h(t) = -16t^2 + 64t + 5 \). Find the maximum height and when it hits the ground.

1
Complete the square: \( h(t) = -16(t^2 - 4t) + 5 = -16(t^2 - 4t + 4 - 4) + 5 = -16(t - 2)^2 + 64 + 5 = -16(t - 2)^2 + 69 \).
2
Maximum height: \( 69 \) feet at \( t = 2 \) seconds (vertex is the max because \( a < 0 \)).
3
Hits the ground: Set \( h(t) = 0 \) and solve. Using the quadratic formula or factoring, \( t \approx 4.08 \) seconds (discard the negative root).

Symmetry of the Parabola

Every parabola has a line of symmetry. Points on opposite sides of this line have the same \( y \)-value. This means:

Mirror Property
If \( (h - d, y) \) is on the graph, then so is \( (h + d, y) \) for the same \( y \)-value.
Zeros are Symmetric
The zeros \( r \) and \( s \) are equidistant from the axis: \( h = \frac{r+s}{2} \).
\(x=3\)
\((3, -4)\)
\(x=1\)
\(x=5\)
\(d\)
\(d\)

When Factoring Doesn't Work

Not every quadratic factors neatly over the integers. When it doesn't, you have two options:

Complete the Square
Always works. Converts to vertex form, then set equal to zero and solve for the zeros using square roots.
Quadratic Formula
\( x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \) always gives the zeros, even irrational or complex ones.

Example 4: When \( a \neq 1 \)

Complete the square for \( f(x) = 2x^2 - 12x + 7 \).

1
Factor out \( a = 2 \): \( 2(x^2 - 6x) + 7 \).
2
Half-square: \( \left(\frac{-6}{2}\right)^2 = 9 \). Add and subtract inside: \( 2(x^2 - 6x + 9 - 9) + 7 \).
3
Simplify: \( 2(x - 3)^2 - 18 + 7 = 2(x - 3)^2 - 11 \).
4
Vertex: \( (3, -11) \). Axis: \( x = 3 \). Minimum: \( -11 \).

Common Mistakes to Avoid

✕ Forgetting to multiply by \( a \)
When \( a \neq 1 \), adding \( \left(\frac{b}{2a}\right)^2 \) inside the parentheses actually adds \( a \cdot \left(\frac{b}{2a}\right)^2 \). You must subtract this full amount outside.
✕ Sign errors in vertex
\( (x + 2)^2 \) means \( h = -2 \), not \( +2 \). The vertex form is \( (x - h)^2 \), so a plus sign means a negative \( h \).
✕ Confusing zeros with vertex
The zeros are on the \( x \)-axis. The vertex is the extreme point. They are not the same (unless the vertex is on the \( x \)-axis).

Summary: Three Forms at a Glance

Form Expression Reveals How to Get It
Standard \( ax^2+bx+c \) \( y \)-intercept \( (0,c) \) Expand
Factored \( a(x-r)(x-s) \) Zeros \( r, s \) Factor
Vertex \( a(x-h)^2+k \) Vertex \( (h,k) \) Complete the square

Question 1 of 5

What are the zeros of \( f(x) = x^2 - 5x + 6 \)?

Question 2 of 5

What is the vertex of \( f(x) = (x - 4)^2 + 7 \)?

Question 3 of 5

Complete the square: \( x^2 + 8x + 10 \). What is the vertex form?

Question 4 of 5

A profit function is \( P(x) = -3x^2 + 18x - 12 \). What is the maximum profit?

Question 5 of 5

The axis of symmetry of \( f(x) = 2(x+1)(x-5) \) is: