AP Precalculus · Study guide

Rational Functions and Zeros

AP® Precalculus · Unit 1 · Polynomial and Rational Functions

Rational Functions and Zeros

A fraction equals 0 only when its numerator is 0, so the zeros of a rational function come from the top, as long as the bottom is not also 0 there. This guide finds those zeros and uses them, with the zeros of the denominator, to solve rational inequalities.

The idea in one paragraph

For \(r(x) = \dfrac{p(x)}{q(x)}\), the real zeros of \(r\) are the real zeros of the numerator \(p\) that are in the domain of \(r\), meaning \(q\) is not 0 there. The sign of \(r(x)\) can only change at a real zero of \(p\) or a real zero of \(q\). Those points are the endpoints and asymptotes that split the number line when solving \(r(x) \ge 0\) or \(r(x) \le 0\): zeros of the numerator may be included, zeros of the denominator never are.

1Where the zeros come from

A fraction is 0 when its numerator is 0 and its denominator is not. So to find the zeros of a rational function, solve “numerator = 0,” then throw out any solution that also makes the denominator 0.

Worked Example 1 No real zeros

Find the real zeros of \(r(x) = \dfrac{x^2 + 4}{x - 1}\).

  1. 1
    \(x^2 + 4 = 0\) means \(x^2 = -4\), which no real number satisfies.
  2. 2
    A fraction is 0 only when its top is 0, so \(r\) has no real zeros and its graph never meets the x-axis.
Answer: No real zeros.

2When the denominator shares a zero

If a value makes both the numerator and the denominator 0, the function is undefined there, so that value cannot be a zero. On the graph it shows up as a hole or a vertical asymptote, depending on the multiplicities.

Worked Example 2 Zeros of the numerator, checked against the domain

Find the real zeros of \(r(x) = \dfrac{x^2 - 9}{x^2 - x - 6}\).

  1. 1
    Factor: \(r(x) = \dfrac{(x - 3)(x + 3)}{(x - 3)(x + 2)}\). The domain leaves out \(x = 3\) and \(x = -2\).
  2. 2
    The numerator is 0 at \(x = 3\) and \(x = -3\).
  3. 3
    \(x = 3\) is not in the domain, so it is not a zero (the graph has a hole there). \(x = -3\) is in the domain and \(r(-3) = 0\).
Answer: The only real zero is \(x = -3\).
Write it like this

“\(x = 3\) is a zero of the numerator, but it is also a zero of the denominator, so it is not in the domain of \(r\). The only zero of \(r\) is \(x = -3\).”

Common Mistake 1 · Reporting every zero of the numerator

For \(\dfrac{x^2 - 9}{x^2 - x - 6}\), listing \(x = \pm 3\) includes a value where \(r\) does not exist. Always check each candidate against the denominator.

3Solving rational inequalities

Get 0 on one side first. Then mark every real zero of the numerator and every real zero of the denominator on a number line. In each piece the sign stays the same, so one test value per piece is enough.

Figure 1. The sign can switch at a zero of the numerator (the graph crosses the axis) or at a zero of the denominator (the graph jumps across an asymptote). Both kinds of point split the number line for an inequality.
Worked Example 3 A rational inequality

Solve \(\dfrac{(x + 4)(x - 1)}{x - 2} \ge 0\).

  1. 1
    Boundary points: zeros of the numerator, \(-4\) and \(1\), and the zero of the denominator, \(2\).
  2. 2
    Test one value in each piece: \(x = -5\) gives \(\frac{(-1)(-6)}{-7} \lt 0\); \(x = 0\) gives \(\frac{(4)(-1)}{-2} \gt 0\); \(x = 1.5\) gives a negative; \(x = 3\) gives a positive.
  3. 3
    Keep the positive pieces. Include \(-4\) and \(1\), where \(r = 0\) satisfies \(\ge\). Never include 2: \(r(2)\) does not exist.
Answer: \([-4, 1] \cup (2, \infty)\)
Worked Example 4 Compare with 0 before multiplying

Solve \(\dfrac{2x - 1}{x + 3} \lt 1\).

  1. 1
    Subtract 1: \(\dfrac{2x - 1}{x + 3} - \dfrac{x + 3}{x + 3} \lt 0\), so \(\dfrac{x - 4}{x + 3} \lt 0\).
  2. 2
    Boundary points: 4 (numerator) and \(-3\) (denominator). Signs: positive for \(x \lt -3\), negative between, positive for \(x \gt 4\).
  3. 3
    Keep the negative piece. Neither end is included: \(x = 4\) makes the fraction 0, which is not less than 0, and \(x = -3\) is not in the domain.
Answer: \(-3 \lt x \lt 4\)
Worked Example 5 A squared factor in the numerator

Solve \(\dfrac{x^2(x - 5)}{x^2 + 1} \le 0\).

  1. 1
    The denominator \(x^2 + 1\) is always positive, so it never changes the sign and has no real zeros.
  2. 2
    Zeros of the numerator: \(x = 0\) (multiplicity 2, no sign change) and \(x = 5\) (sign change).
  3. 3
    For \(x \lt 5\), \(x - 5 \lt 0\) and \(x^2 \ge 0\), so the fraction is at most 0. For \(x \gt 5\) it is positive.
Answer: \((-\infty, 5]\), which includes \(x = 0\).
Common Mistake 2 · Multiplying both sides by the denominator

Multiplying \(\dfrac{2x - 1}{x + 3} \lt 1\) by \(x + 3\) flips the inequality whenever \(x + 3\) is negative, and you do not know its sign in advance. Subtract to get 0 on one side and use a sign chart instead.

Common Mistake 3 · Including a zero of the denominator

At \(x = 2\), \(\dfrac{(x + 4)(x - 1)}{x - 2}\) is undefined, so 2 is never part of a solution, even for \(\ge\) or \(\le\). Use a parenthesis there.

Common Mistake 4 · Assuming every boundary point flips the sign

A zero of even multiplicity, like \(x = 0\) in \(x^2(x - 5)\), does not change the sign. Test each piece instead of alternating + and − automatically.

Quick reference

StepWhat to do
Zeros of rZeros of the numerator that are in the domain
Shared zero of top and bottomNot a zero of r (hole or asymptote)
Inequality setupMove everything to one side: r(x) compared with 0
Boundary pointsZeros of the numerator and of the denominator
EndpointsNumerator zeros: included for ≥ or ≤. Denominator zeros: never
Sign in each pieceTest one value; do not assume it alternates