Skip to main content
Logo image

Coordinated Calculus

Section 1.2 Introduction to Limits

Supplemental Videos.

The main topics of this section are also presented in the following videos:
Limits are a mathematical construct we can use to describe the behavior of a function near a point. Consider the function g given by the graph in Figure 1.16 below. We can evaluate the function at a variety of points. For example, g(2)=0, g(1)=3, and g(0)=1.
Figure 1.16. Graph of y=g(x).
A careful look at the graph above shows that g has a removable discontinuity at x=0, making g(0)=1 even though the overall shape of the graph might lead us to expect g(0) to be 4. In fact, you would probably agree that “as x gets closer and closer (but NOT equal) to 0, g(x) gets as close as we want to 4.” This is the basic idea of a limit and we will expand on this idea in the following section.

Subsection 1.2.1 The Notion of Limit

Limits give us a way to identify a trend in the values of a function as its input variable approaches a particular value of interest. We need a precise understanding of what it means to say “a function f has limit L as x approaches a.
In Figure 1.16, we saw that as x gets closer and closer (but NOT equal) to 0, g(x) gets as close as we want to the value 4. At first, this may feel counterintuitive, because the value of g(0) is 1, not 4. Limits describe the behavior of a function arbitrarily close to a fixed input and are not affected by the value of the function at the fixed input. More formally,
 16 
What follows here is not what mathematicians consider the formal definition of a limit. To be completely precise, it is necessary to quantify both what it means to say “as close to L as we like” and “sufficiently close to a .” That can be accomplished through what is traditionally called the epsilon-delta definition of limits. That being said, the definition presented here is sufficient for the purposes of this text.
we say the following.

Limit of a Function.

If a function f is defined on an interval around c, except perhaps at the point x=c, we define the limit of the function f(x) as x approaches c to be a number L (if one exists) such that f(x) is as close to L as we want whenever x is sufficiently close to c (but xc). If L exists, we write
limxcf(x)=L.
On the other hand, if as x approaches c we cannot make f(x) as close to a single value as we would like, then we say that f does not have a limit as x approaches c.

Example 1.17.

Recall the function g from the section introduction, whose graph is reproduced below.
Figure 1.18. Graph of y=g(x)
For the function g pictured in Figure 1.18, we make the following observations:
limx1g(x)=3, limx0g(x)=4, and limx2g(x)=1.
When finding a limit from a graph, it suffices to ask if the function approaches a single value from each side of the fixed input. The function value at the fixed input is irrelevant. This reasoning explains the values of the three limits stated above.
We further observe that g does not have a limit as x approaches 1 because there is a jump in the graph at x=1. If we approach x=1 from the left, the function values tend to get close to 3, but if we approach x=1 from the right, the function values get close to 2. There is no single number that all of these function values approach. This is why the limit of g does not exist at x=1.
For any function f, there are typically three ways to answer the question “does f have a limit at x=a, and if so, what is the limit?” The first is to reason graphically. If we have a formula for f(x), there are two additional possibilities:
  1. Evaluate the function at a sequence of inputs that approach a on either side (typically using some sort of computing technology), and ask if the sequence of outputs seems to approach a single value.
  2. Use the algebraic form of the function to understand the trend in its output values as the input values approach a.
The first approach produces only an approximation of the value of the limit, while the latter can often be used to determine the limit exactly.

Example 1.19.

For each of the following functions, we’d like to know whether or not the function has a limit at the stated c-values. Use both numerical and algebraic approaches to investigate and, if possible, estimate or determine the value of the limit. Compare the results with a careful graph of the function on an interval containing the points of interest.
  1. f(x)=4x2x+2; c=1, c=2
  2. g(x)=sin(πx); c=3, c=0
