01 / 20

Continuity over
an Interval

Learn how to confirm that a function is continuous across an entire interval by checking continuity at every point, including one-sided limits at the endpoints.

AP Calculus

What Does Continuity Mean?

Intuitively, a function is continuous if you can draw its graph without lifting your pen. There are no holes, jumps, or vertical asymptotes.

When we say a function is continuous over an interval, we mean it satisfies these conditions at every single point inside the interval, with special care at the endpoints.

Visualizing Continuous vs. Discontinuous

✓ Continuous on \([a, b]\)
Smooth, unbroken curve from \(a\) to \(b\). Every point has a matching limit and function value.
✕ Not Continuous
Has a hole, jump, or asymptote somewhere in the interval. At least one of the three conditions fails.
Continuous a b Discontinuous a b jump

Why Intervals Matter

Many powerful calculus theorems: the Intermediate Value Theorem, the Extreme Value Theorem, and the Fundamental Theorem of Calculus: all require continuity over an interval as a hypothesis.

IVT
If \(f\) is continuous on \([a,b]\), then \(f\) takes every value between \(f(a)\) and \(f(b)\).
EVT
If \(f\) is continuous on \([a,b]\), then \(f\) attains an absolute max and min on that interval.
FTC
If \(f\) is continuous on \([a,b]\), then \(\int_a^b f(x)\,dx\) exists and has nice properties.

The Formal Definition

At each endpoint, we can only approach from inside the interval, so we use one-sided limits.

One-Sided Limits at Endpoints

→ from right ← from left a b \(f(a)\) \(f(b)\) continuous on \((a, b)\)

Open vs. Closed vs. Half-Open

Interval Interior Check Endpoint Checks
\((a, b)\) Two-sided limit at each \(c \in (a,b)\) None required
\([a, b]\) Two-sided limit at each \(c \in (a,b)\) \(\lim_{x\to a^+} f(x)=f(a)\) and \(\lim_{x\to b^-} f(x)=f(b)\)
\([a, b)\) Two-sided limit at each \(c \in (a,b)\) \(\lim_{x\to a^+} f(x)=f(a)\) only
\((a, b]\) Two-sided limit at each \(c \in (a,b)\) \(\lim_{x\to b^-} f(x)=f(b)\) only

Step-by-Step: Confirming Continuity

1
Identify the interval type. Is it open \((a,b)\), closed \([a,b]\), or half-open?
2
Check the interior. Verify \(f\) is continuous at every point in \((a,b)\). Use known families: polynomials, trig, exponentials, rationals (away from zero denominators).
3
Check each included endpoint. Compute the appropriate one-sided limit and confirm it equals the function value.
4
Look for trouble spots. Piecewise boundaries, points where the denominator is zero, or domain restrictions inside the interval.
5
State your conclusion. If all checks pass, \(f\) is continuous on the interval. Otherwise, identify where continuity fails.

Example 1: Polynomial

Is \( f(x) = x^3 - 2x + 1 \) continuous on \([-1, 3]\)?

Example 2: Rational Function

Is \(\displaystyle g(x) = \frac{x+1}{x-2}\) continuous on \([0, 1]\)?

1
Identify the interval: closed interval \([0, 1]\).
2
Check for trouble spots: The denominator \(x - 2 = 0\) when \(x = 2\). But \(2 \notin [0, 1]\), so no issues in our interval.
3
Interior: Rational functions are continuous wherever their denominator is nonzero. On \((0, 1)\), the denominator is always negative, hence nonzero. ✓
4
Endpoints: \(g(0) = \frac{1}{-2} = -\frac{1}{2}\) and \(g(1) = \frac{2}{-1} = -2\). Both are defined and match their one-sided limits. ✓

Example 3: Piecewise Function

Is the function continuous on \([0, 4]\)?

0 2 4 4 10 Both = 4 \(x^2\) \(3x-2\)

Example 4: Continuity Fails

Is the function continuous on \([0, 3]\)?

!
Check \(x = 1\): Left-hand limit: \(\displaystyle\lim_{x \to 1^-}(x+1) = \) 2. Right-hand value: \(1^2 + 2 = \) 3.
✕
Since \(2 \neq 3\), the two-sided limit does not exist at \(x = 1\). There is a jump discontinuity.

Families That Are Always Continuous

You do not need to verify the three-condition definition for functions from these families. They are continuous on their entire domain:

Polynomials
Continuous on \((-\infty, \infty)\). Example: \(x^4 - 3x + 7\)
Rationals
Continuous wherever the denominator \(\neq 0\). Example: \(\frac{x}{x^2+1}\)
Trig
\(\sin x, \cos x\) are continuous on \(\mathbb{R}\). \(\tan x\) is continuous on each open interval between asymptotes.
Exp & Log
\(e^x\) is continuous on \(\mathbb{R}\). \(\ln x\) is continuous on \((0, \infty)\).

Common Mistakes

✕ Forgetting Endpoints
On a closed interval, you must check one-sided limits at the endpoints. Checking only the interior is not enough.
✕ Wrong One-Sided Limit
At the left endpoint, use the right-hand limit \(\lim_{x\to a^+}\). At the right endpoint, use the left-hand limit \(\lim_{x\to b^-}\). Do not reverse them.
✕ Ignoring Domain Holes
A function like \(\frac{1}{x-3}\) is not continuous on any interval containing \(x = 3\), even though it is continuous everywhere else.

Summary Checklist

Step What to Do Key Question
1 Identify the interval type Open, closed, or half-open?
2 Check the interior Is \(f\) from a known continuous family?
3 Find trouble spots Piecewise splits? Zero denominators?
4 Check endpoints Do one-sided limits match function values?
5 Conclude All checks pass \(\Rightarrow\) continuous!

Question 1 of 5

Which condition is needed to confirm continuity at the left endpoint \(a\) of a closed interval \([a,b]\)?

Question 2 of 5

Is \(\displaystyle f(x) = \frac{1}{x - 5}\) continuous on the interval \([1, 4]\)?

Question 3 of 5

Consider \(\displaystyle g(x) = \begin{cases} 2x & \text{if } x \le 3 \\ x^2 - 3 & \text{if } x > 3 \end{cases}\). Is \(g\) continuous on \([0, 5]\)?

Question 4 of 5

For a function continuous on the half-open interval \([a, b)\), which endpoint conditions must hold?

Question 5 of 5

Which of the following is not continuous on \([-\pi, \pi]\)?