### Learning Objectives

- 2.4.1 Explain the three conditions for continuity at a point.
- 2.4.2 Describe three kinds of discontinuities.
- 2.4.3 Define continuity on an interval.
- 2.4.4 State the theorem for limits of composite functions.
- 2.4.5 Provide an example of the intermediate value theorem.

Many functions have the property that their graphs can be traced with a pencil without lifting the pencil from the page. Such functions are called *continuous*. Other functions have points at which a break in the graph occurs, but satisfy this property over intervals contained in their domains. They are continuous on these intervals and are said to have a *discontinuity at a point* where a break occurs.

We begin our investigation of continuity by exploring what it means for a function to have *continuity at a point*. Intuitively, a function is continuous at a particular point if there is no break in its graph at that point.

### Continuity at a Point

Before we look at a formal definition of what it means for a function to be continuous at a point, let’s consider various functions that fail to meet our intuitive notion of what it means to be continuous at a point. We then create a list of conditions that prevent such failures.

Our first function of interest is shown in Figure 2.32. We see that the graph of $f\left(x\right)$ has a hole at *a*. In fact, $f\left(a\right)$ is undefined. At the very least, for $f\left(x\right)$ to be continuous at *a*, we need the following condition:

However, as we see in Figure 2.33, this condition alone is insufficient to guarantee continuity at the point *a*. Although $f\left(a\right)$ is defined, the function has a gap at *a*. In this example, the gap exists because $\underset{x\to a}{\text{lim}}f\left(x\right)$ does not exist. We must add another condition for continuity at *a*—namely,

However, as we see in Figure 2.34, these two conditions by themselves do not guarantee continuity at a point. The function in this figure satisfies both of our first two conditions, but is still not continuous at *a*. We must add a third condition to our list:

Now we put our list of conditions together and form a definition of continuity at a point.

### Definition

A function $f\left(x\right)$ is continuous at a point *a* if and only if the following three conditions are satisfied:

- $f\left(a\right)$ is defined
- $\underset{x\to a}{\text{lim}}f\left(x\right)$ exists
- $\underset{x\to a}{\text{lim}}f\left(x\right)=f\left(a\right)$

A function is discontinuous at a point *a* if it fails to be continuous at *a*.

The following procedure can be used to analyze the continuity of a function at a point using this definition.

### Problem-Solving Strategy

#### Problem-Solving Strategy: Determining Continuity at a Point

- Check to see if $f\left(a\right)$ is defined. If $f\left(a\right)$ is undefined, we need go no further. The function is not continuous at
*a*. If $f\left(a\right)$ is defined, continue to step 2. - Compute $\underset{x\to a}{\text{lim}}f\left(x\right).$ In some cases, we may need to do this by first computing $\underset{x\to {a}^{-}}{\text{lim}}f\left(x\right)$ and $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right).$ If $\underset{x\to a}{\text{lim}}f\left(x\right)$ does not exist (that is, it is not a real number), then the function is not continuous at
*a*and the problem is solved. If $\underset{x\to a}{\text{lim}}f\left(x\right)$ exists, then continue to step 3. - Compare $f\left(a\right)$ and $\underset{x\to a}{\text{lim}}f\left(x\right).$ If $\underset{x\to a}{\text{lim}}f\left(x\right)\ne f\left(a\right),$ then the function is not continuous at
*a*. If $\underset{x\to a}{\text{lim}}f\left(x\right)=f\left(a\right),$ then the function is continuous at*a*.

The next three examples demonstrate how to apply this definition to determine whether a function is continuous at a given point. These examples illustrate situations in which each of the conditions for continuity in the definition succeed or fail.

### Example 2.26

#### Determining Continuity at a Point, Condition 1

Using the definition, determine whether the function $f\left(x\right)=({x}^{2}-4)\text{/}(x-2)$ is continuous at $x=2.$ Justify the conclusion.

#### Solution

Let’s begin by trying to calculate $f\left(2\right).$ We can see that $f\left(2\right)=0\text{/}0,$ which is undefined. Therefore, $f\left(x\right)=\frac{{x}^{2}-4}{x-2}$ is discontinuous at 2 because $f\left(2\right)$ is undefined. The graph of $f\left(x\right)$ is shown in Figure 2.35.

### Example 2.27

#### Determining Continuity at a Point, Condition 2

