# 1.2 Epsilon-Delta Definition of a Limit

This section introduces the formal definition of a limit. Many refer to this as “the epsilon-delta,” definition, referring to the letters $\epsilon$ and $\delta$ of the Greek alphabet.

Before we give the actual definition, let’s consider a few informal ways of describing a limit. Given a function $y=f(x)$ and an $x$-value, $c$, we say that “the limit of the function $f$, as $x$ approaches $c$, is a value $L$”:

1.

if “$y$ tends to $L$” as “$x$ tends to $c$.”

2.

if “$y$ approaches $L$” as “$x$ approaches $c$.”

3.

if “$y$ is near $L$” whenever “$x$ is near $c$.”

The problem with these definitions is that the words “tends,” “approach,” and especially “near” are not exact. In what way does the variable $x$ tend to, or approach, $c$? How near do $x$ and $y$ have to be to $c$ and $L$, respectively?

The definition we describe in this section comes from formalizing 3. A quick restatement gets us closer to what we want:

$\textbf{3}^{\prime}$.

If $x$ is within a certain tolerance level of $c$, then the corresponding value $y=f(x)$ is within a certain tolerance level of $L$.

The traditional notation for the $x$-tolerance is the lowercase Greek letter delta, or $\delta$, and the $y$-tolerance is denoted by lowercase epsilon, or $\epsilon$. One more rephrasing of $\textbf{3}^{\prime}$ nearly gets us to the actual definition:

$\textbf{3}^{\prime\prime}$.

If $x$ is within $\delta$ units of $c$, then the corresponding value of $y$ is within $\epsilon$ units of $L$.

We can write “$x$ is within $\delta$ units of $c$” mathematically as

 $\left\lvert x-c\right\rvert<\delta,\qquad\text{which is equivalent to }\qquad c% -\delta

Letting the symbol “$\longrightarrow$” represent the word “implies,” we can rewrite $\textbf{3}^{\prime\prime}$ as

 $\left\lvert x-c\right\rvert<\delta\longrightarrow\left\lvert y-L\right\rvert<% \epsilon\qquad\textrm{or}\qquad c-\delta

The point is that $\delta$ and $\epsilon$, being tolerances, can be any positive (but typically small) values. Finally, we have the formal definition of the limit with the notation seen in the previous section.

###### Definition 1.2.1 The Limit of a Function $f$

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$, is $L$, denoted by

 $\displaystyle\lim_{x\rightarrow c}f(x)=L,$

means that given any $\epsilon>0$, there exists $\delta>0$ such that for all $x\neq c$, if $\left\lvert x-c\right\rvert<\delta$, then $\left\lvert f(x)-L\right\rvert<\epsilon$.

(Mathematicians often enjoy writing ideas without using any words. Here is the wordless definition of the limit:

 $\lim_{x\to c}f(x)=L\iff\forall\,\epsilon>0,\exists\,\delta>0\text{ s.t. }0<% \left\lvert x-c\right\rvert<\delta\longrightarrow\left\lvert f(x)-L\right% \rvert<\epsilon\text{.)}$

Note the order in which $\epsilon$ and $\delta$ are given. In the definition, the $y$-tolerance $\epsilon$ is given first and then the limit will exist if we can find an $x$-tolerance $\delta$ that works.

An example will help us understand this definition. Note that the explanation is long, but it will go through all steps necessary to understand the ideas.

###### Example 1.2.1 Evaluating a limit using the definition

Show that $\displaystyle\lim_{x\rightarrow 4}\sqrt{x}=2$.

SolutionBefore we use the formal definition, let’s try some numerical tolerances. What if the $y$ tolerance is 0.5, or $\epsilon=0.5$? How close to 4 does $x$ have to be so that $y$ is within 0.5 units of 2, i.e., $1.5? In this case, we can proceed as follows:

 $\begin{array}[]{rcl}1.5<&y&{}<2.5\\ 1.5<&\sqrt{x}&{}<2.5\\ 1.5^{2}<&x&{}<2.5^{2}\\ 2.25<&x&{}<6.25.\end{array}$

