AP CALCULUS AB • LIMITS AND CONTINUITY

Confirming Continuity over an Interval

Learn how to rigorously verify that a function has no breaks, jumps, or holes across an entire interval.

Historical Context & Motivation

The notion of a function being continuous is so foundational to calculus that its absence would make the entire subject collapse. Every major theorem you will encounter—the Intermediate Value Theorem, the Extreme Value Theorem, the Fundamental Theorem of Calculus—requires as a hypothesis that the function in question is continuous on a specified interval. Yet for much of the early history of mathematics, continuity was treated as an intuitive idea rather than a precise definition, leading to subtle errors that took centuries to resolve.

1748
Euler's Intuitive Continuity
Leonhard Euler described continuous functions as those that could be drawn "with a single stroke of the pen." While powerful for intuition, this geometric criterion lacked the rigor needed to handle pathological cases.
1817
Bolzano's Formal Definition
Bernard Bolzano gave one of the first rigorous definitions of continuity, requiring that the difference f(x + ω) − f(x) could be made smaller than any given quantity. He also proved an early version of the Intermediate Value Theorem.
1821
Cauchy's Cours d'Analyse
Augustin-Louis Cauchy published his landmark textbook defining continuity in terms of limits: a function is continuous at a point when the limit equals the function value. This framework became the standard approach taught in calculus courses today.
1861
Weierstrass Epsilon-Delta Formalism
Karl Weierstrass formalized the ε-δ definition of limits and continuity, removing all dependence on intuition or motion. His framework allowed mathematicians to confirm continuity with algebraic proof rather than geometric argument.

The central question this lesson addresses is practical and unavoidable on the AP Calculus AB exam: given a function and an interval, how do you systematically confirm that the function is continuous on that entire interval? Mastering this skill unlocks the ability to apply every major theorem in the course with confidence, because each of those theorems begins with the phrase "if f is continuous on [a, b]."

Core Principles & Definitions

Before confirming continuity over an interval, you must first understand what continuity means at a single point. A function f is continuous at a point c if and only if three conditions hold simultaneously: f(c) must be defined, the limit of f(x) as x approaches c must exist, and that limit must equal f(c). When all three conditions are satisfied at every point in a given interval, we say the function is continuous on the interval. The distinction between open and closed intervals introduces a nuance: at endpoints of a closed interval, we only require the appropriate one-sided limit to equal the function value.

1

Pointwise Continuity

At an interior point c, continuity requires: (1) f(c) is defined, (2) lim as x → c of f(x) exists, and (3) lim as x → c of f(x) = f(c). All three must hold.
2

Open Interval Continuity

A function is continuous on an open interval (a, b) if it is continuous at every point c where a < c < b. No endpoint conditions are needed because endpoints are not in the domain of the interval.
3

Closed Interval Continuity

A function is continuous on [a, b] if it is continuous on (a, b), the right-hand limit at a equals f(a), and the left-hand limit at b equals f(b). This is the most common hypothesis in AP Calculus theorems.
4

Types of Discontinuity

Removable discontinuities occur when the limit exists but does not equal f(c). Jump discontinuities occur when left and right limits differ. Infinite discontinuities occur when a limit diverges to ±∞.
KEY TAKEAWAY
Think of confirming continuity over an interval like inspecting every link in a chain. If even one link is broken—one point where the function is undefined, the limit fails to exist, or the limit disagrees with the function value—the chain is broken and continuity fails. The interval version simply means you must check every link, paying special attention to the endpoints where only one side of the chain extends.

Visual Explanation

Continuity vs. Discontinuity on [a, b]

The left graph shows a function that is continuous on [a, b]: the curve is unbroken, both endpoints are filled (indicating f(a) and f(b) are defined), and one-sided limits at the endpoints agree with the function values. The right graph shows a function with a jump discontinuity at x = c: the left-hand limit and right-hand limit disagree, so continuity on the interval fails.

The visual contrast above captures the essence of interval continuity. In the left panel, you can trace the graph from x = a to x = b without lifting your pencil—every interior point satisfies all three continuity conditions, and the endpoints satisfy the appropriate one-sided conditions. In the right panel, the function has a jump discontinuity at x = c: the open circle indicates that the limit from the left does not match the value where the curve resumes on the right. This single failure point is sufficient to declare the function discontinuous on the interval [a, b], regardless of how well-behaved the function is everywhere else.

Mathematical Framework

We now formalize the definitions introduced in Section 2 using standard limit notation. These definitions are the backbone of every continuity argument on the AP exam.

POINTWISE CONTINUITY
f is continuous at c ⟺ lim (x→c) f(x) = f(c)
This single equation encapsulates all three conditions: f(c) must be defined (right side is meaningful), the limit must exist (left side is meaningful), and they must be equal.
CONTINUITY ON AN OPEN INTERVAL
f is continuous on (a, b) ⟺ ∀c ∈ (a, b): lim (x→c) f(x) = f(c)
For every point c strictly between a and b, the two-sided limit of f(x) as x approaches c must equal f(c).
CONTINUITY ON A CLOSED INTERVAL
f is continuous on [a, b] ⟺ f continuous on (a, b) ∧ lim (x→a⁺) f(x) = f(a) ∧ lim (x→b⁻) f(x) = f(b)
In addition to interior continuity, the right-hand limit at x = a must equal f(a), and the left-hand limit at x = b must equal f(b). These one-sided conditions handle the endpoints.

