Here we use limits to check whether piecewise functions are continuous.

Before we start talking about continuity of piecewise functions, let’s remind ourselves of all famous functions that are continuous on their domains.

In this section we will work a couple of examples involving limits, continuity and piecewise functions. Recall that a function \(f\) is continuous at a point \(a\) if \(\displaystyle \lim _{x\to a}f(x) = f(a)\). This gave the continuity checklist. To determine whether a function \(f\) is continuous at a point \(a\), we must check that:

(a)
\(f(a)\) is defined,
(b)
\(\lim _{x\to a} f(x)\) exists, and then
(c)
\(\lim _{x\to a} f(x) = f(a)\).

In this section, since we are dealing with piecewise-defined functions, we may have to consider one-sided limits when determining if item cc:lim holds for our function. However, item cc:lim does not mention one-sided limits. When using the checklist to justify the continuity of a function, take care to mention the specific conditions that are required.

Consider the next, more challenging example.