Solution.
a. We first construct a graph of f along with tables of values near c=1 and c=2.
x f(x)
0.9 2.9
0.99 2.99
0.999 2.999
0.9999 2.9999
1.1 3.1
1.01 3.01
1.001 3.001
1.0001 3.0001
Table 1.20. Table of f values near x=1.
x f(x)
1.9 3.9
1.99 3.99
1.999 3.999
1.9999 3.9999
2.1 4.1
2.01 4.01
2.001 4.001
2.0001 4.0001
Table 1.21. Table of f values near x=2.
Figure 1.22. Plot of y=f(x) on [4,2].
From Table 1.20, it appears that we can make f as close as we want to 3 by taking x sufficiently close to 1, which suggests that limx1f(x)=3. This is also consistent with the graph of y=f(x) seen in Figure 1.22. To see this a bit more rigorously and from an algebraic point of view, consider the formula for f: f(x)=4x2x+2. As x approaches 1, the numerator, 4x2, of f approaches 4(1)2=3, and the denominator, x+2, of f approaches 1+2=1. Hence limx1f(x)=31=3.
The situation is more complicated when x approaches 2 because f(2) is not defined. If we try to use a similar algebraic argument regarding the numerator and denominator, we observe that as x approaches 2, the numerator (4x2) approaches (4(2)2)=0, and the denominator (x+2) approaches (2+2)=0, so as x approaches 2, the numerator and denominator of f both tend to 0. We call 00 an indeterminate form. This tells us that there is somehow more work to do. From Table 1.21 and Figure 1.22, it appears that f should have a limit of 4 at x=2.
To see algebraically why this is the case, observe that
limx2f(x)=limx24x2x+2=limx2(2x)(2+x)x+2
.
It is important to observe that because we are taking the limit as x approaches 2, we are considering x values that are close, but not equal, to 2. Since we never actually allow x to equal 2, the quotient 2+xx+2 has value 1 for every possible value of x. Thus, we can simplify the most recent expression above, and find that
limx2f(x)=limx2(2x).
This limit is now easy to determine, and its value is 4. Thus, from several points of view we’ve seen that limx2f(x)=4.
b. Next we turn to the function g, and construct two tables and a graph.
x g(x)
2.9 0.84864
2.99 0.86428
2.999 0.86585
2.9999 0.86601
3.1 0.88351
3.01 0.86777
3.001 0.86620
3.0001 0.86604
Table 1.23. Table of g values near x=3.
x g(x)
0.1 0
0.01 0
0.001 0
0.0001 0
0.1 0
0.01 0
0.001 0
0.0001 0
Table 1.24. Table of g values near x=0.
Figure 1.25. Plot of y=g(x) on [4,4].
First, as x approaches 3, it appears from the values in Table 1.23 that the function is approaching a number between 0.86601 and 0.86604. From the graph in Figure 1.25 it appears that g(x) approaches g(3) as x approaches 3. The exact value of g(3)=sin(π3) is 32, which is approximately 0.8660254038. This is convincing evidence that
limx3g(x)=32.
As x approaches 0, we observe that πx does not behave in an elementary way. When x is positive and approaching zero, we are dividing by smaller and smaller positive values, and πx increases without bound. When x is negative and approaching zero, πx decreases without bound. In this sense, as we get close to x=0, the inputs to the sine function are growing rapidly, and this leads to increasingly rapid oscillations in the graph of g between 1 and 1. If we plot the function g(x)=sin(πx) with a graphing utility and then zoom in on x=0, we see that the function never settles down to a single value near the origin, which suggests that g does not have a limit at x=0.
How do we reconcile the graph in Figure 1.25 with Table 1.24, which seems to suggest that the limit of g as x approaches 0 may in fact be 0? The data misleads us because of the special nature of the sequence of input values {0.1,0.01,0.001,}. When we evaluate g(10k), we get g(10k)=sin(π10k)=sin(10kπ)=0 for each positive integer value of k. But if we take a different sequence of values approaching zero, say {0.3,0.03,0.003,}, then we find that
g(310k)=sin(π310k)=sin(10kπ3)=320.866025
.
That sequence of function values suggests that the value of the limit is 32. Clearly the function cannot have two different values for the limit, so g has no limit as x approaches 0.
An important lesson to take from Example 1.19 is that tables can be misleading when determining the value of a limit. While a table of values is useful for investigating the possible value of a limit, we should also use other tools to confirm the value.

Example 1.26.

Estimate the value of each of the following limits by constructing appropriate tables of values. Then determine the exact value of the limit by using algebra to simplify the function. Finally, plot each function on an appropriate interval to check your result visually.
  1. limx1x21x1
  2. limx0(2+x)38x
  3. limx0x+11x
