Skip to main content

Section 1.8 Continuity

Subsection 1.8.1 Before Class

https://mymedia.ou.edu/media/1.8-1/1_tbdlbou8
Figure 9. Pre-Class Video 1

Subsubsection 1.8.1.1 The Definition

Definition 1.8.1. Continuity.
A function is continuous at input \(a\) if \(\ds \lim_{x\to a} f(x) = f(a)\)
If this condition fails, then \(f\) is said to be discontinuous at input \(a\).
\(f\) is continuous on an interval if it is continuous at every number in the interval.
Conditions for Continuity.
Continuity of a function requires three things:
  1. \(a\) is in the domain of \(f\)
  2. \(\ds \lim_{x\to a} f(x)\) exists
  3. \(\displaystyle \ds \lim_{x\to a} f(x) = f(a)\)
Question 1.8.2.
Look back at Section 1.5 and the conditions for the existence of a limit. What connections can you draw between the existence of a limit and the conditions for continuity?
Solution.
In order for a function to be continuous, the limit must exist.
Example 1.8.3.
Use the graph to find the following:
The graph has some discontinuities; I’m not sure how to describe the graph without giving away the question.
  1. \(\displaystyle \ds \lim_{x\to 1^+} f(x)\)
  2. \(\displaystyle \ds \lim_{x\to 1^-} f(x)\)
  3. \(\displaystyle \ds \lim_{x\to 1} f(x)\)
  4. Is \(f\) continuous at \(x =1 \text{?}\)
  5. \(\displaystyle \ds \lim_{x\to 3^+} f(x)\)
  6. \(\displaystyle \ds \lim_{x\to 3^-} f(x)\)
  7. \(\displaystyle \ds \lim_{x\to 3} f(x)\)
  8. Is \(f\) continuous at \(x =3 \text{?}\)
  9. \(\displaystyle \ds \lim_{x\to 0^+} f(x)\)
  10. \(\displaystyle \ds \lim_{x\to 0^-} f(x)\)
  11. \(\displaystyle \ds \lim_{x\to 0} f(x)\)
  12. Is \(f\) continuous at \(x =0 \text{?}\)
Solution.
  1. \(\displaystyle \infty\)
  2. \(\displaystyle -2\)
  3. \(\displaystyle DNE\)
  4. No
  5. \(\displaystyle -3\)
  6. \(\displaystyle -3\)
  7. \(\displaystyle -3\)
  8. No
  9. \(\displaystyle -3\)
  10. \(\displaystyle -3\)
  11. \(\displaystyle -3\)
  12. Yes
Types of Discontinuities.
There are three kinds of discontinuities which we will encounter:
  • Vertical Asymptote
  • Jump Discontinuity
  • Removable Discontinuity
Example 1.8.4.
Sketch an example of each of the three kinds of discontinuities.
Definition 1.8.5. Continuity from the Right and Left.
A function \(f\) is said to be continuous from the right at input \(a\) if \(\ds \lim_{x\to a^+} f(x) = f(a)\text{,}\) and \(f\) is continuous from the left at input \(a\) if \(\ds \lim_{x\to a^-} f(x) = f(a)\text{.}\)

Subsection 1.8.2 Pre-Class Activities

Example 1.8.6.

Use the graph below to answer the following questions:
  1. State the numbers at which \(f\) is discontinuous, and classify each as a vertical asymptote, jump discontinuity, or removable discontinuity.
  2. For each of the numbers in (a), determine whether \(f\) is right-continuous, left-continuous, or neither.
  3. Use interval notation to write where \(f\) is continuous.
Solution.
  1. At \(x=-4\) we have a removable discontinuity; at \(x=-2\) and \(x=2\text{,}\) there are jump discontinuities; at \(x=4\) there is a vertical asymptote.
  2. At \(x=-4\) the function is left and right continuous; at \(x=-2\text{,}\) the function is left continuous; and \(x=2\text{,}\) the function is right continuous; at \(x=4\) the function is right continuous.
  3. \(\displaystyle (-\infty,-4)\cup(-4,-2)\cup(-2,2)\cup(2,4)\cup(4,\infty)\)

Example 1.8.7.

Sketch the graph of a function \(f\) that is continuous everywhere, but is:
  • Discontinuous at \(x = 5\)
  • Left-continuous at \(x = -1\)
  • Has a removable discontinuity at \(x = 3\)
Solution.
Answers vary

Subsection 1.8.3 In Class

Example 1.8.8.

