Back to homeMathematics · AP Precalculus · Change subject
Start for free
Polynomial and Rational Functions (AP) · Rational Functions

Zeros, Vertical Asymptotes, and Holes

Practise this section (12)

Emma runs a club that sells custom T-shirts. The print shop charges a $\$60$ setup fee plus $\$5$ per shirt, so the average cost per shirt for $n$ shirts is $A(n)=\dfrac{5n+60}{n}$. Ten shirts cost $\$11$ each on average, and 100 shirts cost only $\$5.60$ each. But what happens to the average cost as the order gets smaller and smaller, down toward $n=0$? And why does a graph sometimes blow up at a "forbidden" input and sometimes just skip a single point? We'll answer both by the end of this page.

Zeros of a rational function

A rational function is a quotient of two polynomials:

$$r(x)=\frac{p(x)}{q(x)},\qquad q(x)\neq 0.$$

Its domain is every real number except the zeros of the denominator $q$. A fraction equals $0$ only when its top is $0$ and its bottom is not. For example, $\frac{0}{5}=0$, but $\frac{0}{0}$ is undefined.

If a factor $(x-c)$ appears an odd number of times in the numerator, the graph crosses the $x$-axis at $c$. If it appears an even number of times, the graph touches the axis and turns around.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
Find the zeros of $r(x)=\dfrac{(x-2)(x+5)}{x-7}$. Explain why the value $x=7$ is not a zero.

Find the zeros of $r(x)=\dfrac{(x-2)(x+5)}{x-7}$. Explain why the value $x=7$ is not a zero.

Solve

Vertical asymptotes

Look at $f(x)=\dfrac{1}{x-2}$ when $x$ gets close to $2$:

$x$ 2.1 2.01 2.001
$f(x)$ 10 100 1000

The top stays at $1$ while the bottom shrinks toward $0$. A fixed number divided by something tiny is huge. That is exactly what happens to Emma's average cost as $n\to 0^+$: the $\$60$ setup fee gets spread over fewer and fewer shirts.

Graph of y = 1/(x − 2) with a dashed vertical asymptote at x = 2; the right branch shoots up and the left branch shoots down. x = 2 y = 1/(x − 2) x y Graph of y = 1/(x − 2) with a dashed vertical asymptote at x = 2; the right branch shoots up and the left branch shoots down.

The reason is the same as in the table. After canceling, the numerator is not $0$ at $a$, so we are dividing a nonzero number by something that approaches $0$.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
Find the vertical asymptotes of $r(x)=\dfrac{x+1}{x^2-9}$. Explain how you know they are asymptotes and not holes.

Find the vertical asymptotes of $r(x)=\dfrac{x+1}{x^2-9}$. Explain how you know they are asymptotes and not holes.

Solve

Holes

What if the numerator and denominator share a factor? Take $f(x)=\dfrac{x^2-4}{x-2}$. Factor and cancel:

$$f(x)=\frac{(x-2)(x+2)}{x-2}=x+2,\qquad x\neq 2.$$

The graph is the line $y=x+2$, except that $x=2$ is not in the domain. The graph has a single missing point at $x=2$, where $y=2+2=4$. That missing point is a hole at $(2, 4)$.

The graph of f(x) = (x²−4)/(x−2) is the line y = x + 2 with an open circle at (2, 4): after canceling the factor (x−2), x = 2 is not in the domain, leaving a hole. 2 4 hole (2, 4) f(x) = x + 2 for x ≠ 2 The graph of f(x) = (x²−4)/(x−2) is the line y = x + 2 with an open circle at (2, 4): after canceling the factor (x−2), x = 2 is not in the domain, leaving a hole.
Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
Let $f(x)=\dfrac{x^2-4}{x-2}$. Factor and simplify to find the coordinates of the hole in the graph of $f$. Does $f$ have a vertical asymptote?

Let $f(x)=\dfrac{x^2-4}{x-2}$. Factor and simplify to find the coordinates of the hole in the graph of $f$. Does $f$ have a vertical asymptote?

Solve
Practice★★☆Not started
Let $f(x)=\dfrac{x^2-x-6}{x^2-4}$. Factor the numerator and denominator, then find the zeros, the vertical asymptote(s), and the coordinates of any hole.