Using the definition, determine whether the function $f\left(x\right)=\{\begin{array}{ll}-{x}^{2}+4& \text{if}\phantom{\rule{0.2em}{0ex}}x\le 3\hfill \\ 4x-8& \text{if}\phantom{\rule{0.2em}{0ex}}x>3\hfill \end{array}$ is continuous at $x=3.$ Justify the conclusion.

#### Solution

Let’s begin by trying to calculate $f\left(3\right).$

Thus, $f\left(3\right)$ is defined. Next, we calculate $\underset{x\to 3}{\text{lim}}f\left(x\right).$ To do this, we must compute $\underset{x\to {3}^{-}}{\text{lim}}f\left(x\right)$ and $\underset{x\to {3}^{+}}{\text{lim}}f\left(x\right)\text{:}$

and

Therefore, $\underset{x\to 3}{\text{lim}}f\left(x\right)$ does not exist. Thus, $f\left(x\right)$ is not continuous at 3. The graph of $f\left(x\right)$ is shown in Figure 2.36.

### Example 2.28

#### Determining Continuity at a Point, Condition 3

Using the definition, determine whether the function $f\left(x\right)=\{\begin{array}{ll}\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}x}{x}\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}x\ne 0\hfill \\ \hfill 1& \text{if}\phantom{\rule{0.2em}{0ex}}x=0\hfill \end{array}$ is continuous at $x=0.$

#### Solution

First, observe that

Next,

Last, compare $f\left(0\right)$ and $\underset{x\to 1}{\text{lim}}f\left(x\right).$ We see that

Since all three of the conditions in the definition of continuity are satisfied, $f\left(x\right)$ is continuous at $x=0.$

### Checkpoint 2.21

Using the definition, determine whether the function $f\left(x\right)=\{\begin{array}{cc}2x+1\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}x<1\hfill \\ \hfill 2& \text{if}\phantom{\rule{0.2em}{0ex}}x=1\hfill \\ -x+4\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}x>1\hfill \end{array}$ is continuous at $x=1.$ If the function is not continuous at 1, indicate the condition for continuity at a point that fails to hold.

By applying the definition of continuity and previously established theorems concerning the evaluation of limits, we can state the following theorem.

### Theorem 2.8

#### Continuity of Polynomials and Rational Functions

Polynomials and rational functions are continuous at every point in their domains.

#### Proof

Previously, we showed that if $p\left(x\right)$ and $q\left(x\right)$ are polynomials, $\underset{x\to a}{\text{lim}}p\left(x\right)=p\left(a\right)$ for every polynomial $p\left(x\right)$ and $\underset{x\to a}{\text{lim}}\frac{p\left(x\right)}{q\left(x\right)}=\frac{p\left(a\right)}{q\left(a\right)}$ as long as $q\left(a\right)\ne 0.$ Therefore, polynomials and rational functions are continuous on their domains.

□

We now apply Continuity of Polynomials and Rational Functions to determine the points at which a given rational function is continuous.

### Example 2.29

#### Continuity of a Rational Function

For what values of *x* is $f\left(x\right)=\frac{x+1}{x-5}$ continuous?

#### Solution

The rational function $f\left(x\right)=\frac{x+1}{x-5}$ is continuous for every value of *x* except $x=5.$

### Checkpoint 2.22

For what values of *x* is $f\left(x\right)=3{x}^{4}-4{x}^{2}$ continuous?

### Types of Discontinuities

As we have seen in Example 2.26 and Example 2.27, discontinuities take on several different appearances. We classify the types of discontinuities we have seen thus far as removable discontinuities, infinite discontinuities, or jump discontinuities. Intuitively, a removable discontinuity is a discontinuity for which there is a hole in the graph, a jump discontinuity is a noninfinite discontinuity for which the sections of the function do not meet up, and an infinite discontinuity is a discontinuity located at a vertical asymptote. Figure 2.37 illustrates the differences in these types of discontinuities. Although these terms provide a handy way of describing three common types of discontinuities, keep in mind that not all discontinuities fit neatly into these categories.

These three discontinuities are formally defined as follows:

### Definition

If $f\left(x\right)$ is discontinuous at *a*, then

