Rational Functions and Asymptotes
Problem
Graph y=(x+1)/(x−2) showing vertical asymptote at x=2 and horizontal asymptote at y=1.
Explanation
Asymptotes of rational functions
A rational function has two types of asymptotes:
Vertical asymptote (VA)
Set the denominator equal to zero: . The function blows up to at these values. Example: has VA at .
Horizontal asymptote (HA)
Compare the degree of numerator vs denominator:
- Same degree → HA = ratio of leading coefficients.
- Numerator lower → HA is .
- Numerator higher → no HA (oblique/slant asymptote instead).
Example: : both degree 1 → HA at .
Intercepts
x-intercept: set numerator . y-intercept: compute .
The graph behavior
The curve approaches but never crosses the asymptotes (usually). Near the VA, the function shoots to . Far from the origin, it flattens toward the HA.
Try it in the visualization
Adjust the numerator and denominator. VA and HA update automatically. The curve shows the approaching behavior. ; horizontal asymptote determined by comparing degrees of and . For : VA at , HA at (same degree → ratio of leading coefficients).
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.