So, what is the desired $x$ tolerance? Remember, we want to find a symmetric interval of $x$ values, namely $4-\delta. The lower bound of $2.25$ is $1.75$ units from 4; the upper bound of 6.25 is 2.25 units from 4. We need the smaller of these two distances; we must have $\delta\leq 1.75$. See Figure 1.2.1.

margin: With $\epsilon=0.5$, we pick any $\delta<1.75$. Figure 1.2.1: Illustrating the $\epsilon-\delta$ process. Λ

Given the $y$ tolerance $\epsilon=0.5$, we have found an $x$ tolerance, $\delta\leq 1.75$, such that whenever $x$ is within $\delta$ units of 4, then $y$ is within $\epsilon$ units of 2. That’s what we were trying to find.

Let’s try another value of $\epsilon$.

What if the $y$ tolerance is 0.01, i.e., $\epsilon=0.01$? How close to 4 does $x$ have to be in order for $y$ to be within 0.01 units of 2 (or $1.99)? Again, we just square these values to get $1.99^{2}, or

 $3.9601

What is the desired $x$ tolerance? In this case we must have $\delta\leq 0.0399$, which is the minimum distance from 4 of the two bounds given above.

What we have so far: if $\epsilon=0.5$, then $\delta\leq 1.75$ and if $\epsilon=0.01$, then $\delta\leq 0.0399$. A pattern is not easy to see, so we switch to general $\epsilon$ try to determine $\delta$ symbolically. We start by assuming $y=\sqrt{x}$ is within $\epsilon$ units of 2:

 $\displaystyle\left\lvert y-2\right\rvert<\epsilon$ $\displaystyle-\epsilon (Definition of absolute value) $\displaystyle-\epsilon<\sqrt{x}-2<\epsilon$ ($y=\sqrt{x}$) $\displaystyle 2-\epsilon<\sqrt{x}<2+\epsilon$ (Add 2) $\displaystyle(2-\epsilon)^{2} (Square all) $\displaystyle 4-4\epsilon+\epsilon^{2} (Expand) $\displaystyle 4-(4\epsilon-\epsilon^{2}) (Rewrite in the desired form) $\displaystyle-(4\epsilon-\epsilon^{2}) (Rewrite in the desired form)

The “desired form” in the last step is “$-\textit{something}.” Since we want this last interval to describe an $x$ tolerance around 4, we have that either $\delta\leq 4\epsilon-\epsilon^{2}$ or $\delta\leq 4\epsilon+\epsilon^{2}$, whichever is smaller:

 $\delta\leq\min\{4\epsilon-\epsilon^{2},4\epsilon+\epsilon^{2}\}\text{.}$

Since $\epsilon>0$, the minimum is $\delta\leq 4\epsilon-\epsilon^{2}$. That’s the formula: given an $\epsilon$, set $\delta\leq 4\epsilon-\epsilon^{2}$.

We can check this for our previous values. If $\epsilon=0.5$, the formula gives $\delta\leq 4(0.5)-(0.5)^{2}=1.75$ and when $\epsilon=0.01$, the formula gives $\delta\leq 4(0.01)-(0.01)^{2}=0.399$.

So given any $\epsilon>0$, set $\delta\leq 4\epsilon-\epsilon^{2}$. Then if $\left\lvert x-4\right\rvert<\delta$ (and $x\neq 4$), then $\left\lvert f(x)-2\right\rvert<\epsilon$, satisfying the definition of the limit. We have shown formally (and finally!) that $\displaystyle\lim_{x\rightarrow 4}\sqrt{x}=2$.

The previous example was a little long in that we sampled a few specific cases of $\epsilon$ before handling the general case. Normally this is not done. The previous example is also a bit unsatisfying in that $\sqrt{4}=2$; why work so hard to prove something so obvious? Many $\epsilon$-$\delta$ proofs are long and difficult to do. In this section, we will focus on examples where the answer is, frankly, obvious, because the non-obvious examples are even harder. In the next section we will learn some theorems that allow us to evaluate limits analytically, that is, without using the $\epsilon$-$\delta$ definition.