- $f$ has a
**removable discontinuity**at*a*if $\underset{x\to a}{\text{lim}}f\left(x\right)$ exists. (Note: When we state that $\underset{x\to a}{\text{lim}}f\left(x\right)$ exists, we mean that $\underset{x\to a}{\text{lim}}f\left(x\right)=L,$ where*L*is a real number.) - $f$ has a
**jump discontinuity**at*a*if $\underset{x\to {a}^{-}}{\text{lim}}f\left(x\right)$ and $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right)$ both exist, but $\underset{x\to {a}^{-}}{\text{lim}}f\left(x\right)\ne \underset{x\to {a}^{+}}{\text{lim}}f\left(x\right).$ (Note: When we state that $\underset{x\to {a}^{-}}{\text{lim}}f\left(x\right)$ and $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right)$ both exist, we mean that both are real-valued and that neither take on the values ±∞.) - $f$ has an
**infinite discontinuity**at*a*if $\underset{x\to {a}^{-}}{\text{lim}}f\left(x\right)=\text{\xb1}\infty $ and/or $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right)=\text{\xb1}\infty .$

### Example 2.30

#### Classifying a Discontinuity

In Example 2.26, we showed that $f\left(x\right)=\frac{{x}^{2}-4}{x-2}$ is discontinuous at $x=2.$ Classify this discontinuity as removable, jump, or infinite.

#### Solution

To classify the discontinuity at 2 we must evaluate $\underset{x\to 2}{\text{lim}}f\left(x\right)\text{:}$

Since *f* is discontinuous at 2 and $\underset{x\to 2}{\text{lim}}f\left(x\right)$ exists, *f* has a removable discontinuity at $x=2.$

### Example 2.31

#### Classifying a Discontinuity

In Example 2.27, we showed that $f\left(x\right)=\{\begin{array}{cc}-{x}^{2}+4& \text{if}\phantom{\rule{0.2em}{0ex}}x\le 3\hfill \\ 4x-8& \text{if}\phantom{\rule{0.2em}{0ex}}x>3\hfill \end{array}$ is discontinuous at $x=3.$ Classify this discontinuity as removable, jump, or infinite.

#### Solution

Earlier, we showed that *f* is discontinuous at 3 because $\underset{x\to 3}{\text{lim}}f\left(x\right)$ does not exist. However, since $\underset{x\to {3}^{-}}{\text{lim}}f\left(x\right)=\mathrm{-5}$ and $\underset{x\to {3}^{+}}{\text{lim}}f\left(x\right)=4$ both exist, we conclude that the function has a jump discontinuity at 3.

### Example 2.32

#### Classifying a Discontinuity

Determine whether $f\left(x\right)=\frac{x+2}{x+1}$ is continuous at −1. If the function is discontinuous at −1, classify the discontinuity as removable, jump, or infinite.

#### Solution

The function value $f\left(\mathrm{-1}\right)$ is undefined. Therefore, the function is not continuous at −1. To determine the type of discontinuity, we must determine the limit at −1. We see that $\underset{x\to {\mathrm{-1}}^{-}}{\text{lim}}\frac{x+2}{x+1}=\text{\u2212}\infty $ and $\underset{x\to {\mathrm{-1}}^{+}}{\text{lim}}\frac{x+2}{x+1}=\text{+}\infty .$ Therefore, the function has an infinite discontinuity at −1.

### Checkpoint 2.23

For $f\left(x\right)=\{\begin{array}{cc}{x}^{2}\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}x\ne 1\hfill \\ \hfill 3& \text{if}\phantom{\rule{0.2em}{0ex}}x=1\hfill \end{array},$ decide whether *f* is continuous at 1. If *f* is not continuous at 1, classify the discontinuity as removable, jump, or infinite.

### Continuity over an Interval

Now that we have explored the concept of continuity at a point, we extend that idea to continuity over an interval. As we develop this idea for different types of intervals, it may be useful to keep in mind the intuitive idea that a function is continuous over an interval if we can use a pencil to trace the function between any two points in the interval without lifting the pencil from the paper. In preparation for defining continuity on an interval, we begin by looking at the definition of what it means for a function to be continuous from the right at a point and continuous from the left at a point.

### Continuity from the Right and from the Left

A function $f\left(x\right)$ is said to be continuous from the right at *a* if $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right)=f\left(a\right).$

A function $f\left(x\right)$ is said to be continuous from the left at *a* if $\underset{x\to {a}^{-}}{\text{lim}}f\left(x\right)=f\left(a\right).$

A function is continuous over an open interval if it is continuous at every point in the interval. A function $f\left(x\right)$ is continuous over a closed interval of the form $\left[a,b\right]$ if it is continuous at every point in $\left(a,b\right)$ and is continuous from the right at *a* and is continuous from the left at *b*. Analogously, a function $f\left(x\right)$ is continuous over an interval of the form $\left(a,b\right]$ if it is continuous over $\left(a,b\right)$ and is continuous from the left at *b*. Continuity over other types of intervals are defined in a similar fashion.

