Rational Function
Ever wondered what happens when you divide one polynomial by another? You get a rational function! This lesson will guide you through the key concepts of these fascinating functions, including their unique graphs, domains, and the special rules that govern their behavior.

What Is a Rational Function?
A rational function is a function that can be written as the ratio of two polynomial functions. Think of it like a fraction, but instead of having integers on the top and bottom, you have polynomials. The name "rational" comes from the word "ratio."
The standard form of a rational function is:
In this formula, both
Here are a few examples of rational functions:
(Here, and ) (Here, and ) (Here, and )
An expression is not a rational function if it contains things like square roots of variables or variables in an exponent. For example,
How Do You Find the Domain of a Rational Function?
The domain of a function is the set of all possible input values (
Here is the step-by-step process:
- Take the polynomial in the denominator,
, and set it equal to zero. - Solve the equation
for . - The solutions you find are the values that are not in the domain. The domain is all real numbers except for these values.
Find the domain of the function
Step 1: Set the denominator equal to zero.
Step 2: Solve for
Step 3: State the domain. The function is undefined when
What Are Vertical Asymptotes?
A vertical asymptote is an invisible vertical line that the graph of a function approaches but never touches or crosses. These asymptotes occur at the
Specifically, a vertical asymptote exists at
To find the vertical asymptotes:
- Simplify the rational function by factoring the numerator and denominator and cancelling any common factors. (We'll discuss what happens with cancelled factors later—they create 'holes' instead of asymptotes).
- Set the simplified denominator equal to zero.
- The solutions are the equations of your vertical asymptotes.
Find the vertical asymptotes of the function
Step 1: Factor the denominator. The numerator is already simple.
There are no common factors to cancel.
Step 2: Set the factored denominator equal to zero.
Step 3: Solve for
Conclusion: The function has two vertical asymptotes, the lines
How Do You Find Horizontal Asymptotes?
A horizontal asymptote is an invisible horizontal line that the graph of a function approaches as
To find the horizontal asymptote of
| Rule | Condition | Horizontal Asymptote |
|---|---|---|
| Bottom-Heavy | The degree of the numerator is less than the degree of the denominator ( | The x-axis, |
| Equal Degrees | The degree of the numerator is equal to the degree of the denominator ( | The line |
| Top-Heavy | The degree of the numerator is greater than the degree of the denominator ( | There is no horizontal asymptote. |
Find the horizontal asymptote of the function
Step 1: Find the degree of the numerator and denominator.
- The degree of the numerator,
, is . - The degree of the denominator,
, is .
Step 2: Compare the degrees. Here,
Step 3: Find the ratio of the leading coefficients.
- The leading coefficient of the numerator is
. - The leading coefficient of the denominator is
.
Conclusion: The horizontal asymptote is the line
A Step-by-Step Guide to Graphing Rational Functions
Graphing a rational function involves putting all the pieces together: domain, asymptotes, and intercepts. Following a structured process makes it much easier.
Let's graph
- Find Asymptotes:
- Vertical Asymptote: Set the denominator to zero.
. The VA is at . - Horizontal Asymptote: The degree of the numerator is 1, and the degree of the denominator is 1. Since the degrees are equal, we use the ratio of leading coefficients:
. The HA is at .
- Vertical Asymptote: Set the denominator to zero.
- Find Intercepts:
- y-intercept: Set
. . The y-intercept is at . - x-intercept(s): Set the numerator to zero.
. The x-intercept is at .
- y-intercept: Set
- Plot Points and Sketch: Draw your asymptotes as dashed lines. Plot your intercepts. Now, test a point on each side of the vertical asymptote to see where the curve lies.
- Left of
: Let's try . . So the point is on the graph. This tells us the curve is above the horizontal asymptote on the far left. - Right of
: Let's try . . So the point is on the graph. This tells us the curve is above the horizontal asymptote on the right.
- Left of
- Draw the Graph: Connect the points with smooth curves that approach the asymptotes. The graph will have two separate branches, one on each side of the vertical asymptote.
What Is a 'Hole' in a Rational Function Graph?
Sometimes, a factor in the denominator cancels out with an identical factor in the numerator. When this happens, it doesn't create a vertical asymptote. Instead, it creates a hole in the graph, also known as a removable discontinuity. A hole is a single point where the function is undefined, which we show on the graph with a small open circle.
Consider the function
- Factor the numerator and denominator:
- Identify and cancel the common factor: The factor
is common to both. Cancelling it gives us a simplified function, let's call it . - Find the hole's location:
- The
-coordinate of the hole is the value that made the cancelled factor zero. Set , which gives . - The
-coordinate is found by plugging this -value into the simplified function. .
- The
So, the graph of
Common Mistakes to Avoid
- Illegal Cancellation: A very common error is to cancel terms instead of factors. For example, in
, you cannot cancel the terms to get . Cancellation only works when the entire term is a factor of the top and bottom, like in . - Forgetting Negative Solutions: When solving a denominator like
, it's easy to find but forget the other solution, . This would cause you to miss a vertical asymptote. - Confusing Holes and Asymptotes: Remember the rule: if a factor in the denominator cancels with a factor in the numerator, it creates a hole. If a factor in the denominator does not cancel, it creates a vertical asymptote.
- Mixing Up Horizontal Asymptote Rules: Keep the three rules for horizontal asymptotes straight. It's helpful to write them down (Bottom-Heavy, Equal Degrees, Top-Heavy) before you start a problem.
- Assuming a Graph Never Crosses a Horizontal Asymptote: While a graph never crosses its vertical asymptotes, it can and sometimes does cross its horizontal asymptote. The horizontal asymptote only dictates the behavior of the graph as
approaches .
Quick Summary and Key Concepts
Here is a quick reference table to help you remember how to find the key features of any rational function,
| Feature | How to Find It |
|---|---|
| Domain | Set the original denominator |
| Vertical Asymptotes | After simplifying the function, set the remaining denominator equal to zero and solve for |
| Holes | Look for factors that cancel from the numerator and denominator. The hole exists at the |
| Horizontal Asymptote | Compare the degree of the numerator ( - If - If - If |
| x-intercepts | Set the simplified numerator equal to zero and solve for |
| y-intercept | Calculate |
Frequently Asked Questions
Can a graph ever cross a horizontal asymptote?
Yes, it can. A horizontal asymptote describes the behavior of the graph as x approaches positive or negative infinity. The graph can cross it, especially in the 'middle' part of the graph, before it settles down and approaches the line at the far ends.
Why is the domain of a rational function so important?
The domain tells us which x-values are 'allowed' for the function. For rational functions, the key is avoiding division by zero, which is undefined. The values excluded from the domain point directly to important graphical features like vertical asymptotes and holes.
What's the difference between a rational function and a polynomial?
A polynomial is a single expression like
Do all rational functions have a vertical asymptote?
No. A rational function only has a vertical asymptote if there's a real number that makes its simplified denominator zero. For example,
What is a real-world example of a rational function?
Rational functions can model average cost. If a company has a fixed setup cost of
Is y = (sqrt(x) + 2) / (x - 1) a rational function?
No, it is not. A rational function must be a ratio of two polynomials. The term
How do I know if the graph will be above or below the horizontal asymptote?
The best way is to test points. Pick a large positive x-value (like 100) and a large negative x-value (like -100) and plug them into the function. If the result is greater than the asymptote value, the graph is above it; if less, the graph is below it.