Rational Function Transformations- Graphing Techniques
What Rational Functions Actually Are
A rational function is simply a fraction where both the numerator and denominator are polynomials. That's it. No mystery, no complicated definition. The standard form is:
f(x) = P(x) / Q(x)
Where P(x) and Q(x) are polynomials, and Q(x) ≠ 0. The denominator is what makes these graphs interesting—and annoying to graph.
Before you can transform anything, you need to know what the parent function looks like. The simplest rational function is f(x) = 1/x. This is your baseline. Everything else builds from here.
The Anatomy of a Rational Function Graph
Two things control the entire shape of your graph: vertical asymptotes and horizontal asymptotes.
Vertical Asymptotes
These occur where the denominator equals zero. Set Q(x) = 0 and solve. Those x-values are forbidden zones. Your graph will never touch them.
Example: If your denominator is (x - 3), then x = 3 is your vertical asymptote. The curve approaches this line but never crosses it.
Horizontal Asymptotes
These depend on the degrees of the numerator and denominator:
- Degree of numerator < Degree of denominator: Horizontal asymptote is y = 0
- Degrees are equal: Horizontal asymptote is the ratio of leading coefficients
- Degree of numerator > Degree of denominator: No horizontal asymptote (you might have an oblique/slant asymptote instead)
Transformations: What Changes What
Here's where most students get confused. Each transformation has a specific effect, and you need to track them systematically.
Vertical Shifts
f(x) + k shifts the graph up by k units.
f(x) - k shifts the graph down by k units.
Simple. The asymptotes shift with it. If y = 0 was your horizontal asymptote, it becomes y = k after the shift.
Horizontal Shifts
f(x - h) shifts the graph right by h units.
f(x + h) shifts the graph left by h units.
Watch out for this one—it's backwards from what most people expect. Subtracting inside the parentheses means shifting right. Don't mix this up.
Vertical Stretches and Compressions
|a| > 1: The graph stretches away from the x-axis. Points get farther from the axis.
0 < |a| < 1: The graph compresses toward the x-axis. Points get closer to the axis.
Reflections
-f(x): Reflects across the x-axis. Everything flips upside down.
f(-x): Reflects across the y-axis. Left and right swap.
Step-by-Step Graphing Process
Stop guessing. Use this order every time.
Step 1: Factor and Find Domain Restrictions
Factor both numerator and denominator completely. Identify any x-values that make the denominator zero. These are your vertical asymptotes and removable discontinuities (holes).
Step 2: Identify Holes
If a factor cancels out in both numerator and denominator, you have a hole at that x-value—not an asymptote. Calculate the y-coordinate by evaluating the reduced function at that x.
Step 3: Find Asymptotes
Vertical asymptotes at the remaining zeros of the denominator. Horizontal or oblique asymptote based on degree comparison.
Step 4: Plot Points and Draw Branches
Pick x-values on each side of each asymptote. Calculate corresponding y-values. Plot enough points to see the behavior. Then sketch the curve approaching but never touching the asymptotes.
Comparing Transformation Effects
| Transformation | Effect on Graph | Effect on Equation |
|---|---|---|
| f(x) + k | Shifts up k units | Add to output |
| f(x) - k | Shifts down k units | Subtract from output |
| f(x - h) | Shifts right h units | Subtract from input |
| f(x + h) | Shifts left h units | Add to input |
| a · f(x) | Vertical stretch/compression | Multiply output by a |
| f(bx) | Horizontal stretch/compression | Multiply input by b |
| -f(x) | Reflect across x-axis | Negate output |
| f(-x) | Reflect across y-axis | Negate input |
Common Mistakes That Destroy Your Graph
- Confusing horizontal and vertical shifts. Horizontal shifts use the opposite sign. Remember: f(x - 3) moves RIGHT, not left.
- Missing holes. Canceled factors create holes, not asymptotes. Forgetting this gives you wrong graph behavior.
- Drawing asymptotes as part of the graph. Asymptotes are guides, not lines to be drawn as part of the curve.
- Not testing enough points. One point per branch region is not enough. You need to see where the curve is going.
- Ignoring sign changes across asymptotes. The graph behaves differently on each side. Test points in every interval between asymptotes.
How to Graph a Rational Function: Worked Example
Graph: f(x) = (2x) / (x - 3) + 1
Step 1: Rewrite in transformation form
Start with f(x) = 1/x. This function is equivalent to:
f(x) = 2 · (1/(x - 3)) + 1
Transformations: vertical stretch by 2, horizontal shift right 3, vertical shift up 1.
Step 2: Find restrictions and asymptotes
Denominator zero at x = 3. Vertical asymptote: x = 3.
Degree numerator equals degree denominator, so horizontal asymptote is ratio of leading coefficients. But wait—there's a shift. The horizontal asymptote shifts up by 1, so y = 1.
Step 3: Plot key points
Use the transformed points from (1, 1), (2, 2), etc. on the parent function. Apply each transformation:
- (1, 1) → shift right 3: (4, 1) → stretch by 2: (4, 2) → shift up 1: (4, 3)
- (-1, -1) → shift right 3: (2, -1) → stretch by 2: (2, -2) → shift up 1: (2, -1)
Step 4: Draw the branches
One branch in the region x < 3, approaching the asymptotes. One branch in x > 3. Connect the points smoothly, never crossing the asymptotes.
Quick Reference: Transformation Rules
- Inside parentheses (x - h): horizontal movement, opposite sign
- Outside parentheses (y + k): vertical movement, same sign
- Multiplication affects distance from x-axis
- Negative sign flips the graph across the axis being modified
When to Use Which Method
For simple transformations, track each change from the parent function. For complex rational functions with multiple factors, factor first, identify holes and asymptotes, then apply transformations to the base hyperbola.
The more you factor, the clearer the graph becomes. Never try to graph a messy rational function without factoring first.