Dove's LibraryDove's Library

1.8 - Rational Functions and Zeros

Overview

A fraction equals zero only when its numerator is zero. So the zeros of a rational function come from the numerator, with one catch: the input has to be in the domain. In this topic you'll find zeros, solve rational equations, and solve rational inequalities with a sign chart, a skill the AP exam tests with and without a calculator.

Zeros come from the numerator

For r(x)=p(x)q(x)r(x) = \frac{p(x)}{q(x)}, the quotient is 0 exactly when the numerator is 0 and the denominator isn't.
Key rule: the real zeros of rr are the real zeros of the numerator pp that are also in the domain of rr.
To find them:
  1. Factor the numerator and denominator completely.
  1. Find the real zeros of the numerator.
  1. Throw out any that also make the denominator 0, since those inputs aren't in the domain.
Whatever is left is a real zero of rr, and each one is an xx-intercept of the graph.
Why step 3 matters: if an input makes both the numerator and the denominator 0, then r(x)=00r(x) = \frac{0}{0} there, which is undefined. That input gives a hole or a vertical asymptote (Topics 1.9 and 1.10), not a zero.

Example 1: A zero that isn't in the domain

Find the real zeros of r(x)=x2−4xx2−16r(x) = \frac{x^2 - 4x}{x^2 - 16}.
Step 1: Factor.
r(x)=x(x−4)(x−4)(x+4)r(x) = \frac{x(x - 4)}{(x - 4)(x + 4)}
Step 2: The numerator is 0 at x=0x = 0 and x=4x = 4.
Step 3: The denominator is 0 at x=4x = 4 and x=−4x = -4, so x=4x = 4 is not in the domain. Throw it out.
Answer: The only real zero is x=0x = 0. Check: r(0)=0−16=0r(0) = \frac{0}{-16} = 0.

Solving rational equations

To solve an equation like r(x)=kr(x) = k, turn it into a zero-finding problem. Multiply both sides by the denominator (or move everything to one side and combine into one fraction), solve, and then check every answer against the domain. An answer that makes a denominator 0 is an extraneous solution, and you throw it out.

Example 2: An extraneous solution

Solve x2x−2=4x−2\frac{x^2}{x - 2} = \frac{4}{x - 2}.
Step 1: Note the domain: x≠2x \neq 2.
Step 2: Multiply both sides by x−2x - 2.
x2=4  ⇒  x=2 or x=−2x^2 = 4 \;\Rightarrow\; x = 2 \text{ or } x = -2
Step 3: x=2x = 2 isn't in the domain, so it's extraneous. Check x=−2x = -2: the left side is (−2)2−4=−1\frac{(-2)^2}{-4} = -1, and the right side is 4−4=−1\frac{4}{-4} = -1.
Answer: x=−2x = -2. Notice this is the same as finding the zeros of x2x−2−4x−2=x2−4x−2\frac{x^2}{x - 2} - \frac{4}{x - 2} = \frac{x^2 - 4}{x - 2}: the numerator is 0 at ±2\pm 2, but only −2-2 is in the domain.

Solving rational inequalities with a sign chart

To solve r(x)≥0r(x) \ge 0 or r(x)≤0r(x) \le 0, you need to know where rr is positive and where it's negative. A rational function can only change sign at two kinds of inputs:
  • Real zeros of the numerator, where r(x)=0r(x) = 0
  • Real zeros of the denominator, where rr is undefined
Between these values, rr keeps the same sign. So the real zeros of both polynomials are where the solution intervals start and stop: a zero of the numerator can be an endpoint, and a zero of the denominator (usually a vertical asymptote) is a boundary the interval never includes.
Steps:
  1. Get 0 on one side and write the other side as a single fraction. Factor completely.
  1. Mark every real zero of the numerator and the denominator on a number line.
  1. Test one input in each interval to find the sign of rr there. You only need the sign of each factor, not its value.
  1. Pick the intervals whose sign matches the inequality.
  1. Decide the endpoints. Include zeros of the numerator when the inequality is ≥\ge or ≤\le. Never include zeros of the denominator.
