Math 3 • Algebra & Functions

Domain & Discontinuities — I can connect domain restrictions to discontinuities in a rational function and interpret in context.

Learn why rational functions break at certain x-values and what those breaks reveal about real-world situations.

Math 3 emblem with sigma notation, a function, and a line graph.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

Rational functions — expressions formed by dividing one polynomial by another — have fascinated mathematicians for centuries. The idea of domain (the set of all allowable input values) became critical once mathematicians realized that division by zero produces results that are undefined, not merely large. Early work on curves with gaps, jumps, or asymptotic behavior drove the development of what we now call the study of discontinuities.

~300 BCE • Euclid & Ratios

Euclid's Elements formalized ratios of magnitudes, an ancestor of the rational expression. He noted that ratios break down when the divisor is zero.

1600s • Descartes & Coordinate Geometry

René Descartes introduced graphing equations on a coordinate plane, making it possible to see where rational curves have asymptotes — lines the graph approaches but never crosses or touches.

1821 • Cauchy Formalizes Continuity

Augustin-Louis Cauchy gave the first rigorous definition of a continuous function, enabling mathematicians to classify exactly how and where functions break.

Modern Era • Rational Functions in Science & Economics

Today, rational functions model concentrations of medication over time, cost-per-unit in manufacturing, and electrical resistance in circuits. Each model has domain restrictions that carry real meaning.

The central question this lesson addresses is: When a rational function is undefined at some x-value, what does that x-value look like on the graph, and what does it mean in a real-world context? Understanding the connection between algebraic restrictions and graphical behavior is the key to mastering rational functions.

SECTION 2

Core Principles & Definitions

A rational function has the form f(x) = P(x) / Q(x), where P(x) and Q(x) are polynomials and Q(x) ≠ 0. The domain of a rational function is every real number except the x-values that make Q(x) = 0, because division by zero is undefined. Those excluded x-values create discontinuities — places where the graph has a break. There are two main types of discontinuities in rational functions, and recognizing which type occurs depends on whether the problematic factor cancels.

1

Domain Restriction

Any x-value that makes the denominator equal to zero is excluded from the domain. Set Q(x) = 0 and solve to find all restricted values.
2

Vertical Asymptote

If a factor of the denominator does not cancel with a factor of the numerator, the graph shoots toward ±∞ near that x-value, creating a vertical asymptote — a dashed vertical line the graph never touches.
3

Removable Discontinuity (Hole)

If a factor of the denominator does cancel with an identical factor in the numerator, the graph has a hole — an open circle at that point. The function is undefined there but approaches a finite y-value.
4

Factoring Is the Key Tool

Factor both P(x) and Q(x) completely. Common factors produce holes; leftover denominator factors produce vertical asymptotes. This single step determines every discontinuity.
✦

KEY TAKEAWAY

Think of a rational function like a highway. A vertical asymptote is a permanent roadblock — traffic (the graph) must detour around it and can never pass through. A hole is a single missing brick in the pavement — the road continues on both sides at the same level, but that one spot is missing. Both block your path, but they look and behave very differently.

SECTION 3

Visual Explanation — Holes vs. Vertical Asymptotes

The diagram below shows two rational functions on the same coordinate system. The blue curve represents f(x) = (x − 2) / [(x − 2)(x + 1)], which simplifies to 1 / (x + 1) with a hole at x = 2. The pink dashed line at x = −1 marks the vertical asymptote where the denominator factor (x + 1) cannot be cancelled. Notice how the graph breaks in completely different ways at these two x-values.

Hole vs. Vertical Asymptote: f(x) = (x − 2) / [(x − 2)(x + 1)]xy−2−112312−1−2x = −1 (VA)Hole at (2, ⅓)x = 2Pink dashed line= Vertical Asymptote (non-removable)Cyan open circle= Hole (removable discontinuity)
The blue curve shows f(x) = 1/(x + 1) with a hole at x = 2 (open circle) and a vertical asymptote at x = −1 (dashed line). Both x-values are excluded from the domain, but the graph behaves differently at each.

At the vertical asymptote (x = −1), the function values grow without bound — the curve rockets upward on one side and plunges downward on the other. At the hole (x = 2), the curve simply has a single missing point; if you could "fill in" the open circle, the graph would be smooth. The algebraic distinction is straightforward: the factor (x − 2) cancels, leaving only a hole, while the factor (x + 1) does not cancel, producing an asymptote.

