2.2 The Limit of a Function - Calculus Volume 1 | OpenStax
Source: openstax.org
#calculus #limits #mathematics #OpenStax
Go to accessibility page Keyboard shortcuts menu
- 2.2.1 Using correct notation, describe the limit of a function.
- 2.2.2 Use a table of values to estimate the limit of a function or to identify when the limit does not exist.
- 2.2.3 Use a graph to estimate the limit of a function or to identify when the limit does not exist.
- 2.2.4 Define one-sided limits and provide examples.
- 2.2.5 Explain the relationship between one-sided and two-sided limits.
- 2.2.6 Using correct notation, describe an infinite limit.
- 2.2.7 Define a vertical asymptote.
The concept of a limit or limiting process, essential to the understanding of calculus, has been around for thousands of years. In fact, early mathematicians used a limiting process to obtain better and better approximations of areas of circles. Yet, the formal definition of a limit—as we know and understand it today—did not appear until the late 19th century. We therefore begin our quest to understand limits, as our mathematical ancestors did, by using an intuitive approach. At the end of this chapter, armed with a conceptual understanding of limits, we examine the formal definition of a limit.
We begin our exploration of limits by taking a look at the graphs of the functions
which are shown in Figure 2.12. In particular, let’s focus our attention on the behavior of each graph at and around
Three graphs of functions. The first is f(s) = (x^2 – 4) / (x-2), which is a line of slope, x intercept (-2,0), and open circle at (2,4). The second is g(x) = |x – 2 | / (x-2), which contains two lines: x=1 for x>2 and x= -1 for x < 2. There are open circles at both endpoints (2, 1) and (-2, 1). The third is h(x) = 1 / (x-2)^2, in which the function curves asymptotically towards y=0 and x=2 in quadrants one and two.
Figure 2.12 These graphs show the behavior of three different functions around
Each of the three functions is undefined at
Intuitive Definition of a Limit
Let’s first take a closer look at how the function
From this very brief informal look at one limit, let’s start to develop an intuitive definition of the limit. We can think of the limit of a function at a number a as being the one real number L that the functional values approach as the x -values approach a, provided such a real number L exists. Stated more carefully, we have the following definition:
Let
(2.3)
We can estimate limits by constructing tables of functional values and by looking at their graphs. This process is described in the following Problem-Solving Strategy.
Evaluating a Limit Using a Table of Functional Values
- To evaluate
we begin by completing a table of functional values. We should choose two sets of x -values—one set of values approaching a and less than a, and another set of values approaching a and greater than a. Table 2.1 demonstrates what your tables might look like.
Table 2.1 Table of Functional Values for $limx→af(x)limx→af(x)$x x Use additional values as necessary. Use additional values as necessary. - Next, let’s look at the values in each of the
columns and determine whether the values seem to be approaching a single value as we move down each column. In our columns, we look at the sequence and so on, and and so on. (Note: Although we have chosen the x -values and so forth, and these values will probably work nearly every time, on very rare occasions we may need to modify our choices.) - If both columns approach a common y -value L, we state
We can use the following strategy to confirm the result obtained from the table or as an alternative method for estimating a limit. - Using a graphing calculator or computer software that allows us to graph functions, we can plot the function
making sure the functional values of for x -values near a are in our window. We can use the trace feature to move along the graph of the function and watch the y -value readout as the x -values approach a. If the y -values approach L as our x -values approach a from both directions, then We may need to zoom in on our graph and repeat this process several times.
We apply this Problem-Solving Strategy to compute a limit in Example 2.4.
Evaluating a Limit Using a Table of Functional Values 1
Evaluate
Solution
We have calculated the values of
| x | x | |||
|---|---|---|---|---|
| −0.1 | 0.998334166468 | 0.1 | 0.998334166468 | |
| −0.01 | 0.999983333417 | 0.01 | 0.999983333417 | |
| −0.001 | 0.999999833333 | 0.001 | 0.999999833333 | |
| −0.0001 | 0.999999998333 | 0.0001 | 0.999999998333 |
Table 2.2 Table of Functional Values for
Note: The values in this table were obtained using a calculator and using all the places given in the calculator output.
As we read down each
A graph of f(x) = sin(x)/x over the interval [-6, 6]. The curving function has a y intercept at x=0 and x intercepts at y=pi and y=-pi.
Figure 2.13 The graph of
Evaluating a Limit Using a Table of Functional Values 2
Evaluate
Solution
As before, we use a table—in this case, Table 2.3 —to list the values of the function for the given values of x.
| x | x | |||
|---|---|---|---|---|
| 3.9 | 0.251582341869 | 4.1 | 0.248456731317 | |
| 3.99 | 0.25015644562 | 4.01 | 0.24984394501 | |
| 3.999 | 0.250015627 | 4.001 | 0.249984377 | |
| 3.9999 | 0.250001563 | 4.0001 | 0.249998438 | |
| 3.99999 | 0.25000016 | 4.00001 | 0.24999984 |
Table 2.3 Table of Functional Values for
After inspecting this table, we see that the functional values less than 4 appear to be decreasing toward 0.25 whereas the functional values greater than 4 appear to be increasing toward 0.25. We conclude that
A graph of the function f(x) = (sqrt(x) – 2 ) / (x-4) over the interval [0,8]. There is an open circle on the function at x=4. The function curves asymptotically towards the x axis and y axis in quadrant one.
Figure 2.14 The graph of
Estimate
At this point, we see from Example 2.4 and Example 2.5 that it may be just as easy, if not easier, to estimate a limit of a function by inspecting its graph as it is to estimate the limit by using a table of functional values. In Example 2.6, we evaluate a limit exclusively by looking at a graph rather than by using a table of functional values.
Evaluating a Limit Using a Graph
For
The graph of a generic curving function g(x). In quadrant two, there is an open circle on the function at (-1,3) and a closed circle one unit up at (-1, 4).
Figure 2.15 The graph of
Solution
Despite the fact that
Based on Example 2.6, we make the following observation: It is possible for the limit of a function to exist at a point, and for the function to be defined at this point, but the limit of the function and the value of the function at the point may be different.
Use the graph of
A graph of the function h(x), which is a parabola graphed over [-2.5, 5]. There is an open circle where the vertex should be at the point (2,-1).
Figure 2.16
Looking at a table of functional values or looking at the graph of a function provides us with useful insight into the value of the limit of a function at a given point. However, these techniques rely too much on guesswork. We eventually need to develop alternative methods of evaluating limits. These new methods are more algebraic in nature and we explore them in the next section; however, at this point we introduce two special limits that are foundational to the techniques to come.
Two Important Limits
Let a be a real number and c be a constant.
We can make the following observations about these two limits.
- For the first limit, observe that as x approaches a, so does
because Consequently, - For the second limit, consider Table 2.4.
| x | x | |||
|---|---|---|---|---|
| c | c | |||
| c | c | |||
| c | c | |||
| c | c |
Table 2.4 Table of Functional Values for
Observe that for all values of x (regardless of whether they are approaching a), the values
The Existence of a Limit
As we consider the limit in the next example, keep in mind that for the limit of a function to exist at a point, the functional values must approach a single real-number value at that point. If the functional values do not approach a single value, then the limit does not exist.
Evaluating a Limit That Fails to Exist
Evaluate
Solution
Table 2.5 lists values for the function
| x | x | |||
|---|---|---|---|---|
| −0.1 | 0.544021110889 | 0.1 | −0.544021110889 | |
| −0.01 | 0.50636564111 | 0.01 | −0.50636564111 | |
| −0.001 | −0.8268795405312 | 0.001 | 0.826879540532 | |
| −0.0001 | 0.305614388888 | 0.0001 | −0.305614388888 | |
| −0.00001 | −0.035748797987 | 0.00001 | 0.035748797987 | |
| −0.000001 | 0.349993504187 | 0.000001 | −0.349993504187 |
Table 2.5 Table of Functional Values for
After examining the table of functional values, we can see that the y -values do not seem to approach any one single value. It appears the limit does not exist. Before drawing this conclusion, let’s take a more systematic approach. Take the following sequence of x -values approaching 0:
The corresponding y -values are
At this point we can indeed conclude that
The graph of the function f(x) = sin(1/x), which oscillates rapidly between -1 and 1 as x approaches 0. The oscillations are less frequent as the function moves away from 0 on the x axis.
Figure 2.17 The graph of
Use a table of functional values to evaluate
One-Sided Limits
Sometimes indicating that the limit of a function fails to exist at a point does not provide us with enough information about the behavior of the function at that particular point. To see this, we now revisit the function
Similarly, as x approaches 2 from the right (or from the positive side),
We can now present an informal definition of one-sided limits.
We define two types of one-sided limits.
Limit from the left: Let
(2.6)
Limit from the right: Let
(2.7)
Evaluating One-Sided Limits
For the function
Solution
We can use tables of functional values again Table 2.6. Observe that for values of x less than 2, we use
| x | x | |||
|---|---|---|---|---|
| 1.9 | 2.9 | 2.1 | 0.41 | |
| 1.99 | 2.99 | 2.01 | 0.0401 | |
| 1.999 | 2.999 | 2.001 | 0.004001 | |
| 1.9999 | 2.9999 | 2.0001 | 0.00040001 | |
| 1.99999 | 2.99999 | 2.00001 | 0.0000400001 |
Table 2.6 Table of Functional Values for
Based on this table, we can conclude that a.
The graph of the given piecewise function. The first piece is f(x) = x+1 if x < 2. The second piece is x^2 – 4 if x >= 2. The first piece is a line with x intercept at (-1, 0) and y intercept at (0,1). There is an open circle at (2,3), where the endpoint would be. The second piece is the right half of a parabola opening upward. The vertex at (2,0) is a solid circle.
Figure 2.18 The graph of
Use a table of functional values to estimate the following limits, if possible.
Let us now consider the relationship between the limit of a function at a point and the limits from the right and left at that point. It seems clear that if the limit from the right and the limit from the left have a common value, then that common value is the limit of the function at that point. Similarly, if the limit from the left and the limit from the right take on different values, the limit of the function does not exist. These conclusions are summarized in Relating One-Sided and Two-Sided Limits.
Relating One-Sided and Two-Sided Limits
Let
Infinite Limits
Evaluating the limit of a function at a point or evaluating the limit of a function from the right and left at a point helps us to characterize the behavior of a function around a given value. As we shall see, we can also describe the behavior of functions that do not have finite limits.
We now turn our attention to
More generally, we define infinite limits as follows:
We define three types of infinite limits.
Infinite limits from the left: Let
- If the values of
increase without bound as the values of x (where approach the number a, then we say that the limit as x approaches a from the left is positive infinity and we write - If the values of
decrease without bound as the values of x (where approach the number a, then we say that the limit as x approaches a from the left is negative infinity and we write
Infinite limits from the right: Let
- If the values of
increase without bound as the values of x (where approach the number a, then we say that the limit as x approaches a from the right is positive infinity and we write - If the values of
decrease without bound as the values of x (where approach the number a, then we say that the limit as x approaches a from the right is negative infinity and we write
Two-sided infinite limit: Let
- If the values of
increase without bound as the values of x (where approach the number a, then we say that the limit as x approaches a is positive infinity and we write - If the values of
decrease without bound as the values of x (where approach the number a, then we say that the limit as x approaches a is negative infinity and we write
It is important to understand that when we write statements such as
Recognizing an Infinite Limit
Evaluate each of the following limits, if possible. Use a table of functional values and graph
Solution
Begin by constructing a table of functional values.
| x | x | |||
|---|---|---|---|---|
| −0.1 | −10 | 0.1 | 10 | |
| −0.01 | −100 | 0.01 | 100 | |
| −0.001 | −1000 | 0.001 | 1000 | |
| −0.0001 | −10,000 | 0.0001 | 10,000 | |
| −0.00001 | −100,000 | 0.00001 | 100,000 | |
| −0.000001 | −1,000,000 | 0.000001 | 1,000,000 |
Table 2.7 Table of Functional Values for
- The values of
decrease without bound as x approaches 0 from the left. We conclude that
The graph of the function f(x) = 1/x. The function curves asymptotically towards x=0 and y=0 in quadrants one and three.
Figure 2.19 The graph of
Evaluate each of the following limits, if possible. Use a table of functional values and graph
It is useful to point out that functions of the form
Two graphs side by side of f(x) = 1 / (x-a)^n. The first graph shows the case where n is an odd positive integer, and the second shows the case where n is an even positive integer. In the first, the graph has two segments. Each curve asymptotically towards the x axis, also known as y=0, and x=a. The segment to the left of x=a is below the x axis, and the segment to the right of x=a is above the x axis. In the second graph, both segments are above the x axis.
Figure 2.20 The function
Infinite Limits from Positive Integers
If n is a positive even integer, then
If n is a positive odd integer, then
and
We should also point out that in the graphs of
Let
Finding a Vertical Asymptote
Evaluate each of the following limits using Infinite Limits from Positive Integers. Identify any vertical asymptotes of the function
Solution
We can use Infinite Limits from Positive Integers directly.
The function
Evaluate each of the following limits. Identify any vertical asymptotes of the function
In the next example we put our knowledge of various types of limits to use to analyze the behavior of a function at several different points.
Behavior of a Function at Different Points
Use the graph of
![The graph of a function f(x) described by the above limits and values. There is a smooth curve for values below x=-2; at (-2, 3), there is an open circle. There is a smooth curve between (-2, 1] with a closed circle at (1,6). There is an open circle at (1,3), and a smooth curve stretching from there down asymptotically to negative infinity along x=3. The function also curves asymptotically along x=3 on the other side, also stretching to negative infinity. The function then changes concavity in the first quadrant around y=4.5 and continues up.](https://openstax.org/apps/image-cdn/v1/f=webp/apps/archive/20250916.165151/resources/a32447fddc2be58cd49ba242d03f192d553b8e4f)
The graph of a function f(x) described by the above limits and values. There is a smooth curve for values below x=-2; at (-2, 3), there is an open circle. There is a smooth curve between (-2, 1] with a closed circle at (1,6). There is an open circle at (1,3), and a smooth curve stretching from there down asymptotically to negative infinity along x=3. The function also curves asymptotically along x=3 on the other side, also stretching to negative infinity. The function then changes concavity in the first quadrant around y=4.5 and continues up.
Figure 2.21 The graph shows
Solution
Using Infinite Limits from Positive Integers and the graph for reference, we arrive at the following values:
is undefined DNE; is undefined
Evaluate
A graph of a piecewise function. The first segment curves from the third quadrant to the first, crossing through the second quadrant. Where the endpoint would be in the first quadrant is an open circle. The second segment starts at a closed circle a few units below the open circle. It curves down from quadrant one to quadrant four.
Chapter Opener: Einstein’s Equation
A picture of a futuristic spaceship speeding through deep space.
Figure 2.22 (credit: NASA)
In the chapter opener we mentioned briefly how Albert Einstein showed that a limit exists to how fast any object can travel. Given Einstein’s equation for the mass of a moving object, what is the value of this bound?
Solution
Our starting point is Einstein’s equation for the mass of a moving object,
where
A graph showing the ratio of masses as a function of the ratio of speed in Einstein’s equation for the mass of a moving object. The x axis is the ratio of the speeds, v/c. The y axis is the ratio of the masses, m/m0. The equation of the function is m = m0 / sqrt(1 – v2 / c2 ). The graph is only in quadrant 1. It starts at (0,1) and curves up gently until about 0.8, where it increases seemingly exponentially; there is a vertical asymptote at v/c (or x) = 1.
Figure 2.23 This graph shows the ratio of masses as a function of the ratio of speeds in Einstein’s equation for the mass of a moving object.
We can see that as the ratio of speeds approaches 1—that is, as the speed of the object approaches the speed of light—the ratio of masses increases without bound. In other words, the function has a vertical asymptote at
| 0.99 | 0.1411 | 7.089 |
| 0.999 | 0.0447 | 22.37 |
| 0.9999 | 0.0141 | 70.71 |
Table 2.8 Ratio of Masses and Speeds for a Moving Object
Thus, according to Table 2.8, if an object with mass 100 kg is traveling at 0.9999 c, its mass becomes 7071 kg. Since no object can have an infinite mass, we conclude that no object can travel at or more than the speed of light.
Section 2.2 Exercises
For the following exercises, consider the function
[T] Complete the following table for the function. Round your solutions to four decimal places.
| x | x | |||
|---|---|---|---|---|
| 0.9 | a. | 1.1 | e. | |
| 0.99 | b. | 1.01 | f. | |
| 0.999 | c. | 1.001 | g. | |
| 0.9999 | d. | 1.0001 | h. |
31.
What do your results in the preceding exercise indicate about the two-sided limit
For the following exercises, consider the function
[T] Make a table showing the values of f for
| x | x | |||
|---|---|---|---|---|
| −0.01 | a. | 0.01 | e. | |
| −0.001 | b. | 0.001 | f. | |
| −0.0001 | c. | 0.0001 | g. | |
| −0.00001 | d. | 0.00001 | h. |
33.
What does the table of values in the preceding exercise indicate about the function
To which mathematical constant does the limit in the preceding exercise appear to be getting closer?
In the following exercises, use the given values to set up a table to evaluate the limits. Round your solutions to eight decimal places.
35.
[T]
| x | x | |||
|---|---|---|---|---|
| −0.1 | a. | 0.1 | e. | |
| −0.01 | b. | 0.01 | f. | |
| −0.001 | c. | 0.001 | g. | |
| −0.0001 | d. | 0.0001 | h. |
[T]
| X | x | |||
|---|---|---|---|---|
| −0.1 | a. | 0.1 | e. | |
| −0.01 | b. | 0.01 | f. | |
| −0.001 | c. | 0.001 | g. | |
| −0.0001 | d. | 0.0001 | h. |
37.
Use the preceding two exercises to conjecture (guess) the value of the following limit:
[T] In the following exercises, set up a table of values to find the indicated limit. Round to eight digits.
| x | x | |||
|---|---|---|---|---|
| 1.9 | a. | 2.1 | e. | |
| 1.99 | b. | 2.01 | f. | |
| 1.999 | c. | 2.001 | g. | |
| 1.9999 | d. | 2.0001 | h. |
39.
| x | x | |||
|---|---|---|---|---|
| 0.9 | a. | 1.1 | e. | |
| 0.99 | b. | 1.01 | f. | |
| 0.999 | c. | 1.001 | g. | |
| 0.9999 | d. | 1.0001 | h. |
| x | x | |||
|---|---|---|---|---|
| −0.1 | a. | 0.1 | e. | |
| −0.01 | b. | 0.01 | f. | |
| −0.001 | c. | 0.001 | g. | |
| −0.0001 | d. | 0.0001 | h. |
41.
| z | z | |||
|---|---|---|---|---|
| −0.1 | a. | 0.1 | e. | |
| −0.01 | b. | 0.01 | f. | |
| −0.001 | c. | 0.001 | g. | |
| −0.0001 | d. | 0.0001 | h. |
| t | |
|---|---|
| 0.1 | a. |
| 0.01 | b. |
| 0.001 | c. |
| 0.0001 | d. |
43.
| x | x | |||
|---|---|---|---|---|
| 1.9 | a. | 2.1 | e. | |
| 1.99 | b. | 2.01 | f. | |
| 1.999 | c. | 2.001 | g. | |
| 1.9999 | d. | 2.0001 | h. |
[T] In the following exercises, set up a table of values and round to eight significant digits. Based on the table of values, make a guess about what the limit is. Then, use a calculator to graph the function and determine the limit. Was the conjecture correct? If not, why does the method of tables fail?
| θ | θ | |||
|---|---|---|---|---|
| −0.1 | a. | 0.1 | e. | |
| −0.01 | b. | 0.01 | f. | |
| −0.001 | c. | 0.001 | g. | |
| −0.0001 | d. | 0.0001 | h. |
45.
| a | |
|---|---|
| 0.1 | a. |
| 0.01 | b. |
| 0.001 | c. |
| 0.0001 | d. |
In the following exercises, consider the graph of the function
A graph of a piecewise function with three segments and a point. The first segment is a curve opening upward with vertex at (-8, -6). This vertex is an open circle, and there is a closed circle instead at (-8, -3). The segment ends at (-2,3), where there is a closed circle. The second segment stretches up asymptotically to infinity along x=-2, changes direction to increasing at about (0,1.25), increases until about (2.25, 3), and decreases until (6,2), where there is an open circle. The last segment starts at (6,5), increases slightly, and then decreases into quadrant four, crossing the x axis at (10,0). All of the changes in direction are smooth curves.
47.
49.
In the following exercises, use the following graph of the function
A graph of a piecewise function with two segments. The first segment exists for x <=1, and the second segment exists for x > 1. The first segment is linear with a slope of 1 and goes through the origin. Its endpoint is a closed circle at (1,1). The second segment is also linear with a slope of -1. It begins with the open circle at (1,2).
51.
53.
In the following exercises, use the graph of the function
A graph of a piecewise function with two segments. The first is a linear function for x < 0. There is an open circle at (0,1), and its slope is -1. The second segment is the right half of a parabola opening upward. Its vertex is a closed circle at (0, -4), and it goes through the point (2,0).
55.
57.
In the following exercises, use the graph of the function
A graph of a piecewise function with three segments, all linear. The first exists for x < -2, has a slope of 1, and ends at the open circle at (-2, 0). The second exists over the interval [-2, 2], has a slope of -1, goes through the origin, and has closed circles at its endpoints (-2, 2) and (2,-2). The third exists for x>2, has a slope of 1, and begins at the open circle (2,2).
59.
61.
63.
In the following exercises, use the graph of the function
A graph of a piecewise function with two segments. The first exists for x>=0 and is the left half of an upward opening parabola with vertex at the closed circle (0,3). The second exists for x>0 and is the right half of a downward opening parabola with vertex at the open circle (0,0).
65.
67.
In the following exercises, use the graph of the function
A graph of a function with two curves approaching 0 from quadrant 1 and quadrant 3. The curve in quadrant one appears to be the top half of a parabola opening to the right of the y axis along the x axis with vertex at the origin. The curve in quadrant three appears to be the left half of a parabola opening downward with vertex at the origin.
69.
In the following exercises, use the graph of the function
A graph with a curve and a point. The point is a closed circle at (0,-2). The curve is part of an upward opening parabola with vertex at (1,-1). It exists for x > 0, and there is a closed circle at the origin.
71.
73.
75.
In the following exercises, sketch the graph of a function with the given properties.
77.
79.
81.
Shock waves arise in many physical applications, ranging from supernovas to detonation waves. A graph of the density of a shock wave with respect to distance, x, is shown here. We are mainly interested in the location of the front of the shock, labeled
A graph in quadrant one of the density of a shockwave with three labeled points: p1 and p2 on the y axis, with p1 > p2, and xsf on the x axis. It consists of y= p1 from 0 to xsf, x = xsf from y= p1 to y=p2, and y=p2 for values greater than or equal to xsf.
-
Evaluate
-
Evaluate
-
Evaluate
Explain the physical meanings behind your answers.
A track coach uses a camera with a fast shutter to estimate the position of a runner with respect to time. A table of the values of position of the athlete versus time is given here, where x is the position in meters of the runner and t is time in seconds. What is
| t (sec) | x (m) |
|---|---|
| 1.75 | 4.5 |
| 1.95 | 6.1 |
| 1.99 | 6.42 |
| 2.01 | 6.58 |
| 2.05 | 6.9 |
| 2.25 | 8.5 |
Citation/Attribution
This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.
Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.
Attribution information
- If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction - If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction
Citation information - Use the information below to generate a citation. We recommend using a citation tool such as this one.
- Authors: Gilbert Strang, Edwin “Jed” Herman
- Publisher/website: OpenStax
- Book title: Calculus Volume 1
- Publication date: Mar 30, 2016
- Location: Houston, Texas
- Book URL: https://openstax.org/books/calculus-volume-1/pages/1-introduction
- Section URL: https://openstax.org/books/calculus-volume-1/pages/2-2-the-limit-of-a-function
© Jul 24, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.