Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

2.3: One-Sided Limits

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives
  • Define one-sided limits and provide examples.
  • Explain the relationship between one-sided and two-sided limits.
  • Define a vertical asymptote.

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 g(x)=|x2|/(x2) introduced at the beginning of the section (see Figure 2.3.1(b)). As we pick values of x close to 2, g(x) does not approach a single value, so the limit as x approaches 2 does not exist—that is, limx2g(x) DNE. However, this statement alone does not give us a complete picture of the behavior of the function around the x-value 2. To provide a more accurate description, we introduce the idea of a one-sided limit. For all values to the left of 2 (or the negative side of 2), g(x)=1. Thus, as x approaches 2 from the left, g(x) approaches 1. Mathematically, we say that the limit as x approaches 2 from the left is 1. Symbolically, we express this idea as

limx2g(x)=1.

Similarly, as x approaches 2 from the right (or from the positive side), g(x) approaches 1. Symbolically, we express this idea as

limx2+g(x)=1.

We can now present an informal definition of one-sided limits.

Definition: One-sided Limits

We define two types of one-sided limits.

Limit from the left:

Let f(x) be a function defined at all values in an open interval of the form (z,a), and let L be a real number. If the values of the function f(x) approach the real number L as the values of x (where x<a) approach the number a, then we say that L is the limit of f(x) as x approaches a from the left. Symbolically, we express this idea as

limxaf(x)=L.

Limit from the right:

Let f(x) be a function defined at all values in an open interval of the form (a,c), and let L be a real number. If the values of the function f(x) approach the real number L as the values of x (where x>a) approach the number a, then we say that L is the limit of f(x) as x approaches a from the right. Symbolically, we express this idea as

limxa+f(x)=L.

Example 2.3.1: Evaluating One-Sided Limits

