# 1.4: One Sided Limits

- Page ID
- 4153

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

We introduced the concept of a limit gently, approximating their values graphically and numerically. Next came the rigorous definition of the limit, along with an admittedly tedious method for evaluating them. The previous section gave us tools (which we call theorems) that allow us to compute limits with greater ease. Chief among the results were the facts that polynomials and rational, trigonometric, exponential and logarithmic functions (and their sums, products, etc.) all behave "nicely.'' In this section we rigorously define what we mean by "nicely.''

In Section 1.1 we explored the three ways in which limits of functions failed to exist:

- The function approached different values from the left and right,
- The function grows without bound, and
- The function oscillates.

In this section we explore in depth the concepts behind #1 by introducing the *one-sided limit*. We begin with formal definitions that are very similar to the definition of the limit given in Section 1.2, but the notation is slightly different and "\(x\neq c\)'' is replaced with either "\(x<c\)'' or "\(x>c\).''

Definition 2: One Sided Limits

**Left-Hand Limit**

Let \(I\) be an open interval containing \(c\), and let \(f\) be a function defined on \(I\), except possibly at \(c\). The **limit of** \(f(x)\), **as** \(x\) **approaches** \(c\) **from the left**, is \(L\), or, **the left--hand limit of** \(f\) **at** \(c\) is \(L\), denoted by

\[ \lim\limits_{x\rightarrow c^-} f(x) = L,\]

means that given any \(\epsilon > 0\), there exists \(\delta > 0\) such that for all \(x< c\), if \(|x - c| < \delta\), then \(|f(x) - L| < \epsilon\).

**Right-Hand Limit**

Let \(I\) be an open interval containing \(c\), and let \(f\) be a function defined on \(I\), except possibly at \(c\). The **limit of** \(f(x)\), **as** \(x\) **approaches** \(c\) **from** **the right, is** \(L\), or, **the right--hand limit of** \(f\) **at** \(c\) **is** \(L\), denoted by

\[ \lim\limits_{x\rightarrow c^+} f(x) = L,\]

means that given any \(\epsilon > 0\), there exists \(\delta > 0\) such that for all \(x> c\), if \(|x - c| < \delta\), then \(|f(x) - L| < \epsilon\).

Practically speaking, when evaluating a left-hand limit, we consider only values of \(x\) "to the left of \(c\),'' i.e., where \(x<c\). The admittedly imperfect notation \(x\to c^-\) is used to imply that we look at values of \(x\) to the left of \(c\). The notation has nothing to do with positive or negative values of either \(x\) or \(c\). A similar statement holds for evaluating right-hand limits; there we consider only values of \(x\) to the right of \(c\), i.e., \(x>c\). We can use the theorems from previous sections to help us evaluate these limits; we just restrict our view to one side of \(c\).

We practice evaluating left and right-hand limits through a series of examples.

Example 17: Evaluating one sided limits

