MATH 3 • ALGEBRA & FUNCTIONS

Rational Function Modeling — I can use a rational function to model a real relationship and interpret asymptotes/constraints in context.

Learn how ratios of polynomials model real-world limits, costs, and concentrations that simple functions cannot capture.

Historical Context & Motivation

Not every relationship in the real world follows a straight line or a smooth curve. When you pour more and more resources into a project, your returns don't climb forever — they level off. When you dilute a solution by adding water, the concentration drops but never reaches zero. These situations share something in common: they involve a ratio that creates natural boundaries the output can approach but never cross. Mathematicians recognized centuries ago that a single polynomial couldn't capture this kind of behavior, and so rational functions — fractions built from polynomials — became an essential tool.

~300 BCE
Euclid & Ratios
Greek mathematicians studied ratios of whole numbers and geometric magnitudes, laying the groundwork for understanding proportional relationships.
1600s
Descartes & Analytic Geometry
René Descartes connected algebra with geometry, enabling mathematicians to graph equations — including ratios of polynomials — on coordinate axes for the first time.
1700s
Euler & Asymptotic Behavior
Leonhard Euler formalized the concept of asymptotes — lines a curve approaches but never touches — giving scientists precise language for modeling physical limits.
1900s–Today
Applied Modeling Everywhere
Rational functions became standard tools in engineering, medicine, economics, and ecology to model phenomena like drug dosages, average costs, and population carrying capacities.

The central question this lesson addresses is: How can we build a function that naturally captures ceilings, floors, and forbidden inputs — and what do those boundaries mean in a real situation? By the end, you'll be able to write a rational function from a scenario, identify its asymptotes, and explain what those asymptotes tell you in plain language.

Core Principles & Definitions

Before we jump into modeling, let's lock down the vocabulary. A rational function is any function that can be written as a ratio of two polynomials — that is, f(x) = P(x) / Q(x), where Q(x) ≠ 0. The key features that make rational functions special come from that denominator: it can equal zero for certain inputs, and it controls what happens to the output as the input grows very large or very small.

1

Rational Function

A function of the form f(x) = P(x) / Q(x), where P and Q are polynomials and Q(x) ≠ 0. Think of it as a fraction whose numerator and denominator are both algebraic expressions.
2

Vertical Asymptote

A vertical line x = a where the denominator equals zero (and the numerator does not). The function's output blows up toward ±∞ near this input. In context, it marks a value the input can never actually be.
3

Horizontal Asymptote

A horizontal line y = b that the output approaches as x → ∞ or x → −∞. It represents the long-run ceiling or floor — the value the output settles toward but never quite reaches.
4

Domain Restriction

Any x-value that makes the denominator zero is excluded from the domain. In a real-world model, these exclusions often correspond to physical impossibilities — like producing zero items or having zero time.
5

Hole (Removable Discontinuity)

If the same factor cancels from both numerator and denominator, the graph has a hole instead of an asymptote at that x-value. The function is undefined there, but the graph looks continuous except for a single missing point.
KEY TAKEAWAY
Think of a rational function like a speed limit on a highway. No matter how powerful your car's engine gets (the numerator grows), the road has a built-in maximum speed (the horizontal asymptote) you can approach but never legally exceed. Meanwhile, certain exits are closed entirely (vertical asymptotes / domain restrictions) — you simply cannot go there.

Visual Explanation — Anatomy of a Rational Function

The diagram below shows the graph of a typical rational function, f(x) = (2x + 4) / (x − 1). Study how the curve behaves near its vertical asymptote at x = 1 and how it levels off toward the horizontal asymptote at y = 2 as x moves far to the left or right.