Hint.
  1. (x21) can be factored.
  2. Expand the expression (2+x)3, and then combine like terms in the numerator.
  3. Try multiplying the given function by this fancy form of 1: x+1+1x+1+1.
Answer.
  1. 2.
  2. 12.
  3. 12.
Solution.
Estimating the values of the limits with tables is straightforward and should suggest the exact values stated below.
  1. limx1x21x1=limx1(x+1)(x1)x1=limx1(x+1)=2.
  2. limx0(2+x)38x=limx08+12x+6x2+x38x=limx012x+6x2+x3x=limx0(12+6x+x2)=12.
  3. limx0x+11x=limx0x+11xx+1+1x+1+1=limx0x+11x(x+1+1)=limx01x+1+1=12.

Subsection 1.2.2 Having a Limit at a Point

We saw earlier that f has limit L as x approaches c provided that we can make the value of f(x) as close to L as we like by taking x sufficiently close (but not equal to) c. If so, we write limxcf(x)=L. We also saw that there are cases where a function can fail to have a limit. The graphs that follow are two such examples.
Figure 1.27. Functions f and g that each fail to have a limit at c=1.
Essentially there are two behaviors that a function can exhibit near a point where it fails to have a limit. In Figure 1.27 above, at the left we see a function f whose graph shows a jump at c=1. If we let x approach 1 from the left side, the value of f approaches 2, but if we let x approach 1 from the right, the value of f tends to 3. Because the value of f does not approach a single number as x gets arbitrarily close to 1 from both sides, we know that f does not have a limit at c=1.
For such cases, we introduce the notion of left and right (or one-sided) limits.

One-Sided Limits.

We say that f has limit L1 as x approaches c from the left and write
limxcf(x)=L1
provided that we can make the value of f(x) as close to L1 as we like by taking x sufficiently close to c while always having x<c. We call L1 the left-hand limit of f as x approaches c.
Similarly, we say L2 is the right-hand limit of f as x approaches c and write
limxc+f(x)=L2
provided that we can make the value of f(x) as close to L2 as we like by taking x sufficiently close to c while always having x>c.
In the graph of y=f(x) in Figure 1.27, we see that
limx1f(x)=2  and limx1+f(x)=3.
Precisely because the left and right limits are not equal, the overall limit of f as x1 fails to exist.
For the function g pictured at the right of Figure 1.27, the function fails to have a limit at c=1 for a different reason. While the function does not have a jump in its graph at c=1, it is still not the case that g approaches a single value as x approaches 1. In particular, due to the infinitely oscillating behavior of g to the right of c=1, we say that the (right-hand) limit of g as x1+ does not exist, and thus limx1g(x) does not exist.
To summarize, if either a left- or right-hand limit fails to exist or if the left- and right-hand limits are not equal to each other, the overall limit does not exist.

Two-Sided Limit.

A function f has limit L as xc if and only if
limxcf(x)=L=limxc+f(x).
That is, a function has a limit at x=c if and only if both the left- and right-hand limits at x=c exist and have the same value.
The function f given below in Figure 1.28 fails to have a limit at only two values: at c=2 (where the left- and right-hand limits are 2 and 1, respectively) and at x=2, where limx2+f(x) does not exist). Note well that even at values such as c=1 and c=3 where there are holes in the graph, the limit still exists.
Figure 1.28. A function f demonstrates different limit behaviors.

Example 1.29.