Requiring that $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right)=f\left(a\right)$ and $\underset{x\to {b}^{-}}{\text{lim}}f\left(x\right)=f\left(b\right)$ ensures that we can trace the graph of the function from the point $\left(a,f\left(a\right)\right)$ to the point $\left(b,f\left(b\right)\right)$ without lifting the pencil. If, for example, $\underset{x\to {a}^{+}}{\text{lim}}f\left(x\right)\ne f\left(a\right),$ we would need to lift our pencil to jump from $f\left(a\right)$ to the graph of the rest of the function over $\left(a,b\right].$

### Example 2.33

#### Continuity on an Interval

State the interval(s) over which the function $f\left(x\right)=\frac{x-1}{{x}^{2}+2x}$ is continuous.

#### Solution

Since $f\left(x\right)=\frac{x-1}{{x}^{2}+2x}$ is a rational function, it is continuous at every point in its domain. The domain of $f\left(x\right)$ is the set $\left(\text{\u2212}\infty ,\mathrm{-2}\right)\cup \left(\mathrm{-2},0\right)\cup \left(0,\text{+}\infty \right).$ Thus, $f\left(x\right)$ is continuous over each of the intervals $\left(\text{\u2212}\infty ,\mathrm{-2}\right),\left(\mathrm{-2},0\right),$ and $\left(0,\text{+}\infty \right).$

### Example 2.34

#### Continuity over an Interval

State the interval(s) over which the function $f(x)=\sqrt{4-{x}^{2}}$ is continuous.

#### Solution

From the limit laws, we know that $\underset{x\to a}{\text{lim}}\sqrt[]{4-{x}^{2}}=\sqrt{4-{a}^{2}}$ for all values of *a* in $\left(\mathrm{-2},2\right).$ We also know that $\underset{x\to {\mathrm{-2}}^{+}}{\text{lim}}\sqrt{4-{x}^{2}}=0$ exists and $\underset{x\to {2}^{-}}{\text{lim}}\sqrt{4-{x}^{2}}=0$ exists. Therefore, $f\left(x\right)$ is continuous over the interval $\left[\mathrm{-2},2\right].$

### Checkpoint 2.24

State the interval(s) over which the function $f\left(x\right)=\sqrt{x+3}$ is continuous.

The Composite Function Theorem allows us to expand our ability to compute limits. In particular, this theorem ultimately allows us to demonstrate that trigonometric functions are continuous over their domains.

### Theorem 2.9

#### Composite Function Theorem

If $f\left(x\right)$ is continuous at *L* and $\underset{x\to a}{\text{lim}}\phantom{\rule{0.8em}{0ex}}g\left(x\right)=L,$ then

