AP Precalculus · Unit 1 · Topic 1.8

    1.8 Rational Functions and Zeros

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    The real zeros of a rational function r(x)=p(x)q(x)r(x) = \frac{p(x)}{q(x)} are the real zeros of the numerator pp that are in the domain of rr, so not also zeros of qq. A rational function can change sign only at its zeros or where it is undefined, so a sign chart built from those values solves rational inequalities.

    What you need to know

    • Find the real zeros of a rational function from its numerator.
    • Explain why a zero of the numerator that is also a zero of the denominator is not a zero of the function.
    • Build a sign chart from zeros and undefined points.
    • Solve rational inequalities such as r(x)≥0r(x) \ge 0.

    Where a fraction equals zero

    A fraction equals 0 exactly when its numerator is 0 and its denominator is not. So for r(x)=(x−2)(x+1)x−3r(x) = \frac{(x - 2)(x + 1)}{x - 3}, the zeros are x=2x = 2 and x=−1x = -1. The denominator is 0 at x=3x = 3, which is not in the domain at all.

    Care is needed when the numerator and denominator share a zero. For f(x)=x(x−4)x−4f(x) = \frac{x(x - 4)}{x - 4}, the numerator is 0 at x=0x = 0 and x=4x = 4, but x=4x = 4 makes the denominator 0, so 4 is not in the domain. The only zero of ff is x=0x = 0. (At x=4x = 4 the graph has a hole, which is topic 1.10.)

    Sign charts

    A rational function can only change sign at a zero or at an input where it is undefined. Between those points its sign stays the same. So mark them on a number line and test one value in each interval. For rr, the key points are −1-1, 22 (zeros) and 33 (undefined).

    Sign chart for r(x) = (x − 2)(x + 1)/(x − 3)
    IntervalTest xx − 2x + 1x − 3Sign of r
    x < −1−2−−−−
    −1 < x < 20−+−+
    2 < x < 32.5++−−
    x > 34++++
    The graph agrees with the sign chart: negative, positive, negative, positive.

    Solving rational inequalities

    To solve r(x)≥0r(x) \ge 0, read the chart: rr is positive on (−1,2)(-1, 2) and (3,∞)(3, \infty) and equal to 0 at −1-1 and 22. The undefined point 3 can never be included. So the solution is −1≤x≤2-1 \le x \le 2 or x>3x > 3.

    If an inequality has non-zero terms on both sides, move everything to one side and combine into a single fraction first. For xx−1>2\frac{x}{x - 1} > 2: xx−1−2=x−2(x−1)x−1=2−xx−1>0\frac{x}{x - 1} - 2 = \frac{x - 2(x - 1)}{x - 1} = \frac{2 - x}{x - 1} > 0. The key points are 1 and 2, and testing shows the fraction is positive only for 1<x<21 < x < 2.

    Key terms

    Zero of a rational function
    A real zero of the numerator that is in the domain of the function.
    Domain of a rational function
    All real numbers except the zeros of the denominator.
    Sign chart
    A number line divided at zeros and undefined points, showing the sign of the function on each interval.
    Rational inequality
    An inequality involving a rational function, such as r(x)≥0r(x) \ge 0.

    Common mistakes

    • Including zeros of the denominator as zeros of the function.

      The function is undefined there; they are never zeros.

    • Including x = 3 in the solution of r(x)≥0r(x) \ge 0.

      Undefined points are always excluded, even with ≥.

    • Multiplying through by a variable denominator.

      Combine into one fraction and use a sign chart.

    How this topic is tested

    • List zeros and undefined points before building the chart.
    • Test one value in each interval and record the sign of every factor.
    • Use 'or' between separate intervals, and an open end at every undefined point.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Procedural and Symbolic Fluency

      What are the zeros of f(x)=x2−9x+5f(x) = \frac{x^2 - 9}{x + 5}?

    2. Question 2 · MP 3 · Communication and Reasoning

      What are the zeros of g(x)=(x−1)(x+2)(x−1)(x−6)g(x) = \frac{(x - 1)(x + 2)}{(x - 1)(x - 6)}?

    3. Question 3 · MP 1 · Procedural and Symbolic Fluency

      For which values of x is x+4x−2<0\frac{x + 4}{x - 2} < 0?

    4. Question 4 · MP 3 · Communication and Reasoning

      A rational function hh is positive just to the left of x=5x = 5 and negative just to the right. Which must be true?

    5. Question 5 · MP 1 · Procedural and Symbolic Fluency

      What is the solution of xx−1>2\frac{x}{x - 1} > 2?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Symbolic Manipulations (short) · 3 points

    Let r(x)=(x−2)(x+1)x−3r(x) = \frac{(x - 2)(x + 1)}{x - 3}.

    1. (a) Find the zeros of rr.
    2. (b) Solve r(x)≥0r(x) \ge 0. Show the work that leads to your answer.

    Connected topics

    Frequently asked questions

    Can a rational function have no zeros?

    Yes. 1x2+1\frac{1}{x^2 + 1} has a numerator that is never zero, so the graph never meets the x-axis.

    Does a zero of even multiplicity in the numerator change the sign?

    No. Just as with polynomials, the factor (x−a)2(x - a)^2 does not change sign, so the graph touches the axis and the sign is the same on both sides.

    Can I use a graphing calculator for inequalities?

    On calculator questions you can read where the graph is above or below the axis, but you still need to state endpoints correctly and exclude undefined points.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsUnit 1 is one of the 3 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 1 cheat sheet

    Every topic in Unit 1: Polynomial and Rational Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Precalculus practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 1 practice test: 70 questions with explanations

    All topics in Unit 1: Polynomial and Rational Functions

    1. 1.1 Change in Tandem
    2. 1.2 Rates of Change
    3. 1.3 Rates of Change in Linear and Quadratic Functions
    4. 1.4 Polynomial Functions and Rates of Change
    5. 1.5 Polynomial Functions and Complex Zeros
    6. 1.6 Polynomial Functions and End Behavior
    7. 1.7 Rational Functions and End Behavior
    8. 1.8 Rational Functions and Zeros
    9. 1.9 Rational Functions and Vertical Asymptotes
    10. 1.10 Rational Functions and Holes
    11. 1.11 Equivalent Representations of Polynomial and Rational Expressions
    12. 1.12 Transformations of Functions
    13. 1.13 Function Model Selection and Assumption Articulation
    14. 1.14 Function Model Construction and Application

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.