How to Find Asymptotes Step by Step
A five-step method for finding every asymptote and hole of a rational function by hand: factor, cancel, solve the denominator, compare degrees, divide.
How to Find Asymptotes: The Full Procedure
To find asymptotes manually, follow a fixed order: factor, cancel, then compare degrees—this is how to find asymptotes step by step. This sequence separates holes from vertical asymptotes and tells you which horizontal rule applies. Skip the factoring step and you will mislabel a hole as a vertical asymptote. Use these steps on every rational function, and you can handle homework and test questions without guessing. The procedure works for any rational function where the numerator and denominator are polynomials, using the standard asymptote rules and formulas from precalculus.
Step 1: Factor and Cancel to Find Holes
Start by writing the rational function as f(x) = P(x) / Q(x), then factor both polynomials completely. Cancel any common factors between the numerator and denominator. A factor that cancels completely produces a hole at the x-value where that factor equals zero. The y-value of the hole comes from substituting the x-value into the simplified function, not the original. For example, if f(x) = (x-2)(x+1) / (x-2)(x-3), the (x-2) cancels, so there is a hole at x = 2. Substitute x = 2 into (x+1)/(x-3) to get y = 3/(-1) = -3. The hole is at (2, -3). If a factor appears twice in the numerator and once in the denominator, it does not cancel completely, so no hole occurs at that x-value. Only full cancellation, meaning all occurrences cancel, creates a hole. After cancellation, the simplified function is what you use for every remaining step. The original function is undefined at the hole, but the simplified function is defined there, which is why the y-value comes from the simplified form. This is the first of the asymptote rules: cancellation reveals holes, not vertical asymptotes.
Step 2: Vertical Asymptotes from the Simplified Denominator
Take the simplified denominator and set it equal to zero. Each real root that does not cancel with a numerator factor is a vertical asymptote at x = a. The function values grow without bound as x approaches a from either side, though one side may go to positive infinity and the other to negative infinity. For f(x) = (x^2 + 1) / (x^2 - 9), factor the denominator as (x-3)(x+3). The numerator has no real factors, so no cancellation occurs. The vertical asymptotes are at x = 3 and x = -3.Check each distinct real root of the simplified denominator separately. A function can have multiple vertical asymptotes, one per root. The rule is simple: a vertical asymptote requires the denominator to be zero after simplification while the numerator is nonzero at that x-value. If both are zero, the factor should have canceled, and you have a hole instead. This step is where finding asymptotes of rational functions often goes wrong, so verify the simplified denominator carefully.
Step 3: Compare Degrees for the Horizontal Asymptote
Identify the degree of the numerator, call it n, and the degree of the denominator, call it m. The horizontal asymptote rule depends entirely on the relationship between n and m. If n is less than m, the horizontal asymptote is y = 0. If n equals m, the horizontal asymptote is y = (leading coefficient of numerator) / (leading coefficient of denominator). If n is greater than m, there is no horizontal asymptote. For example, f(x) = (3x^2 + 2) / (x^2 - 5) has n = 2 and m = 2, so the horizontal asymptote is y = 3/1 = 3. For g(x) = (x + 1) / (x^2 + 1), n = 1 and m = 2, so the horizontal asymptote is y = 0. When n is greater than m, you must check the degree difference. If n = m + 1, a slant asymptote exists instead. If the degree difference is 2 or more, there is no horizontal or slant asymptote, but the function still has end behavior, such as a parabolic curve. This is a common failure case: students say the function has no asymptote and stop, but the graph still rises or falls without bound. The horizontal asymptote rules apply to the simplified function, not the original, so use the simplified form for the degree comparison.
Step 4: Slant Asymptotes When the Degree Difference Is Exactly One
A slant asymptote, also called an oblique asymptote, appears when the numerator degree is exactly one more than the denominator degree, meaning n = m + 1. To find it, perform polynomial long division of the numerator by the denominator. The quotient, ignoring the remainder, is the equation of the slant asymptote. For f(x) = (x^2 + 1) / (x - 2), divide x^2 + 1 by x - 2. The quotient is x + 2, with a remainder of 5. The slant asymptote is y = x + 2. Use the full quotient, not just the leading term, or you will get the wrong line. The remainder does not affect the asymptote because it approaches zero as x goes to infinity. A rational function can have either a horizontal or a slant asymptote, but not both, because the degree difference is a single number. If n - m is 2 or more, no slant asymptote exists. This is the third of the asymptote formulas, and it only applies under the exact condition of n = m + 1. For degree differences of 2 or more, the end behavior is a polynomial of degree 2 or higher, which is not a line, so no asymptote of this type exists.
Step 5: Verify with a Quick Check of Holes and Intercepts
After finding all asymptotes, verify your work by checking intercepts and the hole coordinates. The x-intercepts come from setting the simplified numerator equal to zero, not the original numerator. The y-intercept is found by substituting x = 0 into the simplified function. For a hole, you already computed the y-value in Step 1; double-check that you used the simplified function, not the original. A common error is finding the x-value of the hole but stopping without computing the y-value. Another error is claiming a vertical asymptote where a hole exists because you forgot to cancel. Test one point on each side of a vertical asymptote to confirm the function goes to positive or negative infinity. This is not required for the answer but helps you catch mistakes. If the horizontal asymptote is y = 0, the graph may cross it at some finite x-value; solve f(x) = 0 to see if a crossing occurs. The function can cross a horizontal asymptote, so do not assume it never touches it. For a rational function with no vertical asymptotes and a horizontal asymptote at y = 0, the graph approaches the x-axis from above or below depending on the sign of the leading coefficient. These checks take under a minute and prevent the most common test errors.
Summary Table of the Asymptote Rules
Use this table as a quick reference for any rational function. It condenses all the asymptote rules into one comparison of degrees and cancellation conditions.
| Condition | Type of Asymptote | How to Find It |
|---|---|---|
| Denominator factor does not cancel | Vertical | Set the simplified denominator equal to zero; x = root |
| n < m | Horizontal | y = 0 |
| n = m | Horizontal | y = leading coefficient of numerator / leading coefficient of denominator |
| n = m + 1 | Slant | Perform polynomial division; quotient is the asymptote line |
| n > m + 1 | None | No horizontal or slant asymptote; end behavior is a polynomial of degree 2 or higher |
If a factor cancels, it is a hole, not a vertical asymptote, regardless of the degree relationship. The table also clarifies that a function cannot have both a horizontal and a slant asymptote, since the degree difference is a single number. For degree differences of 2 or more, the function has no line asymptote, but you can still describe its end behavior as a parabola or higher-degree curve.
Common Mistakes and How to Avoid Them
Frequent error is skipping the cancellation step. Without it, you will mislabel every hole as a vertical asymptote. Always factor both the numerator and the denominator before doing anything else. A second error is using the original function to find the y-value of a hole; use the simplified function. A third error is misapplying the horizontal asymptote rule when n is greater than m. If n = m + 1, you have a slant asymptote, not no asymptote. If n is 2 or more greater than m, there is no line asymptote, but the function still has end behavior. A fourth error is forgetting to include the constant term in polynomial division for a slant asymptote; use the full quotient. A fifth error is claiming a vertical asymptote at a root that cancels; if the factor cancels completely, it is a hole. A sixth error is assuming the graph cannot cross a horizontal asymptote; it can, so solve f(x) = horizontal value to check. Finally, when the degree difference is 2 or more, do not say the function has no asymptote and stop. The graph still goes to infinity, but the end behavior is not linear. These mistakes are common because they come from rushing the factoring step, so slow down and verify each factor.
What to Do When the Normal Steps Fail
If the denominator has no real roots, there are no vertical asymptotes. If the degree difference is 2 or more, there is no horizontal or slant asymptote. In both cases, you are not done; you must describe the end behavior. This is not an asymptote in the line sense, but it is the correct answer for the function's end behavior. If you get an undefined value, you made an arithmetic error, so re-factor. A third case: the numerator and denominator share a factor that does not cancel completely, such as (x-2)^2 in the numerator and (x-2) in the denominator. Only one (x-2) cancels, leaving one in the numerator, so there is no hole and no vertical asymptote from that factor; check for these edge cases before moving on.
Frequently Asked Questions
What is the first step to find asymptotes of a rational function?
The first step is to factor both the numerator and denominator completely, then cancel any common factors. This reveals holes and prevents mislabeling them as vertical asymptotes. Only after cancellation do you proceed to find vertical, horizontal, or slant asymptotes.
How do I know if a rational function has a vertical asymptote or a hole at a specific x-value?
A vertical asymptote occurs when the simplified denominator is zero and the numerator is nonzero at that x-value. If a factor cancels completely, it creates a hole instead. For example, in f(x) = (x-2)(x+1) / (x-2)(x-3), the factor (x-2) cancels, so there is a hole at x = 2, not a vertical asymptote.
What is the rule for finding the horizontal asymptote when the degrees are equal?
When the degree of the numerator (n) equals the degree of the denominator (m), the horizontal asymptote is y = (leading coefficient of numerator) / (leading coefficient of denominator). For example, f(x) = (3x^2 + 2) / (x^2 - 5) has n = m = 2, so the horizontal asymptote is y = 3/1 = 3.
When does a rational function have a slant asymptote, and how do I find it?
A slant asymptote exists when the numerator degree is exactly one more than the denominator degree (n = m + 1). To find it, perform polynomial long division of the numerator by the denominator; the quotient (ignoring the remainder) is the slant asymptote. For example, f(x) = (x^2 + 1) / (x - 2) has a slant asymptote y = x + 2.
Can a rational function have both a horizontal and a slant asymptote?
No, a rational function can have either a horizontal or a slant asymptote, but not both, because the degree difference is a single number. If n < m or n = m, there is a horizontal asymptote; if n = m + 1, there is a slant asymptote. If n > m + 1, there is no line asymptote at all.
What should I do if the denominator has no real roots?
If the denominator has no real roots, there are no vertical asymptotes. In that case, you still need to check the degrees for horizontal or slant asymptotes. If the degree difference is 2 or more, there is no line asymptote, but you must describe the end behavior, such as a parabolic curve.