Rational Functions and Vertical Asymptotes
Why this matters
Have you ever played a video game where you're running across a map and suddenly hit an invisible wall? You can see the landscape on the other side, you can get right up to the edge, but your character just can't cross that line. The game's code forbids it.
Rational functions have something similar. Their graphs can look like smooth, flowing curves, but sometimes they approach a vertical line and then... whoosh! The graph shoots up toward the sky or plummets downward, getting infinitely close to that line but never, ever touching it.
These invisible walls are called vertical asymptotes. They are a fundamental feature of rational functions, and understanding them is key to sketching and analyzing graphs. In this lesson, we'll learn the simple algebraic trick to find exactly where these walls are located and how to describe the graph's dramatic behavior around them.
Concept overview
flowchart TD
A[Start with r(x) = P(x)/Q(x)] --> B{Factor P(x) and Q(x)};
B --> C{Find real zeros of Q(x), let one be 'a'};
C --> D{Is (x-a) a factor of P(x) too?};
D -- No --> E[Vertical Asymptote at x = a];
D -- Yes --> F{Compare multiplicity of (x-a). Is Denominator > Numerator?};
F -- Yes --> E;
F -- No --> G[Removable Discontinuity (Hole) at x = a];
Core explanation
Hey everyone, it's Saavi. Let's dive into one of the most important features of rational functions: vertical asymptotes.
First, a quick refresher. A rational function is just a function that's a fraction of two polynomials, like r(x) = P(x) / Q(x), where P(x) is the numerator polynomial and Q(x) is the denominator polynomial.
The golden rule in algebra that we can never, ever break is: you cannot divide by zero. It's undefined. It's the one mathematical operation that just doesn't have an answer. So, whenever the denominator Q(x) of our rational function equals zero, the function has a problem at that x-value. This "problem" shows up on the graph in one of two ways:
- A Vertical Asymptote: An invisible vertical line that the graph approaches but never crosses.
- A Removable Discontinuity (or a "hole"): A single point missing from the graph.
Our job is to figure out which one we're dealing with.
The Three-Step Process: Factor, Identify, Cancel
The most reliable way to find vertical asymptotes is to follow a clear process. Let's use an example to walk through it.
Consider the function:
r(x) = (x² + x - 2) / (x² + 2x - 3)
Step 1: Factor the numerator and the denominator completely. This is the most critical step. You have to break down the polynomials to see their building blocks.
- Numerator:
x² + x - 2factors into(x + 2)(x - 1) - Denominator:
x² + 2x - 3factors into(x + 3)(x - 1)
So, our factored function is:
r(x) = ((x + 2)(x - 1)) / ((x + 3)(x - 1))
Step 2: Identify the "problem spots."
Look at the factored denominator and find the x-values that would make it zero.
(x + 3)(x - 1) = 0
This gives us two potential problem x-values: x = -3 and x = 1.
Step 3: Distinguish between asymptotes and holes by canceling common factors. Now, look at the entire factored fraction. Do you see any factors that are identical in the numerator and the denominator?
r(x) = ((x + 2)(x - 1)) / ((x + 3)(x - 1))
Yes! The (x - 1) factor appears in both. We can cancel it out.
-
When a factor cancels, it creates a hole in the graph at that x-value. So, at
x = 1, there is a removable discontinuity. The graph will look perfectly normal, but there will be a tiny, open circle atx=1to show that the original function is undefined there. -
When a factor in the denominator does not cancel, it creates a vertical asymptote. The
(x + 3)factor is left in the denominator. It has no matching factor in the numerator. Therefore, atx = -3, we have a vertical asymptote. This is our invisible wall.
A Note on Multiplicity
What if you have repeated factors? For example, g(x) = (x - 2) / (x - 2)².
Here, the zero x = 2 has a multiplicity of 1 in the numerator and 2 in the denominator. After canceling one (x-2) factor, you're left with g(x) = 1 / (x - 2).
The rule is: A vertical asymptote occurs if the multiplicity of a zero in the denominator is greater than its multiplicity in the numerator. Since the multiplicity of (x-2) was higher in the denominator (2 > 1), we get a vertical asymptote at x = 2.
Describing the Behavior Near an Asymptote
Okay, so we have an asymptote at x = -3. What does the graph do there? Does it shoot up to infinity? Down to negative infinity? This is where we use limit notation to be precise.
Let's look at our simplified function after cancellation: r(x) = (x + 2) / (x + 3).
We want to know what happens as x gets really close to -3.
- 1Approaching from the right (x → -3⁺)Let's pick a number just a tiny bit bigger than -3, like
x = -2.99.- Numerator:
-2.99 + 2 = -0.99(a negative number) - Denominator:
-2.99 + 3 = +0.01(a tiny positive number) A negative number divided by a tiny positive number gives you a huge negative number. Think:-1 / 0.00001 = -100,000. So, asxapproaches -3 from the right,r(x)plummets to negative infinity. We write this as:lim_{x→-3⁺} r(x) = -∞
- Numerator:
- 2Approaching from the left (x → -3⁻)Now let's pick a number just a tiny bit smaller than -3, like
x = -3.01.- Numerator:
-3.01 + 2 = -1.01(a negative number) - Denominator:
-3.01 + 3 = -0.01(a tiny negative number) A negative number divided by a tiny negative number gives you a huge positive number. Think:-1 / -0.00001 = +100,000. So, asxapproaches -3 from the left,r(x)shoots up to positive infinity. We write this as:lim_{x→-3⁻} r(x) = ∞
- Numerator:
This limit notation is the formal way to describe the "whoosh" behavior we see on the graph. It tells the full story of the vertical asymptote.
Worked examples
Let's put this into practice with a few examples. The process is always the same: factor, identify, and cancel.
Finding an Asymptote and a Hole
Problem: Find all vertical asymptotes and removable discontinuities for the function r(x) = (x² + x - 2) / (x² + 2x - 3).
Solution:
- 1Factor the numerator and denominatorThis is always your first move.
- Numerator:
x² + x - 2factors into(x + 2)(x - 1). - Denominator:
x² + 2x - 3factors into(x + 3)(x - 1). Our function is nowr(x) = ((x + 2)(x - 1)) / ((x + 3)(x - 1)).
- Numerator:
- 2Identify all zeros of the denominatorThese are our potential "problem spots." Setting
(x + 3)(x - 1) = 0gives usx = -3andx = 1. - 3Check for common factors to cancelThe factor
(x - 1)appears in both the top and the bottom. We can cancel it.- Because
(x - 1)cancels, the discontinuity atx = 1is a removable discontinuity (a hole). - The factor
(x + 3)remains in the denominator and does not cancel. Therefore, the discontinuity atx = -3is a vertical asymptote.
- Because
Common pitfall here: A student might see that x=1 makes the denominator zero and immediately declare it a vertical asymptote. You must complete the cancellation step to be sure!
A Straightforward Asymptote
Problem: Find the vertical asymptote of f(x) = (2x + 1) / (x - 4) and describe its behavior using limits.
Solution:
- 1FactorIn this case, the numerator and denominator are already factored (they are linear).
- 2Identify denominator zerosSet
x - 4 = 0. This gives usx = 4. - 3Check for cancellationThe factor
(x - 4)in the denominator does not have a matching factor in the numerator(2x + 1). Nothing cancels. - 4Conclusion and Limit BehaviorSince the factor didn't cancel, we have a vertical asymptote at
x = 4. Now, let's check the behavior.- From the right (x → 4⁺)Try
x = 4.1.f(4.1) = (2(4.1) + 1) / (4.1 - 4) = (9.2) / (0.1) = +92. This is a large positive number. So,lim_{x→4⁺} f(x) = ∞. - From the left (x → 4⁻)Try
x = 3.9.f(3.9) = (2(3.9) + 1) / (3.9 - 4) = (8.8) / (-0.1) = -88. This is a large negative number. So,lim_{x→4⁻} f(x) = -∞.
- From the right (x → 4⁺)
Try it yourself
Ready to try on your own? Remember the process: Factor, Identify, Cancel.
- 1ProblemFind all vertical asymptotes and removable discontinuities for the function
f(x) = (x² - 4) / (x² - x - 6).- Hint: Start by factoring both the numerator
(x² - 4)and the denominator(x² - x - 6). One is a difference of squares, the other is a standard trinomial. See what cancels!
- Hint: Start by factoring both the numerator
- 2ProblemDoes the function
g(x) = (x - 3)² / (x² - 9)have a vertical asymptote or a hole atx = 3?- Hint: Remember to factor the denominator completely. Then, compare the multiplicity (the exponent) of the
(x-3)factor in the numerator versus the denominator. Does the factor completely disappear from the denominator after cancellation?
- Hint: Remember to factor the denominator completely. Then, compare the multiplicity (the exponent) of the
Practice — 8 questions
In simple terms, this lesson is about finding "invisible walls" on a graph, called vertical asymptotes, which appear at x-values that make the denominator of a rational function zero but not the numerator.
- 1.9.A: Determine vertical asymptotes of graphs of rational functions.
- 1.9.A.1
- If the value a is a real zero of the polynomial function in the denominator of a rational function and is not also a real zero of the polynomial function in the numerator, then the graph of the rational function has a vertical asymptote at x = a. Furthermore, a vertical asymptote also occurs at x = a if the multiplicity of a as a real zero in the denominator is greater than its multiplicity as a real zero in the numerator.
- 1.9.A.2
- Near a vertical asymptote, x = a, of a rational function, the values of the polynomial function in the denominator are arbitrarily close to zero, so the values of the rational function r increase or decrease without bound. The corresponding mathematical notation is lim_{x→a+} r(x) = ∞ or lim_{x→a+} r(x) = -∞ for input values near a and greater than a, and lim_{x→a-} r(x) = ∞ or lim_{x→a-} r(x) = -∞ for input values near a and less than a.
flowchart TD
A[Start with r(x) = P(x)/Q(x)] --> B{Factor P(x) and Q(x)};
B --> C{Find real zeros of Q(x), let one be 'a'};
C --> D{Is (x-a) a factor of P(x) too?};
D -- No --> E[Vertical Asymptote at x = a];
D -- Yes --> F{Compare multiplicity of (x-a). Is Denominator > Numerator?};
F -- Yes --> E;
F -- No --> G[Removable Discontinuity (Hole) at x = a];
Read what Saavi narrates
Hey everyone, it's Saavi from Shrutam.
Have you ever played a video game where you're running across a map and suddenly hit an invisible wall? You can see the landscape on the other side, you can get right up to the edge, but your character just can't cross that line.
Rational functions have something just like that. Their graphs can look like smooth, flowing curves, but sometimes they approach a vertical line and then... whoosh! The graph shoots up toward the sky or plummets downward, getting infinitely close to that line but never, ever touching it. These invisible walls are called vertical asymptotes.
Today, we're going to learn the simple algebraic trick to find exactly where these walls are. We're going to look for the x-values that make the denominator of a fraction zero, and most importantly, we'll learn to tell the difference between a true "invisible wall" and a simple "missing spot" on the graph, called a hole.
Let's walk through an example together. Imagine the function r of x equals the quantity x squared plus x minus 2, all divided by x squared plus 2x minus 3.
The first, most important step is to factor everything. The numerator becomes the quantity x plus 2 times x minus 1. The denominator becomes x plus 3 times x minus 1.
Now, look at the denominator. The values that make it zero are x equals negative 3, and x equals positive 1. These are our two problem spots.
But are they both asymptotes? Look closely. The factor x minus 1 appears on both the top and the bottom. We can cancel it out! When a factor cancels, it creates a hole in the graph. So at x equals 1, we have a hole.
The other factor, x plus 3, is left over in the denominator. It doesn't cancel. That's what creates our vertical asymptote, our invisible wall, at x equals negative 3.
This is the number one mistake I see students make: they find the zeros of the denominator and call them all asymptotes. You have to check for those common factors first. If it cancels, it's a hole. If it stays, it's an asymptote.
You've got this. The process is straightforward: factor, identify the problem spots, and see what cancels. Keep practicing, and you'll be spotting these features in no time.
If the factor associated with that zero also exists in the numerator, it might cancel out, creating a hole instead of an asymptote.
Always factor the numerator and denominator completely. If a factor cancels, it's a hole. If it remains in the denominator, it's a vertical asymptote.
You cannot see the common factors or the true zeros without factoring. Looking at `r(x) = (x² + x - 2) / (x² + 2x - 3)` doesn't immediately tell you what's happening at `x=1`.
Make factoring your non-negotiable first step for every rational function problem.
You can only cancel common factors (things that are multiplied), not individual terms that are added or subtracted. `x²` is a term, not a factor, in this case.
Only cancel factors after the polynomials are fully factored. `(x-2)(x+3) / (x-2)(x-5)` allows cancellation of `(x-2)`. `(x+3)/(x-5)` does not.
A vertical line has the equation `x = constant` because every point on the line has the same x-coordinate. `y = constant` describes a horizontal line.
Always remember: **V**ertical lines have equations of the form `**x** = a`.