AP Precalculus · Unit 1 · Topic 1.9

    1.9 Rational Functions and Vertical Asymptotes

    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

    A rational function r=pqr = \frac{p}{q} has a vertical asymptote at x=ax = a when aa is a zero of the denominator and the factor (x−a)(x - a) appears more times in the denominator than in the numerator. Near the asymptote the outputs grow without bound, described with one-sided limits such as lim⁡x→a+r(x)=∞\lim_{x \to a^+} r(x) = \infty. The signs of the factors decide which way each side goes.

    What you need to know

    • Locate vertical asymptotes of a rational function from its factored form.
    • Distinguish a vertical asymptote from a hole using multiplicities.
    • Describe behaviour near a vertical asymptote with one-sided limit notation.
    • Use signs of factors to decide whether each side goes to ∞ or −∞.

    Where vertical asymptotes occur

    Dividing by a number very close to 0 gives a very large result. So when the denominator of a rational function approaches 0 while the numerator does not, the outputs grow without bound, and the graph runs up or down alongside a vertical line.

    For r(x)=x+1(x−2)(x+3)r(x) = \frac{x + 1}{(x - 2)(x + 3)}, the denominator is 0 at x=2x = 2 and x=−3x = -3, and the numerator is not 0 at either. So rr has vertical asymptotes at x=2x = 2 and x=−3x = -3.

    Which way each side goes

    The notation x→2+x \to 2^+ means x approaches 2 from the right (values a little bigger than 2), and x→2−x \to 2^- from the left. To find the sign of rr on each side, look at each factor just there.

    • Just right of 2 (say 2.01): x+1≈3>0x + 1 \approx 3 > 0, x−2x - 2 is a tiny positive number, x+3≈5>0x + 3 \approx 5 > 0. So rr is positive and huge: lim⁡x→2+r(x)=∞\lim_{x \to 2^+} r(x) = \infty.
    • Just left of 2 (say 1.99): only x−2x - 2 changes sign, to tiny negative. So lim⁡x→2−r(x)=−∞\lim_{x \to 2^-} r(x) = -\infty.
    • Just right of −3 (say −2.99): x+1≈−2x + 1 \approx -2, x−2≈−5x - 2 \approx -5, x+3x + 3 tiny positive. The sign is (−)(−)(+)=+\frac{(-)}{(-)(+)} = +, so lim⁡x→−3+r(x)=∞\lim_{x \to -3^+} r(x) = \infty.
    • Just left of −3: x+3x + 3 is tiny negative, so lim⁡x→−3−r(x)=−∞\lim_{x \to -3^-} r(x) = -\infty.
    The function goes to ∞ on the right of each asymptote and −∞ on the left. It crosses the x-axis at its zero, x = −1, and approaches y = 0 at both ends.

    Even multiplicity: both sides the same way

    If the factor in the denominator is squared, like (x−1)2(x - 1)^2 in g(x)=1(x−1)2g(x) = \frac{1}{(x - 1)^2}, it is positive on both sides of 1. Then both one-sided limits have the same sign: lim⁡x→1−g(x)=lim⁡x→1+g(x)=∞\lim_{x \to 1^-} g(x) = \lim_{x \to 1^+} g(x) = \infty. Odd multiplicity flips the sign across the asymptote; even multiplicity does not, just as with zeros.

    Key terms

    Vertical asymptote
    A line x = a near which the outputs of a function increase or decrease without bound.
    One-sided limit
    lim⁡x→a+f(x)\lim_{x \to a^+} f(x) or lim⁡x→a−f(x)\lim_{x \to a^-} f(x): the behaviour as x approaches a from the right or left only.
    Unbounded
    Growing past any fixed value; written ∞ or −∞.
    Multiplicity in the denominator
    How many times (x − a) divides the denominator; compared with the numerator to decide asymptote or hole.

    Common mistakes

    • Putting a vertical asymptote at every zero of the denominator.

      If the factor cancels completely, it is a hole instead.

    • Assuming the graph goes to ∞ on both sides.

      Check the sign of each factor on each side.

    • Writing a vertical asymptote as y = 2.

      Vertical lines are written x = 2.

    How this topic is tested

    • Factor numerator and denominator fully before deciding anything.
    • Write each side as a one-sided limit: lim⁡x→2+r(x)=∞\lim_{x \to 2^+} r(x) = \infty.
    • Justify with the factor: '(x − 2) is in the denominator and not cancelled by the numerator'.

    Practice questions

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

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

      Where does f(x)=x−4x2−16f(x) = \frac{x - 4}{x^2 - 16} have a vertical asymptote?

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

      For g(x)=2x−5g(x) = \frac{2}{x - 5}, what is lim⁡x→5−g(x)\lim_{x \to 5^-} g(x)?

    3. Question 3 · MP 2 · Multiple Representations

      Which function has a vertical asymptote at x = 3 where the graph goes to ∞ on both sides?

    4. Question 4 · MP 3 · Communication and Reasoning

      h(x)=(x+2)(x−1)(x+2)2(x−7)h(x) = \frac{(x + 2)(x - 1)}{(x + 2)^2(x - 7)}. Which statement is true?

    5. Question 5 · MP 2 · Multiple Representations

      A rational function rr has lim⁡x→1−r(x)=−∞\lim_{x \to 1^-} r(x) = -\infty and lim⁡x→1+r(x)=∞\lim_{x \to 1^+} r(x) = \infty. Which could be rr?

    Free-response practice

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

    Function Concepts (short) · 3 points

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

    1. (a) Identify the vertical asymptotes of the graph of rr.
    2. (b) Find lim⁡x→−3−r(x)\lim_{x \to -3^-} r(x) and give a reason for your answer.

    Connected topics

    Frequently asked questions

    Can a graph cross a vertical asymptote?

    No. The function is undefined at x = a, so there is no point on the line; the graph only gets closer to it.

    Do I need to find vertical asymptotes of non-rational functions?

    Yes, later: logarithmic functions (Unit 2) and tangent (Unit 3) also have vertical asymptotes.

    Is \(\lim_{x \to 2} r(x)\) equal to ∞ here?

    No. The two one-sided limits disagree (−∞ from the left, ∞ from the right), so describe each side separately.

    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.