A rational function is a quotient of polynomial functions, , with . The denominator creates domain restrictions that can produce holes or vertical asymptotes.
Factoring before simplifying is essential because cancellation can change the visible formula without restoring excluded input values.
On this page (8 sections)
Domain restrictions and vertical asymptotes
The numerator and denominator are polynomials, and the denominator is not the zero polynomial. Exclude every zero of the original denominator before simplifying.
This form makes the vertical asymptote and horizontal asymptote visible. Just left of 2, the fraction becomes large and negative; just right of 2, it becomes large and positive.
Two branches separated by an excluded input
Grey dashed lines mark the stated asymptotes.
Diagram explained
The left branch falls without bound as inputs approach 2 from below; the right branch rises without bound as inputs approach 2 from above. The curve is never joined across the asymptote. Reference points give its exact values.
| Input | Output |
|---|---|
The horizontal intercept is , because the numerator vanishes at . The vertical intercept is . An intercept must belong to the original domain.
Cancelled factors and removable holes
For , factor before cancelling:
The graph is the line with a hole at . The simplified expression predicts the approached height but does not restore the excluded input.
Cancellation does not always leave a hole
Here a denominator factor remains after cancellation, so is still a vertical asymptote. A removable hole occurs when the fully reduced expression has a finite value at the excluded input.
Horizontal asymptotes
In , the fraction approaches zero as grows in either direction, so the horizontal asymptote is .
Find the range, not just the asymptote
The function never equals , since cannot be zero. Every other real output can occur: solving for gives:
This value never equals 2, so it is a permitted input. The range is .
For a general rational function, compare numerator and denominator degrees to study end behaviour. A detailed treatment of asymptotes belongs to the later advanced-functions work; the rewritten example here establishes the idea directly.
Solving a rational equation
To solve , retain the restriction .
Clear the denominator on its permitted domain
Multiply by x − 2, which is non-zero on the stated domain.
Expand and collect terms.
Check the candidate in the original equation.
Excluded inputs are never solutions, even if a later polynomial equation happens to produce them.
Reading asymptotes correctly
A vertical asymptote of a rational function occurs at an excluded input where values are unbounded. A horizontal asymptote instead concerns end behaviour and may be crossed at a finite input.
This function has horizontal asymptote and crosses it at . The earlier example does not cross its horizontal asymptote, but that is a feature of that function, not a universal rule.
Practice questions
Find the domain restriction for .
What happens at for ?
Solve .
Check your answers
, because the original denominator is zero at 2.
The reduced rule is , but remains excluded. The graph has a removable hole at .
gives . It is permitted and makes the original fraction equal 2.
Related topics
Compare a different source of domain restrictions in Radical Functions; use Domain and Range for output-attainability arguments.
Sources and further reading
- OpenStax: Rational functions and asymptotes. Definitions, conventions and related examples.
- OpenStax Precalculus 2e. Functions, transformations, inverse functions and function families.
- Wolfram Language: FunctionDomain. Domain conventions and symbolic domain checks.
- Wolfram Language: FunctionRange. Range conventions and symbolic range checks.