SECTION 4

Mathematical Framework

The systematic process for analyzing a rational function's domain and discontinuities can be captured in a few algebraic steps. First, express the function in fully factored form, then classify each zero of the denominator.

GENERAL RATIONAL FUNCTION

f(x)=P(x)/Q(x)f(x) = P(x) / Q(x)

P(x) and Q(x) are polynomials. The domain of f is all real numbers x such that Q(x) ≠ 0.

FINDING DOMAIN RESTRICTIONS

SetQ(x)=0→solveforx→excludethosex−valuesSet Q(x) = 0 → solve for x → exclude those x-values

Each solution of Q(x) = 0 is a value where f(x) is undefined. Write the domain in set-builder or interval notation, omitting every restricted value.

CLASSIFYING DISCONTINUITIES

FactorP(x)andQ(x)completely.If(x−a)dividesboth→holeatx=a.If(x−a)dividesonlyQ(x)→verticalasymptoteatx=a.Factor P(x) and Q(x) completely. If (x − a) divides both → hole at x = a. If (x − a) divides only Q(x) → vertical asymptote at x = a.

To find the y-coordinate of a hole, cancel the common factor and substitute x = a into the simplified expression.

DOMAIN IN INTERVAL NOTATION

Ifx=aandx=barerestricted(a<b):(−∞,a)∪(a,b)∪(b,∞)If x = a and x = b are restricted (a < b): (−∞, a) ∪ (a, b) ∪ (b, ∞)

Use the union symbol ∪ to join intervals around each excluded value. Parentheses (not brackets) are used because the restricted values themselves are excluded.

⚠

Common Mistake

Students sometimes cancel factors before identifying domain restrictions. Always find the restrictions from the original, unfactored (or fully factored) denominator first. Canceling a factor removes it from the simplified expression but does not restore that x-value to the domain — the hole remains.

SECTION 5

Classifying Discontinuities — A Decision Flowchart

The flowchart below walks you through every rational function, start to finish. Begin by factoring the numerator and denominator completely, then follow the decision arrows to determine whether each restricted x-value produces a hole or a vertical asymptote.

Decision Flowchart: Domain & Discontinuity AnalysisSTART: f(x) = P(x) / Q(x)Step 1: Factor P(x) and Q(x)completelyStep 2: Set Q(x) = 0 → solve for xEach solution is excluded from the domainDoes (x − a)cancel?YESNOHOLERemovable discontinuityat x = a (open circle)VERT. ASYMPTOTENon-removable discontinuityat x = a (graph → ±∞)Repeat for every zero of Q(x)
Follow this flowchart for every rational function. Factor first, then classify each zero of Q(x) as producing either a hole (common factor cancels) or a vertical asymptote (factor does not cancel).
FeatureHole (Removable)Vertical Asymptote (Non-Removable)
Algebraic testFactor cancels from numerator and denominatorFactor remains only in the denominator
Graph behaviorOpen circle; graph approaches a finite y-valueGraph shoots toward +∞ or −∞
Domain effectx-value excludedx-value excluded
Can it be "fixed"?Yes — redefine the function at that pointNo — the break is inherent to the function

Comparison of the two types of discontinuities in rational functions

SECTION 6

Worked Example

Analyze the rational function g(x) = (x² − 4) / (x² − x − 2). Find the domain, classify all discontinuities, and state the coordinates of any hole.

Analyzing g(x) = (x² − 4) / (x² − x − 2)

  1. 1

    Step 1 — Factor the numerator and denominator

    The numerator x² − 4 is a difference of squares: (x − 2)(x + 2). The denominator x² − x − 2 factors as (x − 2)(x + 1). So g(x) = (x − 2)(x + 2) / (x − 2)(x + 1).
    g(x) = (x − 2)(x + 2) / [(x − 2)(x + 1)]
  2. 2

    Step 2 — Identify domain restrictions from the denominator

    Set (x − 2)(x + 1) = 0. This gives x = 2 and x = −1. Both values make the denominator zero, so both are excluded from the domain.
    Domain: all real numbers except x = −1 and x = 2, or (−∞, −1) ∪ (−1, 2) ∪ (2, ∞)
  3. 3

    Step 3 — Classify each discontinuity

    The factor (x − 2) appears in both the numerator and the denominator, so it cancels. This means x = 2 is a hole (removable discontinuity). The factor (x + 1) appears only in the denominator and does not cancel, so x = −1 is a vertical asymptote (non-removable discontinuity).
    x = 2 → hole; x = −1 → vertical asymptote
  4. 4

    Step 4 — Find the y-coordinate of the hole

    Cancel (x − 2) to obtain the simplified form: g(x) = (x + 2) / (x + 1). Substitute x = 2: g(2) = (2 + 2) / (2 + 1) = 4/3. The hole is at the point (2, 4/3).
    Hole at (2, 4/3); Vertical Asymptote at x = −1