We will follow a general pattern to work through $\delta$-$\epsilon$ problems. In some sense, each starts out “backwards.” That is, while we want to

1. (a)

start with $\left\lvert x-c\right\rvert<\delta$ and conclude that

2. (b)

$\left\lvert f(x)-L\right\rvert<\epsilon$,

we actually start by assuming

1. (a)

$\left\lvert f(x)-L\right\rvert<\epsilon$, then perform some algebraic manipulations to give an inequality of the form

2. (b)

$\left\lvert x-c\right\rvert<$ something.

When we have properly done this, the something on the “greater than” side of the inequality becomes our $\delta$. We can refer to this as the “scratch-work” phase of our proof. Once we have $\delta$, we can formally start with $\left\lvert x-c\right\rvert<\delta$ and use algebraic manipulations to conclude that $\left\lvert f(x)-L\right\rvert<\epsilon$, usually by using the same steps of our “scratch-work” in reverse order.

We will highlight this process in the following examples.

###### Example 1.2.2 Evaluating a limit using the definition

Show that $\displaystyle\lim_{x\to 1}(3x-5)=-2$

SolutionLet’s do this example symbolically from the start.

Scratch-Work:

We start our scratch-work by considering $\left\lvert f(x)-(-2)\right\rvert<\epsilon$:

 $\displaystyle\left\lvert f(x)-(-2)\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert 3x-5+2\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert 3x-3\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle 3\left\lvert x-1\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert x-1\right\rvert$ $\displaystyle<\frac{\epsilon}{3}$

This suggests that we set $\delta=\frac{\epsilon}{3}$,

• Proof

Given $\epsilon>0$, choose $\displaystyle\delta=\frac{\epsilon}{3}$. We assume $\left\lvert x-1\right\rvert<\delta$

 $\displaystyle\left\lvert x-1\right\rvert$ $\displaystyle<\delta$ $\displaystyle\left\lvert x-1\right\rvert$ $\displaystyle<\frac{\epsilon}{3}$ (Our choice of $\delta$) $\displaystyle 3\left\lvert x-1\right\rvert$ $\displaystyle<\frac{\epsilon}{3}\cdot 3$ (Multiply by 3) $\displaystyle\left\lvert 3x-3\right\rvert$ $\displaystyle<\epsilon$ (Simplify) $\displaystyle\left\lvert 3x-5+2\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert 3x-5-(-2)\right\rvert$ $\displaystyle<\epsilon,$

which is what we wanted to show. Thus $\displaystyle\lim_{x\to 1}(3x-5)=-2$.∎

###### Example 1.2.3 Evaluating a limit using the definition

Show that $\displaystyle\lim_{x\to 2}\left(4-\frac{3}{2}x\right)=1$.

SolutionScratch-Work:

We start our scratch-work by considering $\left\lvert f(x)-1\right\rvert<\epsilon$:

 $\displaystyle\left\lvert f(x)-1\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert 4-\frac{3}{2}x-1\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert 3-\frac{3}{2}x\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert-\frac{3}{2}(-2+x)\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\frac{3}{2}\left\lvert x-2\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\frac{2\epsilon}{3}$

This suggests that we set $\delta=\frac{2\epsilon}{3}$,

• Proof

Given $\epsilon>0$, choose $\delta=\dfrac{2\epsilon}{3}$. We assume $\left\lvert x-2\right\rvert<\delta$

 $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\delta$ $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\frac{2\epsilon}{3}$ $\displaystyle\frac{3}{2}\left\lvert x-2\right\rvert$ $\displaystyle<\frac{2\epsilon}{3}\cdot\frac{3}{2}$ $\displaystyle\left\lvert-\frac{3}{2}(x-2)\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert-\frac{3}{2}x+3\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert 4-\frac{3}{2}x-1\right\rvert$ $\displaystyle<\epsilon,$

