Continuity of a function

A function is continuous at x=ax=a if its graph does not break there. In symbols, the value f(x)f(x) approaches as xx gets closer and closer to aa (the limit) must equal the actual function value f(a)f(a).

Chalcack concept card · Reviewed by the Chalcack team ·

On the left the graph stays connected at x = a; on the right it has a hole and breaks.

Formulas

  • lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a)
  • lim⁡x→a−f(x)=lim⁡x→a+f(x)=f(a)\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a)

When to use it

Use it when a problem asks where a graph breaks, or when you need to choose an unknown so that a piecewise function connects.

Worked example

Find kk so that f(x)={2x+1(x<1)x+k(x≥1)f(x)=\begin{cases} 2x+1 & (x<1) \\ x+k & (x \ge 1) \end{cases} is continuous at x=1x=1. Step 1: As xx approaches 1 from the left, 2x+12x+1 approaches 33. Step 2: The right-hand limit and the function value are both f(1)=1+kf(1)=1+k. Step 3: 3=1+k3=1+k, so k=2k=2.

Common mistake

A common mistake is stopping after finding the limit. Even if the limit exists, the function is not continuous if f(a)f(a) is undefined or different from the limit (a hole in the graph), so check that the left-hand limit, right-hand limit, and f(a)f(a) are all equal.

Related concepts

All 181 math concepts