The Limit of a Function

Site: Saylor Academy
Course: MA005: Calculus I
Book: The Limit of a Function
Printed by: Guest user
Date: Friday, May 17, 2024, 8:02 AM

Description

Read this section for an introduction to connecting derivatives to quantities we can see in the real world. Work through practice problems 1-4.

The Idea, Informally

Calculus has been called the study of continuous change, and the limit is the basic concept which allows us to describe and analyze such change. An understanding of limits is necessary to understand derivatives, integrals, and other fundamental topics of calculus.


The limit of a function describes the behavior of the function when the variable is near, but does not equal, a specified number (Fig. 1). If the values of \mathrm{f}(\mathrm{x}) get closer and closer, as close as we want, to one number L as we take values of x very close to (but not equal to) a number \mathrm{c}, then we 

say "the limit of \mathbf{f}(\mathbf{x}), as x approaches \mathbf{c}, is \mathbf{L} " \quad and we

write " \lim\limits_{x \rightarrow c}\mathbf{f}(\mathbf{x})=\mathbf{L. "} \quad (The symbol " \rightarrow " means "approaches" or "gets very close to").

f(c) is a single number that describes the behavior (value) of f AT the point x=c.

\lim\limits_{x \rightarrow c} \mathbf{f}(\mathbf{x}) \quad is a single number that describes the behavior of f NEAR, BUT NOT AT, the point \mathrm{x}=\mathrm{c}.

If we have a graph of the function near x=c, then it is usually easy to determine \lim\limits_{x \rightarrow c} f(x).


Example 1: Use the graph of \mathrm{y}=\mathrm{f}(\mathrm{x}) in Fig. 2 to determine the following limits:

(a) \lim\limits_{x \rightarrow 1} \mathrm{f}(\mathrm{x})

(b) \lim\limits_{x \rightarrow 2} \mathrm{f}(\mathrm{x})

(c) \lim\limits_{x \rightarrow 3} \mathrm{f}(\mathrm{x})

(d) \lim\limits_{x \rightarrow 4} \mathrm{f}(\mathrm{x})

Solution: (a) \quad \lim\limits_{x \rightarrow 1} \mathrm{f}(\mathrm{x})=2. When \mathrm{x} is very close to 1 , the values of \mathrm{f}(\mathrm{x}) are very close to \mathrm{y}=2 . In this example, it happens that \mathrm{f}(1)=2, but that is irrelevant for the limit. The only thing that matters is what happens for x close to 1 but x \neq 1.

(b) \mathrm{f}(2) is undefined, but we only care about the behavior of \mathrm{f}(\mathrm{x}) for \mathrm{x} close to 2 and not equal to 2. When \mathrm{x} is close to 2 , the values of \mathrm{f}(\mathrm{x}) are close to 3 . If we restrict \mathrm{x} close enough to 2 , the values of y will be as close to 3 as we want, so \lim\limits_{x \rightarrow 2} f(x)=3.

(c) When \mathrm{x} is close to 3 (or as \mathrm{x} approaches the value 3 ), the values of \mathrm{f}(\mathrm{x}) are close to 1 (or approach the value 1), so \lim\limits_{x \rightarrow 3} \mathrm{f}(\mathrm{x})=1. For this limit it is completely irrelevant that \mathrm{f}(3)=2, We only care about what happens to \mathrm{f}(\mathrm{x}) for \mathrm{x} close to and not equal to 3.

(d) This one is harder and we need to be careful. When x is close to 4 and slightly less than 4 (x is just to the left of 4 on the x-axis), then the values of f(x) are close to 2. But if x is close to 4 and slightly larger than 4 then the values of f(x) are close to 3. If we only know that x is very close to 4, then we cannot say whether y=f(x) will be close to 2 or close to 3 - it depends on whether x is on the right or the left side of 4. In this situation, the f(x) values are not close to a single number so we say \lim\limits_{x \rightarrow 4} \mathrm{f}(\mathrm{x}) does not exist. It is irrelevant that \mathrm{f}(4)=1. The limit, as \mathrm{x} approaches 4, would still be undefined if \mathrm{f}(4) was 3 or 2 or anything else.


Practice 1: Use the graph of \mathrm{y}=\mathrm{f}(\mathrm{x}) in Fig. 3 to determine the following limits:


(a) \lim\limits_{x \rightarrow 1} \mathrm{f}(\mathrm{x})

(b) \lim\limits_{t \rightarrow 2} \mathrm{f}(\mathrm{t})

(c) \lim\limits_{x \rightarrow 3} \mathrm{f}(\mathrm{x})