💡

Pro Tip

After you simplify, the reduced form (x + 2)/(x + 1) tells you the general shape of the graph. The hole at (2, 4/3) is the "missing" point on that simplified curve. You can plot the simplified graph and then add an open circle at the hole.

SECTION 7

Interpreting Discontinuities in Context

Domain restrictions aren't just algebraic curiosities — they often carry real meaning. When a rational function models a physical situation, an excluded x-value tells you something about the limits of that model. Here are several scenarios where discontinuities matter.

ContextRational FunctionDomain Restriction & Meaning
Average cost per itemC(x) = (500 + 3x) / xx = 0: you can't compute cost per item if no items are produced; vertical asymptote indicates cost blows up as production approaches zero.
Drug concentrationD(t) = 200t / (t² + 25)t² + 25 > 0 for all real t, so no restrictions — the model works for all time values. This tells us the drug never reaches a dangerous singularity.
Team batting averageB(x) = (45 + x) / (150 + x)x = −150: no physical meaning since at-bats can't be negative; the restriction exists algebraically but is outside the meaningful domain.
Electrical resistanceR(x) = (x − 3) / [(x − 3)(x + 2)]x = 3 gives a hole — the circuit model simplifies at that resistance. x = −2 gives a vertical asymptote — the circuit cannot function at that value.

Real-world contexts where domain restrictions carry meaning

✦

KEY TAKEAWAY

In applied problems, always ask: "Does this domain restriction make sense in context?" A vertical asymptote in a cost function might mean production is approaching zero, which drives costs sky-high. A hole might mean a special input where two effects cancel, but the function is still technically undefined there. Context transforms algebra into understanding.

SECTION 8

Connection to Advanced Topics

Understanding domain restrictions and discontinuities in rational functions sets the foundation for several advanced concepts you will encounter in precalculus and calculus. The table below shows how the ideas from this lesson connect to what comes next.

This Lesson (Math 3)Advanced Extension
Setting Q(x) = 0 to find excluded x-valuesIn calculus, limits formalize what "approaching" an excluded value means — you evaluate lim as x → a.
Hole (removable discontinuity)The limit exists at a hole. In calculus, you can "remove" the discontinuity by redefining f(a) = L where L is the limit.
Vertical asymptote (non-removable discontinuity)Leads to infinite limits (lim = ±∞). This connects to improper integrals and convergence tests in Calculus 2.
Domain in interval notationDomain analysis extends to piecewise functions, trigonometric functions, and compositions of functions in precalculus.
Simplifying rational expressionsPartial fraction decomposition in calculus reverses the process, breaking rational functions into sums of simpler fractions.

How this lesson's ideas evolve in future courses

The key insight is that domain restrictions don't go away as math gets harder — they become the central objects of study. Calculus is essentially the art of understanding what happens at and near the places where functions break down. The skills you build now — factoring, classifying discontinuities, and writing domain in interval notation — are the exact tools you'll use to evaluate limits, sketch sophisticated curves, and analyze real-world models.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain in your own words the difference between a hole and a vertical asymptote. Why are both excluded from the domain even though the graph behaves differently at each?
Show answer
A hole is a single missing point on the graph — the function approaches a finite y-value from both sides, but the function is undefined at that exact x-value because the original denominator equals zero there. A vertical asymptote is a line the graph approaches but never reaches, with function values growing toward positive or negative infinity. Both are excluded from the domain for the same algebraic reason: the denominator is zero. However, a hole occurs when the zero-causing factor cancels with a matching factor in the numerator, while a vertical asymptote occurs when it does not cancel.