Show that \([\![x]\!]\) is right-continuous, but not left-continuous at integer values.
Solution.
Let \(x=a\) be any integer. For right continuity, we need to show that \(\ds \lim_{x\to a^+} = f(a)\text{.}\) Note that \(\ds \lim_{x\to a^+} f(x) = a\text{,}\) and that \(f(a) = a\text{.}\) Thus, the function is right continuous. Similarly, for left continuity, we require \(\ds \lim_{x\to a^-} = f(a)\text{.}\) However, \(\ds \lim_{x\to a^-} = a-1\) and \(f(a) = a\text{;}\) thus, the function is not left continuous.

Example 1.8.9.

Show that the function \(f(x) = 3+\sqrt{1-x^2}\) is continuous on the interval \([-1,1]\text{.}\)
Solution.
We prove the claim in three steps: (1) show continuity at the left endpoint; (2) show continuity at the right endpoint; (3) show continuity on the interval \((-1,1)\text{.}\)
For continuity at \(x=-1\text{,}\) we need to show right continuity of the function at the point. For this to be true, \(\ds \lim_{x\to -1^+} f(x) = f(-1)\text{.}\) Then,
\begin{equation*} \ds \lim_{x\to -1^+} f(x)= \lim_{x\to -1^+} 3 + \sqrt{1-x^2} = 3 \end{equation*}
Since \(f(-1) = 3\text{,}\) the function is right continuous.
For continuity at \(x=1\text{,}\) we need to show left continuity of the function at the point. For this to be true, \(\ds \lim_{x\to 1} = f(1)\text{.}\) Then,
\begin{equation*} \ds \lim_{x\to 1^-} f(x)= \lim_{x\to 1^-} 3 + \sqrt{1-x^2} = 3 \end{equation*}
Since \(f(1) = 3\text{,}\) the function is left continuous.
For continuity on \((-1,1)\text{,}\) let \(a\in (-1,1)\) be arbitrary. For continuity, we need to show that \(\ds \lim_{x\to a} f(x) = f(a)\text{.}\) Then,
\begin{equation*} \ds \lim_{x\to a} f(x) = 3+\sqrt{1-a^2} \end{equation*}
Since \(f(a) = 3+\sqrt{1-a^2}\text{,}\) the function is continuous on \((-1,1)\text{,}\) and thus continuous on the interval \([-1,1]\text{.}\)

Subsubsection 1.8.3.1 Useful Results

Example 1.8.11.
Prove the first property of continuous functions.
Solution.
We want to show that \(\ds \lim_{x\to a}[f(x) \pm g(x)] = f(a) \pm g(a)\text{.}\) Since \(f(x)\) and \(g(x)\) are continuous, we know that \(\ds \lim_{x\to a} f(x) = f(a)\) and \(\ds \lim_{x\to a} g(x) = g(a)\text{.}\) Then,
\begin{equation*} \ds \lim_{x\to a} f(x) \pm \lim_{x\to a} g(x) = f(a) + g(a) \end{equation*}
By the sum/difference limit law from Section 1.6, we can rewrite the left hand side as
\begin{equation*} \ds \lim_{x\to a} [f(x) \pm g(x)] = f(a) + g(a) \end{equation*}
Which is what we wanted to show.
Question 1.8.12.
Can you prove the remaining 4 properties?
Solution.
The proofs run similarly to the previous Example 1.8.11, utilizing limit laws from Section 1.6.
Example 1.8.14.
Find the interval(s) on which the following functions are continuous
  1. \(\displaystyle f(x) = x^{67}-47.521x^{51}+719\)
  2. \(\displaystyle g(x) = \dfrac{x^2+2x+17}{x^2-1}\)
  3. \(\displaystyle h(x) = \sqrt{x} + \dfrac{x+1}{x-1} + \dfrac{x+1}{x^2+1}\)
  4. \(\displaystyle \cos\lrpar{\dfrac{1}{x}}\)
Solution.
  1. \(\displaystyle (-\infty,\infty)\)
  2. \(\displaystyle (-\infty,-1)\cup (-1,1)\cup (1,\infty)\)
  3. \(\displaystyle [0,1)\cup (1,\infty)\)
  4. \(\displaystyle (-\infty,0)\cup (0,\infty)\)

Subsubsection 1.8.3.2 The Intermediate Value Theorem