(d) \lim\limits_{w \rightarrow 4} \mathrm{f}(\mathrm{w})

Example 2: Determine the value of \lim\limits_{x \rightarrow 3} \frac{2 x^{2}-x-1}{x-1}.

Solution: We need to investigate the values of f(x) when x is close to 3. If the f(x) values get arbitrarily close to or even equal some number \mathrm{L}, then \mathrm{L} will be the limit. One way to keep track of both the x and the f(x) values is to set up a table and to pick several x values which are closer and closer (but not equal) to 3. We can pick some values of x which approach 3 from the left, say x=2.91,2.9997 2.999993, and 2.9999999, and some values of x which approach 3 from the right, say x=3.1,3.004 3.0001, and 3.000002. The only thing important about these particular values for x is that they get closer and closer to 3 without equaling 3. You should try some other values "close to 3" to see what happens.

\begin{aligned} &\begin{array} {l|l} {\mathrm{x}} & \mathrm{f}(\mathrm{x}) \\ \hline 2.9 & 6.82 \\ 2.9997 & 6.9994 \\ 2.999993 & 6.999986 \\ 2.9999999 & 6.9999998 \end{array} \\ &\begin{array}{ll} & \quad
                    \downarrow & \qquad \qquad \quad \downarrow \\ & \quad 3 & \qquad \qquad \quad 7 \end{array}\end{aligned}  \begin{aligned} &\begin{array}{l|l} {\mathrm{x}} & {\mathrm{f}(\mathrm{x})} \\ \\ \hline 3.1 & 7.2 \\ 3.004 & 7.008 \\ 3.0001 & 7.0002 \\ 3.000002 & 7.000004 \end{array}\\ &\begin{array}{ll}\qquad \downarrow
                    & \qquad \qquad \downarrow \\ \qquad 3 & \qquad \qquad 7 \end{array} \end{aligned}

As the x values get closer and closer to 3, the f(x) values are getting closer and closer to 7. In fact, we can get \mathrm{f}(\mathrm{x}) as close to 7 as we want ("arbitrarily close") by taking the values of \mathrm{x} very close ("sufficiently close") to 3. \lim\limits_{x \rightarrow 3} \frac{2 x^{2}-x-1}{x-1}=7.

Instead of using a table of values, we could have graphed y=f(x) for x close to 3, Fig. 4, and used the graph to answer the limit question. This graphic approach is easier, particularly if you have a calculator or computer do the graphing work for you, but it is really very similar to the "table of values" method: in each case you need to evaluate \mathrm{y}=\mathrm{f}(\mathrm{x}) at many values of \mathrm{x} near 3.

You might have noticed that if we just evaluate f(3), then we get the correct answer 7. That works for this particular problem, but it often fails. The next example illustrates the difficulty.


Example 3: Find \lim\limits_{x \rightarrow 1} \frac{2 x^{2}-x-1}{x-1}. (Same as Example 2 but with \mathrm{x} \rightarrow 1).


Solution: You might try to evaluate f(x)=\frac{2 x^{2}-x-1}{x-1} at x=1, but \mathrm{f} is not defined at \mathrm{x}=1. It is tempting, but wrong, to conclude that this function does not have a limit as \mathrm{x} approaches 1.

Table Method: Trying some "test" values for \mathrm{x} which get closer and closer to 1 from both the left and the right, we get

 \begin{aligned} &\begin{array}{l|l} {\mathrm{x}} & \mathrm{f}(\mathrm{x}) \\ \hline 0.9 & 2.82 \\ 0.9998 & 2.9996 \\ 0.999994 & 2.999988 \\ 0.9999999 & 2.9999998 \end{array} \\ &\begin{array}{ll}\qquad \downarrow
                    & \qquad \qquad \downarrow \\ \qquad 1 & \qquad \qquad 3 \end{array} \end{aligned} \begin{align} \begin{array}{l|l} \mathrm{x} & \mathrm{f}(\mathrm{x}) \\ \hline 1.1 & 3.2 \\ 1.003 & 3.006 \\ 1.0001 & 3.0002 \\ 1.000007 & 3.000014 \\ \quad \downarrow & \quad \downarrow \\ \quad \mathbf{1} &
                    \quad \mathbf{3} \end{array} \end{align}


The function \mathrm{f} is not defined at \mathrm{x}=1, but when \mathrm{x} is close to 1, the values of \mathrm{f}(\mathrm{x}) are getting very close to 3. We can get \mathrm{f}(\mathrm{x}) as close to 3 as we want by taking \mathrm{x} very close to 1 so \lim\limits_{x \rightarrow 1} \frac{2 x^{2}-x-1}{x-1}=3.

