How to Determine When a Function is Continuous Calculus Continuous Function

\(\newcommand{\dollar}{\$} \DeclareMathOperator{\erf}{erf} \DeclareMathOperator{\arctanh}{arctanh} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Motivating Questions
  • What does it mean to say that a function \(f\) is continuous at \(x = a\text{?}\)

  • What does it mean to say that a function \(f\) is continuous everywhere?

In this section we introduce the idea of a continuous function. Many of the results in calculus require that the functions be continuous, so having a strong understanding of continuous functions will be very important.

Subsection Being Continuous at a Point

Intuitively, a function is continuous if we can draw its graph without ever lifting our pencil from the page. Alternatively, we might say that the graph of a continuous function has no jumps or holes in it.

Figure 1.24Functions \(f\text{,}\) \(g\text{,}\) and \(h\) that demonstrate subtly different behaviors at \(a = 1\text{.}\)

First consider the function in the left-most graph in Figure1.24. Note that \(f(1)\) is not defined, which leads to the resulting hole in the graph of \(f\) at \(a = 1\text{.}\) If you were to draw the graph of \(f\) yourself then you would need to lift your pencil when you reached \(f(1)\text{.}\) We will naturally say that \(f\) is not continuous at \(a = 1\).

For the function \(g\) in Figure1.24, we observe that while \(g(1)\) is defined, the value of \(g(1) = 2\) is not what you would expect. Specifically, you would expect \(g(1)\) to be 3, not 2. Thus, to draw the graph of \(g\) you would need to lift your pencil at \(a=1\text{.}\) Again, we will say that \(g\) is not continuous at \(a=1\text{,}\) even though the function is defined at \(a = 1\text{.}\)

Finally, the function \(h\) in Figure1.24 appears to be the most well-behaved of all three, since at \(a = 1\) the function value is what you might expect it to be if you were to try and draw the graph of the function without lifting your pencil. In this case we would say that \(h\) is continuous at \(a=1\text{.}\)

The above examples demonstrate a discontinuity commonly know as a removable discontinuity. This is, however, not the only way in which a function can be discontinuous. Another type of discontinuity is the so-called jump discontinuity illustrated below in Figure1.25.

Figure 1.25Places where functions make a jump also produce discontinuities.

A third type of discontinuity is the so-called infinite discontinuity. Infinite discontinuities exist at points where the values of a function diverge to infinity. A classic example of an infinite discontinuity is the point \(x=0\) for the function \(\displaystyle f(x)=\frac{1}{x}\text{;}\) you can see the behavior of the infinite discontinuity in the graph of \(y=f(x)\) in Figure1.26.

Figure 1.26A plot of the function \(y=f(x)\) for the function \(f(x)=\displaystyle \frac{1}{x}\text{.}\)

Subsection Limits and Continuity

Using limits, we can formalize the idea of continuity. Let us start by re-examining our first example given in Figure1.24.

Consider the function in the left-most graph of Figure1.24. We noted that \(f(1)\) is not defined, or \(f(1)=DNE\text{,}\) thus \(f\) is not continuous at \(c = 1\). For the function \(g\text{,}\) we observe that while \(\displaystyle \lim_{x \to 1} g(x) = 3\text{,}\) the value of \(g(1)\) is \(2\text{,}\) and thus the limit does not equal the function value. Here, too, we will say that \(g\) is not continuous, even though the function is defined at \(c = 1\text{.}\) Finally, the function \(h\) appears to be the most well-behaved of all three, since at \(c = 1\) its limit and its function value agree. That is,

\begin{equation*} \lim_{x \to 1} h(x) = 3 = h(1)\text{.} \end{equation*}

With no hole or jump in the graph of \(h\) at \(c = 1\text{,}\) we say that \(h\) is continuous there.

In Figure1.25 we have what we called a jump discontinuity. Note that at the location of each jump:

\begin{equation*} \lim_{x\to c^-} y \neq \lim_{x\to c^+}y, \end{equation*}

thus at each point that the graph of had a jump the \(\displaystyle \lim_{x\to c} y=DNE.\)

Similarly in Figure1.26 we noted that the function was discontinuous at \(x=0\) again

\begin{equation*} \lim_{x\to 0^-} f(x) \neq \lim_{x\to 0^+}f(x), \end{equation*}

thus the \(\displaystyle \lim_{x\to 0} f(x)=DNE.\)

From these three examples we see that in order for a function to be continuous we need the limit to exist at the point. More formally, we make the following definition.

Continuous Function

A function \(f\) is continuous at \(x = c\) provided that

  1. \(f\) has a limit as \(x \to c\text{,}\)

  2. \(f\) is defined at \(x = c\text{,}\) and

  3. \(\lim_{x \to c} f(x) = f(c)\text{.}\)

Conditions (a) and (b) are technically contained implicitly in (c), but we state them explicitly to emphasize their individual importance. The definition says that a function is continuous at \(x = c\) provided that its limit as \(x \to c\) exists and equals its function value at \(x = c\text{.}\) Applying this definition to the types of discontinuities we have looked we can observe the following:

  • If the graph of a function has a hole at \(x=a\) then \(f(a)=DNE \text{.}\)
  • If the graph of a function has an asymptote at \(x=a\) then \(f(a)=DNE\) or \(\displaystyle\lim_{x \to a}f(x)=DNE\text{.}\)
  • If the graph of a function has an jump at \(x=a\) then \(\displaystyle\lim_{x\to a} f(x)=DNE\text{.}\)
  • If the graph of a function has a hole with a value at another y-value at \(x=a\) then \(\displaystyle\lim_{x \to a}f(x)\neq f(a)\text{.}\)
Continuous Function

A function is said to be continuous on an interval \([a,b]\) if the \(\displaystyle \lim_{x\to c}f(x)=f(c)\) at every point \(x=c\) on the interval. That is, the function has no points of discontinuity on that interval.

If a function is continuous at every point in an interval \([a,b]\text{,}\) we say the function is continuous on \([a,b]\text{.}\) If a function is continuous at every point in its domain, we simply say the function is continuous. Thus we note that continuous functions are particularly nice: to evaluate the limit of a continuous function at a point, all we need to do is evaluate the function.

For example, consider \(p(x) = x^2 - 2x + 3\text{.}\) It can be proved that every polynomial is a continuous function at every real number, and thus if we would like to know \(\displaystyle \lim_{x \to 2} p(x)\text{,}\) we simply compute

\begin{equation*} \lim_{x \to 2} (x^2 - 2x + 3) = 2^2 - 2 \cdot 2 + 3 = 3 = p(2)\text{.} \end{equation*}

This route of substituting an input value to evaluate a limit works whenever we know that the function being considered is continuous. Besides polynomial functions, all exponential functions and the sine and cosine functions are continuous at every point, as are many other familiar functions and combinations thereof.

Example 1.28

Consider the function

\begin{equation*} f(x)=\frac{3x(x+4)}{x^2-16}\text{.} \end{equation*}

Are there \(x\)-values where the function is discontinuous? If so, how do those \(x\)-values fail the limit definition of continuity?

Hint

Consider the graph of \(y=f(x)\text{.}\)

Figure 1.29A plot of the function \(y=f(x)\text{.}\)

Answer

\(f(x)\) is discontinuous at \(x=4, -4\text{.}\) At both points \(f(4)=DNE\) and \(f(-4)=DNE\text{.}\) Also \(\displaystyle \lim_{x\to4}f(x)=DNE\text{.}\)

Solution

We first consider a graph of \(y=f(x)\text{,}\) shown below.

Figure 1.30A plot of the function \(y=f(x)\text{.}\)

Visual inspection of the graph certainly indicates discontinuities. However, we can make our visual inspection more precise through a little algebra. We start by expanding the numerator and denominator of the function. Specifically, we have

\begin{equation*} f(x)=\frac{3x(x+4)}{x^2-16}=\frac{3x(x+4)}{(x+4)(x-4)}. \end{equation*}

From here we see that there are two \(x\)-values at which the function is undefined: at \(x=-4,4\text{,}\) that is \(f(x)=DNE\) at these points hence the function is not continuous.

Subsection Piecewise Functions

In many cases a simple function like \(f(x)=x^2\) may not fully describe the behavior of a phenomenon. In some of these cases we can turn to piecewise functions to give us the tools we need.

Example 1.32

Is the function \(f(x)\text{,}\) defined below, continuous at \(x=1\text{,}\) use the limit to argue your anwser

\begin{equation*} f(x) = \begin{cases} x +1 \amp \text{if } x\le 1\\ 3 \amp \text{if } x\gt 1 \end{cases}. \end{equation*}

Hint

Consider the graph of \(f(x)\)

piecewise function
Figure 1.33

Answer

The function \(f(x)\) is not continuous since the \(\displaystyle \lim_{x\to1}f(x)=DNE\text{.}\)

Solution

For a piecewise function we must examine the point where the function changes. To do so we will examine the right and left hand limits. Here we use the fact that to the left of 1, that is \(x\lt1\) the function is defined as \(f(x)=x+1\text{.}\) To the right of 1, that is \(x\gt 1\) the function is defined as \(f(x)=3\text{.}\) Thus:

\begin{equation*} \lim_{x \to 1^-} f(x)=\lim_{x \to 1^-} x+1=1+1=2\text{.} \end{equation*}

\begin{equation*} \lim_{x \to 1^+} f(x)=\lim_{x \to 1^+} 3=3\text{.} \end{equation*}

Since the two sides are not the same

\begin{equation*} \lim_{x \to 1} f(x)=DNE\text{.} \end{equation*}

So the function \(f(x)\) is not continuous at \(x=1\text{.}\)

The jumps that a piecewise function possesses make piecewise functions a natural place in which to explore continuity.

Example 1.34

Is the function \(h(x)\text{,}\) defined below, continuous for all values of \(x\text{?}\)

\begin{equation*} h(x)=\begin{cases} 4x^2 \amp \text{ if } x\leq 2 \\ 5x+6 \amp \text{ if } x\gt2 \end{cases} \end{equation*}

Hint

Consider the limit from the left and the limit from the right at \(x=2\text{.}\)

Answer

The function \(h(x)\) is continuous on the interval \((-\infty,\infty)\text{,}\) that is for all values of \(x\text{.}\)

Solution

For a piecewise function we must examine the point where the function changes. To do so we will examine the right and left hand limits. Here we use the fact that to the left of 2, that is \(x\lt2\) the function is defined as \(h(x)=4x^2\text{.}\) To the right of 2, that is \(x\gt 2\) the function is defined as \(h(x)=5x+6\text{.}\) Thus:

\begin{equation*} \lim_{x \to 2^-} h(x)=\lim_{x \to 2^-} 4x^2=4(2)^2=16\text{.} \end{equation*}

\begin{equation*} \lim_{x \to 2^+} h(x)=\lim_{x \to 2^+} 5x+6=5(2)+6=16\text{.} \end{equation*}

Since the two sides are the same

\begin{equation*} \lim_{x \to 2} h(x)=16\text{.} \end{equation*}

So the function \(h(x)\) is continuous at \(x=2\text{,}\) and since each piece is a polynomial this function is continuous on the interval \((-\infty,\infty)\text{,}\) that is for all values of \(x\text{.}\)

Not only can we ask questions about when a piecewise function is continuous but we can also ask questions about how to make a piecewise function continuous by varying parameters.

Example 1.35

Consider the piecewise function

\begin{equation*} D(x)=\begin{cases} 4x^2-k\amp\text{ if } x \lt 2,\\ kx+1\amp\text{ if } x \geq 2.\\ \end{cases} \end{equation*}

Find the value of \(k\) to make this function continuous for all \(x\text{.}\)

Hint

Consider the limit from the left and the limit from the right at \(x=2\text{.}\)

Answer

\(k=5\)

Solution

To determine a value of \(k\) to make \(D(x)\) continuous we will examine the right and left hand limits at \(x=2\text{.}\) Here we use the fact that to the left of 2, that is \(x\lt2\) the function is defined as \(D(x)=4x^2-k\text{.}\) To the right of 2, that is \(x\gt 2\) the function is defined as \(D(x)=kx+1\text{.}\) Thus:

\begin{equation*} \lim_{x \to 2^-} D(x)=\lim_{x \to 2^-} 4x^2-k=4(2)^2-k=16-k\text{.} \end{equation*}

\begin{equation*} \lim_{x \to 2^+} D(x)=\lim_{x \to 2^+} kx+1=k(2)+1=2k+1\text{.} \end{equation*}

In order for \(D(x)\) to be continuous need the two sides to be equal, thus set them equal and solve for \(k\text{.}\)

\begin{equation*} 16-k=2k+1\text{.} \end{equation*}

\begin{equation*} 15=3k\text{.} \end{equation*}

So the function \(D(x)\) is continuous at \(x=2\) when \(k=5\text{.}\)

Example 1.36

Determine if each of the functions below is continuous at \(x=2\text{.}\)

  1. \(f(x)=\ln(3-x)\text{.}\)
  2. \(g(x)=\frac{1}{x-2}\text{.}\)
  3. \(h(x)=\begin{cases} x^2+1\amp\text{ if } x \neq 2,\\ 3\amp\text{ if } x=2.\\ \end{cases}\)

Hint

Consider evaluating limits on each side and comparing that value to the value of the function at the point.

Answer

  1. \(f\) is continuous at \(x=2\text{.}\)
  2. \(g\) is not continuous at \(x=2\text{.}\)
  3. \(h\) is not continuous at \(x=2\text{.}\)

Solution

For each of these functions, we want to check that the limit exists at \(x=2\text{,}\) the function is defined at \(x=2\text{,}\) and these two values match.

  1. We can examine the graph of \(y=f(x)\) at \(x=2\) or examine function values nearby \(x=2\) on the left and right to find that \(\lim_{x\to 2} f(x)=0\text{.}\) Evaluating \(f(2)=\ln(3-2)=\ln(1)=0\text{.}\) Thus, \(\lim_{x\to2}f(x)=f(2)\text{,}\) and \(f\) is continuous at \(x=2\text{.}\)
  2. Notice that the graph of \(g\) has a vertical asymptote at \(x=2\text{,}\) so \(g(2)\) is undefined. Hence, \(g\) is not continuous at \(x=2\text{.}\)
  3. For values of \(x\) near 2 (from the left and right), we have \(h(x)\) getting close to 5. Therefore, \(\lim_{x\to2}h(x)=5\text{.}\) However, \(h(2)=3\text{.}\) Since \(\displaystyle \lim_{x\to2}h(x)\neq h(2)\text{,}\) \(h\) is not continuous at \(x=2\text{.}\)

Subsection Properties of Limits and Continuous Functions

There are several properties of limits and continuous functions that are useful to have in your toolbox. Specifically, limits and continuous functions behave well under typical mathematical operations. While these properties can be proven in detail, we proceed to only state the properties.

Properties of Limits

Assuming all the limits on the right-hand side exist:

  • If \(b\) is a constant, then \(\lim\limits_{x \rightarrow c} (bf(x))=b\left(\lim\limits_{x \rightarrow c} f(x) \right)\)
  • \(\lim\limits_{x \rightarrow c} \left( f(x)+g(x)\right)=\lim\limits_{x \rightarrow c} f(x)+\lim\limits_{x \rightarrow c}g(x)\)
  • \(\lim\limits_{x \rightarrow c} \left( f(x) \cdot g(x)\right)=\lim\limits_{x \rightarrow c} f(x)\cdot\lim\limits_{x \rightarrow c}g(x)\)
  • \(\lim\limits_{x \rightarrow c} \left(\frac{f(x)}{g(x)}\right)=\frac{\lim\limits_{x \rightarrow c} f(x)}{\lim\limits_{x \rightarrow c} g(x)}\text{,}\) provided \(\lim\limits_{x \rightarrow c} g(x) \neq 0\)
  • For any constant \(k\text{,}\) \(\lim\limits_{x \rightarrow c} k=k\)
  • \(\lim\limits_{x \rightarrow c} x=c\)
Example 1.37

We can use algebra to compute \(\lim\limits_{x \rightarrow 1} x^2(x^3+2).\) Specifically,

\begin{align*} \lim\limits_{x \rightarrow 1} x^2(x^3+2)\amp=\left(\lim\limits_{x \rightarrow 1} x^2\right)\left(\lim\limits_{x \rightarrow 1} (x^3+2)\right)\\ \amp=\left(\lim\limits_{x \rightarrow 1} x^2\right)\left(\lim\limits_{x \rightarrow 1} x^3+\lim\limits_{x \rightarrow 1}2\right)\\ \amp=1(1+2) \\ \amp=3. \end{align*}

Continuity of Sums, Products, and Quotients of Functions

Suppose that \(f\) and \(g\) are continuous on an interval and that \(b\) is a constant. Then, on that same interval,

  • \(bf(x)\) is continuous.
  • \(f(x) + g(x)\) is continuous.
  • \(f(x)g(x)\) is continuous.
  • \(\frac{f(x)}{g(x)}\) is continuous, provided \(g(x) \neq 0\) on the interval.
Continuity of Composite Functions

If \(f\) and \(g\) are continuous, and if the composite function \(f(g(x))\) is defined on an interval, then \(f(g(x))\) is continuous on that interval.

Subsection Summary of Limits and Continuity

The concepts discussed in the last two sections will be important in later sections. The following is a short summary of these sections and an example that ties together the concepts of limits and continuity.

  • For a function \(f\) defined on an interval around a number \(c\text{,}\)

    \begin{equation*} \lim_{x \rightarrow c} f(x)=L \end{equation*}

    means that the value of \(f(x)\) gets as close as we want to a number \(L\) whenever \(x\) is sufficiently close to \(c\text{,}\) assuming the value \(L\) exists.
  • We define a limit from the left and a limit from the right in the same way as above, while adding the stipulation that \(x\lt c\) for the left limit and \(x\gt c\) for the right limit. That is, as we move \(x\) sufficiently close to \(c\) from the left on a number line (\(x\lt c\)), \(f(x)\) gets as close to the limit value as we want. Similarly for the limit from the right.
  • The one-sided limits help to determine if a limit exists as \(x\) approaches a value \(c\text{.}\) More specifically, \(\lim_{x \rightarrow c} f(x)=L\) if and only if \(\displaystyle \lim_{x \rightarrow c^-} f(x)=L=\lim_{x \rightarrow c^+} f(x)\)
  • Limits also help us determine the continuity of a function at a point \(x=c\text{.}\) A function \(f\) that has a limit as \(x\rightarrow c\text{,}\) is defined at \(x=c\text{,}\) and \(\displaystyle \lim_{x\rightarrow c} f(x)=f(c)\) is continuous at \(x=c\text{.}\)
Example 1.38

In this example, we take a closer look at a function whose graph we previously encountered. For convenience, this graph is reproduced below in Figure1.39.

Figure 1.39The graph of \(y = f(x)\) for Example1.38.
  1. At which values of \(c\) does \(\displaystyle \lim_{x \to c} f(x)\) not exist?

  2. At which values of \(c\) is \(f(c)\) not defined?

  3. At which values of \(c\) does \(f\) have a limit, but \(\displaystyle \lim_{x \to c} f(x) \ne f(c)\text{?}\)

  4. State all values of \(c\) for which \(f\) is not continuous at \(x = c\text{.}\)

  5. Which condition is stronger, and hence implies the other: \(f\) has a limit at \(x = c\) or \(f\) is continuous at \(x = c\text{?}\) Explain, and hence complete the following sentence: If \(f\) at \(x = c\text{,}\) then \(f\) at \(x = c\text{,}\) where you complete the blanks with has a limit and is continuous, using each phrase once.

Hint

  1. Consider the left- and right-hand limits at each value.

  2. Carefully examine places on the graph where there's an open circle.

  3. Are there locations on the graph where the function has a limit but there's a hole in the graph?

  4. Remember that at least one of three conditions must fail: if the function lacks a limit, if the function is undefined, or if the limit exists but does not equal the function value, then \(f\) is not continuous at the point.

  5. Note that the definition of being continuous requires the limit to exist.

Answer

  1. \(c = -2\text{;}\) \(c = +2\text{.}\)

  2. \(c = 3\text{.}\)

  3. \(c = -1\text{;}\) \(c = 3\text{.}\)

  4. \(c=-2\text{;}\) \(c = 2\text{;}\) \(c = 3\text{;}\) \(c = -1\text{.}\)

  5. If \(f\) is continuous at \(x = c\text{,}\) then \(f\) has a limit at \(x = c\text{.}\)

Solution

  1. \(\lim_{x \to c} f(x)\) does not exist at \(c = -2\) since

    \begin{equation*} \lim_{x \to -2^-} f(x) = 2 \ne -1 = \lim_{x \to -2^+}\text{,} \end{equation*}

    and \(\lim_{x \to c} f(x)\) does not exist at \(c = 2\) since \(\lim_{x \to 2^+} f(x)\) does not exist due to the infinitely oscillatory behavior of \(f\text{.}\)

  2. The only point at which \(f\) is not defined is at \(c = 3\text{.}\)

  3. At \(c = -1\text{,}\) note that \(\lim_{x \to -1} f(x)\) exists (and appears to have value approximately \(-3.25\)), but \(f(-1) = 1\) and thus \(\lim_{x \to -1} f(x) \ne f(-1)\text{.}\) At \(c = 3\text{,}\) we have \(\lim_{x \to 3} f(x) = -2.5\text{,}\) but \(f(3)\) is not defined so the limit exists but does not equal the function value.

  4. Based on our work in (a), (b), and (c), \(f\) is not continuous at \(c=-2\) and \(c = 2\) because \(f\) does not have a limit at those points; \(f\) is not continuous at \(c = 3\) since \(f\) is not defined there; and \(f\) is not continuous at \(c = -1\) because at that point its limit does not equal its function value.

  5. If \(f\) is continuous at \(x = c\text{,}\) then \(f\) has a limit at \(x = c\text{,}\) since one of the defining properties of being continuous at \(x = c\) is that the function has a limit at that input value. This shows that being continuous is a stronger condition than having a limit.

Subsection Exercises

1 Types of discontinuity
2 Types of discontinuity
3 Types of discontinuity
4 Determining continuity from a graph
5 Determining continuity from a graph
6 Interpretting continuity
7 Values that make a function continuous
8 Values that make a function continuous
9 Values that make a function continuous

teecesairs1940.blogspot.com

Source: https://mathbooks.unl.edu/BCalculus/sec-1-4-cont-func.html

0 Response to "How to Determine When a Function is Continuous Calculus Continuous Function"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel