Course scope. This topic is shared by Calculus AB and Calculus BC. Everything here is examinable for both.
A note on notation
This page has no equation renderer, so limits are written in a compact form:
lim (x → 3⁻) f(x) means “the limit as x approaches 3 from the left”. lim (x → 3⁺) f(x) means “from the right”.
Intervals use the usual notation. A square bracket includes the endpoint and a round bracket excludes it: [−4, −1) contains −4 but not −1. The symbol ∪ joins intervals.
From one point to a whole interval
In Topic 1.11 you checked continuity at a single point x = c with three conditions:
- f(c) exists;
- lim (x → c) f(x) exists;
- the limit equals f(c).
Topic 1.12 scales this up. A function is continuous on an interval if it is continuous at every point of that interval. On a graph, this means you can trace the graph over the whole interval without lifting your pen: no holes, no jumps, no vertical asymptotes.
An interval has infinitely many points, so you cannot test them one at a time. Instead you use two facts:
- the standard function families are continuous wherever they are defined, and
- functions built from continuous pieces stay continuous, except at a small number of special points that you then test by hand.
Open and closed intervals
Open interval (a, b). Every point inside is an interior point. f is continuous on (a, b) if it is continuous at each c with a < c < b, using the full two-sided definition.
Closed interval [a, b]. The endpoints need care. At x = a the function may not even be defined to the left of a, so a two-sided limit at a may not exist. The usual convention is:
- f is continuous at every point of the open interval (a, b);
- at the left endpoint, f is continuous from the right: lim (x → a⁺) f(x) = f(a);
- at the right endpoint, f is continuous from the left: lim (x → b⁻) f(x) = f(b).
Example. q(x) = √(9 − x²) is defined only for −3 ≤ x ≤ 3. At x = 3, q(3) = 0, and as x → 3 from the left, 9 − x² → 0⁺, so q(x) → 0. The left-hand limit matches q(3). The same happens at x = −3 from the right. So q is continuous on the closed interval [−3, 3], even though no two-sided limit exists at ±3.
The same rule applies to half-open intervals: [a, b) needs right-continuity at a; (a, b] needs left-continuity at b.
The function families and where they are continuous
The key fact for this topic: polynomial, rational, power, exponential, logarithmic and trigonometric functions are continuous at every point of their domains. So for these families, “where is it continuous?” becomes “where is it defined?”.
| Family | Example | Continuous on |
|---|---|---|
| Polynomial | 3x⁴ − x + 7 | all real numbers, (−∞, ∞) |
| Rational | (x + 1)/(x − 2) | every x where the denominator is not 0: (−∞, 2) ∪ (2, ∞) |
| Power (root) | √x | [0, ∞), with right-continuity at 0 |
| Power (odd root) | ∛x | all real numbers |
| Power (negative exponent) | x⁻¹ = 1/x | (−∞, 0) ∪ (0, ∞) |
| Exponential | eˣ, 2ˣ | all real numbers |
| Logarithmic | ln x | (0, ∞) |
| Trigonometric | sin x, cos x | all real numbers |
| Trigonometric | tan x, sec x | every x except odd multiples of π/2, where cos x = 0 |
| Trigonometric | cot x, csc x | every x except multiples of π, where sin x = 0 |
Combining continuous functions. The limit properties from Topic 1.5 give these rules. If f and g are both continuous at c, then so are f + g, f − g, kf and fg, and so is f/g provided g(c) ≠ 0. A composite f(g(x)) is continuous at c if g is continuous at c and f is continuous at g(c). That is why a formula such as ln(x² + 1) · cos x is continuous everywhere it is defined.
Consequence. For any formula built from these families with +, −, ×, ÷ and composition, the function is continuous on each interval of its domain. Finding the intervals of continuity is mostly a domain problem.
A procedure you can rely on
- Single formula? Find the domain. List every value that is excluded:
- a denominator equal to 0;
- an even root (square root, fourth root) of a negative number;
- a logarithm of a number that is 0 or negative;
- tan, sec, cot or csc where they are undefined.
- Write the domain as a union of intervals. Those are the intervals of continuity. Use a square bracket at an endpoint only if the function is defined there and the one-sided limit equals the value.
- Piecewise function? Each piece is continuous on its own open subinterval (if its formula is defined there). Then test every boundary point with the three-part definition, using one-sided limits from each piece.
- Asked about a given interval [a, b]? Check that no excluded value or failed boundary point lies in [a, b]. At a and b themselves, one-sided continuity is enough.
- Justify. Name the family facts you used and show the limit calculations at the boundary points.
Worked example 1: a single formula with a root and a denominator
Question. Find all intervals on which h(x) = √(x + 4)/(x² − 1) is continuous.
- Identify the families. The top is a power (square root) function of a polynomial. The bottom is a polynomial. Each is continuous wherever it is defined, so h is continuous at every point of its domain.
- Restriction from the root. √(x + 4) needs x + 4 ≥ 0, so x ≥ −4.
- Restriction from the denominator. x² − 1 = (x − 1)(x + 1) = 0 when x = 1 or x = −1. Both values are at least −4, so both are removed.
- Write the domain. [−4, −1) ∪ (−1, 1) ∪ (1, ∞).
- Check the closed endpoint x = −4. h(−4) = √0/(16 − 1) = 0/15 = 0. As x → −4⁺, the top → 0 and the bottom → 15, so lim (x → −4⁺) h(x) = 0 = h(−4). h is continuous from the right at −4, so the square bracket is correct.
Answer. h is continuous on [−4, −1), (−1, 1) and (1, ∞).
Interpretation. At x = ±1 the top is not 0 (for example, √3 at x = −1), so the expression is a nonzero number over 0. The graph has vertical asymptotes there, not holes. Either way, h is not defined at ±1, so it is not continuous there.
Worked example 2: a piecewise function
Question. Let
- f(x) = x² + 1 for x ≤ 2
- f(x) = 4x − 3 for 2 < x < 5
- f(x) = 20/(x − 4) for x ≥ 5
Find the largest intervals on which f is continuous. Justify your answer.
- Each piece on its own interval.
- x² + 1 is a polynomial, so it is continuous on (−∞, 2).
- 4x − 3 is a polynomial, so it is continuous on (2, 5).
- 20/(x − 4) is rational. Its denominator is 0 only at x = 4, and 4 is not in the interval x ≥ 5. So this piece is continuous on (5, ∞).
- Boundary x = 2.
- f(2) = 2² + 1 = 5 (the first piece includes x = 2).
- lim (x → 2⁻) f(x) = 2² + 1 = 5.
- lim (x → 2⁺) f(x) = 4(2) − 3 = 5.
- Both one-sided limits are 5, so lim (x → 2) f(x) = 5 = f(2). f is continuous at 2.
- Boundary x = 5.
- f(5) = 20/(5 − 4) = 20 (the third piece includes x = 5).
- lim (x → 5⁻) f(x) = 4(5) − 3 = 17.
- lim (x → 5⁺) f(x) = 20/(5 − 4) = 20.
- 17 ≠ 20, so the two-sided limit does not exist. f is not continuous at 5 (a jump discontinuity of size 3).
- Which interval keeps x = 5? The right-hand limit, 20, equals f(5). So f is continuous from the right at 5, and 5 belongs with the interval to its right.
Answer. f is continuous on (−∞, 5) and on [5, ∞). It is not continuous on any interval that has 5 inside it.
Worked example 3: continuity on a given closed interval
Question. Let k(x) = (x + 1)/cos x. Is k continuous on [−1, 1]? Is k continuous on [0, 2]? Use π ≈ 3.14.
- Families. x + 1 is a polynomial and cos x is trigonometric. Both are continuous everywhere, so k is continuous wherever cos x ≠ 0.
- Where cos x = 0. At odd multiples of π/2: …, −π/2 ≈ −1.57, π/2 ≈ 1.57, 3π/2 ≈ 4.71, ….
- Interval [−1, 1]. Neither −1.57 nor 1.57 lies in [−1, 1]. So cos x ≠ 0 at every point of [−1, 1], including the endpoints, and k is continuous at each of them. Yes, k is continuous on [−1, 1].
- Interval [0, 2]. π/2 ≈ 1.57 lies inside [0, 2]. k(π/2) is not defined. No, k is not continuous on [0, 2]. (In fact, k is unbounded near π/2: the graph has a vertical asymptote there.)
Check. One bad point inside an interval is enough to make the answer “no”. To answer “yes”, you must be sure there are no bad points, which is why you list every zero of the denominator and compare it with the interval.
Common misconceptions
- “1/x is continuous, so it is continuous on [−1, 1].” 1/x is continuous on its domain, but its domain has a gap at 0. An interval containing 0 is not covered.
- “A function is continuous on an interval if it is continuous at most points.” Every single point counts. One hole, jump or asymptote inside the interval is enough to fail.
- Forgetting the excluded values of the whole formula. Check every denominator, every even root and every logarithm, not just the first one you see.
- Treating an asymptote outside a piece as a problem. In Worked example 2, 20/(x − 4) is undefined at 4, but that piece is only used for x ≥ 5. Only the values a piece actually uses matter.
- Checking only one side at a boundary. At a piecewise boundary you need the left limit, the right limit and the function value. Matching two of the three is not enough.
- Wrong brackets. Use a square bracket only when the function is defined at that endpoint and the matching one-sided limit equals the value. At an excluded value the bracket must be round.
- Demanding a two-sided limit at an endpoint of [a, b]. At the endpoints of a closed interval you only need the one-sided limit from inside the interval.
- Confusing “not continuous” with “no limit”. At a removable discontinuity the limit exists but the function is still not continuous there (Topic 1.11). It still breaks the interval.
Where this leads
Knowing exactly where a function is continuous is a hypothesis you will check again and again. Topic 1.13, Removing Discontinuities, asks when a discontinuity can be repaired by defining or redefining one value, and how to choose constants that join the pieces of a piecewise function. Topic 1.16 (the Intermediate Value Theorem) and, later, the Extreme Value Theorem in Unit 5 both need continuity on a closed interval [a, b], exactly as defined on this page. If you need to revisit the three-part definition first, go back to Topic 1.11, Defining Continuity at a Point. Students in either course can return to the Calculus AB roadmap or the Calculus BC roadmap.
Try the practice questions now, then use the revision notes and the checklist to consolidate.
Quick questions
Is this page for Calculus AB or Calculus BC?
Both. Topic 1.12 is common content, so the same page serves AB and BC students.
Is 1/x a continuous function?
It is continuous at every point of its domain, so it is continuous on (−∞, 0) and on (0, ∞). It is not continuous on any interval that contains 0, such as [−1, 1], because it is not defined at 0.
Do I have to check every point of an interval one by one?
No. The family facts cover all the points inside each piece at once. You only test special points: where a piece changes, where the formula is undefined, and the endpoints of the interval you were asked about.