In this explainer, we will learn how to determine whether the limit of a function at a certain value exists.

The limit of a function at a point gives us useful information about the shape of the function at that point and is a fundamental tool in calculus. We recall the definition of the limit of a function at a point.

### Recap: Limit of a Function at a Point

If the values of approach some value, , as the values of approach (from both sides) but not necessarily when , then we say the limit of as approaches is equal to and we denote this as

By using the notation of one-sided limits, we can rewrite this definition in terms of the left and the right limit of the function at this point.

### Definition: Limit of a Function at a Point in terms of One-Sided Limits

Let . If and , then .

When this definition holds true for a function at a value of , this gives us information about the shape of the function around this point; we would know it is arbitrarily close to the point . Therefore, we can check the limit of a function at a point by evaluating its left and right limit at this point and checking whether they are equal.

We can use this idea of the existence of limits to write another definition of the limit of a function at a point.

### Definition: Limit of a Function at a Point

If the left and the right limit of a function at both exist and are equal to some value , then .

It might not be possible to find the limit of a function at a point. For example, consider the graph of shown in the diagram below.

To evaluate , we need to evaluate both the left and the right limit at separately. First, as the values of approach 1 from the left, the outputs of the function stay constant at 1, so . Second, as the values of approach 1 from the right, the outputs of the function approach 2, so . Since the left and the right limit of the function at are not equal, we cannot evaluate .

When we cannot evaluate the limit of a function at a point, we say that its limit does not exist. In the above example, we saw that this can happen if the left and the right limit are not equal; however, there are other ways for the limit of a function at a point to not exist. Consider ; one way of investigating this limit is to sketch the function.

We need to consider the left and the right limit of as approaches 0.

From the diagram, we can see that in both cases the outputs of the function are growing without bound. In particular, this means that the outputs are not approaching any finite value, . When the outputs of the function grow without bound, we often say that the limit
is equal to . However, it is important to remember that this limit **does not** exist
and saying that the limit is equal to is a shorthand for saying the limit does not
exist but the outputs grow without bound.

We can say something similar for at .

As approaches 0 from either side, the outputs of the function decrease without bound. We can say that , where, once again, this means the limit does not exist.

Another similar possibility is the limit of at .

If our values of approach 0 from the right, then the outputs of the function are growing without bound. Therefore, we can say . However, if the values of approach 0 from the left, then the outputs of the function are decreasing without bound. So, we can say . In this case, the left and the right limits of at 0 are not equal, so we say that does not exist; we do not assign it any kind of infinite value since the left and the right limits are different.

There is one final way for the limit of a function at a point to not exist. Instead of the values of the function increasing or decreasing without bound, the outputs can oscillate so that they never converge on a single value. For example, consider the following graph of .

In the diagram, it appears that as approaches 0, the outputs oscillate wildly. To see more clearly what is happening around in this graph, we will try to evaluate the limit of this function from a table. We will choose our sample points to the reciprocal of odd integer multiples of , since these are the values that will maximize the size of the outputs.

0 | |||||||||||

1 | 1 | 1 | 1 |

We can see that as the values of approach 0 from either side, the output values of the function oscillate between 1 and and do not converge on any value; hence we say that this limit does not exist.

We can summarize the ways that limits cannot exist as follows.

### Definition: Limit of a Function at a Point Not Existing

If the values of do not approach some value, , as the values of approach , from both sides, then we say that the limit of as approaches does not exist.

In particular,

- if the outputs of increase without bound as approaches from both sides, we say that ;
- if the outputs of decrease without bound as approaches from both sides, we say that .

In other words, to determine the limit of a function at a point, we check that the left and the right limits both exist and are equal. Letβs see an example of applying this definition to a piecewise-defined function.

### Example 1: Discussing the Existence of the Limit of a Piecewise-Defined Function at a Point

Discuss the existence of given

### Answer

Since this is a piecewise-defined function and is on the boundary of two subdomains, we cannot evaluate this limit by direct substitution. Instead, we recall that we can determine the limit of this function as approaches 7 by checking that the left and right limits of exist and are equal.

We start with , since this is a left limit; we have for our input values and when evaluating this limit the values of will get arbitrarily close to 7, so we can assume , without affecting the value of the limit. When our values of are in this interval, , this gives us

We can evaluate this by direct substitution:

We can do the same for the right limit; restricting the values of to be in the interval does not affect the value of the limit, giving us

