Continuity at a Point
“The graph has no break” is a good picture of continuity, but calculus needs a test you can check. This guide gives the three-part definition, shows how each part can fail, and walks through piecewise functions, where most continuity questions live.
A function \(f\) is continuous at \(x = c\) when three things are all true: \(f(c)\) is defined, \(\displaystyle\lim_{x \rightarrow c} f(x)\) exists, and the limit equals \(f(c)\). In words: the graph actually has a point at \(c\), the curve heads to one height from both sides, and that height is the point. If any one of the three fails, \(f\) is discontinuous at \(c\).
1The definition
That one equation packs in three checks, because it only makes sense when both sides exist:
- \(f(c)\) is defined. There is a point on the graph at \(x = c\).
- \(\displaystyle\lim_{x \rightarrow c} f(x)\) exists. The left and right limits are the same number.
- \(\displaystyle\lim_{x \rightarrow c} f(x) = f(c)\). The curve heads straight into the point.
“It is continuous because the graph has no gaps” describes a picture, but it is not a reason. Continuity is shown by the three checks, with numbers. The picture is useful for spotting where to check.
2Running the three checks
Do the checks in order and stop at the first failure. Each failure also tells you something: failing check 1 or 3 while the limit exists points to a removable break, and failing check 2 points to a jump or an asymptote.
Undefined at the point
Is \(g(x) = \dfrac{x^2 - 9}{x - 3}\) continuous at \(x = 3\)?
- 1Check 1: \(g(3) = \frac{0}{0}\), which is undefined.
- 2Stop here. The limit does exist (it is 6, since \(g(x) = x + 3\) for \(x \neq 3\)), but continuity needs a value at the point.
A value in the wrong place
\(h(x) = 2x\) for \(x \neq 1\), and \(h(1) = 5\). Is \(h\) continuous at \(x = 1\)?
- 1Check 1: \(h(1) = 5\). Defined.
- 2Check 2: near 1, \(h(x) = 2x \rightarrow 2\). The limit exists and equals 2.
- 3Check 3: \(2 \neq 5\). Fails.
In Worked Example 2, \(h(1) = 5\) is defined, but that is only one check out of three. A defined value says nothing about whether the curve actually arrives there.
3Piecewise functions
Inside each piece, a piecewise function behaves like its formula: polynomials, roots, exponentials and the like have no breaks where they are defined. So the only places to check are the break points, where the formula changes. At each break point, use the piece that includes the point for \(f(c)\), the left formula for the left limit, and the right formula for the right limit.
A piecewise function
\(f(x) = x^2 + 1\) for \(x \lt 2\) and \(f(x) = 3x - 1\) for \(x \ge 2\). Is \(f\) continuous at \(x = 2\)?
- 1Check 1: \(f(2)\) uses the piece with \(x \ge 2\): \(f(2) = 3(2) - 1 = 5\). Defined.
- 2Check 2: left limit \(2^2 + 1 = 5\); right limit \(3(2) - 1 = 5\). They agree, so \(\displaystyle\lim_{x \rightarrow 2} f(x) = 5\).
- 3Check 3: the limit, 5, equals the value, 5.
Pieces that do not meet
\(p(x) = \sqrt{x + 3}\) for \(x \lt 1\) and \(p(x) = x^2 + 1\) for \(x \ge 1\). Is \(p\) continuous at \(x = 1\)?
- 1Check 1: \(p(1) = 1^2 + 1 = 2\). Defined.
- 2Check 2: left limit \(\sqrt{1 + 3} = 2\); right limit \(1^2 + 1 = 2\). They agree: the limit is 2.
- 3Check 3: limit 2, value 2. Equal.
Is \(q\) continuous at 0?
\(q(x) = 4 - x\) for \(x \le 0\) and \(q(x) = e^x + 2\) for \(x \gt 0\).
- 1Check 1: \(q(0) = 4 - 0 = 4\) (the piece with \(x \le 0\)).
- 2Check 2: left limit \(4 - 0 = 4\); right limit \(e^0 + 2 = 3\). They disagree.
- 3The limit does not exist, so the function cannot be continuous there, whatever its value.
4Writing the conclusion
“\(f(2) = 5\), and \(\displaystyle\lim_{x \rightarrow 2^{-}} f(x) = \lim_{x \rightarrow 2^{+}} f(x) = 5\), so \(\displaystyle\lim_{x \rightarrow 2} f(x) = 5 = f(2)\). The value is defined, the limit exists, and the limit equals the value, so \(f\) is continuous at \(x = 2\).”
For a failure, name the check that fails: “The limit does not exist, so \(q\) is not continuous at \(x = 0\).”
At a break point, the inequality signs decide which formula gives \(f(c)\). In Worked Example 5, \(q(0)\) comes from \(x \le 0\), so \(q(0) = 4\), not \(e^0 + 2 = 3\).
Quick reference
| Check | Question | If it fails |
|---|---|---|
| 1 | Is \(f(c)\) defined? | Not continuous (removable if the limit exists) |
| 2 | Do the left and right limits agree? | Not continuous (jump or asymptote) |
| 3 | Does the limit equal \(f(c)\)? | Not continuous (removable) |
| Piecewise | Check only at break points | Use the right formula for each side and for the value |