Let $f(x)=\dfrac{x^2-x-6}{x^2-4}$. Factor the numerator and denominator, then find the zeros, the vertical asymptote(s), and the coordinates of any hole.

Solve

One-sided limits near asymptotes and holes

Use limit notation to describe how the graph behaves near $x=a$.

  • $\displaystyle\lim_{x\to a^-} r(x)=\infty$ means: as $x$ approaches $a$ from the left, $r(x)$ increases without bound.

  • $\displaystyle\lim_{x\to a^+} r(x)=-\infty$ means: as $x$ approaches $a$ from the right, $r(x)$ decreases without bound.

You can read this from a table. For $f(x)=\dfrac{5}{x-3}$, the values are $-50, -500, -5000$ just to the left of $3$ and $50, 500, 5000$ just to the right. So $\lim_{x\to 3^-}f(x)=-\infty$ and $\lim_{x\to 3^+}f(x)=\infty$.

You can also decide the direction with algebra. Near the asymptote, every factor except the one that vanishes is close to a constant, so its sign is fixed. Only the sign of the vanishing factor depends on the side.

A hole behaves very differently. Near a hole the values settle down to a number. For $g(x)=\dfrac{x^2+3x-10}{x^2-4}$ near $x=2$:

$x$ 1.9 1.99 2.01 2.1
$g(x)$ 1.7692 1.7519 1.7481 1.7317

The values approach $1.75=\tfrac74$ from both sides, so $\displaystyle\lim_{x\to2}g(x)=\tfrac74$ even though $g(2)$ is undefined.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★☆Not started
The table shows values of $f(x)=\dfrac{5}{x-3}$ near $x=3$. | $x$ | 2.9 | 2.99 | 2.999 | 3.001 | 3.01 | 3.1 | |---|---|---|---|---|---|---| | $f(x)$ | $-50$ | $-500$ |…

The table shows values of $f(x)=\dfrac{5}{x-3}$ near $x=3$.

$x$ 2.9 2.99 2.999 3.001 3.01 3.1
$f(x)$ $-50$ $-500$ $-5000$ 5000 500 50

Use limit notation to describe the behavior of $f$ as $x$ approaches 3 from the left and from the right. State the equation of the vertical asymptote and explain why $x=3$ is not a hole.

Solve
Practice★★☆Not started
Let $r(x)=\dfrac{x+3}{(x-1)(x+2)}$. Find the vertical asymptotes and determine each one-sided limit: $\lim_{x\to1^-}r(x)$, $\lim_{x\to1^+}r(x)$, $\lim_{x\to-2^-}r(x)$,…

Let $r(x)=\dfrac{x+3}{(x-1)(x+2)}$. Find the vertical asymptotes and determine each one-sided limit:

$\lim_{x\to1^-}r(x)$, $\lim_{x\to1^+}r(x)$, $\lim_{x\to-2^-}r(x)$, $\lim_{x\to-2^+}r(x)$.

Explain how you decided between $\infty$ and $-\infty$ in each case.

Solve
Practice★★★Not started
A student says: "Every value that makes the denominator zero gives a vertical asymptote." Consider $f(x)=\dfrac{x^2-5x+6}{x^2-x-6}$. Some values: | $x$ | 2.9 | 2.99 |…

A student says: "Every value that makes the denominator zero gives a vertical asymptote." Consider $f(x)=\dfrac{x^2-5x+6}{x^2-x-6}$. Some values:

$x$ 2.9 2.99 3.01 3.1
$f(x)$ 0.1837 0.1982 0.2018 0.2157

(a) Factor $f$ and find all zeros, holes, and vertical asymptotes.

(b) Use the table and algebra to find $\lim_{x\to3}f(x)$ and explain why the student's statement is wrong.

(c) Describe the one-sided limits of $f$ as $x\to-2^-$ and $x\to-2^+$.

Solve

Sign charts and rational inequalities

A rational function can only change sign at a zero or at a vertical asymptote. Between two consecutive such values, it keeps the same sign. A sign chart records this.

A factor $(x-c)^k$ changes sign at $c$ when $k$ is odd, but not when $k$ is even.