For the function f(x)={x+1,if x<2x24,if x2, evaluate each of the following limits.

  1. limx2f(x)
  2. limx2+f(x)

Solution

We can use tables of functional values again. Observe in Table 2.3.6 that for values of x less than 2, we use f(x)=x+1 and for values of x greater than 2, we use f(x)=x24.

Table 2.3.6
x f(x)=x+1 x f(x)=x24
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

Based on this table, we can conclude that a. limx2f(x)=3 and b. limx2+f(x)=0. Therefore, the (two-sided) limit of f(x) does not exist at x=2. Figure 2.3.7 shows a graph of f(x) and reinforces our conclusion about these limits.

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.3.7: The graph of f(x)={x+1,if x<2x24,if x2 has a break at x=2.
Exercise 2.3.1

Use a table of functional values to estimate the following limits, if possible.

  1. limx2x24x2
  2. limx2+x24x2
Hint

Use x-values 1.9, 1.99, 1.999, 1.9999, 1.99999 to estimate limx2x24x2.

Use x-values 2.1, 2.01, 2.001, 2.0001, 2.00001 to estimate limx2+x24x2.

(These tables are available from a previous Checkpoint problem.)

Solution a

a. limx2x24x2=4

Solution b

limx2+x24x2=4

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 Note.

Relating One-Sided and Two-Sided Limits

Let f(x) be a function defined at all values in an open interval containing a, with the possible exception of a itself, and let L be a real number. Then,

limxaf(x)=L

if and only if limxaf(x)=L and limxa+f(x)=L.

Example 2.3.2: Evaluating one sided limits

Let f(x)={x0x13x1<x<2, as shown in Figure 1.21. Find each of the following:

  1. limx1f(x)
  2. limx1+f(x)
  3. limx1f(x)
  4. f(1)
  5. limx0+f(x)
  6. f(0)
  7. limx2f(x)
  8. f(2)

alt
FIGURE 1.21: A graph of f in Example 17.

Solution

For these problems, the visual aid of the graph is likely more effective in evaluating the limits than using f itself. Therefore we will refer often to the graph.

  1. As x goes to 1 from the left, we see that f(x) is approaching the value of 1. Therefore limx1f(x)=1.
  2. As x goes to 1 from the right, we see that f(x) is approaching the value of 2. Recall that it does not matter that there is an "open circle'' there; we are evaluating a limit, not the value of the function. Therefore limx1+f(x)=2.
  3. The limit of f as x approaches 1 does not exist, as discussed in the first section. The function does not approach one particular value, but two different values from the left and the right.
  4. Using the definition and by looking at the graph we see that f(1)=1.
  5. As x goes to 0 from the right, we see that f(x) is also approaching 0. Therefore limx0+f(x)=0. Note we cannot consider a left-hand limit at 0 as f is not defined for values of x<0.
  6. Using the definition and the graph, f(0)=0.
  7. As x goes to 2 from the left, we see that f(x) is approaching the value of 1. Therefore limx2f(x)=1.
  8. The graph and the definition of the function show that f(2) is not defined.

Note how the left and right-hand limits were different at x=1. This, of course, causes the limit to not exist. The following theorem states what is fairly intuitive: the limit exists precisely when the left and right-hand limits are equal.

Theorem: Limits and One Sided Limits

Let f be a function defined on an open interval I containing c. Then limxcf(x)=Lif, and only if, limxcf(x)=Landlimxc+f(x)=L.

The phrase "if, and only if'' means the two statements are equivalent: they are either both true or both false. If the limit equals L, then the left and right hand limits both equal L. If the limit is not equal to L, then at least one of the left and right-hand limits is not equal to L (it may not even exist).

One thing to consider in Examples 17 - 20 is that the value of the function may/may not be equal to the value(s) of its left/right-hand limits, even when these limits agree.

Example 2.3.3: Evaluating limits of a piecewise-defined function

Let f(x)={2x0<x<1(x2)21<x<2, as shown in Figure 1.22. Evaluate the following.

  1. limx1f(x)
  2. limx1+f(x)
  3. limx1f(x)
  4. f(1)
  5. limx0+f(x)
  6. f(0)
  7. limx2f(x)
  8. f(2)

alt
FIGURE 1.22: A graph of f from Example 18.

Solution

Again we will evaluate each using both the definition of f and its graph.

  1. As x approaches 1 from the left, we see that f(x) approaches 1. Therefore limx1f(x)=1.
  2. As x approaches 1 from the right, we see that again f(x) approaches 1. Therefore limx1+f(x)=1.
  3. The limit of f as x approaches 1 exists and is 1, as f approaches 1 from both the right and left. Therefore limx1f(x)=1.
  4. f(1) is not defined. Note that 1 is not in the domain of f as defined by the problem, which is indicated on the graph by an open circle when x=1.
  5. As x goes to 0 from the right, f(x) approaches 2. So limx0+f(x)=2.
  6. f(0) is not defined as 0 is not in the domain of f.
  7. As x goes to 2 from the left, f(x) approaches 0. So limx2f(x)=0.
  8. f(2) is not defined as 2 is not in the domain of f.
Example 2.3.4: Evaluating limits of a piecewise-defined function

Let f(x)={(x1)20x2,x11x=1, as shown in Figure 1.23. Evaluate the following.

  1. limx1f(x)
  2. limx1+f(x)
  3. limx1f(x)
  4. f(1)

alt
FIGURE 1.23: Graphing f in Example 19.

It is clear by looking at the graph that both the left and right-hand limits of f, as x approaches 1, is 0. Thus it is also clear that the limit is 0; i.e., limx1f(x)=0. It is also clearly stated that f(1)=1.

Example 2.3.5: Evaluating limits of a piecewise-defined function

Let f(x)={x20x12x1<x2, as shown in Figure 1.24. Evaluate the following.

  1. limx1f(x)
  2. limx1+f(x)
  3. limx1f(x)
  4. f(1)

alt
FIGURE 1.24: Graphing f in Example 20.

Solution

It is clear from the definition of the function and its graph that all of the following are equal:

limx1f(x)=limx1+f(x)=limx1f(x)=f(1)=1.

In Examples 17 - 20 we were asked to find both limx1f(x) and f(1). Consider the following table:

limx1f(x)f(1)Example 17does not exist1Example 181not definedExample 1901Example 2011

Only in Example 20 do both the function and the limit exist and agree. This seems "nice;'' in fact, it seems "normal.'' This is in fact an important situation which we explore in the next section, entitled "Continuity.'' In short, a continuous function is one in which when a function approaches a value as xc (i.e., when limxcf(x)=L), it actually attains that value at c. Such functions behave nicely as they are very predictable.

Example 2.3.6: Using the Squeeze Theorem

Use the Squeeze Theorem to show that

limx0sinxx=1.

Solution

We begin by considering the unit circle. Each point on the unit circle has coordinates (cosθ,sinθ) for some angle θ as shown in Figure 2.3.1. Using similar triangles, we can extend the line from the origin through the point to the point (1,tanθ), as shown. (Here we are assuming that 0θπ/2.Later we will show that we can also consider θ0.)

alt
Figure 2.3.1: The unit circle and related triangles.

Figure 1.19 shows three regions have been constructed in the first quadrant, two triangles and a sector of a circle, which are also drawn below. The area of the large triangle is 12tanθ; the area of the sector is θ/2; the area of the triangle contained inside the sector is 12sinθ. It is then clear from the diagram that

alt

Multiply all terms by 2sinθ, giving

1cosθθsinθ1.

Taking reciprocals reverses the inequalities, giving

cosθsinθθ1.

(These inequalities hold for all values of θ near 0, even negative values, since cos(θ)=cosθ and sin(θ)=sinθ.)

Now take limits.

limθ0cosθlimθ0sinθθlimθ01

cos0limθ0sinθθ1

1limθ0sinθθ1

Clearly this means that limθ0sinθθ=1

Two notes about the previous example are worth mentioning. First, one might be discouraged by this application, thinking "I would never have come up with that on my own. This is too hard!'' Don't be discouraged; within this text we will guide you in your use of the Squeeze Theorem. As one gains mathematical maturity, clever proofs like this are easier and easier to create.

Second, this limit tells us more than just that as x approaches 0, sin(x)/x approaches 1. Both x and sinx are approaching 0, but the ratio of x and sinx approaches 1, meaning that they are approaching 0 in essentially the same way. Another way of viewing this is: for small x, the functions y=x and y=sinx are essentially indistinguishable.

We include this special limit, along with three others, in the following theorem.

Theorem: Special Limits
  1. limx0sinxx=1
  2. limx0cosx1x=0

A short word on how to interpret the latter three limits. We know that as x goes to 0, cosx goes to 1. So, in the second limit, both the numerator and denominator are approaching 0. However, since the limit is 0, we can interpret this as saying that "cosx is approaching 1 faster than x is approaching 0.''

Example 2.3.7: Using Special Limits

Evaluate the following limit:

limx0sin2x3x.

Solution

The answer here is not going to be 1 since the numbers in front of each x do not match. We need the bottom to be 3x. We can do this by multiplying the numerator and denominator by the fraction 12x.

limx0sin2x3x=limx0(12x)sin2x(12x)3x=limx0sin2x2x32=23limx0sin2x2x=23(1)=23.


2.3: One-Sided Limits is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?