AP Precalculus: Rational Functions
Master asymptotes, domain restrictions, graphing techniques, and solving rational equations
๐ Understanding Rational Functions
Rational functions are ratios of polynomials, introducing new behaviors like asymptotes (lines the graph approaches but never crosses) and holes (single points removed from the graph). This guide covers everything you need for AP Precalculus success with rational functions.
1 Rational Function Form & Domain
A rational function is a function of the form \(f(x) = \frac{P(x)}{Q(x)}\), where \(P(x)\) and \(Q(x)\) are polynomials and \(Q(x) \neq 0\).
Finding the Domain
- Set the denominator equal to zero: \(Q(x) = 0\)
- Solve for \(x\) โ these values are excluded from the domain
- Domain: all real numbers except values that make \(Q(x) = 0\)
- Write in interval notation, excluding restricted values
Find the domain of: \(f(x) = \frac{x + 3}{x^2 - 4}\)
Step 1: Set denominator = 0: \(x^2 - 4 = 0\)
Step 2: Factor: \((x-2)(x+2) = 0\) โ \(x = 2\) or \(x = -2\)
Domain: \((-\infty, -2) \cup (-2, 2) \cup (2, \infty)\)
or: \(\{x \in \mathbb{R} \mid x \neq -2, 2\}\)
2 Asymptotes
An asymptote is a line that a graph approaches but never touches (or crosses only at specific points). Rational functions can have vertical, horizontal, and oblique (slant) asymptotes.
Equation form: \(x = a\)
Graph behavior: \(f(x) \to \pm\infty\) as \(x \to a\)
Equation form: \(y = k\)
Graph behavior: \(f(x) \to k\) as \(x \to \pm\infty\)
How to find: Divide \(P(x) \div Q(x)\); the quotient is the asymptote
Equation form: \(y = mx + b\)
Horizontal Asymptote Rules
(x-axis)
(check for oblique)
\(f(x) = \frac{3x + 1}{x^2 - 4}\): deg(1) < deg(2) โ HA: \(y=0\)
\(f(x) = \frac{2x^2 + 1}{5x^2 - 3}\): deg(2) = deg(2) โ HA: \(y = \frac{2}{5}\)
\(f(x) = \frac{x^2 + 2x}{x - 1}\): deg(2) > deg(1) โ No HA, check for oblique
3 Finding Oblique (Slant) Asymptotes
An oblique asymptote occurs when the degree of the numerator is exactly one more than the degree of the denominator. Use polynomial division to find it.
Steps to Find Oblique Asymptote
- Verify deg(\(P\)) = deg(\(Q\)) + 1
- Perform polynomial long division: \(\frac{P(x)}{Q(x)}\)
- The quotient \(mx + b\) is the oblique asymptote (ignore the remainder)
- Write as \(y = mx + b\)
Find the oblique asymptote of: \(f(x) = \frac{x^2 + 3x + 2}{x - 1}\)
Check: deg(2) = deg(1) + 1 โ
Divide: \((x^2 + 3x + 2) \div (x - 1)\)
\(= x + 4 + \frac{6}{x-1}\)
Oblique asymptote: \(y = x + 4\)
4 Holes (Removable Discontinuities)
A hole (or removable discontinuity) occurs at values of \(x\) where both the numerator and denominator equal zero โ i.e., where a common factor cancels out.
Graph has a single point missing
Graph approaches ยฑโ
Steps to Find Holes
- Factor both the numerator \(P(x)\) and denominator \(Q(x)\) completely
- Identify any common factors
- Set the common factor = 0 to find the x-coordinate of the hole
- Cancel the common factor and substitute to find the y-coordinate
Find any holes in: \(f(x) = \frac{x^2 - 4}{x^2 - x - 2}\)
Factor: \(f(x) = \frac{(x-2)(x+2)}{(x-2)(x+1)}\)
Common factor: \((x-2)\) โ Hole at \(x = 2\)
Cancel: \(f(x) = \frac{x+2}{x+1}\) (with hole at \(x = 2\))
Y-coordinate: \(y = \frac{2+2}{2+1} = \frac{4}{3}\)
Hole: \(\left(2, \frac{4}{3}\right)\)
Vertical asymptote: \(x = -1\) (doesn't cancel)
Always factor completely before determining asymptotes. A factor in the denominator might cancel, creating a hole instead of an asymptote.
5 Graphing Rational Functions
To graph a rational function, identify all key features: intercepts, asymptotes, holes, and the general shape of the curve.
Complete Graphing Checklist
- Factor numerator and denominator completely
- Find holes: Common factors that cancel
- Find vertical asymptotes: Set simplified denominator = 0
- Find horizontal/oblique asymptote: Compare degrees
- Find x-intercepts: Set simplified numerator = 0
- Find y-intercept: Evaluate \(f(0)\)
- Plot additional points and sketch the curve
Factor: \(f(x) = \frac{2x}{(x-1)(x+1)}\)
Holes: None (no common factors)
Vertical asymptotes: \(x = 1\) and \(x = -1\)
Horizontal asymptote: deg(1) < deg(2) โ \(y=0\)
X-intercept: \(2x = 0\) โ \(x = 0\) โ point \((0, 0)\)
Y-intercept: \(f(0) = 0\) โ point \((0, 0)\)
6 Solving Rational Equations
To solve a rational equation (an equation containing rational expressions), clear the fractions and solve the resulting polynomial equation. Always check for extraneous solutions!
Steps to Solve Rational Equations
- Find the LCD (Least Common Denominator) of all fractions
- Multiply every term on both sides by the LCD
- Simplify โ the denominators should cancel
- Solve the resulting polynomial equation
- Check solutions โ reject any that make a denominator zero (extraneous)
Solve: \(\frac{1}{x} + 2 = \frac{3}{x}\)
LCD: \(x\)
Multiply by LCD: \(x \cdot \frac{1}{x} + x \cdot 2 = x \cdot \frac{3}{x}\)
Simplify: \(1 + 2x = 3\)
Solve: \(2x = 2\) โ \(x = 1\)
Check: \(\frac{1}{1} + 2 = 3\) and \(\frac{3}{1} = 3\) โ
Solve: \(\frac{x}{x-2} = \frac{2}{x-2} + 1\)
LCD: \(x - 2\)
Multiply: \(x = 2 + (x-2)\)
Simplify: \(x = 2 + x - 2 = x\)
This is always true, but \(x = 2\) makes denominators zero!
Solution: All real numbers except \(x = 2\)
An extraneous solution is a value that appears as a solution but makes the original equation undefined. Always substitute back into the original equation to check!
7 Checking Inverse Rational Functions
Two functions \(f(x)\) and \(g(x)\) are inverses if composing them in either order gives \(x\). For rational functions, verify by computing both compositions.
\(f(g(x)) = x\) for all \(x\) in domain of \(g\)
AND
\(g(f(x)) = x\) for all \(x\) in domain of \(f\)
Verify that \(f(x) = \frac{2x+1}{x-3}\) and \(g(x) = \frac{3x+1}{x-2}\) are inverses:
Check \(f(g(x))\):
\(f(g(x)) = \frac{2 \cdot \frac{3x+1}{x-2} + 1}{\frac{3x+1}{x-2} - 3} = \frac{\frac{6x+2+x-2}{x-2}}{\frac{3x+1-3x+6}{x-2}} = \frac{7x}{7} = x\) โ
Check \(g(f(x))\): Similarly shows \(g(f(x)) = x\) โ
Conclusion: \(f\) and \(g\) are inverses
To find the inverse: (1) Replace \(f(x)\) with \(y\), (2) Swap \(x\) and \(y\), (3) Solve for \(y\). Cross-multiply and rearrange to isolate \(y\).
8 End Behavior of Rational Functions
The end behavior of a rational function describes what happens to \(f(x)\) as \(x\) approaches \(\pm\infty\). It's determined by the horizontal or oblique asymptote.
End Behavior by Degree Comparison
deg(P) < deg(Q)
As \(x \to \pm\infty\), \(f(x) \to 0\)
Graph approaches x-axis
deg(P) = deg(Q)
As \(x \to \pm\infty\), \(f(x) \to \frac{a_n}{b_m}\)
Graph approaches horizontal line
deg(P) = deg(Q) + 1
As \(x \to \pm\infty\), graph approaches oblique line \(y = mx + b\)
deg(P) > deg(Q) + 1
As \(x \to \pm\infty\), \(f(x) \to \pm\infty\)
Behaves like polynomial
๐ Quick Reference: Key Formulas
Vertical Asymptote
Set simplified \(Q(x) = 0\)
Form: \(x = a\)
Horizontal Asymptote
Compare degrees of \(P\) and \(Q\)
Form: \(y = k\)
Oblique Asymptote
When deg(P) = deg(Q) + 1
Quotient of \(P \div Q\)
Holes
Common factors that cancel
\((x, f(x))\) using simplified form
X-intercepts
Set \(P(x) = 0\)
(numerator = 0)
Domain
All real numbers except
where \(Q(x) = 0\)
Need Help Mastering Rational Functions?
Our expert tutors provide personalized instruction to help you excel in AP Precalculus.
Book Free Consultation