Divide one polynomial by another and you get a rational function. The division brings something polynomials never had: inputs that are not allowed. Near those inputs the graph can have a hole or shoot off to infinity along a vertical asymptote, and far away it can level off along a horizontal asymptote.
01 · Rational functions and their domains
A rational function can be written as f(x) = p(x)/q(x), where p and q are polynomials and q(x) ≠ 0. As in Section 3.2, the denominator cannot be 0: the domain is all real numbers except the zeros of the denominator. Find the domain before canceling any common factors.
02 · Holes: removable discontinuities
If x − a is a factor of both the numerator and the denominator, with multiplicity in the numerator at least as large as in the denominator, the graph has a hole at x = a. Factor both parts, cancel the common factor, and evaluate the reduced function at a to find the height of the hole.
Move x closer and closer to the excluded input. The outputs settle on a single height, yet the function itself is undefined at that input.
03 · Arrow notation
x → a⁻: x approaches a from the left (x < a). x → a⁺: x approaches a from the right (x > a). x → ∞ or x → −∞: x grows without bound in that direction. f(x) → ∞, f(x) → −∞, or f(x) → c: the outputs grow without bound or approach c.
04 · Vertical asymptotes
A vertical asymptote is a line x = a where f(x) → ∞ or −∞ as x → a⁻ or x → a⁺. 1. Factor the numerator and denominator. 2. Cancel common factors. 3. The zeros of the reduced denominator are the vertical asymptotes. The multiplicity tells the behavior: odd means the two sides go opposite ways; even means both sides go the same way.
Factor, cancel, and decide what happens at the given input.
05 · Horizontal and slant asymptotes
Case 1, n < d: the horizontal asymptote is y = 0. Case 2, n = d: the horizontal asymptote is y = (leading coefficient of the numerator)/(leading coefficient of the denominator). Case 3, n > d: no horizontal asymptote; when n = d + 1 there is a slant asymptote, the quotient from dividing the numerator by the denominator.
06 · Graphing a rational function in 8 steps
1. Factor. 2. Find the domain. 3. Reduce by canceling common factors. 4. Mark the holes. 5. Find the x- and y-intercepts (multiplicity: odd crosses, even bounces). 6. Find the vertical asymptotes and the behavior near each. 7. Find the horizontal or slant asymptote. 8. Sketch.
Guided problems · Rational Functions
Original problems on domains, holes, intercepts, and asymptotes. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Rational Functions
Answer each question on paper first, then open the answer to check yourself.
Find the domain of h(x) = (6x³ − 5x)/(x² + 2x − 8) in interval notation.
Show answer
x² + 2x − 8 = (x + 4)(x − 2) ≠ 0, so x ≠ −4 and x ≠ 2. Domain: (−∞, −4) ∪ (−4, 2) ∪ (2, ∞).
Find the x- and y-intercepts of r(x) = 8x(x + 4)/(x² − 16).
Show answer
r(x) = 8x(x + 4)/((x − 4)(x + 4)) = 8x/(x − 4) with a hole at x = −4. x-intercept (0, 0) and y-intercept (0, 0).
Find the vertical asymptotes of f(x) = (2x − 12)/(x(x² + 1)(x − 6)) and describe the behavior near each.
Show answer
f(x) = 2(x − 6)/(x(x² + 1)(x − 6)) = 2/(x(x² + 1)) with a hole at x = 6. Vertical asymptote x = 0: as x → 0⁻, f(x) → −∞, and as x → 0⁺, f(x) → ∞.
Find the horizontal or slant asymptote of h(x) = (3x² + 7x − 5)/(x + 2).
Show answer
The degree of the numerator (2) is one more than the degree of the denominator (1), so there is a slant asymptote. Dividing gives 3x + 1 with remainder −7, so the slant asymptote is y = 3x + 1.