A rational function is any function that can be written as , where and are polynomials and is not the zero polynomial. Everything interesting about one of these graphs happens at two kinds of places: where the denominator is zero, and out at the far ends where is enormous. This topic is a system for finding both. The system starts the same way every single time — factor both the numerator and the denominator completely.
Restrictions come first
Set the denominator equal to zero and solve. Every solution is a restriction: a value cannot take, because the function has no output there. Write them down before you simplify anything. Restrictions are not optional decoration — they are part of the function's definition, and the domain is written as all reals except those values, for example or, in interval notation, .
Vertical asymptote or hole?
Once you have factored, look at each denominator factor and ask whether the same factor also appears in the numerator. If it does not cancel, that restriction is a vertical asymptote: near that -value the denominator shrinks to zero while the numerator does not, so the outputs explode. If the factor does cancel completely, that restriction is a hole (a removable discontinuity): the simplified function is perfectly well behaved there, but the original function still has no output at that , so you draw an open circle. To find the -coordinate of a hole, substitute the restricted value into the simplified function — substituting into the original gives , which tells you nothing.
- Denominator factor does NOT cancel
- Outputs run off to ±∞ near that x-value
- Draw a dashed vertical line; the curve never touches it
- Example: (x+2)/(x−3) has a VA at x = 3
- Denominator factor cancels with the numerator
- Outputs approach an ordinary finite number
- Draw an open circle at that single point
- Example: (x−3)(x+2)/((x−3)(x+3)) has a hole at x = 3
Horizontal asymptotes: compare the degrees
End behaviour is decided by a race between the top and the bottom. When is huge, only the highest-degree term of each polynomial matters — everything else is negligible by comparison. So compare the degree of the numerator with the degree of the denominator. There are exactly four cases, and you should be able to classify any rational function in a few seconds.
| Degrees | End behaviour | Example |
|---|---|---|
| Horizontal asymptote | ||
| Horizontal asymptote (leading coefficients) | ||
| Oblique (slant) asymptote, found by division | ||
| No horizontal or oblique asymptote; the ends follow a higher-degree curve | behaves like |
Oblique asymptotes
When the numerator's degree is exactly one more than the denominator's, the graph runs off along a slanted line instead of a level one. Find it by dividing (long division or synthetic division where it applies). The division rewrites the function as a quotient plus a remainder term, and the remainder term shrinks to zero as grows. Whatever is left — the quotient — is the oblique asymptote. The remainder is irrelevant to the asymptote, but its sign tells you whether the curve sits just above or just below the line.