Skip to content
Lesson 3 of 10 · Calculus I

Continuity

Test whether a function is continuous at a point, classify discontinuities, choose constants to make a piecewise function continuous, and use the Intermediate Value Theorem.

18 min

Informally, a function is continuous on an interval if you can draw its graph without lifting the pencil. Formally, f is continuous at x = a when all three hold:

  1. 1.f(a) is defined,
  2. 2.lim (x→a) f(x) exists,
  3. 3.lim (x→a) f(x) = f(a).

Polynomials, sin, cos, eˣ are continuous everywhere; rational functions are continuous wherever the denominator is not 0; ln x is continuous for x > 0.

TypeWhat happensExample
RemovableThe limit exists but f(a) is missing or different(x² − 1)/(x − 1) at x = 1
JumpLeft and right limits exist but differthe floor function at an integer
InfiniteThe function blows up1/x at x = 0

A removable discontinuity can be repaired by defining f(a) = the limit.

If f is continuous on [a, b] and N is any number between f(a) and f(b), then f(c) = N for some c in (a, b). Most useful consequence: if f(a) and f(b) have opposite signs, f has a root between a and b. The continuity condition is essential: a function with a jump can skip values.

Find k so that f(x) = x² + 1 for x < 2 and f(x) = kx − 1 for x ≥ 2 is continuous everywhere.

  1. 1

    Each piece is continuous on its own

    The only trouble spot is x = 2.

1/4

Show that x³ + x − 1 = 0 has a solution in (0, 1).

  1. 1

    f(x) = x³ + x − 1 is a polynomial, so it is continuous

    Condition of the IVT.

1/3

The three-question test for continuity at a point.

  • Continuous at a means f(a) exists, the limit exists, and they are equal.
  • Removable, jump and infinite are the three basic discontinuities.
  • To make a piecewise function continuous, match the one-sided limits at the joint.
  • IVT: continuous on [a, b] and N between f(a) and f(b) gives some c with f(c) = N.
  • Opposite signs at the ends of an interval guarantee a root inside it, if f is continuous.
Check yourself

Practice.

1Multiple choice

f(x) = (x² − 4)/(x − 2) for x ≠ 2 and f(2) = 5. At x = 2 the function has:

  • Aa removable discontinuity
  • Ba jump discontinuity
  • Can infinite discontinuity
  • Dno discontinuity
2Numeric answer

Choose a so that f(x) = ax + 3 for x ≤ 1 and 3x − 2 for x > 1 is continuous. Find a.

3Multiple choice

The IVT can be used to show that x⁵ − 3x + 1 = 0 has a root in:

  • A(0, 1)
  • B(2, 3)
  • C(−1, 0) only
  • DNone of these
4Multiple choice

Which function is continuous for all real x?

  • A1/x
  • Btan x
  • Cx³ − 5x
  • Dln x

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Calculus I is planned around your week. Free.