which is what we wanted to show. Thus $\displaystyle\lim_{x\to 2}(4-\frac{3}{2}x)=1$.∎

###### Example 1.2.4 Evaluating a limit using the definition

Show that $\displaystyle\lim_{x\to 2}x^{2}=4$.

SolutionScratch-Work: We start our scratch-work by considering
$\left\lvert f(x)-4\right\rvert<\epsilon$:

 $\displaystyle\left\lvert f(x)-4\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert x^{2}-4\right\rvert$ $\displaystyle<\epsilon$ (Now factor) $\displaystyle\left\lvert(x-2)(x+2)\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\frac{\epsilon}{\left\lvert x+2\right\rvert}.$ (1.2.1)

We are at the phase of saying that $\left\lvert x-2\right\rvert<$ something, where something$=\epsilon/\left\lvert x+2\right\rvert$. We want to turn that something into $\delta$. Could we not set $\delta=\dfrac{\epsilon}{\left\lvert x+2\right\rvert}$?

We are close to an answer, but the catch is that $\delta$ must be a constant value (so it can’t contain $x$). There is a way to work around this, but we do have to make an assumption. Remember that $\epsilon$ is supposed to be a small number, which implies that $\delta$ will also be a small value. In particular, we can (probably) assume that $\delta<1$. If this is true, then $\left\lvert x-2\right\rvert<\delta$ would imply that $\left\lvert x-2\right\rvert<1$, giving $1.

Now, back to the fraction $\dfrac{\epsilon}{\left\lvert x+2\right\rvert}$. If $1, then $3 (add 2 to all terms in the inequality). Taking reciprocals, we have

 $\displaystyle\frac{1}{5}<$ $\displaystyle\frac{1}{\left\lvert x+2\right\rvert}<\frac{1}{3}$ which implies $\displaystyle\frac{1}{5}<$ $\displaystyle\frac{1}{\left\lvert x+2\right\rvert}$ which implies $\displaystyle\frac{\epsilon}{5}<$ $\displaystyle\frac{\epsilon}{\left\lvert x+2\right\rvert}\text{.}$ (1.2.2)

This suggests that we set $\delta\leq\dfrac{\epsilon}{5}$. This ends our scratch-work, and we begin the formal proof (which also helps us understand why this was a good choice of $\delta$).

• Proof

Given $\epsilon$, let $\delta\leq\epsilon/5$. We want to show that when $\left\lvert x-2\right\rvert<\delta$, then $\left\lvert x^{2}-4\right\rvert<\epsilon$. We start with $\left\lvert x-2\right\rvert<\delta$:

 $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\delta$ $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\frac{\epsilon}{5}$ $\displaystyle\left\lvert x-2\right\rvert$ $\displaystyle<\frac{\epsilon}{5}<\frac{\epsilon}{\left\lvert x+2\right\rvert}$ (for $x$ near 2, from Equation (1.2.2)) $\displaystyle\left\lvert x-2\right\rvert\cdot\left\lvert x+2\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert(x-2)(x+2)\right\rvert$ $\displaystyle<\epsilon$ $\displaystyle\left\lvert x^{2}-4\right\rvert$ $\displaystyle<\epsilon,$

which is what we wanted to show. Thus $\displaystyle\lim_{x\to 2}x^{2}=4$. ∎

We have arrived at $\left\lvert x^{2}-4\right\rvert<\epsilon$ as desired. Note again, in order to make this happen we needed $\delta$ to first be less than 1. That is a safe assumption; we want $\epsilon$ to be arbitrarily small, forcing $\delta$ to also be small.

We have also picked $\delta$ to be smaller than “necessary.” We could get by with a slightly larger $\delta$, as shown in Figure 1.2.2. The dashed outer lines show the boundaries defined by our choice of $\epsilon$. The dotted inner lines show the boundaries defined by setting $\delta=\epsilon/5$. Note how these dotted lines are within the dashed lines. That is perfectly fine; by choosing $x$ within the dotted lines we are guaranteed that $f(x)$ will be within $\epsilon$ of 4.

