AP Calculus BC · Study guide

Confirming Continuity over an Interval

AP® Calculus BC · Unit 1 · Limits and Continuity

Continuity on an Interval

Checking continuity one point at a time would never end. Instead, whole families of functions are known to be continuous wherever they are defined. This guide lists them, shows how to combine them, and explains what continuity at an endpoint means.

The idea in one paragraph

A function is continuous on an interval when it is continuous at every point of that interval. You rarely check that point by point. Polynomials, rational functions, roots, exponentials, logarithms and the trig functions are all continuous everywhere they are defined. Sums, differences, products, quotients (where the bottom is not 0) and compositions of continuous functions are continuous too. So the work is mostly finding the domain: where is the function undefined, and what intervals are left?

1Continuity on an interval

To say \(f\) is continuous on an open interval \((a, b)\) means \(f\) is continuous at every \(x\) between \(a\) and \(b\). On a closed interval \([a, b]\), the endpoints need special care, because the function might not exist on the far side of them. That is covered in section 4.

2Functions that are always safe

FamilyExampleContinuous on
Polynomials\(3x^4 - x + 7\)All real numbers
Rational functions\(\frac{x + 1}{x - 3}\)Everywhere the bottom is not 0
Roots\(\sqrt{x}\), \(\sqrt[3]{x}\)Even roots: inside ≥ 0. Odd roots: all real numbers
Exponentials\(e^x\), \(2^x\)All real numbers
Logarithms\(\ln x\)\(x \gt 0\)
Sine and cosine\(\sin x\), \(\cos x\)All real numbers
Tangent, secant\(\tan x\), \(\sec x\)Everywhere \(\cos x \neq 0\)
Cotangent, cosecant\(\cot x\), \(\csc x\)Everywhere \(\sin x \neq 0\)
Write it like this

“\(f\) is a rational function, and rational functions are continuous except where the denominator is zero. The denominator is zero only at \(x = 5\), so \(f\) is continuous on \((-\infty, 5)\) and \((5, \infty)\).”

3Combining functions

If \(f\) and \(g\) are continuous at \(c\), so are \(f + g\), \(f - g\), \(kf\), \(fg\), and \(\frac{f}{g}\) as long as \(g(c) \neq 0\). A composition \(f(g(x))\) is continuous at \(c\) when \(g\) is continuous at \(c\) and \(f\) is continuous at \(g(c)\). Put together, these rules let you read the intervals of continuity off the formula.

Worked Example 1 Intervals of continuity

\(f(x) = \dfrac{\sqrt{x - 2}}{x - 5}\)

On what intervals is \(f\) continuous?

  1. 1
    The top, \(\sqrt{x - 2}\), is a root: it is continuous where it is defined, \(x \ge 2\).
  2. 2
    The bottom, \(x - 5\), is a polynomial: continuous everywhere.
  3. 3
    A quotient of continuous functions is continuous wherever the bottom is not 0. The bottom is 0 at \(x = 5\).
  4. 4
    Combine: \(x \ge 2\) and \(x \neq 5\).
Answer: \(f\) is continuous on \([2, 5)\) and on \((5, \infty)\).
Figure 1. The square root needs x ≥ 2 and the denominator needs x ≠ 5. The function is continuous on every interval inside that domain: [2, 5) and (5, ∞). At x = 2 it starts with one-sided continuity from the right.
Worked Example 2 A logarithm

\(g(x) = \ln(x^2 - 4)\)

  1. 1
    The natural log is continuous on its domain, the positive numbers. So we need \(x^2 - 4 \gt 0\).
  2. 2
    \(x^2 \gt 4\) when \(x \lt -2\) or \(x \gt 2\).
  3. 3
    The inside, \(x^2 - 4\), is a polynomial (continuous everywhere), and a continuous function of a continuous function is continuous.
Answer: \(g\) is continuous on \((-\infty, -2)\) and on \((2, \infty)\).
Worked Example 3 Tangent

\(y = \tan x\) on \([0, 2\pi]\)

  1. 1
    \(\tan x = \dfrac{\sin x}{\cos x}\): a quotient of two functions that are continuous everywhere.
  2. 2
    It breaks only where \(\cos x = 0\): at \(x = \frac{\pi}{2}\) and \(x = \frac{3\pi}{2}\) in this interval.
Answer: Continuous on \(\left[0, \tfrac{\pi}{2}\right)\), \(\left(\tfrac{\pi}{2}, \tfrac{3\pi}{2}\right)\) and \(\left(\tfrac{3\pi}{2}, 2\pi\right]\).
Common Mistake 1 · Listing only the zeros of the denominator

The denominator is not the only thing that limits a domain. Even roots need a nonnegative inside, and logarithms need a positive inside. In Worked Example 1, forgetting the root gives “all \(x \neq 5\),” which wrongly includes \(x = 0\), where \(\sqrt{-2}\) is undefined.

Common Mistake 2 · Joining the intervals with “or all real numbers except”

Write intervals of continuity as separate intervals: \([2, 5)\) and \((5, \infty)\). “Continuous on \([2, \infty)\) except 5” is understandable, but the two-interval form is clearer and avoids claiming anything at the gap.

4Endpoints and closed intervals

At an endpoint of a closed interval, a function may not exist on the far side, so only one side can be checked. We say \(f\) is continuous on \([a, b]\) when it is continuous at every point inside, continuous from the right at \(a\) (\(\displaystyle\lim_{x \rightarrow a^{+}} f(x) = f(a)\)), and continuous from the left at \(b\) (\(\displaystyle\lim_{x \rightarrow b^{-}} f(x) = f(b)\)).

That is why \(\sqrt{x}\) counts as continuous on \([0, \infty)\), even though nothing exists to the left of 0.

Worked Example 4 Piecewise on a closed interval

Is h continuous on [0, 5]?

\(h(x) = x^2\) for \(0 \le x \lt 3\) and \(h(x) = 4x - 3\) for \(3 \le x \le 5\).

  1. 1
    Each piece is a polynomial, so h is continuous inside each piece. The only point to check is the break, x = 3.
  2. 2
    At 3: \(h(3) = 4(3) - 3 = 9\); left limit \(3^2 = 9\); right limit \(4(3) - 3 = 9\). All three checks pass.
  3. 3
    At the endpoints, only one side exists. At \(x = 0\): \(\displaystyle\lim_{x \rightarrow 0^{+}} h(x) = 0 = h(0)\). At \(x = 5\): \(\displaystyle\lim_{x \rightarrow 5^{-}} h(x) = 17 = h(5)\).
Answer: Yes: \(h\) is continuous on \([0, 5]\), with one-sided continuity at the endpoints.
Common Mistake 3 · Checking only the inside of each piece

Each piece of a piecewise function can be perfectly continuous while the function as a whole breaks at the seam. Every break point inside the interval needs the three-check test.

Quick reference

StepWhat to do
1. Find trouble spotsZero denominators, even roots of negatives, logs of non-positive numbers, piecewise break points
2. Remove them from the real lineWhat is left is a list of intervals
3. Check piecewise seamsThree-check test at each break point
4. EndpointsOne-sided continuity: from the right at a, from the left at b