Multiplicity shortcut: a factor with an odd power changes sign as you pass its zero. A factor with an even power, like (x−3)2(x - 3)^2, does not, since a square is never negative.

Example 3: A rational inequality (AP-style)

Solve (x−3)2(x+1)(x−1)(x+4)≤0\frac{(x - 3)^2(x + 1)}{(x - 1)(x + 4)} \le 0.
Step 1: It's already one factored fraction with 0 on the right. Call the left side r(x)r(x).
Step 2: The numerator is 0 at x=3x = 3 (multiplicity 2) and x=−1x = -1. The denominator is 0 at x=1x = 1 and x=−4x = -4.
Step 3: Test each interval.
Interval
Test xx
(x−3)2(x - 3)^2
x+1x + 1
x−1x - 1
x+4x + 4
Sign of r(x)r(x)
(−∞,−4)(-\infty, -4)
−5-5
++
−-
−-
−-
−-
(−4,−1)(-4, -1)
−2-2
++
−-
−-
++
++
(−1,1)(-1, 1)
00
++
++
−-
++
−-
(1,3)(1, 3)
22
++
++
++
++
++
(3,∞)(3, \infty)
44
++
++
++
++
++
Step 4: r(x)<0r(x) < 0 on (−∞,−4)(-\infty, -4) and (−1,1)(-1, 1).
Step 5: The numerator zeros x=−1x = -1 and x=3x = 3 make r(x)=0r(x) = 0, so they're included. The denominator zeros x=−4x = -4 and x=1x = 1 are not.
1.8 - Rational Functions and Zeros
Answer:
(−∞,−4)∪[−1,1)∪{3}(-\infty, -4) \cup [-1, 1) \cup \{3\}
The isolated point x=3x = 3 is the trap. The intervals on both sides of 3 are positive (the squared factor doesn't change sign), so it's easy to skip. But r(3)=0r(3) = 0, and 0≤00 \le 0 is true, so x=3x = 3 belongs in the answer.

Example 4: Keeping average cost low (AP-style)

A company's average cost per item, in dollars, for making xx items is A(x)=2x+600xA(x) = \frac{2x + 600}{x}, where x>0x > 0. For what numbers of items is the average cost at most $5 per item?
Step 1: Set up the inequality and get 0 on one side.
2x+600x≤5  ⇒  2x+600x−5xx≤0  ⇒  600−3xx≤0\frac{2x + 600}{x} \le 5 \;\Rightarrow\; \frac{2x + 600}{x} - \frac{5x}{x} \le 0 \;\Rightarrow\; \frac{600 - 3x}{x} \le 0
Step 2: The numerator is 0 at x=200x = 200, and the denominator is 0 at x=0x = 0.
Step 3: In context x>0x > 0, so test (0,200)(0, 200) and (200,∞)(200, \infty). At x=100x = 100: 300100=3>0\frac{300}{100} = 3 > 0. At x=300x = 300: −300300=−1<0\frac{-300}{300} = -1 < 0.
Step 4: The solution is x≥200x \ge 200, including 200 because it makes the expression equal 0. Check: A(200)=400+600200=5A(200) = \frac{400 + 600}{200} = 5.
Answer: The average cost is at most $5 per item when the company makes 200 or more items.
Since x>0x > 0 here, you could also multiply both sides by xx without flipping the inequality. Without that guarantee, multiplying by an expression with xx in it is risky, because you don't know whether it's negative. The sign chart always works.

Common mistakes

  • Calling a value a zero when it also makes the denominator 0, like x=4x = 4 in Example 1.
  • Including a denominator zero in an inequality's answer. Always use a parenthesis (or an open circle) there.
  • Multiplying both sides of an inequality by an expression that might be negative. The inequality might need to flip, and you can't tell which way. Use a sign chart.
  • Dropping an isolated solution, like x=3x = 3 in Example 3.
  • Skipping the domain check when solving a rational equation.

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.