Historical Context & Motivation
Mathematics has always been fascinated by ratios. From the ancient Greeks comparing lengths on geometric figures to modern engineers modeling electrical circuits, the idea of dividing one quantity by another is deeply embedded in how we describe the world. Rational functions — functions formed by dividing one polynomial by another — grew out of this tradition, and they turned out to have surprisingly rich behavior that simple polynomials cannot produce.
The key question that rational functions answer is: what happens to a function's output when the denominator can equal zero? Unlike polynomials, which are defined everywhere, rational functions have gaps in their domain — places where they blow up, approach invisible walls, or settle toward flat lines at extreme values of x. Understanding these features is the heart of SL 2.8.
Core Principles & Definitions
A rational function is any function that can be written in the form f(x) = p(x) / q(x), where p(x) and q(x) are polynomials and q(x) ≠ 0. The simplest example is f(x) = 1/x, which you may already recognize from earlier courses. Because dividing by zero is undefined, rational functions automatically come with restrictions on their domain, and those restrictions produce the dramatic features that make these functions so interesting.
Vertical Asymptote
Horizontal Asymptote
x-intercept(s)
y-intercept
Domain
Visual Explanation — The Graph of f(x) = 1/x
The simplest rational function, f(x) = 1/x, is the building block for understanding all rational functions in SL 2.8. Its graph is called a rectangular hyperbola, and it beautifully illustrates both vertical and horizontal asymptotes. Study the diagram below closely — every rational function you meet in this course will share these structural features.
In the diagram above, the curve lives in two separate pieces — one in the first quadrant (where both x and y are positive) and one in the third quadrant (where both are negative). As x approaches 0 from the right, the curve shoots upward toward +∞; from the left, it dives down toward −∞. Meanwhile, as x grows very large in either direction, the curve flattens out toward the x-axis. This pattern — explosive behavior near vertical asymptotes and calm settling near horizontal asymptotes — is the signature of all rational functions.
Mathematical Framework
For the IB SL 2.8 course, you will most often work with rational functions of the form shown below. Understanding how to find each key feature algebraically is essential, so let's walk through the formulas one at a time.
Detailed Breakdown — Behavior Near Asymptotes
Knowing where the asymptotes are is only half the story. You also need to understand how the function behaves as it approaches each asymptote. Does the curve go up or down on each side of a vertical asymptote? Does it approach the horizontal asymptote from above or below? Let's use f(x) = (2x + 1) / (x − 3) to explore this in detail.
| Feature | How to find it | Result for f(x) = (2x+1)/(x−3) |
|---|---|---|
| Vertical Asymptote | Set denominator = 0: x − 3 = 0 | x = 3 |
| Horizontal Asymptote | Ratio of leading coefficients: 2/1 | y = 2 |
| x-intercept | Set numerator = 0: 2x + 1 = 0 | x = −0.5, so (−0.5, 0) |
| y-intercept | Evaluate f(0) = (0+1)/(0−3) | y = −1/3, so (0, −1/3) |
| Domain | All real numbers except where denominator = 0 | x ∈ ℝ, x ≠ 3 |
To determine behavior near the vertical asymptote, test values just to the left and right of x = 3. Plugging in x = 2.9 gives f(2.9) = (5.8 + 1)/(2.9 − 3) = 6.8/(−0.1) = −68, so the function plunges toward −∞ from the left. Plugging in x = 3.1 gives f(3.1) = 7.2/0.1 = 72, so the function shoots toward +∞ from the right. This sign analysis near the vertical asymptote tells you which direction each branch of the curve goes.
Worked Example
Let's work through a complete analysis of a rational function, finding all key features and sketching the graph — exactly as you would on an IB exam.
Common Mistakes & How to Avoid Them
Rational functions are a common source of errors in IB exams. Understanding what can go wrong — and why — will help you avoid losing marks. The table below compares frequent mistakes with the correct approaches.
| Common Mistake | Why It's Wrong | Correct Approach |
|---|---|---|
| Saying the graph "touches" the asymptote | Vertical asymptotes are never touched or crossed. The function is undefined there. | Say the graph "approaches" the asymptote. Note: horizontal asymptotes can sometimes be crossed for finite x-values. |
| Setting the numerator = 0 to find vertical asymptotes | The numerator equaling zero gives x-intercepts, not asymptotes. | Set the denominator = 0 for vertical asymptotes; set the numerator = 0 for x-intercepts. |
| Forgetting to exclude the VA from the domain | The domain must exclude values that make the denominator zero. | Always write the domain as x ∈ ℝ, x ≠ (value of VA). |
| Confusing the HA rule for different degrees | The HA depends on comparing the degrees of numerator and denominator. | Same degree → y = ratio of leading coefficients. Lower numerator degree → y = 0. Higher numerator degree → no HA (oblique asymptote at HL). |
Connection to Advanced Theory
The rational functions you study in SL 2.8 are the starting point for more complex ideas you may encounter in HL Mathematics or in calculus. Understanding how this introductory content connects to the bigger picture can deepen your intuition and motivate careful study now.
| SL 2.8 (This Course) | HL / Calculus Extension |
|---|---|
| Linear/linear rational functions: f(x) = (ax+b)/(cx+d) | General rational functions with quadratic or higher-degree numerators/denominators, including partial fractions |
| Horizontal asymptotes found by comparing leading coefficients | Limits at infinity (lim x→∞) used to rigorously define asymptotic behavior |
| Vertical asymptotes where denominator = 0 | Removable discontinuities (holes) when both numerator and denominator share a common factor |
| Sketching by plotting key features | Using first and second derivatives to find turning points, concavity, and more precise sketches |
| Only horizontal asymptotes for end behavior | Oblique (slant) asymptotes when the numerator's degree is exactly one more than the denominator's |
One particularly important extension involves transformations. Any linear-over-linear rational function f(x) = (ax + b)/(cx + d) can be rewritten through polynomial long division into the form f(x) = A + k/(x − h), where (h, k/A) reveals a translation of the parent function y = 1/x. This transformation approach, connecting to SL 2.4 (transformations of functions), gives you a powerful alternative way to graph rational functions.
Practice Problems
Test your understanding with these five problems, arranged from conceptual to challenging. Try each one on paper before checking the answer.
Lesson Summary
A rational function is a ratio of two polynomials, f(x) = p(x)/q(x). In SL 2.8, you work primarily with linear-over-linear functions of the form f(x) = (ax + b)/(cx + d). These functions have a vertical asymptote at x = −d/c (where the denominator is zero) and a horizontal asymptote at y = a/c (the ratio of leading coefficients). The x-intercept is found by setting the numerator to zero (x = −b/a), and the y-intercept is f(0) = b/d. The domain excludes the x-value that creates the vertical asymptote.
To sketch a rational function, follow a clear workflow: (1) find the vertical asymptote and draw it as a dashed line, (2) find the horizontal asymptote and draw it, (3) plot the intercepts, and (4) use sign analysis near the vertical asymptote to determine which direction each branch curves. Remember: "Numerator for Nought, Denominator for Danger" — the numerator gives zeros, and the denominator gives asymptotes. These skills form the foundation for more advanced rational function analysis in HL and calculus.