# 1.1: An Introduction to Limits

• Contributed by

We begin our study of limits by considering examples that demonstrate key concepts that will be explained as we progress.

Consider the function $$y = \frac{\sin x}{x}$$. When $$x$$ is near the value 1, what value (if any) is $$y$$ near?

While our question is not precisely formed (what constitutes "near the value 1''?), the answer does not seem difficult to find. One might think first to look at a graph of this function to approximate the appropriate $$y$$ values.

Consider Figure 1, where $$y = \frac{\sin x}{x}$$ is graphed. For values of $$x$$ near 1, it seems that $$y$$ takes on values near $$0.85$$. In fact, when $$x=1$$, then $$y=\frac{\sin 1}{1} \approx 0.84$$, so it makes sense that when $$x$$ is "near'' 1, $$y$$ will be "near'' $$0.84$$.

$$\text{FIGURE 1.1}$$:$$\sin (x)/x \text{ near }x=1.$$

Consider this again at a different value for $$x$$. When $$x$$ is near 0, what value (if any) is $$y$$ near? By considering Figure 1.2, one can see that it seems that $$y$$ takes on values near $$1$$. But what happens when $$x=0$$? We have

$y \rightarrow \frac{\sin 0}{0}\rightarrow "\frac{0}{0}".\nonumber$

$$\text{FIGURE 1.2}$$:$$\sin (x)/x \text{ near }x=0.$$

The expression "$$0/0$$'' has no value; it is indeterminate. Such an expression gives no information about what is going on with the function nearby. We cannot find out how $$y$$ behaves near $$x=0$$ for this function simply by letting $$x=0$$.

Finding a limit entails understanding how a function behaves near a particular value of $$x$$. Before continuing, it will be useful to establish some notation. Let $$y=f(x)$$; that is, let $$y$$ be a function of $$x$$ for some function $$f$$. The expression "the limit of $$y$$ as $$x$$ approaches 1'' describes a number, often referred to as $$L$$, that $$y$$ nears as $$x$$ nears 1. We write all this as

$\lim_{x\to 1} y = \lim_{x\to 1} f(x) = L.\nonumber$

This is not a complete definition (that will come in the next section); this is a pseudo-definition that will allow us to explore the idea of a limit.

Above, where $$f(x) = \sin(x)/x$$, we approximated

$\lim_{x\to 1} \frac{\sin x}{x} \approx 0.84 \quad \text{ and } \quad \lim_{x\to 0}\frac{\sin x}{x} \approx 1.\nonumber$

(We approximated these limits, hence used the "$$\approx$$'' symbol, since we are working with the pseudo-definition of a limit, not the actual definition.)

Once we have the true definition of a limit, we will find limits analytically; that is, exactly using a variety of mathematical tools. For now, we will approximate limits both graphically and numerically. Graphing a function can provide a good approximation, though often not very precise. Numerical methods can provide a more accurate approximation. We have already approximated limits graphically, so we now turn our attention to numerical approximations.

Consider again $$\lim_{x\to 1}\sin (x)/x$$. To approximate this limit numerically, we can create a table of $$x$$ and $$f(x)$$ values where $$x$$ is "near'' 1. This is done in Figure 1.3.

$$\text{FIGURE 1.3}$$: Values of $$\sin (x)/x \text{ with }x \text{ near }1.$$

Notice that for values of $$x$$ near $$1$$, we have $$\sin (x)/x$$ near $$0.841$$. The $$x=1$$ row is in bold to highlight the fact that when considering limits, we are not concerned with the value of the function at that particular $$x$$ value; we are only concerned with the values of the function when $$x$$ is near 1.

Now approximate $$\lim_{x\to 0} \sin(x)/x$$ numerically. We already approximated the value of this limit as 1 graphically in Figure 1.2. The table in Figure 1.4 shows the value of $$\sin(x)/x$$ for values of $$x$$ near 0. Ten places after the decimal point are shown to highlight how close to 1 the value of $$\sin(x)/x$$ gets as $$x$$ takes on values very near 0. We include the $$x=0$$ row in bold again to stress that we are not concerned with the value of our function at $$x=0$$, only on the behavior of the function near 0.

$$\text{FIGURE 1.4}$$: Values of $$\sin (x)/x \text{ with }x \text{ near }1.$$

This numerical method gives confidence to say that 1 is a good approximation of $$\lim_{x\to 0} \sin(x)/x$$; that is,

$\lim_{x\to 0} \sin(x)/x \approx 1.$

Later we will be able to prove that the limit is exactly 1.

We now consider several examples that allow us explore different aspects of the limit concept.

$$\text{FIGURE 1.5}$$: Graphically approximating a limit in Example 1.

$$\text{FIGURE 1.6}$$: Numerically approximating a limit in Example 1.

Example 1: Approximating the value of a limit

Use graphical and numerical methods to approximate

$\lim_{x\to 3} \frac{x^2-x-6}{6x^2-19x+3}.$

Solution:
To graphically approximate the limit, graph

$y = (x^2-x-6)/(6x^2-19x+3)$

on a small interval that contains 3. To numerically approximate the limit, create a table of values where the $$x$$ values are near 3. This is done in Figures 1.5 and 1.6, respectively.

The graph shows that when $$x$$ is near 3, the value of $$y$$ is very near $$0.3$$. By considering values of $$x$$ near 3, we see that $$y=0.294$$ is a better approximation. The graph and the table imply that

$\lim_{x\to 3} \frac{x^2-x-6}{6x^2-19x+3} \approx 0.294.$

This example may bring up a few questions about approximating limits (and the nature of limits themselves).

1. If a graph does not produce as good an approximation as a table, why bother with it?
2. How many values of $$x$$ in a table are "enough?'' In the previous example, could we have just used $$x=3.001$$ and found a fine approximation?

Graphs are useful since they give a visual understanding concerning the behavior of a function. Sometimes a function may act "erratically'' near certain $$x$$ values which is hard to discern numerically but very plain graphically. Since graphing utilities are very accessible, it makes sense to make proper use of them.

Since tables and graphs are used only to approximate the value of a limit, there is not a firm answer to how many data points are "enough.'' Include enough so that a trend is clear, and use values (when possible) both less than and greater than the value in question. In Example 1, we used both values less than and greater than 3. Had we used just $$x=3.001$$, we might have been tempted to conclude that the limit had a value of $$0.3$$. While this is not far off, we could do better. Using values "on both sides of 3'' helps us identify trends.

Example 2: Approximating the value of a limit

Graphically and numerically approximate the limit of $$f(x)$$ as $$x$$ approaches 0, where

$f(x) = \left \{\begin{array}{rl} x+1 & x< 0 \\ -x^2+1 & x > 0 \end{array}\right .$

Solution:
Again we graph $$f(x)$$ and create a table of its values near $$x=0$$ to approximate the limit. Note that this is a piecewise defined function, so it behaves differently on either side of 0. Figure 1.7 shows a graph of $$f(x)$$, and on either side of 0 it seems the $$y$$ values approach 1. Note that $$f(0)$$ is not actually defined, as indicated in the graph with the open circle.

$$\text{FIGURE 1.7}$$: Graphically approximating a limit in Example 2.

$$\text{FIGURE 1.8}$$: Numerically approximating a limit in Example 2.

The table shown in Figure 1.8 shows values of $$f(x)$$ for values of $$x$$ near 0. It is clear that as $$x$$ takes on values very near 0, $$f(x)$$ takes on values very near 1. It turns out that if we let $$x=0$$ for either "piece'' of $$f(x)$$, 1 is returned; this is significant and we'll return to this idea later.

The graph and table allow us to say that $$\lim_{x\to 0}f(x) \approx 1$$; in fact, we are probably very sure it equals 1.

## Identifying When Limits Do Not Exist

A function may not have a limit for all values of $$x$$. That is, we cannot say $$\lim_{x\to c}f(x)=L$$ for some numbers $$L$$ for all values of $$c$$, for there may not be a number that $$f(x)$$ is approaching. There are three ways in which a limit may fail to exist.

1. The function $$f(x)$$ may approach different values on either side of $$c$$.
2. The function may grow without upper or lower bound as $$x$$ approaches $$c$$.
3. The function may oscillate as $$x$$ approaches $$c$$.

We'll explore each of these in turn.

Example 3: Different Values Approached From Left and Right

Explore why $$\lim_{x\to 1} f(x)$$ does not exist, where

$f(x) = \left\{\begin{array}{cl} x^2-2x+3 & x\leq 1 \\ x & x>1 \end{array}\right.$

$$\text{FIGURE 1.9}$$: Observing no limit as $$x \to 1$$ in Example 3.

$$\text{FIGURE 1.10}$$: Values of $$f(x)$$ near $$x=1$$ in Example 3.

Solution:
A graph of $$f(x)$$ around $$x=1$$ and a table are given Figures 1.9 and 1.10, respectively. It is clear that as $$x$$ approaches 1, $$f(x)$$ does not seem to approach a single number. Instead, it seems as though $$f(x)$$ approaches two different numbers. When considering values of $$x$$ less than 1 (approaching 1 from the left), it seems that $$f(x)$$ is approaching 2; when considering values of $$x$$ greater than 1 (approaching 1 from the right), it seems that $$f(x)$$ is approaching 1. Recognizing this behavior is important; we'll study this in greater depth later. Right now, it suffices to say that the limit does not exist since $$f(x)$$ is not approaching one value as $$x$$ approaches 1.

Example 4: The Function Grows Without Bound

Explore why $$\lim_{x\to 1} 1/(x-1)^2$$ does not exist.

Solution:
A graph and table of $$f(x) = 1/(x-1)^2$$ are given in Figures 1.11 and 1.12, respectively. Both show that as $$x$$ approaches 1, $$f(x)$$ grows larger and larger.

$$\text{FIGURE 1.11}$$: Observing no limit as $$x\to 1$$ in Example 4.

$$\text{FIGURE 1.12}$$: Values of $$f(x)$$ near $$x=1$$ in Example 4.

We can deduce this on our own, without the aid of the graph and table. If $$x$$ is near 1, then $$(x-1)^2$$ is very small, and:

$\frac{1}{\text{very small number}} = \text{very large number}.$

Since $$f(x)$$ is not approaching a single number, we conclude that

$\lim_{x\to 1}\frac{1}{(x-1)^2}$

does not exist.

Example 5: The Function Oscillates

Explore why $$\lim_{x\to 0}\sin(1/x)$$ does not exist.

Solution:
Two graphs of $$f(x) = \sin(1/x)$$ are given in Figures 1.13. Figure 1.13(a) shows $$f(x)$$ on the interval $$[-1,1]$$; notice how $$f(x)$$ seems to oscillate near $$x=0$$. One might think that despite the oscillation, as $$x$$ approaches 0, $$f(x)$$ approaches 0. However, Figure 1.13(b) zooms in on $$\sin(1/x)$$, on the interval $$[-0.1,0.1]$$. Here the oscillation is even more pronounced. Finally, in the table in Figure 1.13(c), we see $$\sin(x)/x$$ evaluated for values of $$x$$ near 0. As $$x$$ approaches 0, $$f(x)$$ does not appear to approach any value.

$$\text{FIGURE 1.13}$$: Observing that $$f(x)=\sin (1/x)$$ has no limit as $$x\to 0$$ in Example 5.

It can be shown that in reality, as $$x$$ approaches 0, $$\sin(1/x)$$ takes on all values between $$-1$$ and 1 infinite times! Because of this oscillation,

$$\lim_{x\to 0}\sin(1/x)$$ does not exist.

## Limits of Difference Quotients

We have approximated limits of functions as $$x$$ approached a particular number. We will consider another important kind of limit after explaining a few key ideas.

$$\text{FIGURE 1.14}$$: Interpreting a difference quotient as the slope of a secant line.

Let $$f(x)$$ represent the position function, in feet, of some particle that is moving in a straight line, where $$x$$ is measured in seconds. Let's say that when $$x=1$$, the particle is at position 10 ft., and when $$x=5$$, the particle is at 20 ft. Another way of expressing this is to say

$f(1)=10 \quad \text{ and } \quad f(5) = 20.$

Since the particle traveled 10 feet in 4 seconds, we can say the particle's average velocity was 2.5 ft/s. We write this calculation using a "quotient of differences,'' or, a difference quotient:

$\frac{f(5) - f(1)}{5-1} = \frac{10}4 = 2.5 \text{ft/s}.$

This difference quotient can be thought of as the familiar "rise over run'' used to compute the slopes of lines. In fact, that is essentially what we are doing: given two points on the graph of $$f$$, we are finding the slope of the secant line through those two points. See Figure 1.14.

Now consider finding the average speed on another time interval. We again start at $$x=1$$, but consider the position of the particle $$h$$ seconds later. That is, consider the positions of the particle when $$x=1$$ and when $$x=1+h$$. The difference quotient is now

$\frac{f(1+h)-f(1)}{(1+h)-1} = \frac{f(1+h)-f(1)}h.$

Let $$f(x) = -1.5x^2+11.5x$$; note that $$f(1)=10$$ and $$f(5) = 20$$, as in our discussion. We can compute this difference quotient for all values of $$h$$ (even negative values!) except $$h=0$$, for then we get "0/0,'' the indeterminate form introduced earlier. For all values $$h\neq 0$$, the difference quotient computes the average velocity of the particle over an interval of time of length $$h$$ starting at $$x=1$$.

For small values of $$h$$, i.e., values of $$h$$ close to 0, we get average velocities over very short time periods and compute secant lines over small intervals. See Figure 1.15. This leads us to wonder what the limit of the difference quotient is as $$h$$ approaches 0. That is,

$\lim_{h\to 0} \frac{f(1+h)-f(1)}{h} = \text{ ? }$

$$\text{FIGURE 1.15}$$: Secant lines of $$f(x)$$ at $$x=1$$ and $$x=1+h$$, for shrinking values of $$h$$ (i.e., $$h\to 0$$).

As we do not yet have a true definition of a limit nor an exact method for computing it, we settle for approximating the value. While we could graph the difference quotient (where the $$x$$-axis would represent $$h$$ values and the $$y$$-axis would represent values of the difference quotient) we settle for making a table. See Figure 1.16. The table gives us reason to assume the value of the limit is about 8.5.

$$\text{FIGURE 1.16}$$: The difference quotient evaluated at values of $$h$$ near 0.

Proper understanding of limits is key to understanding calculus. With limits, we can accomplish seemingly impossible mathematical things, like adding up an infinite number of numbers (and not get infinity) and finding the slope of a line between two points, where the "two points'' are actually the same point. These are not just mathematical curiosities; they allow us to link position, velocity and acceleration together, connect cross-sectional areas to volume, find the work done by a variable force, and much more.

In the next section we give the formal definition of the limit and begin our study of finding limits analytically. In the following exercises, we continue our introduction and approximate the value of limits.

### Contributors

• Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution - Noncommercial (BY-NC) License. http://www.apexcalculus.com/