# 2.5 One Sided Limits and Continuity

## 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 consider the function $g(x)=|x−2|/(x−2)$. 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, $\displaystyle \lim_{x\rightarrow 2}g(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), $𝑔(𝑥)=−1$. Thus, as x approaches 2 from the left, $𝑔(𝑥)$ approaches −1. Mathematically, we say that the limit as x approaches 2 from the left is −1. Symbolically, we express this idea as

$$\displaystyle \lim_{𝑥\rightarrow 2^-}𝑔(𝑥)=-1.$$

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

$$\displaystyle \lim_{𝑥\rightarrow 2^+}𝑔(𝑥)=1.$$

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

## DEFINITION

We define two types of one-sided limits.

Limit from the left: Let $𝑓(𝑥)$ be a function defined at all values in an open interval of the form $(c, a)$, and let $L$ be a real number. If the values of the function $𝑓(𝑥)$ approach the real number $L$ as the values of $x$ (where $𝑥<𝑎$) approach the number $a$, then we say that L is the limit of $𝑓(𝑥)$ as $x$ approaches a from the left. Symbolically, we express this idea as $$\displaystyle\lim_{𝑥\rightarrow 𝑎^−}𝑓(𝑥)=𝐿.$$ 2.6 Limit from the right: Let $𝑓(𝑥)$ be a function defined at all values in an open interval of the form $(𝑎,𝑐)$, and let L be a real number. If the values of the function $𝑓(𝑥)$ approach the real number $L$ as the values of $x$ (where $𝑥>𝑎$) approach the number $a$, then we say that $L$ is the limit of $𝑓(𝑥)$ as $x$ approaches $a$ from the right. Symbolically, we express this idea as

$$\displaystyle\lim_{𝑥\rightarrow 𝑎^+}𝑓(𝑥)=𝐿.$$

### Example 1

Evaluate the one sided limits of the function $f(x)$ graphed below at $x = 0$ and $x = 1$.

As $x$ approach 0 from the left, the value of the function is getting closer to 1, so $\lim\limits_{x\to 0^-} f(x) = 1.$

As $x$ approaches 0 from the right, the value of the function is getting closer to 2, so $\lim\limits_{x\to 0^+} f(x) = 2.$

Notice that since the limit from the left and limit from the right are different, the general limit, $\lim\limits_{x\to 0} f(x)$, does not exit.

At $x$ approaches 1 from either direction, the value of the function is approaching 1, so $\lim\limits_{x\to 1^-} f(x) = \lim\limits_{x\to 1^+} f(x) = \lim\limits_{x\to 1} f(x) = 1.$

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 the following theorem.

## 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,

$\underset{x\to a}{\lim}f(x)=L$ if and only if $\underset{x\to a^-}{\lim}f(x)=L$ and $\underset{x\to a^+}{\lim}f(x)=L$.

## 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 $h(x)=1/(x-2)^2,$  (see (Figure 2.47) right hand side image). From its graph we see that as the values of $x$ approach 2, the values of $h(x)=1/(x-2)^2$ become larger and larger and, in fact, become infinite. Mathematically, we say that the limit of $h(x)$ as $x$ approaches 2 is positive infinity. Symbolically, we express this idea as

$$\underset{x\to 2}{\lim}h(x)=+\infty.$$

More generally, we define infinite limits as follows:

## Definition

We define three types of infinite limits.

Infinite limits from the left: Let $f(x)$ be a function defined at all values in an open interval of the form $(b,a)$.

1. If the values of $f(x)$ increase without bound as the values of $x$ (where $x < a$) approach the number $a,$ then we say that the limit as $x$ approaches $a$ from the left is positive infinity and we write $$\underset{x\to a^-}{\lim}f(x)=+\infty$$
2. If the values of $f(x)$ decrease without bound as the values of $x$ (where $x < a$) approach the number $a,$ then we say that the limit as $x$ approaches $a$ from the left is negative infinity and we write $$\underset{x\to a^-}{\lim}f(x)=−\infty$$

Infinite limits from the right: Let $f(x)$ be a function defined at all values in an open interval of the form $(a,c)$.

1. If the values of $f(x)$ increase without bound as the values of $x$ (where $x > a$) approach the number $a,$ then we say that the limit as $x$ approaches $a$ from the left is positive infinity and we write
$$\underset{x\to a^+}{\lim}f(x)=+\infty.$$
2. If the values of $f(x)$ decrease without bound as the values of $x$ (where $x > a$) approach the number $a,$ then we say that the limit as $x$ approaches $a$ from the left is negative infinity and we write
$$\underset{x\to a^+}{\lim}f(x)=−\infty$$

Two-sided infinite limit: Let $f(x)$ be defined for all $x\ne a$ in an open interval containing $a$.

1. If the values of $f(x)$ increase without bound as the values of $x$ (where $x\ne a$) approach the number $a,$ then we say that the limit as $x$ approaches $a$ is positive infinity and we write
$$\underset{x\to a}{\lim}f(x)=+\infty$$
2. If the values of $f(x)$ decrease without bound as the values of $x$ (where $x\ne a$) approach the number $a,$ then we say that the limit as $x$ approaches $a$ is negative infinity and we write
$$\underset{x\to a}{\lim}f(x)=−\infty$$

It is important to understand that when we write statements such as $\underset{x\to a}{\lim}f(x)=+\infty$ or $\underset{x\to a}{\lim}f(x)=−\infty$ we are describing the behavior of the function, as we have just defined it. We are not asserting that a limit exists. For the limit of a function $f(x)$ to exist at $a$, it must approach a real number $L$ as $x$ approaches $a$. That said, if, for example, $\underset{x\to a}{\lim}f(x)=+\infty$, we always write $\underset{x\to a}{\lim}f(x)=+\infty$ rather than $\underset{x\to a}{\lim}f(x)$ DNE.

It is useful to point out that functions of the form $f(x)=1/(x-a)^n$, where $n$ is a positive integer, have infinite limits as $x$ approaches $a$ from either the left or right graphs below where these limits are summarized.

Long description: 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. In both graphs a vertical dashed line is shown at x = a.

## Infinite Limits from Positive Integers

If $n$ is a positive even integer, then

$$\underset{x\to a}{\lim}\frac{1}{(x-a)^n}=+\infty$$

If $n$ is a positive odd integer, then

$$\underset{x\to a^+}{\lim}\frac{1}{(x-a)^n}=+\infty$$

and

$$\underset{x\to a^-}{\lim}\frac{1}{(x-a)^n}=−\infty$$

We should also point out that in the graphs of $f(x)=1/(x-a)^n$, points on the graph having $x$-coordinates very near to $a$ are very close to the vertical line $x=a$. That is, as $x$ approaches $a$, the points on the graph of $f(x)$ are closer to the line $x=a$. The line $x=a$ is called a vertical asymptote of the graph. We formally define a vertical asymptote as follows:

## Definition

Let $f(x)$ be a function. If any of the following conditions hold, then the line $x=a$ is a vertical asymptote of $f(x)$:

$$\begin{array}{ccc}\hfill \underset{x\to a^-}{\lim}f(x)& =\hfill & +\infty \, \text{or} \, -\infty \hfill \\ \hfill \underset{x\to a^+}{\lim}f(x)& =\hfill & +\infty \, \text{or} \, −\infty \hfill \\ & \text{or}\hfill & \\ \hfill \underset{x\to a}{\lim}f(x)& =\hfill & +\infty \, \text{or} \, −\infty \hfill \end{array}$$

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.