The purple curve shows the two branches of f(x) = (2x + 4) / (x − 1). The pink dashed line is the vertical asymptote at x = 1 (the denominator's zero). The cyan dashed line is the horizontal asymptote at y = 2, showing the long-run value the output approaches. The green dot marks the x-intercept at (−2, 0).

Notice how the curve shoots toward positive infinity on the left side of the vertical asymptote and toward negative infinity on the right side. The two branches of the graph live in separate regions and never cross the dashed lines. In every rational function model you build, these asymptotes act as invisible fences that shape the graph's behavior and carry real meaning about the scenario you're modeling.

Mathematical Framework

Now let's formalize the rules that help you find asymptotes and domain restrictions for any rational function. These rules are your toolkit for analyzing every model we build in this lesson.

GENERAL FORM
f(x) = P(x) / Q(x) = (aₙxⁿ + … + a₁x + a₀) / (bₘxᵐ + … + b₁x + b₀)
P(x) is the numerator polynomial of degree n; Q(x) is the denominator polynomial of degree m. The leading coefficients are aₙ and bₘ.
VERTICAL ASYMPTOTES
Set Q(x) = 0 and solve. Each solution x = a (that does NOT cancel with P) gives a vertical asymptote.
Domain restriction: x ≠ a for every vertical asymptote. In context, these are input values that are physically impossible or undefined.
HORIZONTAL ASYMPTOTE RULES
If n < m → y = 0 · If n = m → y = aₙ / bₘ · If n > m → no horizontal asymptote
Compare the degree of the numerator (n) to the degree of the denominator (m). When degrees are equal, divide the leading coefficients. In context, the horizontal asymptote is the long-run limit.
X-INTERCEPT
Set P(x) = 0 and solve (keeping only solutions where Q(x) ≠ 0).
The x-intercept is where the output equals zero. In a model, this often represents a break-even point, a zero concentration, or a threshold.
⚠️ Quick Check
Always factor the numerator and denominator first. If a common factor cancels, you get a hole — not an asymptote — at that x-value. The graph passes smoothly through (almost) that point, but the function is still undefined there.

Building a Rational Model from a Real Scenario

One of the most common real-world rational functions is the average cost function. Imagine a small business that pays a fixed startup cost and then a variable cost per unit produced. The average cost per unit is total cost divided by the number of units. As production increases, that fixed cost is spread across more units, so the average drops — but it can never drop below the variable cost per unit. That floor is the horizontal asymptote.

The average cost curve (amber) for C̄(x) = (5000 + 12x) / x drops rapidly at first, then levels off toward the horizontal asymptote at y = $12. The vertical asymptote at x = 0 means you cannot produce zero units. As production grows, the $5,000 fixed cost matters less and less.

This graph captures what no linear or quadratic function could: a curve that decreases rapidly at first and then flattens toward a limiting value. The horizontal asymptote at y = 12 tells the business owner, "No matter how many widgets you produce, your per-unit cost will approach $12 but never go lower — that's your material cost." The vertical asymptote at x = 0 simply encodes the obvious fact that you can't average costs over zero items.

Common real-world rational function models and the contextual meaning of their asymptotes.
Real-World ScenarioRational Model FormHA MeaningVA / Domain Constraint Meaning
Average cost per itemC̄(x) = (Fixed + Variable·x) / xMinimum possible cost per unit (variable cost)x = 0: can't produce zero items
Drug concentration in bloodstreamC(t) = at / (t² + b)y = 0: drug is eventually eliminatedt ≥ 0: time can't be negative
Pollution removal (%)C(p) = kp / (100 − p)Cost → ∞ as p → 100: can't remove 100%p = 100: removing all pollution is impossible

Worked Example — Drug Concentration

A patient receives an injection, and the concentration of the drug in the bloodstream (in mg/L) is modeled by C(t) = 120t / (t² + 25), where t is measured in hours after the injection. Find the vertical and horizontal asymptotes, determine the peak concentration, and interpret each result in context.

Drug Concentration Analysis
1
Step 1 — Identify the function and its domainWe have C(t) = 120t / (t² + 25). The denominator is t² + 25. Since t² ≥ 0 for all real t, we know t² + 25 ≥ 25 > 0 for every real number. The denominator never equals zero, so the domain is all real numbers. However, in context, t represents time after injection, so we restrict t ≥ 0.
Domain (in context): t ≥ 0. No vertical asymptote.
2
Step 2 — Find the horizontal asymptoteCompare degrees: the numerator 120t has degree 1 (n = 1). The denominator t² + 25 has degree 2 (m = 2). Since n < m, the horizontal asymptote is y = 0.
Horizontal asymptote: y = 0
3
Step 3 — Interpret the horizontal asymptoteAs t → ∞, C(t) → 0. In plain language: as many hours pass, the drug concentration in the bloodstream approaches zero. The body metabolizes and eliminates the drug over time, so eventually the concentration is negligible.
The drug is eventually cleared from the body.
4
Step 4 — Find the peak concentrationThe peak occurs where the function reaches its maximum. For this type of rational function, the maximum occurs when t² = 25, i.e., t = 5 (taking the positive root since t ≥ 0). Substituting: C(5) = 120(5) / (25 + 25) = 600 / 50 = 12 mg/L.
Peak concentration: 12 mg/L at t = 5 hours
5
Step 5 — Summarize findings in contextAfter injection, the drug concentration rises to a peak of 12 mg/L at 5 hours, then gradually declines toward 0 mg/L. There is no vertical asymptote because the denominator t² + 25 is always positive. The horizontal asymptote at y = 0 tells a doctor the drug will be fully cleared given enough time. If a therapeutic window requires at least 6 mg/L, the doctor can solve C(t) = 6 to find how long the drug stays effective.
The rational model predicts both the timing of peak effect and the long-run elimination of the drug.

Strengths and Limitations of Rational Models

Rational functions are powerful, but they aren't the right tool for every situation. Understanding when to reach for a rational model — and when to use something else — is just as important as knowing how to build one.

When rational functions shine — and when they don't.
StrengthsLimitations
Naturally model situations with ceilings, floors, or forbidden values through asymptotes.Cannot model periodic (repeating) behavior like seasons or tides — use trigonometric functions instead.
Capture diminishing returns: rapid change early, then leveling off.Can produce negative output values that may not make sense in context (e.g., negative concentration). You must restrict the domain.
Easy to identify asymptotes algebraically, giving clear physical interpretations.If the real-world scenario doesn't have a natural ceiling or floor, a polynomial or exponential model may fit better.
Flexible: different degree combinations yield different long-run behaviors.Vertical asymptotes can exaggerate behavior near excluded values — the model may be unrealistic very close to those points.
KEY TAKEAWAY
Choosing a model is like choosing the right tool from a toolbox. A rational function is the wrench you pick when your data shows diminishing returns or a natural limit. If the data keeps climbing with no ceiling, you probably need an exponential or polynomial tool instead. Always let the shape of the real-world behavior guide your choice.

Connection to Advanced Topics

The ideas you've learned here form a bridge to several more advanced topics you'll encounter in precalculus and calculus. Understanding asymptotes now will make those transitions much smoother.

How rational function concepts extend into precalculus and calculus.
This Lesson (Algebra/Functions)Advanced Extension
Horizontal asymptote found by comparing degreesIn calculus, you'll formalize this as the limit: lim(x → ∞) f(x) using L'Hôpital's Rule
Vertical asymptotes where the denominator = 0In calculus, these are infinite limits: lim(x → a) f(x) = ±∞
Holes (removable discontinuities)In calculus, you compute the limit at the hole to define continuity and evaluate indeterminate forms
Rational model for average cost or concentrationIn calculus, you differentiate the rational function to find exact maxima, minima, and inflection points
Slant (oblique) asymptotes when degree of numerator = degree of denominator + 1In precalculus, polynomial long division reveals the slant asymptote equation directly

For now, the key skill is recognizing that asymptotes aren't just abstract math — they represent real constraints and long-run behaviors. When you study limits in calculus, you'll have a concrete visual and contextual foundation that many students lack. Everything you've practiced here carries directly forward.

Practice Problems

PROBLEM 1CONCEPTUAL
A company's average cost function is C̄(x) = (8000 + 15x) / x. Explain in your own words what the horizontal asymptote is and what it means for the business. Why can the average cost never actually reach this value?
PROBLEM 2BASIC CALCULATION
For the function f(x) = (3x − 6) / (x + 4), find: (a) the vertical asymptote, (b) the horizontal asymptote, (c) the x-intercept, and (d) the y-intercept.
PROBLEM 3INTERMEDIATE
A wildlife biologist models the population of fish in a lake as P(t) = 2400t / (t + 12), where t is months after stocking. (a) What is the horizontal asymptote? (b) What does it represent in context? (c) After how many months does the population reach 1,800 fish?
PROBLEM 4APPLIED
An environmental agency estimates that the cost (in thousands of dollars) to remove p percent of a pollutant from a river is given by C(p) = 85p / (100 − p) for 0 ≤ p < 100. (a) How much does it cost to remove 70%? (b) How much does it cost to remove 95%? (c) What is the vertical asymptote and what does it mean? (d) Why is p = 100 not in the domain?
PROBLEM 5CRITICAL THINKING
Two students are debating which function best models a scenario where a city's recycling rate starts at 0%, increases quickly at first, then levels off near 80% over many years. Student A suggests a linear function R(t) = 4t. Student B suggests a rational function R(t) = 80t / (t + 5). Who is correct, and why? Use asymptotes, domain analysis, and at least two specific time values to support your answer.

Lesson Summary

A rational function is the ratio of two polynomials, f(x) = P(x) / Q(x), and it models real situations that have built-in limits or forbidden values. Vertical asymptotes occur where the denominator equals zero and represent input values that are impossible in context — like producing zero items or removing 100% of a pollutant. Horizontal asymptotes describe the long-run behavior: the output value the function approaches as the input grows without bound. You find them by comparing the degrees of the numerator and denominator.

When building a rational model, always start by identifying what the input and output variables represent, write the formula as a ratio, then analyze asymptotes and domain restrictions to extract meaning. Whether you're modeling average costs, drug concentrations, population growth, or pollution removal, the asymptotes translate directly into real-world constraints — ceilings, floors, and impossibilities — making rational functions one of the most interpretable models in your algebra toolkit.

Varsity Tutors • Math 3 • Rational Function Modeling