Before we move on to Example 2.35, recall that earlier, in the section on limit laws, we showed $\underset{x\to 0}{\text{lim}}\phantom{\rule{0.8em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}x=1=\text{cos}\phantom{\rule{0.1em}{0ex}}\left(0\right).$ Consequently, we know that $f\left(x\right)=\text{cos}\phantom{\rule{0.1em}{0ex}}x$ is continuous at 0. In Example 2.35 we see how to combine this result with the composite function theorem.

### Example 2.35

#### Limit of a Composite Cosine Function

Evaluate $\underset{x\to \pi \text{/}2}{\text{lim}}\text{cos}\phantom{\rule{0.1em}{0ex}}\left(x-\frac{\pi}{2}\right).$

#### Solution

The given function is a composite of $\text{cos}\phantom{\rule{0.1em}{0ex}}x$ and $x-\frac{\pi}{2}.$ Since $\underset{x\to \pi \text{/}2}{\text{lim}}\left(x-\frac{\pi}{2}\right)=0$ and $\text{cos}\phantom{\rule{0.1em}{0ex}}x$ is continuous at 0, we may apply the composite function theorem. Thus,

### Checkpoint 2.25

Evaluate $\underset{x\to \pi}{\text{lim}}\text{sin}\phantom{\rule{0.1em}{0ex}}\left(x-\pi \right).$

The proof of the next theorem uses the composite function theorem as well as the continuity of $f\left(x\right)=\text{sin}\phantom{\rule{0.1em}{0ex}}x$ and $g\left(x\right)=\text{cos}\phantom{\rule{0.1em}{0ex}}x$ at the point 0 to show that trigonometric functions are continuous over their entire domains.

### Theorem 2.10

#### Continuity of Trigonometric Functions

Trigonometric functions are continuous over their entire domains.

### Proof

We begin by demonstrating that $\text{cos}\phantom{\rule{0.1em}{0ex}}x$ is continuous at every real number. To do this, we must show that $\underset{x\to a}{\text{lim}}\text{cos}\phantom{\rule{0.1em}{0ex}}x=\text{cos}\phantom{\rule{0.1em}{0ex}}a$ for all values of *a*.

$\begin{array}{ccccc}\underset{x\to a}{\text{lim}}\text{cos}\phantom{\rule{0.1em}{0ex}}x\hfill & =\underset{x\to a}{\text{lim}}\text{cos}\phantom{\rule{0.1em}{0ex}}\left(\left(x-a\right)+a\right)\hfill & & & \text{rewrite}\phantom{\rule{0.2em}{0ex}}x=x-a+a\hfill \\ & =\underset{x\to a}{\text{lim}}\left(\text{cos}\phantom{\rule{0.1em}{0ex}}\left(x-a\right)\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}a-\text{sin}\phantom{\rule{0.1em}{0ex}}\left(x-a\right)\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}a\right)\hfill & & & \text{apply the identity for the cosine of the sum of two angles}\hfill \\ & =\text{cos}\phantom{\rule{0.1em}{0ex}}\left(\underset{x\to a}{\text{lim}}\left(x-a\right)\right)\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}a-\text{sin}\phantom{\rule{0.1em}{0ex}}\left(\underset{x\to a}{\text{lim}}\left(x-a\right)\right)\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}a\hfill & & & \underset{x\to a}{\text{lim}}\left(x-a\right)=0,\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{are continuous at 0}\hfill \\ & =\text{cos}\phantom{\rule{0.1em}{0ex}}\left(0\right)\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}a-\text{sin}\phantom{\rule{0.1em}{0ex}}\left(0\right)\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}a\hfill & & & \text{evaluate cos(0) and sin(0) and simplify}\hfill \\ & =1\xb7\text{cos}\phantom{\rule{0.1em}{0ex}}a-0\xb7\text{sin}\phantom{\rule{0.1em}{0ex}}a=\text{cos}\phantom{\rule{0.1em}{0ex}}a.\hfill \end{array}$

The proof that $\text{sin}\phantom{\rule{0.1em}{0ex}}x$ is continuous at every real number is analogous. Because the remaining trigonometric functions may be expressed in terms of $\text{sin}\phantom{\rule{0.1em}{0ex}}x$ and $\text{cos}\phantom{\rule{0.1em}{0ex}}x,$ their continuity follows from the quotient limit law.

□

As you can see, the composite function theorem is invaluable in demonstrating the continuity of trigonometric functions. As we continue our study of calculus, we revisit this theorem many times.

### The Intermediate Value Theorem

Functions that are continuous over intervals of the form $\left[a,b\right],$ where *a* and *b* are real numbers, exhibit many useful properties. Throughout our study of calculus, we will encounter many powerful theorems concerning such functions. The first of these theorems is the Intermediate Value Theorem.

### Theorem 2.11

#### The Intermediate Value Theorem

Let *f* be continuous over a closed, bounded interval $\left[a,b\right].$ If *z* is any real number between $f\left(a\right)$ and $f\left(b\right),$ then there is a number *c* in $\left[a,b\right]$ satisfying $f\left(c\right)=z$ in Figure 2.38.

### Example 2.36

#### Application of the Intermediate Value Theorem

Show that $f\left(x\right)=x-\text{cos}\phantom{\rule{0.1em}{0ex}}x$ has at least one zero.

#### Solution

Since $f\left(x\right)=x-\text{cos}\phantom{\rule{0.1em}{0ex}}x$ is continuous over $\left(\text{\u2212}\infty ,\text{+}\infty \right),$ it is continuous over any closed interval of the form $\left[a,b\right].$ If you can find an interval $\left[a,b\right]$ such that $f\left(a\right)$ and $f\left(b\right)$ have opposite signs, you can use the Intermediate Value Theorem to conclude there must be a real number *c* in $\left(a,b\right)$ that satisfies $f\left(c\right)=0.$ Note that

and

Using the Intermediate Value Theorem, we can see that there must be a real number *c* in $\left[0,\pi \text{/}2\right]$ that satisfies $f\left(c\right)=0.$ Therefore, $f\left(x\right)=x-\text{cos}\phantom{\rule{0.1em}{0ex}}x$ has at least one zero.

### Example 2.37

#### When Can You Apply the Intermediate Value Theorem?