margin: Figure 1.2.2: Choosing $\delta=\epsilon/5$ in Example 1.2.4. Λ

In summary, given $\epsilon>0$, set $\delta\leq\epsilon/5$. Then $\left\lvert x-2\right\rvert<\delta$ implies $\left\lvert x^{2}-4\right\rvert<\epsilon$ (i.e. $\left\lvert y-4\right\rvert<\epsilon$) as desired. This shows that $\displaystyle\lim_{x\rightarrow 2}x^{2}=4$. Figure 1.2.2 gives a visualization of this; by restricting $x$ to values within $\delta=\epsilon/5$ of 2, we see that $f(x)$ is within $\epsilon$ of $4$.

To better understand the definition of a limit, experiment with the Geogebra app at http://ggbm.at/RtY27ybS.

The portions of the graph outside of the $\epsilon$ tolerance are highlighted in red. If you get everything within $\epsilon$, then the graph turns green. You can also put in a piecewise defined function using If[ condition , then , else ], such as If[ x>0 , x^2 , -x ]. (If you have trouble moving $L$ around, you may need to use the up and down arrows on your keyboard.)

This formal definition of the limit is not an easy concept grasp. Our examples are actually “easy” examples, using “simple” functions like polynomials, square-roots and exponentials. It is very difficult to prove, using the techniques given above, that $\displaystyle\lim_{x\to 0}(\sin x)/x=1$, as we approximated in the previous section.

There is hope. The next section shows how one can evaluate complicated limits using certain basic limits as building blocks. While limits are an incredibly important part of calculus (and hence much of higher mathematics), rarely are limits evaluated using the definition. Rather, the techniques of the following section are employed.

## Exercises 1.2

### Terms and Concepts

1. 1.
What is wrong with the following “definition” of a limit? “The limit of $f(x)$, as $x$ approaches $a$, is $K$” means that given any $\delta>0$ there exists $\epsilon>0$ such that whenever $\left\lvert f(x)-K\right\rvert<\epsilon$, we have $\left\lvert x-a\right\rvert<\delta$.
2. 2.

Which is given first in establishing a limit, the $x$-tolerance or the $y$-tolerance?

3. 3.

T/F: $\epsilon$ must always be positive.

4. 4.

T/F: $\delta$ must always be positive.

### Problems

1. 5.
Use the graph below of $f$ to find a number $\delta$ such that if $0<\left\lvert x-2\right\rvert<\delta$, then $\left\lvert f(x)-1\right\rvert<0.5$.
2. 6.
Use the graph below of $f$ to find a number $\delta$ such that if $0<\left\lvert x-2\right\rvert<\delta$, then $\left\lvert f(x)-1\right\rvert<0.3$.

In Exercises 7–18., prove the given limit using an $\epsilon-\delta$ proof.

1. 7.

$\displaystyle\lim_{x\to 4}(2x+5)=13$

2. 8.

$\displaystyle\lim_{x\to 5}(3-x)=-2$

3. 9.

$\displaystyle\lim_{x\to 5}(4x-12)=8$

4. 10.

$\displaystyle\lim_{x\to 3}(5-2x)=-1$

5. 11.

$\displaystyle\lim_{x\to 3}\left(x^{2}-3\right)=6$

6. 12.

$\displaystyle\lim_{x\to 4}\left(x^{2}+x-5\right)=15$

7. 13.

$\displaystyle\lim_{x\to 1}\left(2x^{2}+3x+1\right)=6$

8. 14.

$\displaystyle\lim_{x\to 2}\left(x^{3}-1\right)=7$

9. 15.

$\displaystyle\lim_{x\to 2}5=5$

10. 16.

$\displaystyle\lim_{x\to 0}\left(e^{2x}-1\right)=0$

11. 17.

$\displaystyle\lim_{x\to 1}\frac{1}{x}=1$

12. 18.

$\displaystyle\lim_{x\to 0}\sin x=0$ (Hint: use the fact that $\left\lvert\sin x\right\rvert\leq\left\lvert x\right\rvert$, with equality only when $x=0$.) 