Graphing Rational Functions (Advanced)
In Asymptote Analysis and Oblique Asymptotes, you learned to find the structural features of rational functions. This page ties everything together into a complete graphing strategy that handles any rational function, no matter how complex.
The Seven-Step Graphing Strategy
For any rational function :
- Factor numerator and denominator completely
- Domain — find all -values where the denominator is zero
- Holes — cancel common factors, note the coordinates of each hole
- Asymptotes — find vertical asymptotes (remaining denominator zeros), horizontal or oblique asymptotes (degree comparison or long division)
- Intercepts — -intercepts (set numerator = 0), -intercept (evaluate )
- Sign analysis — build a sign chart using all zeros and asymptotes
- Plot and sketch — combine all information, adding test points as needed
Example 1: A Standard Rational Function
Graph .
Step 1 — Factor:
No common factors.
Step 2 — Domain: and .
Step 3 — Holes: None (no common factors).
Step 4 — Asymptotes:
- Vertical: and
- Horizontal: Numerator degree 1, denominator degree 2. Since , the horizontal asymptote is .
Step 5 — Intercepts:
- -intercept: . So .
- -intercept: . Same point: .
Step 6 — Sign analysis:
The critical -values are , , and . Test one value in each interval:
| Interval | Test | Sign of | Sign of | Sign of | Sign of |
|---|---|---|---|---|---|
Step 7 — Sketch: The graph passes through the origin, is negative for (approaching from below on the far left), positive between and , negative between and , and positive for .
Example 2: With a Hole
Graph .
Step 1 — Factor:
Step 2 — Domain: and .
Step 3 — Holes: Common factor . Hole at .
Simplified: , and . Hole at .
Step 4 — Asymptotes:
- Vertical: (from the remaining denominator)
- Horizontal: Degrees equal (both 1 after simplification, or both 2 before — same result). Leading coefficient ratio: . Horizontal asymptote: .
Step 5 — Intercepts:
- -intercept: . So .
- -intercept: . So .
Step 6 — Sign analysis (using simplified form):
| Interval | Test | Sign of | Sign of | Sign of |
|---|---|---|---|---|
Step 7 — Sketch: The graph is above for (approaching from above), dips below the -axis between and , crosses the -axis at , passes through , and approaches from below for large positive . There is an open circle at .
Example 3: With an Oblique Asymptote
Graph .
Step 1 — Factor:
No common factors.
Step 2 — Domain: .
Step 3 — Holes: None.
Step 4 — Asymptotes:
-
Vertical:
-
Oblique: Degree 2 over degree 1. Divide by :
Step 1: . Multiply: . Subtract: .
Step 2: . Multiply: . Subtract: .
Oblique asymptote: .
Step 5 — Intercepts:
- -intercepts: and . Points: and .
- -intercept: . Point: .
Step 6 — Sign analysis:
| Interval | Test | ||||
|---|---|---|---|---|---|
Step 7 — Sketch: The curve crosses the -axis at and , passes through , has a vertical asymptote at (going to from the left and from the right), and approaches the oblique asymptote for large .
Graph of with Oblique Asymptote
Example 4: Higher Complexity
Graph .
This function is already factored. Let us apply each step.
Domain: and .
Holes: No common factors. No holes.
Asymptotes:
- Vertical: (odd multiplicity, opposite directions) and (even multiplicity, same direction)
- Horizontal: Numerator degree 2, denominator degree 3. Since , horizontal asymptote is .
Intercepts:
- -intercepts: and
- -intercept:
Sign analysis:
Critical values:
| Interval | ||||||
|---|---|---|---|---|---|---|
Notice that the sign does not change at — because is always positive. This confirms even-multiplicity behavior: the function stays negative on both sides of .
Behavior near : Odd multiplicity, sign changes from to — the function goes from to .
Behavior near : Even multiplicity, sign stays — the function goes to on both sides.
Common Graphing Mistakes
-
Forgetting to cancel before finding vertical asymptotes. Always factor and cancel first. A zero that cancels is a hole, not an asymptote.
-
Drawing the curve crossing a vertical asymptote. The graph never crosses a vertical asymptote — the function is undefined there.
-
Assuming the graph cannot cross a horizontal asymptote. It can and often does in its interior. Only the end behavior follows the horizontal asymptote.
-
Ignoring multiplicity. Even and odd multiplicities in the denominator produce different graphical behaviors. Always check.
-
Skipping sign analysis. Without sign analysis, you cannot determine which direction the curve approaches each asymptote. A sign chart takes two minutes and prevents major errors.
Real-World Application: Lens Optics
The thin lens equation in optics is:
Solving for image distance as a function of object distance :
This is a rational function of with a vertical asymptote at (when the object is at the focal point, the image is at infinity) and a horizontal asymptote at (as the object moves far away, the image approaches the focal point). Engineers use this to design camera systems, telescopes, and projectors.
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Graph by identifying all features.
Factor: , with hole at .
Hole: . Hole at .
Vertical asymptote: . Horizontal asymptote: .
No -intercept (numerator is constant 1). -intercept: .
Sign: negative for , positive for .
Answer: The simplified function is with a hole at , vertical asymptote , horizontal asymptote , and -intercept .
Problem 2: Identify all asymptotes of and determine the type of end behavior.
Factor:
No common factors. Vertical asymptotes: and .
Degree of numerator (3) minus degree of denominator (2) = 1. Oblique asymptote exists.
Divide: :
. Multiply: . Subtract: .
Answer: Vertical asymptotes at and , oblique asymptote .
Problem 3: Complete a sign chart for and list the intervals where .
Critical values:
| Interval | |||||
|---|---|---|---|---|---|
Answer: on .
Problem 4: A function has vertical asymptotes at and , an -intercept at , a horizontal asymptote at , and no holes. Write a possible formula.
Vertical asymptotes at and : denominator has .
-intercept at : numerator has factor .
Horizontal asymptote : numerator and denominator have equal degree, with leading coefficient ratio 2.
Since the denominator is degree 2, the numerator must also be degree 2. We need another factor with : use for some . But we only want the one -intercept at . We can use as the numerator (double root at ) or add another zero. Simplest:
Answer: is one valid answer.
Problem 5: A camera lens has focal length mm. Using , find the image distance when the object is 200 mm away and describe what happens as the object approaches the focal point.
At :
As , the denominator and the numerator , so .
Answer: The image distance is approximately 66.7 mm. As the object approaches the focal point (50 mm), the image distance grows without bound — this is the vertical asymptote of the rational function.
Key Takeaways
- The seven-step strategy (factor, domain, holes, asymptotes, intercepts, sign analysis, sketch) handles any rational function systematically
- Sign analysis is essential — it tells you which direction the curve approaches each asymptote and which intervals are positive or negative
- Even multiplicity in the denominator means the function approaches the same direction on both sides; odd multiplicity means opposite directions
- Always factor and cancel first before looking for vertical asymptotes — cancelled factors produce holes, not asymptotes
- The strategy combines everything from Asymptote Analysis and Oblique Asymptotes
Return to College Algebra for more topics in this section.
Next Up in College Algebra
All College Algebra topicsLast updated: March 29, 2026