Continuity-Preserving Operations

A powerful shortcut for the AP exam comes from knowing which algebraic operations preserve continuity. If f and g are both continuous at c, then the sum f + g, the difference f − g, the product f · g, and (provided g(c) ≠ 0) the quotient f/g are all continuous at c. This means that polynomials are continuous everywhere, rational functions are continuous on their domain, and compositions of continuous functions are continuous wherever defined. Trigonometric, exponential, and logarithmic functions are continuous on their natural domains. These facts allow you to confirm continuity of most common functions by citing function type rather than evaluating limits from scratch.

COMPOSITION RULE
If g is continuous at c and f is continuous at g(c), then f ∘ g is continuous at c.
This theorem is especially useful for nested expressions like sin(x²), e^(cos x), or ln(x + 1), which are compositions of continuous functions.

Strategies for Confirming Interval Continuity

In practice, confirming continuity over an interval proceeds through a systematic checklist. The strategy you use depends on how the function is defined: as a single formula, as a piecewise expression, or through a graph or table. The diagram below outlines a decision flowchart that covers the major scenarios encountered on the AP exam.

This flowchart summarizes the two main pathways for confirming continuity: the single-formula path (left branch) relies on known function-type theorems, while the piecewise path (right branch) requires checking one-sided limits at every breakpoint. Both paths converge on the same three conditions.

Strategy Summary by Function Type

Common function types and their continuity domains
Function TypeContinuous OnPotential Trouble Points
Polynomial(−∞, ∞)None — always continuous
Rational (p/q)All x where q(x) ≠ 0Zeros of the denominator
sin x, cos x(−∞, ∞)None — always continuous
tan x, sec xx ≠ π/2 + nπVertical asymptotes at odd multiples of π/2
(−∞, ∞)None — always continuous
ln x(0, ∞)x ≤ 0 is outside the domain
√x[0, ∞)x < 0 is outside the domain
Piecewise-definedMust verify at each breakpointBreakpoints where the formula changes

Worked Example

Consider the piecewise function defined by f(x) = x² + 1 for x < 2, f(x) = 2x + 1 for x ≥ 2. Determine whether f is continuous on the closed interval [0, 5].

Confirming Continuity of a Piecewise Function on [0, 5]
1
Step 1 — Identify the pieces and the breakpointThe function has two pieces: f(x) = x² + 1 applies for x < 2, and f(x) = 2x + 1 applies for x ≥ 2. The breakpoint where the formula changes is x = 2, which lies inside the interval [0, 5].
2
Step 2 — Confirm continuity of each piece on its sub-intervalOn the sub-interval [0, 2), the function f(x) = x² + 1 is a polynomial, so it is continuous everywhere. On the sub-interval [2, 5], the function f(x) = 2x + 1 is also a polynomial, so it too is continuous everywhere. Neither piece has any domain restrictions within the interval [0, 5].
Both pieces are individually continuous on their respective sub-intervals.
3
Step 3 — Check the breakpoint x = 2We need to verify that lim(x→2⁻) f(x) = lim(x→2⁺) f(x) = f(2). From the left: lim(x→2⁻) (x² + 1) = 4 + 1 = 5. From the right: lim(x→2⁺) (2x + 1) = 4 + 1 = 5. The function value: f(2) = 2(2) + 1 = 5 (using the x ≥ 2 rule).
lim(x→2⁻) f(x) = lim(x→2⁺) f(x) = f(2) = 5 ✓
4
Step 4 — Check the endpointsAt the left endpoint x = 0: f(0) = 0² + 1 = 1, and lim(x→0⁺) (x² + 1) = 1, so the right-hand limit equals f(0). At the right endpoint x = 5: f(5) = 2(5) + 1 = 11, and lim(x→5⁻) (2x + 1) = 11, so the left-hand limit equals f(5).
Endpoint conditions satisfied.
5
Step 5 — State the conclusionSince both pieces are continuous on their respective sub-intervals, the one-sided limits at the breakpoint x = 2 agree with f(2), and the one-sided limits at the endpoints agree with the function values, we conclude that f is continuous on [0, 5].
f is continuous on [0, 5]. ✓

Common Pitfalls & Exam Tips