If $f\left(x\right)$ is continuous over $\left[0,2\right],f\left(0\right)>0$ and $f\left(2\right)>0,$ can we use the Intermediate Value Theorem to conclude that $f\left(x\right)$ has no zeros in the interval $[0,2\text{]?}$ Explain.

#### Solution

No. The Intermediate Value Theorem only allows us to conclude that we can find a value between $f\left(0\right)$ and $f\left(2\right);$ it doesn’t allow us to conclude that we can’t find other values. To see this more clearly, consider the function $f\left(x\right)={\left(x-1\right)}^{2}.$ It satisfies $f\left(0\right)=1>0,f\left(2\right)=1>0,$ and $f\left(1\right)=0.$

### Example 2.38

#### When Can You Apply the Intermediate Value Theorem?

For $f\left(x\right)=1\text{/}x,f\left(\mathrm{-1}\right)=\mathrm{-1}<0$ and $f\left(1\right)=1>0.$ Can we conclude that $f\left(x\right)$ has a zero in the interval $\left[\mathrm{-1},1\right]?$

#### Solution

No. The function is not continuous over $\left[\mathrm{-1},1\right].$ The Intermediate Value Theorem does not apply here.

### Checkpoint 2.26

Show that $f\left(x\right)={x}^{3}-{x}^{2}-3x+1$ has a zero over the interval $\left[0,1\right].$

### Section 2.4 Exercises

For the following exercises, determine the point(s), if any, at which each function is discontinuous. Classify any discontinuity as jump, removable, infinite, or other.

$f\left(x\right)=\frac{2}{{x}^{2}+1}$

$g\left(t\right)={t}^{\mathrm{-1}}+1$

$f\left(x\right)=\frac{\left|x-2\right|}{x-2}$

$f\left(t\right)=\frac{t+3}{{t}^{2}+5t+6}$

For the following exercises, decide if the function continuous at the given point. If it is discontinuous, what type of discontinuity is it?

$h\left(\theta \right)=\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}\theta -\text{cos}\phantom{\rule{0.1em}{0ex}}\theta}{\text{tan}\phantom{\rule{0.1em}{0ex}}\theta}$ at $\theta =\pi $

$g\left(u\right)=\{\begin{array}{ll}\frac{6{u}^{2}+u-2}{2u-1}& \text{if}\phantom{\rule{0.2em}{0ex}}u\ne \frac{1}{2}\hfill \\ \frac{7}{2}\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}u=\frac{1}{2}\hfill \end{array},$ at $u=\frac{1}{2}$

$f\left(y\right)=\frac{\text{sin}\phantom{\rule{0.1em}{0ex}}\left(\pi y\right)}{\text{tan}\phantom{\rule{0.1em}{0ex}}\left(\pi y\right)},$ at $y=1$

$f\left(x\right)=\{\begin{array}{ll}{x}^{2}-{e}^{x}& \text{if}\phantom{\rule{0.2em}{0ex}}x<0\hfill \\ x-1& \text{if}\phantom{\rule{0.2em}{0ex}}x\ge 0\hfill \end{array},$ at $x=0$

$f\left(x\right)=\{\begin{array}{l}x\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}\left(x\right)\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}x\le \pi \\ x\phantom{\rule{0.1em}{0ex}}\text{tan}\phantom{\rule{0.1em}{0ex}}\left(x\right)\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}x>\pi \end{array},$ at $x=\pi $

In the following exercises, find the value(s) of *k* that makes each function continuous over the given interval.