Question 2: BASIC CALCULATION

Find the domain of h(x) = 5 / (x² − 9). Identify any vertical asymptotes.
Show answer
Factor the denominator: x² − 9 = (x − 3)(x + 3). Setting each factor equal to zero gives x = 3 and x = −3. Since the numerator is the constant 5 (no matching factors to cancel), both are vertical asymptotes. The domain is all real numbers except x = 3 and x = −3, written as (−∞, −3) ∪ (−3, 3) ∪ (3, ∞). The function has two vertical asymptotes: x = −3 and x = 3.

Question 3: INTERMEDIATE

For f(x) = (x² + x − 6) / (x² − 4), find all domain restrictions, classify each discontinuity, and give the coordinates of any hole.
Show answer
Factor the numerator: x² + x − 6 = (x + 3)(x − 2). Factor the denominator: x² − 4 = (x − 2)(x + 2). The denominator equals zero at x = 2 and x = −2, so both are excluded from the domain. The factor (x − 2) appears in both the numerator and denominator, so it cancels — x = 2 produces a hole. The factor (x + 2) appears only in the denominator, so x = −2 is a vertical asymptote. To find the hole's y-coordinate, substitute x = 2 into the simplified form (x + 3)/(x + 2): (2 + 3)/(2 + 2) = 5/4. The hole is at (2, 5/4). Domain: (−∞, −2) ∪ (−2, 2) ∪ (2, ∞).

Question 4: APPLIED

A company's average cost per unit is modeled by C(x) = (2x + 1000) / x, where x is the number of units produced. State the domain in the context of the problem, identify any discontinuities, and explain what happens to the average cost as production increases.
Show answer
Algebraically, x = 0 is excluded from the domain because it makes the denominator zero, creating a vertical asymptote. In context, x represents the number of units produced, so x must be a positive integer (or at least x > 0). The practical domain is x > 0. As x increases, the term 1000/x shrinks toward zero, so C(x) approaches $2 per unit — this represents the marginal cost of materials alone when the fixed cost ($1000) is spread over many units. The vertical asymptote at x = 0 tells us that producing nearly zero items makes the average cost skyrocket, which makes intuitive sense: fixed costs divided by almost nothing yields a huge per-unit cost.

Question 5: CRITICAL THINKING

Create a rational function that has exactly one vertical asymptote at x = −4, one hole at x = 1, and crosses the x-axis at x = 3. Show that your function satisfies all three conditions.
Show answer
We need: (1) (x − 1) in both numerator and denominator (for the hole), (2) (x + 4) only in the denominator (for the vertical asymptote), and (3) (x − 3) only in the numerator (for the x-intercept). A function meeting all conditions is f(x) = [(x − 1)(x − 3)] / [(x − 1)(x + 4)]. Verification: Setting the denominator equal to zero gives x = 1 and x = −4. The factor (x − 1) cancels, so x = 1 is a hole. The simplified form is (x − 3)/(x + 4), so the hole's y-coordinate is (1 − 3)/(1 + 4) = −2/5, placing it at (1, −2/5). The factor (x + 4) does not cancel, so x = −4 is a vertical asymptote. Setting the simplified numerator equal to zero: x − 3 = 0 gives x = 3, confirming the x-intercept at (3, 0). All three conditions are satisfied.

SUMMARY

Lesson Summary

Summary

A rational function f(x) = P(x)/Q(x) is undefined wherever Q(x) = 0, and those x-values are excluded from the domain. To classify the resulting breaks, factor both polynomials completely. If a denominator factor cancels with a matching numerator factor, the break is a hole (removable discontinuity) — an open circle on the graph at a finite y-value you can find by substituting into the simplified expression. If the factor does not cancel, the break is a vertical asymptote (non-removable discontinuity) — the graph rockets toward ±∞ near that x-value.

In applied contexts, always interpret the domain restrictions in terms of the situation: a vertical asymptote in a cost model means costs become extreme, while a hole may represent a special cancellation with no practical output. Write the domain using interval notation with parentheses at every excluded value. These foundational skills connect directly to limits and continuity in calculus, making this lesson a crucial stepping stone in your mathematical journey.

Varsity Tutors • Math 3 • Domain & Discontinuities