Skip to main content

Section 2.5 Continuity

Motivating example:

Graph of piecewise function with discontinuities
Figure 2.5.1. Function with discontinuities

Loosely: A function is continuous if it is unbroken; it can be drawn without lifting the pencil. In the graph above, there are discontinuities at \(x=-3\text{,}\) \(x=-1\text{,}\) \(x=1\text{,}\) and \(x=2\text{.}\)

Definition 2.5.2. Continuous at a point.

Let \(f\) be a function and \(c\) a real number.

The function \(f\) is continuous at \(c\) if \(\displaystyle\lim_{x\rightarrow c} f(x)=f(c)\text{.}\) Note that this encompasses three conditions: that \(f\) is defined at \(c\text{,}\) that the limit exists at \(c\text{,}\) and finally that the limit at \(c\) equals the value of the function at \(c\text{.}\)

The function \(f\) is left-continuous or continuous from the left at \(c\) if \(\displaystyle\lim_{x\rightarrow c^-} f(x)=f(c)\text{.}\)

The function \(f\) is right-continuous or continuous from the right at \(c\) if \(\displaystyle\lim_{x\rightarrow c^+} f(x)=f(c)\text{.}\)

Remark 2.5.3.

We say that a function is continuous at a point \(x=c\) when \(c\) is a boundary point of its domain and it is left- or right-continuous there, in addition to when \(c\) is an interior point and it is continuous at \(c\text{.}\)

The function graphed above is continuous at \(x=-2\) since \(\displaystyle\lim_{x\rightarrow -2} f(x) = 0 = f(-2)\text{.}\)

It is continuous from the left at \(3\) since \(\displaystyle\lim_{x\rightarrow 3^-} f(x) = -2 = f(3)\text{.}\)

Definition 2.5.4. Continuous on a closed interval.

A function \(f\) is continuous over a closed interval \([a,b]\) if it is:

  1. Continuous from the right at \(x=a\)

  2. Continuous from the left at \(x=b\text{,}\) and

  3. Continuous at every interior point, that is, at every point in \((a,b)\text{.}\)

We define continuity on the half-closed infinite intervals \([a,\infty)\) and \((-\infty,b]\) similarly by omitting the condition for the endpoint that is not used.

So the function above is continuous on \([-1,1]\text{;}\) it is also continuous on \((-\infty,-4]\) and on \((-3,-1)\text{.}\)

Definition 2.5.5. Some types of discontinuities.

We have seen several types of discontinuities:

  • A discontinuity at \(x=c\) is removable if \(\displaystyle\lim_{x\rightarrow c} f(x)\) exists but is not equal to \(f(c)\text{.}\)

  • A discontinuity at \(x=c\) is a jump discontinuity if the left and right limits both exist but are different.

  • A function has an infinite discontinuity at \(x=c\) if it is unbounded around \(c\) (e.g., \(f(x)=\frac{1}{x}\)).

  • A function has an oscillating discontinuity at \(x=c\) if it is bounded but fails to have a limit because it oscillates too rapidly near \(c\) (e.g., \(f(x)=\sin \frac{1}{x}\)).

Definition 2.5.6. Continuous function.

A function is called a continuous function if it is continuous at every point of its domain. If there are one or more points in the domain of the function at which is is continuous, then it is a discontinuous function.

The function \(f(x)=\frac{1}{x}\) is a continuous function, because it is continuous at every point of its domain. That's not inconsistent with saying that it is not continuous at \(x=0\text{.}\)

Example 2.5.8.

Determine the set of \(x\)-values where the function is continuous:

  1. \(\displaystyle f(x) = \sqrt[4]{4x-5}\)

  2. \(\displaystyle g(x) = \frac{x-3}{2x^2-5x-3}\)

  3. \(\displaystyle h(x) = \begin{cases} \frac{x-3}{2x^2-5x-3}\amp x\neq 3\\ \frac{1}{7} \amp x=3 \end{cases}\)

Answer.
  1. \(\displaystyle \displaystyle\left[\frac{5}{4},\infty\right)\)

  2. \(\displaystyle (-\infty,-1/2)\cup(-1/2,3)\cup(3,\infty)\)

  3. \(\displaystyle (-\infty,-1/2)\cup(-1/2,\infty)\)

Example 2.5.12.

Find the limit: \(\displaystyle \lim_{x\rightarrow 0^+} \sin\left( \frac{5\pi}{6} e^{\sqrt{x}}\right)\)

Is \(\displaystyle \sin\left( \frac{5\pi}{6} e^{\sqrt{x}}\right)\) continuous at 0?

Answer.

\(\sin(\frac{5\pi}{6}) = \frac12\text{;}\) yes

One consequence of the IVT is that it guarantees the existence of roots:

Example 2.5.14.

Let \(f(x) = x^5 - 3x^3 + 5x-2\text{.}\) Since polynomials are continuous and \(f(0)\lt 0\) and \(f(1)\gt 0\text{,}\) there must be a real root \(0\lt c\lt 1\) such that \(f(c)=0\text{.}\)