Number line for r(x) with zeros at −1 and 4 (filled dots, included) and the asymptote at x = 2 (open circle, excluded). The signs −, +, −, + alternate, and the thick segments mark the solution of r ≥ 0: [−1, 2) ∪ [4, ∞). − + − + −1 2 4 zero asymptote zero Number line for r(x) with zeros at −1 and 4 (filled dots, included) and the asymptote at x = 2 (open circle, excluded). The signs −, +, −, + alternate, and the thick segments mark the solution of r ≥ 0: [−1, 2) ∪ [4, ∞).
Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
For $r(x)=\dfrac{x-1}{x+2}$, determine whether $r(x)$ is positive or negative on each interval: $(-\infty,-2)$, $(-2,1)$, and $(1,\infty)$. Show a sign chart.

For $r(x)=\dfrac{x-1}{x+2}$, determine whether $r(x)$ is positive or negative on each interval: $(-\infty,-2)$, $(-2,1)$, and $(1,\infty)$. Show a sign chart.

Solve
Practice★★☆Not started
Solve $r(x)\ge 0$ for $r(x)=\dfrac{(x+2)(x-1)}{x-3}$. Build a sign chart, and write your answer in interval notation.

Solve $r(x)\ge 0$ for $r(x)=\dfrac{(x+2)(x-1)}{x-3}$. Build a sign chart, and write your answer in interval notation.

Solve

Putting it all together

Some rational functions hide their common factors behind sums or differences of cubes. Before you can cancel, you need to factor these completely.

Now here is a full checklist for analyzing a rational function, plus a rule for what happens far from the origin (more on this in End Behavior).

You can also work backward: given the features, build the function. Each feature tells you which factors to use.

Back to Emma's T-shirts. $A(n)=\dfrac{5n+60}{n}$ has the denominator $0$ at $n=0$, but the numerator is $60\neq0$ there. So there is no canceling and no hole, and $n=0$ is a vertical asymptote. As $n\to0^+$, $A(n)\to\infty$: the fewer shirts you order, the more the setup fee dominates the average cost. Far from the asymptote, $A(n)=5+\frac{60}{n}$ settles near the horizontal asymptote $y=5$, the $\$5$ per-shirt price.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★★Not started
Let $r(x)=\dfrac{(x-1)(x+2)(x-3)}{(x-3)(x+1)(x-2)}$. (a) Find the zeros, the vertical asymptotes, the horizontal asymptote, and the coordinates of the hole. (b) Find…

Let $r(x)=\dfrac{(x-1)(x+2)(x-3)}{(x-3)(x+1)(x-2)}$.

(a) Find the zeros, the vertical asymptotes, the horizontal asymptote, and the coordinates of the hole.

(b) Find $\lim_{x\to2^-}r(x)$, $\lim_{x\to2^+}r(x)$, $\lim_{x\to-1^-}r(x)$, and $\lim_{x\to-1^+}r(x)$.

(c) Build a sign chart for $r$ and use it to describe the sign of $r(x)$ on each interval.

Solve
Practice★★★Not started
Write a rational function $r$ with numerator constant 1 (that is, of the form $\dfrac{(x+3)(x-2)(x-4)}{\text{denominator}}$) satisfying all of these: zeros at $x=-3$ and…

Write a rational function $r$ with numerator constant 1 (that is, of the form $\dfrac{(x+3)(x-2)(x-4)}{\text{denominator}}$) satisfying all of these:

  • zeros at $x=-3$ and $x=2$

  • a vertical asymptote at $x=1$ where the sign of $r$ changes

  • a vertical asymptote at $x=-1$ where $r(x)\to+\infty$ on both sides

  • a hole at $x=4$

Then give the coordinates of the hole and verify the one-sided limits at $x=-1$.

Solve
Practice★★★Not started
Let $f(x)=\dfrac{x^3-8}{x^2-4}$. (a) Factor completely and find the zeros of $f$. Is $x=2$ a zero? Explain. (b) Find the hole and the vertical asymptote. (c) Use long…

Let $f(x)=\dfrac{x^3-8}{x^2-4}$.

(a) Factor completely and find the zeros of $f$. Is $x=2$ a zero? Explain.

(b) Find the hole and the vertical asymptote.

(c) Use long division on the simplified form to find the slant asymptote.

(d) Build a sign chart for $f$.

Solve

Summary

Can't find your problem here?

The AI checks one of your exercises: paste the problem with your answer or take a photo of it.

See all the exercises in this section