Consider a function that is piecewise-defined according to the formula
f(x)={3(x+2)+2 for 3<x<2 23(x+2)+1 for 2x<1 23(x+2)+1 for 1<x<1 2 for x=1 4x for x>1 
Use the given formula to answer the following questions.
  1. For each of the values c=2,1,0,1,2, compute f(c).
  2. For each of the values c=2,1,0,1,2, determine limxcf(x) and limxc+f(x) .
  3. For each of the values c=2,1,0,1,2, determine limxcf(x). If the limit fails to exist, explain why by discussing the left- and right-hand limits at the relevant c-value.
  4. For which values of c is the following statement true?
    limxcf(x)f(c)
  5. Sketch an accurate, labeled graph of y=f(x). Be sure to carefully use open circles () and filled circles () to represent key points on the graph, as dictated by the piecewise formula.
Hint.
  1. Find the interval in which c lies and evaluate the function there.
  2. Remember that for limxcf(x), we only consider values of x such that x<c. Find the appropriate formula to use in the piecewise definition for f to fit the values you are considering.
  3. Use your work in (b) and compare left- and right-hand limits.
  4. Use your work in (a) and (c).
  5. Note that f is piecewise linear.
Answer.
  1. f(2)=1; f(1) is not defined; f(0)=73 ; f(1)=2; f(2)=2.
  2. limx2f(x)=2 andlimx2+f(x)=1
    .
    limx1f(x)=53 andlimx1+f(x)=53
    .
    limx0f(x)=73 andlimx0+f(x)=73
    .
    limx1f(x)=3 andlimx1+f(x)=3
    .
    limx2f(x)=2 andlimx2+f(x)=2
    .
  3. limx2f(x) does not exist. The values of the limits as xc for c=1,0,1,2 are 53,73,3,2.
  4. c=2, c=1, and c=1.
Solution.
  1. f(2)=23(2+2)+1=1; f(1) is not defined; f(0)=23(0+2)+1=73; f(1)=2 (by the rule); f(2)=42=2.
  2. limx2f(x)=2 andlimx2+f(x)=1
    .
    limx1f(x)=53 andlimx1+f(x)=53
    .
    limx0f(x)=73 andlimx0+f(x)=73
    .
    limx1f(x)=3 andlimx1+f(x)=3
    .
    limx2f(x)=2 andlimx2+f(x)=2
    .
  3. limx2f(x) does not exist because the left-hand limit is 2 while the right-hand limit is 1. All of the other requested limits exist, as in each case the left- and right-hand limits exist and are equal. The respective values of the limits as xc for c=1,0,1,2 are 53,73,3,2.
  4. For c=2, c=1, and c=1, limxcf(x)f(c). At c=2, the limit fails to exist, but f(2)=1. At c=1, the limit is 53, but f(1) is not defined. At c=1, the limit is 3, but f(1)=2.

Subsection 1.2.3 Limits and Continuity

Recall that informally we said a function is continuous if we can draw its graph without ever lifting our pencil from the page.
Figure 1.30. Functions f, g, and h that demonstrate subtly different behaviors at c=1.
Using limits, we can formalize the idea of continuity. First consider the function in the left-most graph of Figure 1.30 above. Note that f(1) is not defined, which leads to the resulting hole in the graph of f at c=1. We will naturally say that f is not continuous at c=1. For the function g, we observe that while limx1g(x)=3, the value of g(1) is 2, 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. 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,
limx1h(x)=3=h(1).
With no hole or jump in the graph of h at c=1, we say that h is continuous there. 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 xc,
  2. f is defined at x=c, and
  3. limxcf(x)=f(c).
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 xc exists and equals its function value at x=c. If a function is continuous at every point in an interval [a,b], we say the function is “continuous on [a,b].” 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)=x22x+3. It can be proved that every polynomial is a continuous function at every real number, and thus if we would like to know limx2p(x), we simply compute
limx2(x22x+3)=2222+3=3=p(2)
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.31.

