Finding Values for Rational Functions- Complete Guide
What Is a Rational Function?
A rational function is simply a fraction where both the top and bottom are polynomials. The general form looks like this:
R(x) = P(x) / Q(x)
Where P(x) and Q(x) are polynomials, and Q(x) ≠ 0. That last part matters more than most students realize. The denominator can never equal zero — that's where your restrictions come from.
Finding values for rational functions means doing a few different things: evaluating the function at specific points, determining what x-values are allowed, and solving equations where the function equals something specific. Let's break it down.
Finding the Domain — Where Can x Actually Go?
Before you plug anything into a rational function, you need to know what x-values work. The denominator is your gatekeeper.
Step 1: Set the Denominator Equal to Zero
Take your denominator polynomial and solve for where it equals zero. Those x-values are not allowed.
Example: f(x) = (x + 2) / (x² - 9)
Set x² - 9 = 0
x² = 9
x = ±3
So x = 3 and x = -3 are restricted values. The domain is all real numbers except -3 and 3.
Step 2: Identify Holes vs. Vertical Asymptotes
If a factor cancels from both numerator and denominator, you get a hole at that x-value. If the factor doesn't cancel, you get a vertical asymptote instead.
Example: f(x) = (x² - 4) / (x - 2)
Factor the numerator: (x - 2)(x + 2)
The (x - 2) cancels, leaving x + 2. But at x = 2, the original function is undefined. That's a hole at x = 2, not an asymptote.
- Hole: Factor cancels completely → removable discontinuity
- Vertical asymptote: Factor doesn't cancel → goes to infinity
Evaluating at Specific x-Values
This is straightforward. You substitute the given x-value into the simplified function and calculate.
Find f(4) for f(x) = (2x + 1) / (x - 3)
Plug in: f(4) = (2(4) + 1) / (4 - 3)
f(4) = (8 + 1) / 1
f(4) = 9
That's it. Just make sure your x-value isn't in the restricted list first.
Finding f(a) When a Is Restricted
If the given value makes the denominator zero, the function is undefined at that point. No calculation saves you. Write "undefined" or "does not exist."
Finding x When the Function Equals a Specific Value
Sometimes you need to solve R(x) = k, where k is some number. This means finding the x-values that produce that output.
Example: Find x when f(x) = 3, given f(x) = (x + 1) / (x - 2)
Set up the equation: (x + 1) / (x - 2) = 3
Multiply both sides by (x - 2): x + 1 = 3(x - 2)
x + 1 = 3x - 6
1 + 6 = 3x - x
7 = 2x
x = 3.5
Check: f(3.5) = (3.5 + 1) / (3.5 - 2) = 4.5 / 1.5 = 3 ✓
Watch Out for Extraneous Solutions
Always check your answers against the domain restrictions. If your solution makes the denominator zero, discard it.
Finding Zeros and y-Intercepts
Zeros of the Function
A zero occurs where the numerator equals zero (and the denominator doesn't). Set the numerator equal to zero and solve. The denominator at that x-value must be nonzero.
f(x) = (x² - x - 6) / (x + 1)
Numerator factors: (x - 3)(x + 2)
Set equal to zero: x - 3 = 0 or x + 2 = 0
x = 3 or x = -2
Check denominators: x = 3 gives denominator of 4 ✓, x = -2 gives denominator of -1 ✓
Both are valid zeros.
y-Intercept
Set x = 0 and evaluate. Just make sure x = 0 isn't restricted.
f(0) = (0² - 0 - 6) / (0 + 1) = -6/1 = -6
The y-intercept is at (0, -6).
Quick Reference: Types of Values to Find
| What You're Finding | How to Find It |
|---|---|
| Domain restrictions | Set denominator = 0, solve for x |
| Hole location | Find cancelled factor's x-value |
| Vertical asymptote | Find non-cancelled zero of denominator |
| f(a) for specific a | Substitute a into simplified function |
| x when f(x) = k | Solve equation (numerator/denominator) = k |
| Zero of function | Set numerator = 0, verify denominator ≠ 0 |
| y-intercept | Evaluate at x = 0 (if allowed) |
How to Get Started — Step by Step
Let's work through a complete example to see how all these pieces fit together.
Given: f(x) = (x² - 9) / (x² + x - 6)
Find: Domain, holes, zeros, and f(2)
Step 1: Simplify the Function
Factor both parts:
Numerator: (x - 3)(x + 3)
Denominator: (x + 3)(x - 2)
Cancel the common (x + 3) factor:
f(x) = (x - 3) / (x - 2), with x ≠ -3 (hole)
Step 2: Find Domain Restrictions
The cancelled factor gives a hole at x = -3.
The remaining denominator (x - 2) gives x = 2 as a vertical asymptote.
Domain: all real numbers except x = -3 and x = 2
Step 3: Find Zeros
Set numerator = 0: x - 3 = 0
x = 3
Check denominator at x = 3: 3 - 2 = 1 ≠ 0 ✓
Zero at (3, 0)
Step 4: Evaluate f(2)
f(2) = (2 - 3) / (2 - 2) = -1/0
Undefined. This matches our domain restriction.
Common Mistakes to Avoid
- Forgetting to check restrictions before evaluating. Always verify x is in the domain first.
- Confusing holes with asymptotes. Cancel the factors first. If something cancels completely, it's a hole.
- Cross-multiplying without checking for extraneous solutions. When you solve R(x) = k, you might introduce solutions that make the denominator zero.
- Leaving cancelled factors out when evaluating. The simplified form tells you the behavior everywhere except at holes. Use it for calculations, but remember the hole exists.
Bottom Line
Finding values for rational functions comes down to three things: knowing what's forbidden (the restrictions), knowing what the function equals at given points (direct evaluation), and knowing what points produce a given output (solving equations). Simplify first, check restrictions constantly, and verify your answers against the domain. That's the whole process.