Let \( f(x) = \left\{\begin{array}{cc} x & 0\leq x\leq 1 \\ 3-x & 1<x<2\end{array},\right.\) as shown in Figure 1.21. Find each of the following:

- \(\lim\limits_{x\to 1^-} f(x)\)
- \(\lim\limits_{x\to 1^+} f(x)\)
- \(\lim\limits_{x\to 1} f(x)\)
- \(f(1)\)
- \(\lim\limits_{x\to 0^+} f(x) \)
- \(f(0)\)
- \(\lim\limits_{x\to 2^-} f(x)\)
- \(f(2)\)

\(\text{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.

- As \(x\) goes to 1
*from the left*, we see that \(f(x)\) is approaching the value of 1. Therefore \( \lim\limits_{x\to 1^-} f(x) =1.\) - 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 \( \lim\limits_{x\to 1^+} f(x)=2\). *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.- Using the definition and by looking at the graph we see that \(f(1) = 1\).
- As \(x\) goes to 0 from the right, we see that \(f(x)\) is also approaching 0. Therefore \( \lim\limits_{x\to 0^+} f(x)=0\). Note we cannot consider a left-hand limit at 0 as \(f\) is not defined for values of \(x<0\).
- Using the definition and the graph, \(f(0) = 0\).
- As \(x\) goes to 2 from the left, we see that \(f(x)\) is approaching the value of 1. Therefore \( \lim\limits_{x\to 2^-} f(x)=1.\)
- 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 7: Limits and One Sided Limits

Let \(f\) be a function defined on an open interval \(I\) containing \(c\). Then \[\lim\limits_{x\to c}f(x) = L\]if, and only if, \[\lim\limits_{x\to c^-}f(x) = L \quad \text{and} \quad \lim\limits_{x\to c^+}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 18: Evaluating limits of a piecewise-defined function

Let \(f(x) = \left\{\begin{array}{cc} 2-x & 0<x<1 \\ (x-2)^2 & 1<x<2 \end{array},\right.\) as shown in Figure 1.22. Evaluate the following.

- \( \lim\limits_{x\to 1^-} f(x)\)
- \( \lim\limits_{x\to 1^+} f(x)\)
- \( \lim\limits_{x\to 1} f(x)\)
- \( f(1)\)
- \( \lim\limits_{x\to 0^+} f(x)\)
- \(f(0)\)
- \( \lim\limits_{x\to 2^-} f(x)\)
- \(f(2)\)

\(\text{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.

- As \(x\) approaches 1 from the left, we see that \(f(x)\) approaches 1. Therefore \( \lim\limits_{x\to 1^-} f(x)=1.\)
- As \(x\) approaches 1 from the right, we see that again \(f(x)\) approaches 1. Therefore \( \lim\limits_{x\to 1+} f(x)=1\).
*The*limit of \(f\) as \(x\) approaches 1 exists and is 1, as \(f\) approaches 1 from both the right and left. Therefore \( \lim\limits_{x\to 1} f(x)=1\).- \(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\).
- As \(x\) goes to 0 from the right, \(f(x)\) approaches 2. So \( \lim\limits_{x\to 0^+} f(x)=2\).
- \(f(0)\) is not defined as \(0\) is not in the domain of \(f\).
- As \(x\) goes to 2 from the left, \(f(x)\) approaches 0. So \( \lim\limits_{x\to 2^-} f(x)=0\).
- \(f(2)\) is not defined as 2 is not in the domain of \(f\).

Example 19: Evaluating limits of a piecewise-defined function

Let \(f(x) = \left\{\begin{array}{cc} (x-1)^2 & 0\leq x\leq 2, x\neq 1\\ 1 & x=1\end{array},\right.\) as shown in Figure 1.23. Evaluate the following.

- \( \lim\limits_{x\to 1^-} f(x)\)
- \( \lim\limits_{x\to 1^+} f(x)\)
- \( \lim\limits_{x\to 1} f(x)\)
- \(f(1)\)

\(\text{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., \( \lim\limits_{x\to 1} f(x) = 0\). It is also clearly stated that \(f(1) = 1\).

Example 20: Evaluating limits of a piecewise-defined function

Let \(f(x) = \left\{\begin{array}{cc} x^2 & 0\leq x\leq 1 \\ 2-x & 1<x\leq 2\end{array},\right.\) as shown in Figure 1.24. Evaluate the following.

- \( \lim\limits_{x\to 1^-} f(x)\)
- \( \lim\limits_{x\to 1^+} f(x)\)
- \( \lim\limits_{x\to 1} f(x)\)
- \(f(1)\)

\(\text{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:

\[\lim\limits_{x\to 1^-} f(x) = \lim\limits_{x\to 1^+} f(x) =\lim\limits_{x\to 1} f(x) =f(1) = 1.\]

In Examples 17 - 20 we were asked to find both \( \lim\limits_{x\to 1}f(x)\) and \(f(1)\). Consider the following table:

\[\begin{array}{ccc} & \lim\limits_{x\to 1}f(x) & f(1) \\ \hline \text{Example 17} & \text{does not exist} & 1 \\ \text{Example 18} & 1 & \text{not defined} \\ \text{Example 19} & 0 & 1 \\ \text{Example 20} & 1 & 1 \\ \end{array}\]

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 \(x\rightarrow c\) (i.e., when \( \lim\limits_{x\to c} f(x) = L\)), it actually *attains* that value at \(c\). Such functions behave nicely as they are very predictable.

## Contributors

Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution - Noncommercial (BY-NC) License. http://www.apexcalculus.com/