Determine if each of the functions below is continuous at x=2.
  1. f(x)=ln(3x).
  2. g(x)=1x2.
  3. h(x)={x2+1 if x2,3 if x=2.
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.
  2. g is not continuous at x=2.
  3. h is not continuous at x=2.
Solution.
For each of these functions, we want to check that the limit exists at x=2, the function is defined at x=2, 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 limx2f(x)=0. Evaluating f(2)=ln(32)=ln(1)=0. Thus, limx2f(x)=f(2), and f is continuous at x=2.
  2. Notice that the graph of g has a vertical asymptote at x=2, so g(2) is undefined. Hence, g is not continuous at x=2.
  3. For values of x near 2 (from the left and right), we have h(x) getting close to 5. Therefore, limx2h(x)=5. However, h(2)=3. Since limx2h(x)h(2), h is not continuous at x=2.

Subsection 1.2.4 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 limxc(bf(x))=b(limxcf(x))
  • limxc(f(x)+g(x))=limxcf(x)+limxcg(x)
  • limxc(f(x)g(x))=limxcf(x)limxcg(x)
  • limxc(f(x)g(x))=limxcf(x)limxcg(x), provided limxcg(x)0
  • For any constant k, limxck=k
  • limxcx=c

Example 1.32.

We can use algebra to compute limx1x2(x3+2). Specifically,
limx1x2(x3+2)=(limx1x2)(limx1(x3+2))=(limx1x2)(limx1x3+limx12)=1(1+2)=3.

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.
  • f(x)g(x) is continuous, provided g(x)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 1.2.5 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,
    limxcf(x)=L
    means that the value of f(x) gets as close as we want to a number L whenever x is sufficiently close to c, 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<c for the left limit and x>c for the right limit. That is, as we move x sufficiently close to c from the left on a number line (x<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. More specifically, limxcf(x)=L if and only if limxcf(x)=L=limxc+f(x)
  • Limits also help us determine the continuity of a function at a point x=c. A function f that has a limit as xc, is defined at x=c, and limxcf(x)=f(c) is continuous at x=c.

Example 1.33.

In this example, we take a closer look at a function whose graph we previously encountered in Figure 1.28. For convenience, this graph is reproduced below in Figure 1.34.
Figure 1.34. The graph of y=f(x) for Example 1.33.
  1. At which values of c does limxcf(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 limxcf(x)f(c)?
  4. State all values of c for which f is not continuous at x=c.
  5. Which condition is stronger, and hence implies the other: f has a limit at x=c or f is continuous at x=c? Explain, and hence complete the following sentence: “If f at x=c, then f at x=c,” 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; c=+2.
  2. c=3.
  3. c=1; c=3.
  4. c=2; c=2; c=3; c=1.
  5. “If f is continuous at x=c, then f has a limit at x=c.
Solution.
  1. limxcf(x) does not exist at c=2 since
    limx2f(x)=21=limx2+,
    and limxcf(x) does not exist at c=2 since limx2+f(x) does not exist due to the infinitely oscillatory behavior of f.
  2. The only point at which f is not defined is at c=3.
  3. At c=1, note that limx1f(x) exists (and appears to have value approximately 3.25), but f(1)=1 and thus limx1f(x)f(1). At c=3, we have limx3f(x)=2.5, 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, then f has a limit at x=c,” 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.

Exercises 1.2.6 Exercises

1. Limits on a piecewise graph.

Use the figure below, which gives a graph of the function f(x), to give values for the indicated limits. If a limit does not exist, enter none.
(a) limx1f(x) =
(b) limx0f(x) =
(c) limx1f(x) =
(d) limx4f(x) =

2. Estimating a limit numerically.

Use a graph to estimate the limit
limθ0sin(4θ)θ.
Note: θ is measured in radians. All angles will be in radians in this class unless otherwise specified.
limθ0sin(4θ)θ=

3. Limits for a piecewise formula.

For the function
f(x)={3x3,0x<25,x=2x24x+7,2<x
use algebra to find each of the following limits:
limx2+f(x)=
limx2f(x)=
limx2f(x)=
(For each, enter DNE if the limit does not exist.)
Sketch a graph of f(x) to confirm your answers.

4. Calculating Limits of Rational Functions.

Evaluate the limit
limx5x5x25x
Enter DNE if the limit does not exist.
Limit =

5. One-Sided Limits.

Evaluate the limits.
f(x)={7x+7x1x26x>1
Enter DNE if the limit does not exist.
limx1f(x) =
limx1+f(x) =
limx1f(x) =

6. Evaluating a limit algebraically.

Evaluate the limit
limx7x249x+7
If the limit does not exist enter DNE.
Limit =

7. Using Properties of Limits.

PTX:ERROR: WeBWorK problem UNL-Problems/Library/Valdosta/APEX_Calculus/1.3/APEX_1.3_6-13.pg with seed 35 does not have a statement tag Maybe it uses something other than BEGIN_TEXT or BEGIN_PGML to print the statement in its PG code Use -a to halt with returned content