AP Calculus AB · Topic 1.11 · Reading guide, about 5 min

The three-part test for continuity at a point

Test continuity at a point in three steps, and pick constants that make a piecewise function continuous.

In one minute

A function is continuous at a point when you can draw through it without lifting your pencil. Calculus turns that picture into a precise three-part test, and almost every continuity justification you write will follow it.

This topic also covers the most common calculation built on the test: choosing a constant so that a piecewise function joins up at its boundary.

Key terms

Continuous at cc
ff is continuous at x=cx = c when f(c)f(c) exists, lim⁡x→cf(x)\lim_{x \to c} f(x) exists, and the two are equal.
Condition 1
The function value f(c)f(c) is defined, so cc is in the domain.
Condition 2
The two-sided limit exists, which means both one-sided limits exist and are equal.
Condition 3
The limit equals the function value: lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c).
Boundary point
The xx-value where a piecewise function switches from one formula to another.
Matching condition
The equation made by setting the left-piece limit equal to the right-piece limit, used to solve for an unknown constant.
Discontinuous at cc
Failing any one of the three conditions at x=cx = c makes ff discontinuous there.
Direct substitution
Plugging cc into the formula; it gives the limit only when the function is already known to be continuous there.

The test, one condition at a time

First, is f(c)f(c) defined? If the formula divides by zero at cc or the point is not in the domain, stop: the function is discontinuous. Second, does lim⁡x→cf(x)\lim_{x \to c} f(x) exist? Compute the limit from the left and from the right; they must be the same real number. Third, compare. The limit and the value must be equal.

Each condition rules out a different failure. If the limit exists but f(c)f(c) is missing (only Condition 1 fails) or is a different number (Condition 3 fails), the break is a hole, which is removable. If the limit does not exist (Condition 2 fails), the break is a jump, an infinite break or an oscillation. For example, 1x\dfrac{1}{x} at x=0x = 0 fails Condition 1 as well, but it is an asymptote, not a hole, because its limit does not exist. In a written justification, state all three and show a number for each: "f(c)=…f(c) = \ldots, the limit is …\ldots, and they are equal."

Which condition fails
Situation at x=cx = cFailsKind of break
f(c)f(c) undefined, limit existsCondition 1Removable (hole)
f(c)f(c) defined, limit exists, but they differCondition 3Removable (stray point)
One-sided limits are different real numbersCondition 2Jump
A one-sided limit is infiniteCondition 2Infinite (asymptote)

Worked example: a failed test

Let f(x)=x2−1x−1f(x) = \dfrac{x^2 - 1}{x - 1} for x≠1x \ne 1 and f(1)=3f(1) = 3. Is ff continuous at x=1x = 1? Condition 1: f(1)=3f(1) = 3 is defined. Condition 2: for x≠1x \ne 1, f(x)=(x−1)(x+1)x−1=x+1f(x) = \dfrac{(x-1)(x+1)}{x-1} = x + 1, which approaches 22 from both sides, so the limit is 22. Condition 3: the limit is 22 but f(1)=3f(1) = 3, which is not equal. So ff is not continuous at x=1x = 1; it has a removable discontinuity.

Worked example: finding the constant

Let h(x)=kx+1h(x) = kx + 1 for x≤3x \le 3 and h(x)=x2−2kh(x) = x^2 - 2k for x>3x > 3. Find kk so that hh is continuous at x=3x = 3.

Condition 1: use the piece that includes 33, so h(3)=3k+1h(3) = 3k + 1. Condition 2: the left limit equals 3k+13k + 1 (the left piece is a polynomial, so substitution works). The right limit equals 32−2k=9−2k3^2 - 2k = 9 - 2k. For the limit to exist these must match, giving 3k+1=9−2k3k + 1 = 9 - 2k. Add 2k2k to both sides and subtract 11: 5k=85k = 8, so k=85k = \dfrac85.

Check with k=1.6k = 1.6: the left piece gives 3(1.6)+1=5.83(1.6) + 1 = 5.8 and the right piece gives 9−2(1.6)=5.89 - 2(1.6) = 5.8. Both match, and h(3)=5.8h(3) = 5.8, so Condition 3 holds too. Always finish with this check, because it catches sign slips.

Habits that keep justifications correct

Use the correct piece for each side. For a left limit use the formula for x<cx < c; for a right limit use the formula for x>cx > c; for the value use the piece that contains cc. If the boundary uses << on one side and >> on the other (so cc itself belongs to neither), f(c)f(c) is undefined and the function cannot be continuous there.

If a problem gives a graph, read the three quantities directly: the filled dot (value), and the heights the curve approaches from each side (one-sided limits). If it gives a table, you can only argue approximately, so a written proof needs a formula.

How it connects

  • Back to 1.2 and 1.3: the limit in Condition 2 uses both one-sided limits.
  • Back to 1.10: each kind of discontinuity breaks a specific condition.
  • Forward to 1.12: this test explains why polynomials and other basic functions are continuous on their domains.
  • Forward to 1.16: the Intermediate Value Theorem only works when continuity on an interval is verified.

Common mistakes

  • Checking only one condition. A defined value is not enough; the limit must exist and equal it.
  • **Forgetting that a limit can exist while f(c)f(c) is wrong.** Equal one-sided limits satisfy Condition 2 only; you still compare with f(c)f(c).
  • Using the wrong piece at the boundary. Mixing up which formula applies to which side gives the wrong matching equation.
  • Skipping the final check. Substitute the constant back into both pieces and confirm the two values agree.

How it shows up on the exam

  • A piecewise function with an unknown constant, asking for the value that makes it continuous at a boundary.
  • A graph or table with a justification: state which of the three conditions holds or fails at a given point.
  • A written argument requiring you to cite the definition of continuity with a value, a limit, and a comparison.

Check yourself

  1. What are the three conditions for continuity at a point, in order?
  2. If lim⁡x→cf(x)=4\lim_{x \to c} f(x) = 4 and f(c)=4f(c) = 4, is ff continuous at cc? What if f(c)f(c) is undefined?
  3. How do you set up the equation to find a constant that joins two pieces?
  4. Which condition fails at a jump, and which fails at a hole?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.