Common exam pitfalls when confirming continuity
PitfallWhy It's WrongCorrect Approach
Forgetting to check f(c) is definedA limit can exist at x = c even if f(c) is undefined (removable discontinuity). The function is not continuous there.Always verify all three conditions, not just the limit.
Using two-sided limits at endpointsAt x = a of [a, b], the left-hand limit approaches from outside the interval and may not exist or be relevant.Use lim(x→a⁺) at the left endpoint and lim(x→b⁻) at the right endpoint.
Ignoring the domain of a compositionln(g(x)) is continuous only where g(x) > 0. Students may cite "ln is continuous" without checking the inner function's range.Verify that the inner function's output stays in the outer function's domain throughout [a, b].
Assuming piecewise = discontinuousMany piecewise functions are perfectly continuous — the pieces can join seamlessly at breakpoints.Check the breakpoints. If one-sided limits match the function value, continuity holds.
Confusing open and closed interval notationTheorems like IVT require continuity on a closed interval [a, b], not just (a, b). Missing endpoint checks invalidates the hypothesis.Read the interval type carefully in every problem and match endpoint checks accordingly.
EXAM TIP
On free-response questions, when asked to justify using a theorem that requires continuity (such as the IVT or EVT), you must explicitly state that the function is continuous on the given interval and provide a brief justification (e.g., "f is a polynomial, so f is continuous on [a, b]"). Simply applying the theorem without establishing its hypotheses will cost you points, much like an engineer who builds a bridge without first testing the load-bearing capacity of the foundation.

Connections to Major Theorems

Confirming continuity on an interval is rarely an end in itself on the AP exam. Instead, it serves as a critical prerequisite for applying the most important theorems in the course. Understanding these connections clarifies why the exam tests this skill so frequently.

Major AP Calculus AB theorems requiring interval continuity
TheoremContinuity HypothesisWhat It Guarantees
Intermediate Value Theorem (IVT)f continuous on [a, b]For any value N between f(a) and f(b), there exists c ∈ (a, b) with f(c) = N. Often used to show a root exists.
Extreme Value Theorem (EVT)f continuous on [a, b]f attains an absolute maximum and an absolute minimum on [a, b]. Essential for optimization problems.
Mean Value Theorem (MVT)f continuous on [a, b] and differentiable on (a, b)There exists c ∈ (a, b) with f′(c) = [f(b) − f(a)] / (b − a). Connects average and instantaneous rates of change.
Fundamental Theorem of Calculus (FTC)f continuous on [a, b]∫ₐᵇ f(x) dx = F(b) − F(a) where F′ = f. Also, d/dx [∫ₐˣ f(t) dt] = f(x).

Notice that every theorem in the table above requires continuity on a closed interval [a, b]. This is not coincidental—the closed interval is compact (a topological property), which guarantees the function's range is bounded and achieves its extreme values. When you advance to real analysis or topology, you will see that continuity on a compact set is the true engine behind all of these results. For now, the practical takeaway is that confirming continuity on a closed interval is the gateway to applying the full power of calculus.

Practice Problems

1
Which of the following is a sufficient condition to guarantee that a function f is continuous on the closed interval [−3, 7]?
2
Let f(x) = { 3x − 1 for x ≤ 4, and x² − k for x > 4 }. For what value of k is f continuous on [0, 6]?
3
The function g is defined by g(x) = (x² − 9)/(x − 3) for x ≠ 3 and g(3) = 7. On which of the following intervals is g continuous?
PROBLEM 4APPLIED
A water tank's volume, in liters, at time t hours is modeled by the piecewise function V(t) = { 50t + 200 for 0 ≤ t ≤ 4, and −25(t − 4)² + c for 4 < t ≤ 10 }, where c is a constant. (a) Find the value of c that makes V continuous on [0, 10]. (b) Justify why V is continuous on [0, 10] for this value of c. (c) Explain why the Intermediate Value Theorem guarantees a time t in [0, 10] at which V(t) = 300. (d) A student claims V is also differentiable at t = 4. Do you agree? Justify your response.
PROBLEM 5CRITICAL THINKING
Let h be a function that is continuous on the open interval (0, 5) and satisfies lim(x→0⁺) h(x) = 3 and lim(x→5⁻) h(x) = 3. A student defines h(0) = 3 and h(5) = 3 to extend h to [0, 5] and then claims h must attain an absolute maximum on [0, 5]. Is this claim necessarily true? Justify your answer, citing relevant theorems.

Lesson Summary

Confirming continuity over an interval requires verifying the three continuity conditions — f(c) is defined, the limit exists, and the limit equals f(c) — at every interior point, while checking one-sided limits at endpoints of a closed interval. For standard function types — polynomials, rational functions, trigonometric, exponential, and logarithmic functions — you can cite continuity on the natural domain as a shortcut. For piecewise functions, each breakpoint demands that the left-hand limit, right-hand limit, and function value all agree.

This skill is not merely definitional — it is the gateway to every major theorem in AP Calculus AB. The Intermediate Value Theorem, the Extreme Value Theorem, the Mean Value Theorem, and the Fundamental Theorem of Calculus all require continuity on a closed interval as a hypothesis. On the AP exam, always explicitly state and justify continuity before invoking any of these theorems in a free-response answer.

Varsity Tutors • AP Calculus AB • Confirming Continuity over an Interval