Graph Method: We can graph y=f(x)=\frac{2 x^{2}-x-1}{x-1} for x close to 1 , Fig. 5, and notice that whenever \mathrm{x} is close to 1 , the values of \mathrm{y}=\mathrm{f}(\mathrm{x}) are close to 3 . \mathrm{f} is not defined at \mathrm{x}=1, so the graph has a hole above x=1, but we only care about what f(x) is doing for x close to but not equal to 1.


Algebra Method: We could have found the same result by noting that f(x)=\frac{2 x^{2}-x-1}{x-1}=\frac{(2 x+1)(x-1)}{x-1}=2 x+1 as long as \mathrm{x} \neq 1. (If \mathrm{x} \neq 1, then \mathrm{x}-1 \neq 0 so it is valid to divide the numerator and denominator by the factor x-1.) The "x \rightarrow 1" part of the limit means that x is close to 1 but not equal to 1, so our division step is valid and

\lim\limits_{x \rightarrow 1} \frac{2 x^{2}-x-1}{x-1}=\lim _{x \rightarrow 1} 2 x+1=3, the correct answer.



Source: Dave Hoffman, https://s3.amazonaws.com/saylordotorg-resources/wwwresources/site/wp-content/uploads/2011/11/2-2FunctionLimit.pdf
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

Three Methods for Evaluating Limits

The Algebra Method

The algebra method involves algebraically simplifying the function before trying to evaluate its limit.

Often, this simplification just means factoring and dividing, but sometimes more complicated algebraic or even trigonometric steps are needed.


The Table and Graph Methods

To evaluate a limit of a function \mathrm{f}(\mathrm{x}) as \mathrm{x} approaches \mathrm{c}, the table method involves calculating the values of \mathrm{f}(\mathrm{x}) for "enough" values of \mathrm{x} very close to \mathrm{c} so that we can "confidently" determine which value \mathrm{f}(\mathrm{x}) is approaching. If \mathrm{f}(\mathrm{x}) is well-behaved, we may not need to use very many values for \mathrm{x}. However, this method is usually used with complicated functions, and then we need to evaluate \mathrm{f}(\mathrm{x}) for lots of values of \mathrm{x}.

A computer or calculator can often make the function evaluations easier, but their calculations are subject to "round off" errors. The result of any computer calculation which involves both large and small numbers should be viewed with some suspicion. For example, the function

f(x)=\frac{\left\{(0.1)^{\mathrm{X}}+1\right\}-1}{(0.1)^{\mathrm{X}}}=\frac{(0.1)^{\mathrm{X}}}{(0.1)^{\mathrm{x}}}=1 for every value of \mathrm{x}, and my calculator gives the correct answer for some values of \mathrm{x}: \mathrm{f}(3)=\frac{\left\{(0.1)^{3}+1\right\}-1}{(0.1)^{3}}=1, and \mathrm{f}(8) and \mathrm{f}(9) both equal 1.

But my calculator says \left\{(0.1)^{10}+1\right\}-1=0 so it evaluates \mathrm{f}(10) to be 0, definitely an incorrect value. Your calculator may evaluate \mathrm{f}(10) correctly, but try \mathrm{f}(35) or \mathrm{f}(107).

Calculators are too handy to be ignored, but they are too prone to these types of errors to be believed uncritically. Be careful.

The graph method is closely related to the table method, but we create a graph of the function instead of a table of values, and then we use the graph to determine which value f(x) is approaching.


Which Method Should You Use?

In general, the algebraic method is preferred because it is precise and does not depend on which values of x we chose or the accuracy of our graph or precision of our calculator. If you can evaluate a limit algebraically, you should do so. Sometimes, however, it will be very difficult to evaluate a limit algebraically, and the table or graph methods offer worthwhile alternatives. Even when you can algebraically evaluate the limit of a function, it is still a good idea to graph the function or evaluate it at a few points just to verify your algebraic answer.

The table and graph methods have the same advantages and disadvantages. Both can be used on very complicated functions which are difficult to handle algebraically or whose algebraic properties you don't know.

Often both methods can be easily programmed on a calculator or computer. However, these two methods are very time-consuming by hand and are prone to round off errors on computers. You need to know how to use these methods when you can't figure out how to use the algebraic method, but you need to use these two methods warily.


Example 4: Evaluate (a) \lim\limits_{x \rightarrow 0} \frac{x^{2}+5 x+6}{x^{2}+3 x+2} and

(b) \lim\limits_{x \rightarrow-2} \frac{x^{2}+5 x+6}{x^{2}+3 x+2}

Solution: The function in each limit is the same but x is approaching a different number in each of them.

