01 / 20

Rational Functions
and Zeros

Discover how to find the zeros, holes, and vertical asymptotes of rational functions by analyzing their numerator and denominator.

AP Precalculus

What Is a Rational Function?

A rational function is any function that can be written as the ratio of two polynomials:

The domain of a rational function is all real numbers except where the denominator equals zero. These excluded values lead to vertical asymptotes or holes.

Anatomy of \(f(x) = \frac{p(x)}{q(x)}\)

Numerator \(p(x)\)
Controls the zeros of the function: the \(x\)-values where the graph crosses the \(x\)-axis.
Denominator \(q(x)\)
Controls vertical asymptotes and holes: the \(x\)-values excluded from the domain.
Their Interaction
Common factors between \(p(x)\) and \(q(x)\) create removable discontinuities (holes), not asymptotes.

Visualizing a Rational Function

Consider \(f(x) = \dfrac{(x-2)(x+1)}{(x-3)(x+1)}\). Notice the common factor \((x+1)\).

-2 -1 1 2 3 4 1 2 -1 -2
\(x=3\)
Zero (2, 0) Hole
\(y=1\)

Finding the Zeros

The zeros come from setting the numerator equal to zero. But you must check the denominator: if both numerator and denominator are zero at the same value, it is a hole, not a zero.

1
Factor the numerator \(p(x)\) completely.
2
Factor the denominator \(q(x)\) completely.
3
Cancel any common factors (these produce holes).
4
Set the remaining numerator factors equal to zero to find the zeros.

Zeros vs Holes vs Asymptotes

Given \(f(x) = \dfrac{p(x)}{q(x)}\) in factored form, each \(x\)-value where a factor equals zero falls into exactly one category:

Feature Zero Hole Vertical Asymptote
\(p(a) = 0\)? Yes Yes No
\(q(a) = 0\)? No Yes Yes
Common factor? No Yes No
Graph behavior Crosses \(x\)-axis Open circle (gap) Graph goes to \(\pm\infty\)

Classification Flowchart

Factor \(p(x)\) and \(q(x)\)
Common factor \((x - a)\)?
Yes
Hole at \(x = a\)
No
Is \((x - a)\) in \(p(x)\)?
Yes
Zero at \(x = a\)
In \(q\) only
VA: \(x = a\)

Multiplicity of Zeros

The multiplicity of a zero affects how the graph behaves at the \(x\)-axis:

Odd Multiplicity
The graph crosses the \(x\)-axis at this zero. Example: \((x - 2)^1\) in the numerator.
Even Multiplicity
The graph touches and bounces off the \(x\)-axis at this zero. Example: \((x - 2)^2\) in the numerator.

Step-by-Step Process

1
Write the function in the form \(\dfrac{p(x)}{q(x)}\).
2
Factor both \(p(x)\) and \(q(x)\) completely.
3
Identify and cancel common factors: each produces a hole.
4
Set remaining numerator = 0: these are the zeros of \(f(x)\).
5
Set remaining denominator = 0: these are the vertical asymptotes.
6
Note multiplicity of each zero for graph behavior (cross vs bounce).

Example 1: Basic

1
Factor numerator: \(x^2 - 4 = (x-2)(x+2)\). Denominator: \((x - 1)\).
2
Common factors? None: \((x-2)\), \((x+2)\), and \((x-1)\) are all different.
3
Set numerator = 0: \(x - 2 = 0 \Rightarrow\) \(x = 2\) and \(x + 2 = 0 \Rightarrow\) \(x = -2\).
4
Verify: \(q(2) = 1 \neq 0\) and \(q(-2) = -3 \neq 0\). Both are valid zeros.

Example 2: With a Hole

1
Factor: \(\dfrac{(x-3)(x+2)}{(x-3)(x+3)}\).
2
Common factor: \((x-3)\) cancels: hole at \(x = 3\).
3
Simplified: \(\dfrac{x+2}{x+3}\). Set numerator = 0: \(x = -2\).
4
Remaining denominator = 0: \(x = -3\) is a vertical asymptote.

Example 3: Higher Degree

1
Factor: Numerator: \(x(x-2)(x+2)\). Denominator: \((x-2)(x-3)\).
2
Common factor: \((x-2)\) cancels: hole at \(x = 2\).
3
Simplified: \(\dfrac{x(x+2)}{x-3}\). Set numerator = 0: \(x = 0\) and \(x = -2\).
4
Verify: The simplified denominator is non-zero at \(x=0\) and \(x=-2\). Both are zeros.

Graph of \(h(x)\)

Simplified: \(h(x) = \dfrac{x(x+2)}{x-3}\) with a hole at \(x = 2\).

-2 -1 1 2 3 4 5 10 20 -10 -20
\(x=3\)
(0, 0) (-2, 0) Hole

Common Mistakes

Forgetting to Factor
Setting \(x^2 - 4 = 0\) without factoring into \((x-2)(x+2)\) may cause you to miss the connection with the denominator.
Calling a Hole a Zero
If a numerator zero also makes the denominator zero, it is a hole (removable discontinuity), not a zero of the function.
Ignoring Cancellation Order
A factor like \((x-1)\) appears in both numerator and denominator. Even if the simplified function has a zero there (e.g., \(\frac{(x-1)^2}{x-1}\) simplifies to \(x-1\)), the original function is undefined, so it's a hole.

Summary Reference Table

Given What to Find Method
Zeros Where \(f(x) = 0\) Set simplified numerator = 0
Holes Removable discontinuities Find common factors of \(p(x)\) and \(q(x)\)
Vertical Asymptotes Where \(f(x) \to \pm\infty\) Set simplified denominator = 0
Domain All valid inputs All \(x\) except holes and VAs
Multiplicity Cross vs bounce Exponent of remaining numerator factor

Question 1 of 5

What are the zeros of \(f(x) = \dfrac{x^2 - 1}{x + 3}\)?

Question 2 of 5

For \(g(x) = \dfrac{x^2 - 4x + 3}{x^2 - 1}\), what occurs at \(x = 1\)?

Question 3 of 5

How many zeros does \(h(x) = \dfrac{x^3 - x}{x^2 - 1}\) have?

Question 4 of 5

If \(f(x) = \dfrac{(x-2)^2(x+5)}{(x-2)(x+4)}\), what is the behavior at \(x = 2\)?

Question 5 of 5

Which of the following functions has a zero at \(x = 4\) and a hole at \(x = -1\)?