$f\left(x\right)=\{\begin{array}{cc}3x+2,\hfill & x<k\hfill \\ 2x-3,\hfill & k\le x\le 8\hfill \end{array}$

$f\left(\theta \right)=\{\begin{array}{ll}\hfill \text{sin}\phantom{\rule{0.1em}{0ex}}\theta ,& 0\le \theta <\frac{\pi}{2}\hfill \\ \text{cos}\phantom{\rule{0.1em}{0ex}}\left(\theta +k\right),\hfill & \frac{\pi}{2}\le \theta \le \pi \hfill \end{array}$

$f\left(x\right)=\{\begin{array}{cc}\frac{{x}^{2}+3x+2}{x+2},\hfill & x\ne -2\hfill \\ \hfill k,& x=\mathrm{-2}\hfill \end{array}$

$f\left(x\right)=\{\begin{array}{cc}\hfill {e}^{kx},& 0\le x<4\hfill \\ x+3,\hfill & 4\le x\le 8\hfill \end{array}$

$f\left(x\right)=\{\begin{array}{cc}\hfill \sqrt{kx},& 0\le x\le 3\hfill \\ x+1,\hfill & 3<x\le 10\hfill \end{array}$

In the following exercises, use the Intermediate Value Theorem (IVT).

Let $h\left(x\right)=\{\begin{array}{ll}3{x}^{2}-4,& x\le 2\hfill \\ 5+4x,& x>2\hfill \end{array}$ Over the interval $\left[0,4\right],$ there is no value of *x* such that $h\left(x\right)=10,$ although $h\left(0\right)<10$ and $h\left(4\right)>10.$ Explain why this does not contradict the IVT.

A particle moving along a line has at each time *t* a position function $s\left(t\right),$ which is continuous. Assume $s\left(2\right)=5$ and $s\left(5\right)=2.$ Another particle moves such that its position is given by $h\left(t\right)=s\left(t\right)-t.$ Explain why there must be a value *c* for $2<c<5$ such that $h\left(c\right)=0.$

**[T]** Use the statement “The cosine of *t* is equal to *t* cubed.”

- Write a mathematical equation of the statement.
- Prove that the equation in part a. has at least one real solution.
- Use a calculator to find an interval of length 0.01 that contains a solution.

Apply the IVT to determine whether ${2}^{x}={x}^{3}$ has a solution in one of the intervals $\left[1.25,1.375\right]$ or $\left[1.375,1.5\right].$ Briefly explain your response for each interval.

Consider the graph of the function $y=f\left(x\right)$ shown in the following graph.

- Find all values for which the function is discontinuous.
- For each value in part a., state why the formal definition of continuity does not apply.
- Classify each discontinuity as either jump, removable, or infinite.

Let $f\left(x\right)=\{\begin{array}{c}3x,x>1\\ {x}^{3},x<1\end{array}.$

- Sketch the graph of
*f*. - Is it possible to find a value
*k*such that $f\left(1\right)=k,$ which makes $f\left(x\right)$ continuous for all real numbers? Briefly explain.

Let $f\left(x\right)=\frac{{x}^{4}-1}{{x}^{2}-1}$ for $x\ne -1,1.$

- Sketch the graph of
*f*. - Is it possible to find values ${k}_{1}$ and ${k}_{2}$ such that $f\left(\mathrm{-1}\right)={k}_{1}$ and $f\left(1\right)={k}_{2},$ and that makes $f\left(x\right)$ continuous for all real numbers? Briefly explain.

Sketch the graph of the function $y=f\left(x\right)$ with properties i. through vi.

- The domain of
*f*is $\left(\text{\u2212}\infty ,\text{+}\infty \right).$ *f*has an infinite discontinuity at $x=\mathrm{-6}.$- $f\left(\mathrm{-6}\right)=3$
- $\underset{x\to {\mathrm{-3}}^{-}}{\text{lim}}f\left(x\right)=\underset{x\to {\mathrm{-3}}^{+}}{\text{lim}}f\left(x\right)=2$
- $f\left(\mathrm{-3}\right)=3$
*f*is left continuous but not right continuous at $x=3.$- $\underset{x\to -\infty}{\text{lim}}f\left(x\right)=\text{\u2212}\infty $ and $\underset{x\to +\infty}{\text{lim}}f\left(x\right)=\text{+}\infty $

Sketch the graph of the function $y=f\left(x\right)$ with properties i. through iv.

- The domain of
*f*is $\left[0,5\right].$ - $\underset{x\to {1}^{+}}{\text{lim}}f\left(x\right)$ and $\underset{x\to {1}^{-}}{\text{lim}}f\left(x\right)$ exist and are equal.
- $f\left(x\right)$ is left continuous but not continuous at $x=2,$ and right continuous but not continuous at $x=3.$
- $f\left(x\right)$ has a removable discontinuity at $x=1,$ a jump discontinuity at $x=2,$ and the following limits hold: $\underset{x\to {3}^{-}}{\text{lim}}f\left(x\right)=\text{\u2212}\infty $ and $\underset{x\to {3}^{+}}{\text{lim}}f\left(x\right)=2.$

In the following exercises, suppose $y=f\left(x\right)$ is defined for all *x*. For each description, sketch a graph with the indicated property.

Discontinuous at $x=1$ with $\underset{x\to \mathrm{-1}}{\text{lim}}f\left(x\right)=\mathrm{-1}$ and $\underset{x\to 2}{\text{lim}}f\left(x\right)=4$

Discontinuous at $x=2$ but continuous elsewhere with $\underset{x\to 0}{\text{lim}}f\left(x\right)=\frac{1}{2}$

Determine whether each of the given statements is true. Justify your response with an explanation or counterexample.

If the left- and right-hand limits of $f\left(x\right)$ as $x\to a$ exist and are equal, then *f* cannot be discontinuous at $x=a.$

According to the IVT, $\text{cos}\phantom{\rule{0.1em}{0ex}}x-\text{sin}\phantom{\rule{0.1em}{0ex}}x-x=2$ has a solution over the interval $\left[\mathrm{-1},1\right].$

If $f\left(x\right)$ is continuous such that $f\left(a\right)$ and $f\left(b\right)$ have opposite signs, then $f\left(x\right)=0$ has exactly one solution in $\left[a,b\right].$

The function $f\left(x\right)=\frac{{x}^{2}-4x+3}{{x}^{2}-1}$ is continuous over the interval $\left[0,3\right].$

If $f\left(x\right)$ is continuous everywhere and $f\left(a\right),f\left(b\right)>0,$ then there is no root of $f\left(x\right)$ in the interval $\left[a,b\right].$

**[T]** The following problems consider the scalar form of Coulomb’s law, which describes the electrostatic force between two point charges, such as electrons. It is given by the equation $F\left(r\right)={k}_{e}\frac{\left|{q}_{1}{q}_{2}\right|}{{r}^{2}},$ where ${k}_{e}$ is Coulomb’s constant, ${q}_{i}$ are the magnitudes of the charges of the two particles, and *r* is the distance between the two particles.

To simplify the calculation of a model with many interacting particles, after some threshold value $r=R,$ we approximate *F* as zero.

- Explain the physical reasoning behind this assumption.
- What is the force equation?
- Evaluate the force
*F*using both Coulomb’s law and our approximation, assuming two protons with a charge magnitude of $1.6022\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{\mathrm{-19}}\phantom{\rule{0.2em}{0ex}}\text{coulombs (C)},$ and the Coulomb constant ${k}_{e}=8.988\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{9}{\text{Nm}}^{2}\text{/}{\text{C}}^{2}$ are 1 m apart. Also, assume $R<1\phantom{\rule{0.2em}{0ex}}\text{m}.$ How much inaccuracy does our approximation generate? Is our approximation reasonable? - Is there any finite value of
*R*for which this system remains continuous at*R*?

Instead of making the force 0 at *R*, instead we let the force be 10^{−20} for $r\ge R.$ Assume two protons, which have a magnitude of charge $1.6022\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{\mathrm{-19}}\phantom{\rule{0.2em}{0ex}}\text{C},$ and the Coulomb constant ${k}_{e}=8.988\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{9}{\text{Nm}}^{2}\text{/}{\text{C}}^{2}.$ Is there a value *R* that can make this system continuous? If so, find it.

Recall the discussion on spacecraft from the chapter opener. The following problems consider a rocket launch from Earth’s surface. The force of gravity on the rocket is given by $F\left(d\right)=-mk\text{/}{d}^{2},$ where *m* is the mass of the rocket, *d* is the distance of the rocket from the center of Earth, and *k* is a constant.

**[T]** Determine the value and units of *k* given that the mass of the rocket is 3 million kg. (*Hint*: The distance from the center of Earth to its surface is 6378 km.)

**[T]** After a certain distance *D* has passed, the gravitational effect of Earth becomes quite negligible, so we can approximate the force function by $F\left(d\right)=\{\begin{array}{ll}-\frac{mk}{{d}^{2}}\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}d<D\hfill \\ \mathrm{10,000}\hfill & \text{if}\phantom{\rule{0.2em}{0ex}}d\ge D\hfill \end{array}.$ Using the value of k found in the previous exercise, find the necessary condition *D* such that the force function remains continuous.

As the rocket travels away from Earth’s surface, there is a distance *D* where the rocket sheds some of its mass, since it no longer needs the excess fuel storage. We can write this function as $F\left(d\right)=\{\begin{array}{l}-\frac{{m}_{1}k}{{d}^{2}}\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}d<D\hfill \\ -\frac{{m}_{2}k}{{d}^{2}}\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}d\ge D\hfill \end{array}.$ Is there a *D* value such that this function is continuous, assuming ${m}_{1}\ne {m}_{2}?$

Prove the following functions are continuous everywhere

$g\left(x\right)=\left|x\right|$

Where is $f\left(x\right)=\{\begin{array}{l}0\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{is irrational}\\ 1\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{is rational}\end{array}$ continuous?