01 / 20

Rational Function
Modeling

Learn to build rational function models from real-world scenarios, interpret asymptotes as physical constraints, and analyze behavior as inputs grow large.

Math 3

What Is a Rational Function?

A rational function is any function that can be written as the ratio of two polynomials:

The numerator \( P(x) \) and denominator \( Q(x) \) are both polynomials. The function is undefined wherever the denominator equals zero: that is where we find vertical asymptotes or holes.

Why Model with Rational Functions?

Many real situations involve rates, averages, or concentrations where one quantity is divided by another. Rational functions capture behaviour that polynomials cannot:

Limiting Values
Outputs approach a cap (horizontal asymptote) as inputs grow.
Excluded Inputs
Certain input values are impossible (vertical asymptote = physical constraint).
Diminishing Returns
Adding more input yields smaller and smaller gains: classic rational shape.

Anatomy of \( f(x) = \frac{P(x)}{Q(x)} \)

x y x = 2 y = 1 left branch right branch 0 2 -2

Core Rules: Asymptotes

1
Vertical Asymptote: Set \( Q(x) = 0 \) and solve. Each solution \( x = a \) (that doesn't cancel) gives a vertical asymptote.
2
Horizontal Asymptote: Compare degrees of \( P(x) \) and \( Q(x) \). If \( \deg P < \deg Q \): \( y = 0 \). If \( \deg P = \deg Q \): \( y = \frac{\text{leading coeff of } P}{\text{leading coeff of } Q} \). If \( \deg P > \deg Q \): no HA (slant asymptote instead).
3
Holes: If a factor cancels from both \( P(x) \) and \( Q(x) \), the result is a hole (removable discontinuity), not an asymptote.

Horizontal Asymptote Decision Chart

Compare deg(P) vs deg(Q)
\( \deg P < \deg Q \) HA: \( y = 0 \)
\( \deg P = \deg Q \) HA: \( y = \frac{a_n}{b_n} \)
\( \deg P > \deg Q \) No HA
Example: \( f(x) = \frac{3}{x^2 + 1} \) HA: \( y = 0 \)
Example: \( f(x) = \frac{2x}{5x + 1} \) HA: \( y = \frac{2}{5} \)
Example: \( f(x) = \frac{x^2}{x + 1} \) Slant asymptote

Asymptotes vs Holes

Vertical Asymptote Hole
What happens Graph shoots to \( \pm \infty \) A single missing point
Algebraic test Factor in \( Q(x) \) does not cancel Factor cancels from both \( P \) and \( Q \)
Example \( \frac{1}{x - 3} \) at \( x = 3 \) \( \frac{x - 3}{(x - 3)(x + 1)} \) at \( x = 3 \)
On the graph Dashed vertical line Open circle on the curve

Interpreting Asymptotes in Context

When a rational function models a real scenario, each asymptote tells a physical story:

Vertical Asymptote
An input value that is physically impossible: you cannot have zero workers, zero volume, etc.
Horizontal Asymptote
The long-run limit: the output approaches a cap no matter how large the input grows.

How to Build a Model

1
Identify the quantities. What are you dividing? (Total cost by number of items, mass of solute by volume, etc.)
2
Write the formula. Express the relationship as \( f(x) = \frac{P(x)}{Q(x)} \). Include constants from the problem.
3
State the domain. What values of \( x \) make sense in context? Exclude where \( Q(x) = 0 \) and any negative/impossible values.
4
Find asymptotes. Compute VA and HA. Translate each into a real-world sentence.
5
Verify with a point. Plug in a realistic value and check that the output matches expectations.

Example 1: Average Cost

A company pays a $1200 setup fee plus $8 per unit to produce custom mugs. The average cost per mug for \( n \) mugs is:

VA: \( n = 0 \)
You cannot produce zero mugs: this is physically impossible.
HA: \( y = 8 \)
As \( n \to \infty \), the cost per mug approaches $8: the setup fee is diluted.

Average Cost Graph

n C(n) HA: C = $8 $0 $8 $70 10 50 100 (50, $32)

Example 2: Concentration Model

A tank holds 100 L of water. You add a solution that is 40% salt at a rate of 5 L/min. The salt concentration after \( t \) minutes is:

Domain
\( t \geq 0 \) (time cannot be negative). VA at \( t = -20 \) is outside the domain.
HA: \( y = 0.4 \)
As \( t \to \infty \), concentration approaches 40%: the solution you're adding.

Concentration Over Time

t (min) C(t) HA: C = 0.40 0 0.4 0.2 30 60 120 (20, 0.20)

Example 3: Drug Concentration

After a patient takes a medication, the concentration in the bloodstream (mg/L) after \( t \) hours is modeled by:

Here \( \deg P = 1 < \deg Q = 2 \), so the HA is \( y = 0 \): the drug eventually leaves the body entirely. The VA equation \( t^2 + 4 = 0 \) has no real solutions, so there are no vertical asymptotes: the function is defined for all \( t \geq 0 \).

Common Mistakes to Avoid

✕ Forgetting Domain Restrictions
In context, \( x \) or \( t \) often must be positive. A VA at \( x = -5 \) may be mathematically real but physically irrelevant.
✕ Hole vs Asymptote Confusion
If a factor cancels, it creates a hole, not an asymptote. Always factor first before declaring VAs.
✕ Misreading the HA Rule
When \( \deg P > \deg Q \), there is no horizontal asymptote. Students often still write \( y = 0 \).

Summary of Key Ideas

Feature How to Find It What It Means in Context
Vertical Asymptote Set \( Q(x) = 0 \), non-cancelling Impossible / excluded input
Horizontal Asymptote Compare degrees of \( P \) and \( Q \) Long-run limiting value
Hole Common factor cancels One missing data point
Domain Exclude \( Q(x) = 0 \) + context Realistic range of inputs
End Behaviour Evaluate \( \lim_{x \to \infty} f(x) \) What happens "in the long run"

Question 1 of 5

A factory has a fixed cost of $3000 and a variable cost of $12 per unit. The average cost function is \( A(n) = \frac{3000 + 12n}{n} \). What is the horizontal asymptote, and what does it represent?

Question 2 of 5

For the function \( f(x) = \frac{x^2 - 9}{x^2 - x - 6} \), which statement is correct?

Question 3 of 5

A medication's bloodstream concentration is \( C(t) = \frac{8t}{t^2 + 9} \) mg/L. What happens to the concentration as \( t \to \infty \)?

Question 4 of 5

A water tank initially contains 200 L of pure water. Brine with 0.5 kg/L of salt flows in at 4 L/min. The concentration function is \( S(t) = \frac{2t}{200 + 4t} \). What is the practical meaning of the vertical asymptote \( t = -50 \)?

Question 5 of 5

Which rational function has a horizontal asymptote of \( y = 3 \) and a vertical asymptote at \( x = -1 \)?