(a) Since x \rightarrow 0, we know that x is getting closer and closer to 0 so the values of the x^{2}, 5 x and 3 x terms get as close to 0 as we want. The numerator approaches 6 and the denominator approaches 2, so the values of the whole function get arbitrarily close to 6 / 2=3, the limit.

(b) As \mathrm{x} approaches -2, the numerator and denominator approach 0, and a small number divided by a small number can be almost anything - the ratio depends on the size of the top compared to the bottom. More investigation is needed.

Table Method: If we pick some values of x close to (but not equal to) -2, we get the table

  \mathrm{x}   x^{2}+5 x+6   x^{2}+3 x+2   \frac{x^{2}+5 x+6}  {x^{2}+3 x+2}
  -1.97
  -2.005
  -1.9998
  -2.00003
  0.0309
  -0.004975
  0.00020004
  -0.00002999
  -0.0291
  0.005025
  -0.00019996
  0.0000300009
  -1.061856
  -0.990050
  -1.00040008
  -0.9996666
↓ ↓ ↓ ↓
-2 0 0 -1

Even though the numerator and denominator are each getting closer and closer to 0, their ratio is getting arbitrarily close to -1 which is the limit.

Graph Method: The graph of y=f(x)=\frac{x^{2}+5 x+6}{x^{2}+3 x+2} in Fig. 6 shows that the values of \mathrm{f}(\mathrm{x}) are very close to -1 when the \mathrm{x}-values are close to -2.


Algebra Method: f(x)=\frac{x^{2}+5 x+6}{x^{2}+3 x+2}=\frac{(x+2)(x+3)}{(x+2)(x+1)}\text{.}

We know x \rightarrow-2 so x \neq-2, and we can divide the top and bottom by (x+2). Then f(x)=(x+3) /(x+1) so \mathrm{f}(\mathrm{x}) \rightarrow 1 /-1=-1 as \mathrm{x} \rightarrow-2.

\text { If } \lim\limits_{x \rightarrow c}\left\{\begin{array}{l} \text { polynomial } \\ {\text { polynomial }}\} \text { approaches } \frac{0}{0}, \text { try dividing the top and bottom by } \mathrm{x}-\mathrm{c} \text {. } \end{array}\right.


Practice 2: (a) \lim\limits_{x \rightarrow 2} \frac{x^{2}-x-2}{x-2}   (b) \lim\limits_{t \rightarrow 0} \frac{t \cdot \sin (t)}{t^{2}+3 t}   (c) \lim\limits_{w \rightarrow 2} \frac{w-2}{\ln (w / 2)}.

One-Sided Limits

Sometimes, what happens to us at a place depends on the direction we use to approach that place. If we approach Niagara Falls from the upstream side, then we will be 182 feet higher and have different worries than if we approach from the downstream side. Similarly, the values of a function near a point may depend on the direction we use to approach that point. If we let x approach 3 from the left (x is close to \mathrm{3} and x < 3), then the values of [x] \operatorname{INT}(x) equal \mathrm{2} (Fig. 7). If we let x approach 3 from the right (x is close to 3 and x>3), then the values of [\mathrm{x}]=\operatorname{INT}(\mathrm{x}) equal \mathrm{3}.


On the number line we can approach a point from the left or right, and that leads to one-sided limits.


Definition of Left and Right Limits:

The left limit as x approaches c of f(x) is L if the values of f(x) get as close to L as we want when x is very close to and left of \mathbf{c}, x < \mathbf{c}: \lim\limits_{x \rightarrow c^{-}} f(x)=L.

The right limit, written with \mathbf{x} \rightarrow \mathbf{c}^{+}, requires that \mathrm{x} lie to the right of \mathbf{c}, \mathrm{x} > \mathbf{c}.


Example 5: Evaluate \lim\limits_{x \rightarrow 2^{-}}(x-[x]) and \lim\limits_{x \rightarrow 2^{+}}(x-[x]).

Solution: \quad The left-limit notation \mathrm{x} \rightarrow 2^{-}requires that \mathrm{x} be close to 2 and that x be to the left of 2, so x < 2.

If 1 < x < 2, then [x]=1 so \quad \lim\limits_{x \rightarrow 2^{-}}(x-[x])=2-1=1.


If x is close to 2 and is to the right of 2, then 2 < x < 3 so [x]=2 and \lim _{x \rightarrow 2^{+}}(x-[x])=2-2=0.

The graph of f(x)=x-[x] is shown in Fig. 8.