For the limit of at to exist, both the left and right limits need to be equal. However, we have shown that they are not equal.

Hence, the limit does not exist because .

In our next few examples, we show the existence and find the value of the limit of a piecewise function at a point on the boundary of its subdomains.

### Example 2: Discussing the Existence of the Limit of a Piecewise-Defined Function at a Point

Discuss the existence of given

### Answer

Since this is a piecewise-defined function and is on the boundary of two subdomains, we cannot evaluate this limit by direct substitution. Instead, we recall that we can determine the limit of this function as approaches 3 by checking that the left and right limits of exist and are equal.

To evaluate the limit as approaches 3 from the left, we note that when , we have . When evaluating this limit, the values of will get arbitrarily close to 3, so we can assume that , without affecting the value of the limit. This gives us

We can evaluate the limit of absolute value functions by direct substitution, giving us

Next, to evaluate , we can notice that when , we have ; this gives us

Since this is a rational function, we can attempt to evaluate this by direct substitution:

This is an indeterminate form, so we will need to simplify the rational function by factoring. Recall that we can cancel shared factors of in the numerator and denominator inside of the limit, since it only affects the value of the function when , not when is arbitrarily close to 3 from the right:

Therefore, we have shown that the left and the right limit of at exist and they are both equal to 4.

Hence, exists and equals 4.

### Example 3: Finding the Limit of a Piecewise-Defined Function at a Point

Find , where

### Answer

Since this is a piecewise-defined function and is on the boundary of two subdomains, we cannot evaluate this limit by direct substitution. Instead, we recall that we can determine the limit of this function as approaches by checking that the left and the right limit of exist and are equal.

We will start with . When , we know that , so

Therefore, when , we have ; this means that their limits as approaches from the right must be equal, giving us

Similarly, when , we have . This means

Since the left and the right limit of both exist and are equal to , we can conclude that

In the previous example, we saw that even though , its limit as approached is equal to . This is an example of the following property.

### Property: Existence of a Limit

The existence or value of does not affect the existence or value of

In our next example, we will plot a graph to determine the existence of the limit of a reciprocal of an absolute value function at a point.

### Example 4: Discussing the Existence of the Limit of a Reciprocal Absolute Value Function at a Point

Discuss the existence of .

### Answer

We recall that we can determine the limit of this function as approaches 2 by checking that the left and the right limits of at exist and are equal. To determine the value of this limit, we can sketch a graph of . First, we can sketch as a translation of two units to the right, then we notice that , so we reflect the negative parts of the curve in the -axis, giving us the following.

The graph will have a vertical asymptote at . If we look at the outputs of the function to the left and right of , we can see that as the values of approach 2 from either side, the outputs of the function will grow without bound.

In terms of limits, this tells us

Recall that saying a limit is equal to infinity means that the limit does not exist. However, since the left and right limits agree, we can say that .

Hence, does not exist, but .

In our final example, we will investigate the limit of a function that has oscillating behavior.

### Example 5: Understanding Limits and Oscillating Behavior

Investigate the behavior of as tends to 0.

- Complete the table of values of for values of
that get closer to 0.
- What does this suggest about the graph of close to 0?
- That it increases without bound
- That it decreases without bound
- That it changes randomly
- That it approaches 2
- That it oscillates rapidly between and 2

- Hence, evaluate .

### Answer

**Part 1**

We find each entry in the table by substituting the given value of into the function . For example,

The cosine function is periodic with a period of , so we can simplify

Similarly,

We can follow this process for all of the entries in the table to get the following.

2 | 2 | 2 |

**Part 2**

In the table, we can see that, from left to right, the values of approach 0. However, the outputs of the function do not approach any value; instead, the outputs oscillate between and 2.

Therefore, the table suggests that the graph rapidly oscillates between and 2, which is option E.

**Part 3**

The table in part 1 suggests that does not converge to any value; instead, the outputs oscillate between and 2. This means that the right limit of at does not exist. For the limit of at to exist, we need both the left and the right limit to exist and be equal.

Hence, the limit does not exist.

Letβs finish by recapping some of the important points of this explainer.

### Key Points

- To determine if the limit of at
exists, we check three things:
- if the left limit of at exists,
- if the right limit of at exists,
- if these two limits are equal.

- If the outputs of increase without bound as approaches from both sides, we say that ; this is an example of the limit not existing.
- If the outputs of decrease without bound as approaches from both sides, we say that ; this is an example of the limit not existing.