Here’s a sketch illustrating why the Intermediate Value Theorem is true:
The image shows a function which dips below the \(x-\)axis and rises back to a max, drops to a min, rises to a max again, then falls.  There is a line at some output \(N\) which shows the intersection of the function with the line \(y=4\text{.}\)  The function intersects the line at four points; \(c_1,c_2,c_3,c_4\text{.}\)  There is a dashed line from each intersection to the \(x-\)axis, with labels.
Question 1.8.16.
Why does a function need to be continuous in order to guarantee the conclusion of the Intermediate Value Theorem? Sketch a graph to support your idea.
Solution.
If the function is not continuous, \(f(a)\) is not guaranteed to exist or the limit may not exist.
This image shows a function which does not have input \(x=a\) in its domain, which means the output \(N\) is not in the range of the function.
This image shows a function with a jump discontinuity at \(x=a\text{,}\) which means the output \(N\) is not in the range of the function.
Example 1.8.17.
Show that the equation \(4x^3-6x^2+3x-2 = 0\) has a root between 1 and 2.
Solution.
Our strategy will be to (1) show that the IVT is applicable, and (2) show that the function switches from positive to negative. Because of continuity (and the images above), the function must pass through 0 at least once.
First, note that the IVT is applicable since \(f(x) = 4x^3-6x^2+3x-2\) is continuous as a polynomial.
Now, let \(N = 0\text{.}\) To show that \(f(x) = 0\text{,}\) we must know we pass through 0, i.e. we switch from positive to negative. Note that \(f(0) = -2\) and \(f(2) = 12\text{,}\) so we have our condition met.
Since \(f(0) = -2\) and \(f(2) = 12\text{,}\) by the IVT, we know that there exists at least one \(c\in (0,2)\) such that \(f(c) = 0\text{.}\)
Example 1.8.18.
For what value of the constant \(c\) is the function \(f\) continuous on \((-\infty,\infty)\text{?}\)
\begin{equation*} f(x) = \begin{cases} cx^2+2x \amp x \lt 2\\ x^3-cx \amp x\geq 2 \end{cases} \end{equation*}
Solution.
\(c=\dfrac{2}{3}\)

Subsection 1.8.4 After Class Activities

Example 1.8.19.

Use the graph below to answer the following questions:
  1. State the numbers at which \(f\) is discontinuous, and classify each as a vertical asymptote, jump discontinuity, or removable discontinuity.
  2. For each of the numbers in (a), determine whether \(f\) is right-continuous, left-continuous, or neither.
  3. Use interval notation to write where \(f\) is continuous.
Solution.
  1. At \(x=-2\text{,}\) the function has a removable discontinuity; at \(x=-1\text{,}\) the function has a vertical asymptote; at \(x=0\text{,}\) the function has a jump discontinuity; at \(x=1\text{,}\) the function has a jump discontinuity.
  2. At \(x=-2\text{,}\) the is left and right continuous; at \(x=-1\text{,}\) the function is neither left nor right continuous; at \(x=0\text{,}\) the function is left continuous; at \(x=1\text{,}\) the function is neither left nor right continuous.
  3. \(\displaystyle [-3,-2)\cup (-2,-1)\cup (-1,3]\)

Example 1.8.20.

Find the numbers at which \(g\) is discontinuous. At which of these numbers is \(f\) right-continuous, left-continuous, or neither?
\begin{equation*} g(x) = \begin{cases}x^2 + 1 \amp x \leq 1\\ 3-x \amp 1 \lt x \leq 4 \\ \sqrt{x} \amp x > 4 \end{cases} \end{equation*}
Solution.
The function is continuous at \(x=1\text{,}\) and only left continuous at \(x=4\text{.}\)

Example 1.8.21.

Find values of \(a\) and \(b\) that make \(f\) continuous everywhere.
\begin{equation*} f(x) = \begin{cases}\dfrac{x^2-4}{x-2} \amp x \lt 2 \\ ax^2 - bx + 3 \amp 2\leq x \lt 3 \\ 2x - a + b \amp x \geq 3 \end{cases} \end{equation*}
Solution.
\(a=\dfrac{1}{2},b=\dfrac{1}{2}\)

Example 1.8.22.

Suppose \(f\) and \(g\) are continuous function such that \(g(2) = 6\) and \(\ds \lim_{x\to 2} [3f(x) + f(x)g(x)] = 36\text{.}\) What is \(f(2)\text{?}\)
Solution.
\(f(2) = 4\)

Example 1.8.23.

Show that the equation \(\sqrt{x-5} = \dfrac{1}{x+3}\) has at least one real root.
Solution.
Set \(f(x) = \sqrt{x-5}-\dfrac{1}{x+3}\text{.}\) \(f(x)\) is continuous on \([5,\infty)\text{,}\) so its root (if it exists) must occur on that interval. Since \(f(5) = -\dfrac{1}{8}\) and \(f(6) = \dfrac{8}{9}\text{,}\) the function switches from positive to negative on \((5,6)\text{.}\) Since it is continuous on that interval, we may conclude that \(f(x) = 0\) at least once in \((5,6)\) by the IVT. Thus, the function has at least one real root.