Rational Functions and Vertical Asymptotes
students, imagine a graph that behaves nicely for most $x$-values, but suddenly shoots up or down near a certain number. π That dramatic behavior is one of the most important features of a rational function. In this lesson, you will learn what rational functions are, how to identify vertical asymptotes, and how these ideas help you analyze graphs in AP Precalculus.
Lesson Objectives
- Explain the main ideas and terminology behind rational functions and vertical asymptotes.
- Apply AP Precalculus reasoning and procedures to analyze rational functions.
- Connect rational functions and vertical asymptotes to polynomial and rational functions as a whole.
- Summarize why these ideas matter for interpreting graphs and solving problems.
- Use examples and evidence to support your understanding.
What Is a Rational Function?
A rational function is a function that can be written as a ratio of two polynomials. In general, it has the form
$$f(x)=\frac{p(x)}{q(x)}$$
where $p(x)$ and $q(x)$ are polynomials, and $q(x)\neq 0$.
Examples include
$$f(x)=\frac{1}{x-3}$$
$$g(x)=\frac{x^2-4}{x+1}$$
$$h(x)=\frac{x^2+2x-3}{x^2-9}$$
Rational functions appear in many real-world situations. For example, if a machine makes $100$ items in $x$ hours, the average rate might be modeled by a ratio. If two quantities are divided, the result is often rational. In physics, chemistry, and economics, ratios are everywhere.
A key fact is that rational functions are not defined wherever the denominator equals $0$. That restriction is the starting point for finding vertical asymptotes.
Domain and Why the Denominator Matters
For a rational function, the domain is the set of all $x$-values that make the denominator nonzero. If the denominator is $0$, the expression is undefined.
For example, in
$$f(x)=\frac{1}{x-3}$$
the denominator is $x-3$. Set it equal to $0$:
$$x-3=0$$
so
$$x=3$$
That means $x=3$ is excluded from the domain.
However, excluded from the domain does not always mean vertical asymptote. Sometimes the graph has a hole instead. To tell the difference, you often factor and simplify first.
Example:
$$f(x)=\frac{x^2-1}{x-1}$$
Factor the numerator:
$$f(x)=\frac{(x-1)(x+1)}{x-1}$$
For $x\neq 1$, this simplifies to
$$f(x)=x+1$$
There is still a restriction at $x=1$, but the graph has a hole there, not a vertical asymptote. Why? Because the factor $x-1$ canceled.
This is an important AP Precalculus idea: a factor that remains in the denominator after simplification can create a vertical asymptote. A factor that cancels creates a hole. β
What Is a Vertical Asymptote?
A vertical asymptote is a vertical line $x=a$ that the graph approaches but never crosses in the same way, because the function values grow without bound near $x=a$.
More precisely, if
$$\lim_{x\to a^-} f(x)=\pm\infty$$
or
$$\lim_{x\to a^+} f(x)=\pm\infty$$
then $x=a$ may be a vertical asymptote.
You do not need to memorize the formal limit language first to understand the idea. Think of a vertical asymptote as a place where the graph gets extremely large positive or negative very quickly.
Example:
$$f(x)=\frac{1}{x-3}$$
As $x$ gets close to $3$ from the right, $x-3$ is a tiny positive number, so $f(x)$ becomes a very large positive number. As $x$ gets close to $3$ from the left, $x-3$ is a tiny negative number, so $f(x)$ becomes a very large negative number.
So the graph has a vertical asymptote at
$$x=3$$
This is one of the main behaviors you must recognize for rational functions.
How to Find Vertical Asymptotes
To find vertical asymptotes, follow these steps:
- Factor the numerator and denominator completely.
- Cancel common factors, if any.
- Set the remaining denominator equal to $0$.
- Solve for the $x$-values.
Those $x$-values are where vertical asymptotes may occur.
Letβs do a full example.
$$f(x)=\frac{x^2-9}{x^2-4x+3}$$
Factor:
$$f(x)=\frac{(x-3)(x+3)}{(x-1)(x-3)}$$
Cancel the common factor $x-3$:
$$f(x)=\frac{x+3}{x-1}$$
Now identify the remaining denominator:
$$x-1=0$$
so
$$x=1$$
Therefore, the vertical asymptote is
$$x=1$$
What about $x=3$? Since that factor canceled, $x=3$ is a hole, not a vertical asymptote.
This distinction is a major part of analyzing rational functions accurately.
Graph Behavior Near Vertical Asymptotes
Vertical asymptotes help you predict how the graph behaves near certain $x$-values.
Suppose
$$f(x)=\frac{1}{x-3}$$
Near $x=3$:
- if $x\to 3^+$, then $f(x)\to \infty$
- if $x\to 3^-$, then $f(x)\to -\infty$
But vertical asymptote behavior is not always the same on both sides.
Example:
$$g(x)=\frac{1}{(x-3)^2}$$
Since $(x-3)^2$ is always positive for $x\neq 3$, the function becomes very large positive on both sides of $x=3$.
So
$$\lim_{x\to 3^-} g(x)=\infty$$
and
$$\lim_{x\to 3^+} g(x)=\infty$$
That means $x=3$ is still a vertical asymptote, but the graph behaves differently from $\frac{1}{x-3}$.
This kind of reasoning is useful on AP-style questions, where you may need to interpret a graph or a formula without plotting every point.
A Real-World Example
Imagine a road trip where the average speed is calculated by
$$s(t)=\frac{d(t)}{t}$$
where $d(t)$ is distance traveled after $t$ hours.
At $t=0$, the average speed formula is undefined because you cannot divide by $0$. This does not always mean there is a vertical asymptote in a realistic model, but it shows why rational functions naturally have restrictions.
Another example comes from concentration. If the amount of dissolved substance is fixed and the volume of liquid changes, concentration may be modeled by a ratio. If the volume gets very close to $0$, the concentration can become extremely large, which is the kind of behavior vertical asymptotes describe.
In AP Precalculus, you should be able to connect the formula to what happens in the real situation. That connection shows strong understanding. π
Common Mistakes to Avoid
Here are some common errors students make:
- Forgetting to factor first. If you do not factor, you may miss a canceled factor or a simplified denominator.
- Thinking every excluded $x$-value is a vertical asymptote. A canceled factor gives a hole, not an asymptote.
- Ignoring multiplicity. The power of a factor can affect how the graph behaves near the asymptote.
- Mixing up zeros and asymptotes. Zeros come from the numerator after simplification; vertical asymptotes come from the denominator after simplification.
Example:
$$f(x)=\frac{(x-2)(x+1)}{(x-2)(x-5)}$$
After canceling $x-2$:
$$f(x)=\frac{x+1}{x-5}$$
So:
- hole at $x=2$
- vertical asymptote at $x=5$
The zero of the simplified numerator is
$$x=-1$$
so the graph crosses the $x$-axis at $x=-1$.
How This Fits Into Polynomial and Rational Functions
Polynomial and rational functions are closely related. Polynomials are smooth and defined for every real $x$. Rational functions are built from polynomials, but division creates restrictions and new graph features like holes and vertical asymptotes.
This topic matters because AP Precalculus asks you to compare function types and interpret behavior. Rational functions show:
- where a function is undefined,
- how a graph can break apart,
- how asymptotes shape the graph,
- and how algebraic structure controls graph behavior.
That is why rational functions are a major part of the polynomial and rational functions unit. They help you use algebra to understand graphs, and use graphs to understand algebra. π
Conclusion
students, the big idea is this: rational functions are ratios of polynomials, and vertical asymptotes happen where the simplified denominator is $0$. By factoring carefully, canceling common factors, and checking the remaining denominator, you can tell the difference between a hole and an asymptote. This skill is essential for analyzing graphs, solving AP-style questions, and connecting formulas to real situations.
When you see a rational function, ask three questions: What is the domain? Does anything cancel? Where does the remaining denominator equal $0$? If you can answer those questions, you are well on your way to mastering vertical asymptotes.
Study Notes
- A rational function has the form $f(x)=\frac{p(x)}{q(x)}$, where $p(x)$ and $q(x)$ are polynomials and $q(x)\neq 0$.
- The domain excludes any $x$-value that makes the denominator $0$.
- Factor first before deciding whether a restriction is a hole or a vertical asymptote.
- If a factor cancels, the graph has a hole at that $x$-value.
- If a factor remains in the denominator after simplification, it can create a vertical asymptote.
- Vertical asymptotes are vertical lines $x=a$ where the function grows without bound near $a$.
- A common procedure is: factor, cancel, set the remaining denominator equal to $0$, and solve.
- Rational functions are important because they model ratios in real life and connect algebraic structure to graph behavior.
- Vertical asymptotes are a key feature in AP Precalculus for interpreting and comparing functions.
- Always check the simplified form before identifying asymptotes or zeros.