If the left and right limits have the same value, \lim\limits_{x \rightarrow c^{-}} f(x)=\lim\limits_{x \rightarrow c^{+}} f(x)=L, then the value of \mathrm{f}(\mathrm{x}) is close to \mathrm{L} whenever \mathrm{x} is close to \mathrm{c}, and it does not matter if \mathrm{x} is left or right of \mathrm{c} so \lim\limits_{x \rightarrow c} f(x)=L. Similarly, if \lim\limits_{x \rightarrow c} f(x)=L, then \mathrm{f}(\mathrm{x}) is close to \mathrm{L} whenever \mathrm{x} is close to \mathrm{c} and less than \mathrm{c} and whenever \mathrm{x} is close to \mathrm{c} and greater than \mathrm{c}, so \lim\limits_{x \rightarrow c^{-}} f(x)=\lim\limits_{x \rightarrow c^{+}} f(x)=L. We can combine these two statements into a single theorem.


One-Sided Limit Theorem:

\lim\limits_{x \rightarrow c} f(x)=L \quad if and only if \lim\limits_{x \rightarrow c^{-}} f(x)=\lim\limits_{x \rightarrow c^{+}} f(x)=L.


Corollary:

If \lim\limits_{x \rightarrow c^{-}} f(x) \neq \lim\limits_{x \rightarrow c^{+}} f(x), then \lim\limits_{x \rightarrow c} f(x) does not exist.

One-sided limits are particularly useful for describing the behavior of functions which have steps or jumps.

To determine the limit of a function involving the greatest integer or absolute value or a multiline definition, definitely consider both the left and right limits.


Practice 3: Use the graph in Fig. 9 to evaluate the one and two-sided limits of \mathrm{f} at \mathrm{x}=0,1,2, and 3.


Practice 4: Let f(x)= \begin{cases}1 & \text { if } x < 1 \\ x & \text { if } 1 < x < 3 \\ 2 & \text { if } 3 < x\end{cases}

Find the one and two-sided limits of \mathrm{f} at \mathrm{1} and \mathrm{3}.


Practice Problem Answers

Practice 1: (a) 2  (b) 2  (c) \text{does not exist} (no limit)  (d) 1


Practice 2:

(a) \lim\limits_{x \rightarrow 2} \frac{(x+1)(x-2)}{x-2}=\lim\limits_{x \rightarrow 2}(x+1)=3

(b) \lim\limits_{t \rightarrow 0} \frac{t \cdot \sin (t)}{t(t+3)}=\lim\limits_{t \rightarrow 0} \frac{\sin (t)}{t+3}=\frac{0}{3}=0

(c) \lim\limits_{w \rightarrow 2} \frac{w-2}{\ln (w / 2)}=2. Try this one numerically or using a graph.

 \begin{array}{l|l} {\mathrm{w}} & \frac{\mathrm{w}-2}{\ln (\mathrm{w} / 2)} \\ \hline 2.2 & 2.098411737 \\ 2.01 & 2.004995844 \\ 2.003 & 2.001499625 \\ 2.0001 & 2.00005 \end{array}  \begin{array}{l|l} \mathrm{w} & \frac{\mathrm{w}-2}{\ln (\mathrm{w} / 2)} \\ \hline 1.9 & 1.949572575 \\ 1.99 & 1.994995823 \\ 1.9992 & 1.999599973 \\ 1.9999 & 1.99995 \end{array}



Practice 3:

\lim\limits_{x \rightarrow 0^{-}} f(x)=1
\lim\limits_{x \rightarrow 1^{-}} f(x)=1
\lim\limits_{x \rightarrow 2^{-}} f(x)=-1
\lim\limits_{x \rightarrow 3^{-}} f(x)=-1

\lim\limits_{x \rightarrow 0^{+}} f(x)=2
\lim\limits_{x \rightarrow 1^{+}} f(x)=1
\lim\limits_{x \rightarrow 2^{+}} f(x)=-1
\lim\limits_{x \rightarrow 3^{+}} f(x)=1

\lim\limits_{x \rightarrow 0} f(x) \, \text{does not exist}
\lim\limits_{x \rightarrow 1} f(x) 1
\lim\limits_{x \rightarrow 2} f(x)=-1
\lim\limits_{x \rightarrow 3} f(x) \, \text{does not exist}



Practice 4:

 \lim\limits_{x \rightarrow 1^{-}} f(x)=1
\lim\limits_{x \rightarrow 3^{-}} f(x)=3
\lim\limits_{x \rightarrow 1^{+}} f(x)=1
\lim\limits_{x \rightarrow 3^{+}} f(x)=2 
\lim\limits_{x \rightarrow 1} f(x)=1
\lim\limits_{x \rightarrow 3} f(x) \, \text{does not exist}