AP Precalculus · Topic 1.9 · Reading guide, about 5 min

Vertical asymptotes of rational functions

Locate vertical asymptotes from uncancelled denominator zeros and describe behavior near them with one-sided limits.

In one minute

When the denominator of a rational function gets close to zero while the numerator does not, the fraction becomes enormous. The graph shoots up or down along a vertical line it never reaches. That line is a vertical asymptote.

This topic teaches you where those lines are, how to tell them apart from holes, and how to describe the behavior on each side of the line with limit notation.

Key terms

Vertical asymptote
A vertical line x=ax=a that the graph approaches as the outputs grow without bound, upward or downward, when xx gets near aa.
One-sided limit
The behavior of f(x)f(x) as xx approaches aa from only one side. Written x→a−x\to a^- (from the left) or x→a+x\to a^+ (from the right).
Unbounded behavior
Outputs that grow in size with no limit, written lim⁡x→a+f(x)=∞\lim_{x\to a^+}f(x)=\infty or −∞-\infty.
Uncancelled factor
A denominator factor left over after common factors with the numerator are removed. Its zero gives a vertical asymptote.
Multiplicity
The number of times a factor appears. The multiplicity left in the denominator after cancelling tells you whether the graph goes the same direction on both sides of an asymptote or opposite directions.
Simplified form
The function after cancelling every common factor. Vertical asymptotes are read from this form.
Domain restriction
An input excluded because the denominator is zero there. Every vertical asymptote is a domain restriction, but not the other way around.

Where asymptotes live

Start by factoring the numerator and denominator. Find the zeros of the denominator. Then see which of them also make the numerator zero. A denominator zero that does not cancel gives a vertical asymptote at that xx-value.

More precisely, a vertical asymptote at x=ax=a occurs when the denominator has a factor (x−a)(x-a) with a higher multiplicity than the numerator has for the same factor. If the numerator has multiplicity at least as large, the factor cancels fully and the result is a hole instead. For example, x−1(x−1)2\frac{x-1}{(x-1)^2} simplifies to 1x−1\frac{1}{x-1} and still has an asymptote at x=1x=1, because after cancelling one copy a copy remains in the denominator.

Contrast this with horizontal asymptotes in 1.7. Those describe the far ends and are found by comparing degrees. Vertical asymptotes describe a finite xx-value and are found from the denominator's factors. A rational function can have many vertical asymptotes, but at most one horizontal line (or slant line) for its ends.

Describing the behavior with limits

Near an asymptote, each side of the line has its own direction. Write two statements, one for x→a−x\to a^- and one for x→a+x\to a^+. If both agree you can describe the two-sided result as lim⁡x→af(x)=∞\lim_{x\to a}f(x)=\infty or −∞-\infty. If they disagree, the two-sided limit does not exist, and you give the one-sided statements.

The direction comes from signs. Pick an xx-value slightly to the left of aa and one slightly to the right, and work out whether the numerator and denominator are positive or negative. A positive result is large and positive; a negative result is large and negative.

Multiplicity decides the pattern, but use the multiplicity left in the denominator after cancelling common factors (the simplified form). An odd leftover multiplicity makes the two sides go in opposite directions, like 1x\frac{1}{x}, which falls to −∞-\infty on the left of 0 and rises to ∞\infty on the right. An even leftover multiplicity makes both sides go the same direction, like 1x2\frac{1}{x^2}, which rises to ∞\infty on both sides.

Behavior near x=1x=1 for three simple functions
FunctionLeft of 1 (x→1−x\to1^-)Right of 1 (x→1+x\to1^+)
1x−1\frac{1}{x-1}−∞-\infty∞\infty
1(x−1)2\frac{1}{(x-1)^2}∞\infty∞\infty
−1(x−1)2\frac{-1}{(x-1)^2}−∞-\infty−∞-\infty

Worked example: one hole and one asymptote

Let f(x)=x(x−3)(x−3)(x+2)f(x)=\frac{x(x-3)}{(x-3)(x+2)}. Find its vertical asymptote and describe the behavior near it.

Step 1. The denominator is zero at x=3x=3 and at x=−2x=-2.

Step 2. The factor (x−3)(x-3) appears once on top and once on the bottom, so it cancels completely. That value gives a hole at x=3x=3, not an asymptote. The factor (x+2)(x+2) does not cancel, so x=−2x=-2 is a vertical asymptote.

Step 3. Simplify to f(x)=xx+2f(x)=\frac{x}{x+2} for x≠3x\ne3. Test just to the right of −2-2, at x=−1.9x=-1.9: the numerator is −1.9-1.9 and the denominator is 0.10.1, so the value is −19-19. Closer, at x=−1.99x=-1.99, it is −1.990.01=−199\frac{-1.99}{0.01}=-199. The outputs fall without bound.

Step 4. Test just to the left, at x=−2.1x=-2.1: −2.1−0.1=21\frac{-2.1}{-0.1}=21. At x=−2.01x=-2.01: −2.01−0.01=201\frac{-2.01}{-0.01}=201. The outputs rise without bound.

Step 5. State the result: lim⁡x→−2−f(x)=∞\lim_{x\to-2^-}f(x)=\infty and lim⁡x→−2+f(x)=−∞\lim_{x\to-2^+}f(x)=-\infty. The two-sided limit does not exist, and the line x=−2x=-2 is a vertical asymptote.

Checking and sketching

The graph of a function never crosses a vertical asymptote, because the function is undefined at that xx-value. This differs from horizontal asymptotes, which the graph may cross in the middle.

To sketch, draw each vertical asymptote as a dashed line, mark the zeros, and use the sign chart from 1.8 to see on which side of the axis each piece lies. After cancelling, an odd multiplicity left in the denominator sends the two sides in opposite directions; an even one sends them the same way. A graphing calculator is a good check, but be aware that it may connect the two pieces with a misleading steep line across the asymptote.

How it connects

  • Back to 1.7: horizontal and slant asymptotes describe the far ends, while vertical asymptotes describe behavior near a finite input.
  • Back to 1.8: the denominator zeros you excluded there are the candidates you now classify as asymptotes or holes.
  • Forward to 1.10: the same factoring step, applied to a factor that cancels completely, produces a hole instead.
  • Forward to 1.11: rewriting an expression in factored form makes asymptotes and holes easy to read off.

Common mistakes

  • Putting an asymptote at every zero of the denominator. Cancel common factors first. A fully cancelled factor gives a hole.
  • Reading the asymptote from the wrong sign. The line for (x+2)(x+2) is x=−2x=-2, not x=2x=2. Set the factor equal to zero and solve.
  • Assuming both sides go the same direction. Check multiplicity and test signs on each side.
  • **Writing x=ax=a as a horizontal line.** The equation x=ax=a is vertical. A horizontal line looks like y=by=b.

How it shows up on the exam

  • You are given a formula and asked for the vertical asymptotes, with the factor cancellation shown in your reasoning.
  • A graph with asymptotes is shown and you write limit statements for each side of a vertical line.
  • A written response asks what a vertical asymptote means in context, for example a quantity that becomes unbounded as an input approaches a boundary value.

Check yourself

  1. Where are the vertical asymptotes of x+5(x−1)(x+5)(x−4)\frac{x+5}{(x-1)(x+5)(x-4)}, and where is the hole?
  2. For 1(x−2)3\frac{1}{(x-2)^3}, what happens to the outputs on each side of x=2x=2?
  3. Why does the multiplicity of a denominator factor control whether the two sides match?
  4. Can a graph cross its vertical asymptote? Explain.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.