Skip to main content
Logo image

APEX Calculus

Section 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 \(\varepsilon\) and \(\delta\) of the Greek alphabet.
Figure 1.2.1. An informal definition of the limit
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\text{,}\) we say that “the limit of the function \(f\text{,}\) as \(x\) approaches \(c\text{,}\) is a value \(L\)” if:
Tends
\(y\) tends to \(L\)” as “\(x\) tends to \(c\text{.}\)
Approaches
\(y\) approaches \(L\)” as “\(x\) approaches \(c\text{.}\)
Near
\(y\) is near \(L\)” whenever “\(x\) is near \(c\text{.}\)
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\text{?}\) How near do \(x\) and \(y\) have to be to \(c\) and \(L\text{,}\) respectively?
The definition we describe in this section comes from formalizing “Near”. A quick restatement gets us closer to what we want:
Tolerance Levels
If \(x\) is within a certain tolerance level of \(c\text{,}\) then the corresponding value \(y=f(x)\) is within a certain tolerance level of \(L\text{.}\)
The traditional notation for the \(x\)-tolerance is the lowercase Greek letter delta, or \(\delta\text{,}\) and the \(y\)-tolerance is denoted by lowercase epsilon, or \(\varepsilon\text{.}\) One more rephrasing of “Tolerance Levels” nearly gets us to the actual definition:
Named Tolerance Levels
If \(x\) is within \(\delta\) units of \(c\text{,}\) then the corresponding value of \(y\) is within \(\varepsilon\) units of \(L\text{.}\)
We can write “\(x\) is within \(\delta\) units of \(c\)” mathematically as
\begin{equation*} \abs{x-c} \lt \delta\text{,} \end{equation*}
which is equivalent to
\begin{equation*} c-\delta \lt x \lt c+\delta\text{.} \end{equation*}
Letting the symbol “\(\implies\)” represent the word “implies,” we can rewrite “Named Tolerance Levels” as
\begin{equation*} \abs{x - c} \lt \delta \implies \abs{y - L} \lt \varepsilon \end{equation*}
or
\begin{equation*} c - \delta \lt x \lt c + \delta \implies L - \varepsilon \lt y \lt L + \varepsilon\text{.} \end{equation*}
The point is that \(\delta\) and \(\varepsilon\text{,}\) being tolerances, can be any positive (but typically small) values satisfying this implication. Finally, we have the formal definition of the limit with the notation seen in the previous section.

Definition 1.2.2. The Limit of a Function \(f\) at a point.

Let \(I\) be an open interval containing \(c\text{,}\) and let \(f\) be a function defined on \(I\text{,}\) except possibly at \(c\text{.}\) The statement that “the limit of \(f(x)\text{,}\) as \(x\) approaches \(c\text{,}\) is \(L\)” is denoted by
\begin{equation*} \lim_{x\to c} f(x) = L\text{,} \end{equation*}
and means that given any \(\varepsilon \gt 0\text{,}\) there exists \(\delta \gt 0\) such that for all \(x\) in \(I\text{,}\) where \(x \neq c\text{,}\) if \(\abs{x - c} \lt \delta\text{,}\) then \(\abs{f(x) - L} \lt \varepsilon\text{.}\)
Figure 1.2.3. Video presentation of Definition 1.2.2
Mathematicians often enjoy writing ideas without using any words. Here is the wordless definition of the limit:
\begin{gather*} \lim_{x\to c} f(x) = L\\ \iff\\ \forall \, \varepsilon \gt 0, \exists \, \delta \gt 0 \text{ s.t. }0\lt \abs{x - c} \lt \delta \implies \abs{f(x) - L} \lt \varepsilon\text{.} \end{gather*}
Note the order in which \(\varepsilon\) and \(\delta\) are given. In the definition, the \(y\)-tolerance \(\varepsilon\) 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 take one through all steps necessary to understand the ideas.

Example 1.2.4. Evaluating a limit using the definition.

Show that \(\lim\limits_{x\to 4} \sqrt{x} = 2\text{.}\)
Solution 1.
Before we use the formal definition, let’s try some numerical tolerances. What if the \(y\) tolerance is \(0.5\text{,}\) or in other words \(\varepsilon =0.5\text{?}\) How close to \(4\) does \(x\) have to be so that \(y\) is within \(0.5\) units of \(2\text{?}\) That is, \(1.5 \lt y \lt 2.5\text{?}\) In this case, we can proceed as follows:
\begin{align*} 1.5 \amp\lt y \lt 2.5\\ 1.5 \amp\lt \sqrt{x} \lt 2.5 \amp\amp \text{(Let } y=\sqrt{x} \text{)}\\ 1.5^2 \amp\lt x \lt 2.5^2\amp\amp \text{(Square the inequality)}\\ 2.25 \amp\lt x \lt 6.25\\ 2.25-4 \amp\lt x-4 \lt 6.25-4\amp\amp \text{(Subtract }4\text{ from both sides)}\\ -1.75 \amp\lt x-4 \lt 2.25 \end{align*}
So, what is the desired \(x\) tolerance? Remember, we want to find a \(\delta\) so that \(\abs{x-4}\) is smaller than \(\delta\text{.}\) Since \(1.75\lt2.25\text{,}\) then if we require \(\abs{x-4}\lt 1.75\text{,}\) then we have
\begin{gather*} \abs{x-4}\lt1.75\\ \implies-1.75\lt x-4\lt1.75\lt2.25 \end{gather*}
Therefore we can have \(\delta \leq 1.75\text{.}\) See Figure 1.2.5.
Graph of square root x with 3 points, shows that two points are within epsilon of the other point.
Graph of the function \(\sqrt{x}\text{.}\) There are three points on the graph, the first is at \(x = 2.25\text{,}\) \(f(2.25) = 1.5\text{,}\) giving the point \((2.25, 1.5)\text{.}\) For the second point we have \(x = 4\text{,}\) making \(f(4) = 2\text{,}\) which gives the point \((4, 2)\text{.}\) The third point found at \(x = 6.25\) which gives \(f(6.25) = 2.5\text{,}\) giving the point \((6.25, 2.5)\text{.}\)
Taking \(f(2.25)\) and adding \(\varepsilon\) we get \(2\text{,}\) which is \(f(4) = 2\) and taking \(f(6.25)\) and subtracting \(\varepsilon\) we again get \(2\text{.}\) This shows the range given by \(\varepsilon=0.5\text{.}\)
There are two vertical lines near the \(y\) axis, at \(y = 2\text{.}\) One which goes down and the other goes up. The length of the lines represents \(\varepsilon = 0.5\) and are used to show that the points \((2.25, 1.5)\) and \((6.25, 2.5)\) are within \(\varepsilon\) of the point \((4, 2)\text{.}\)
(a)
Graph of square root x with 3 points, shows that two points are within epsilon of the other point.
Graph of the equation \(sqrt{x}\text{.}\) There are three points on the graph, the first is at \(x = 2.25\text{,}\) \(f(2.25) = 1.5\text{,}\) giving the point \((2.25, 1.5)\text{.}\) For the second point we have \(x = 4\text{,}\) making \(f(4) = 2\text{,}\) which gives the point \((4, 2)\text{.}\) The third point found at \(x = 6.25\) which gives \(f(6.25) = 2.5\text{,}\) giving the point \((6.25, 2.5)\text{.}\)
This graph has the same vertical lines as Figure 1.2.5.(a) There are also horizontal lines near the \(x\) axis, showing the distance from \(2.25\) to \(4\) is \(1.75\) and the distance from \(6.25\) to \(\)4 is \(2.25\text{.}\)
(b)
Figure 1.2.5. Illustrating the \(\varepsilon-\delta\) process. With \(\varepsilon=0.5\text{,}\) we pick any \(\delta \lt 1.75\)
Given the \(y\) tolerance \(\varepsilon =0.5\text{,}\) we have found an \(x\) tolerance, \(\delta \lt 1.75\text{,}\) such that whenever \(x\) is within \(\delta\) units of \(4\text{,}\) then \(y\) is within \(\varepsilon\) units of \(2\text{.}\) That’s what we were trying to find.
Let’s try another value of \(\varepsilon\text{.}\)
What if the \(y\) tolerance is \(0.01\text{,}\) i.e. \(\varepsilon =0.01\text{?}\) How close to \(4\) does \(x\) have to be in order for \(y\) to be within \(0.01\) units of \(2\text{?}\) (In other words for \(1.99 \lt y \lt 2.01\text{?}\)) Again, we just square these values to get \(1.99^2 \lt x \lt 2.01^2\text{,}\) or
\begin{align*} 3.9601 \amp\lt x \lt 4.0401\\ -0.0399\amp\lt x-4 \lt 0.0401 \end{align*}
What is the desired \(x\) tolerance? In this case we must have \(\delta \lt 0.0399\text{,}\) which is the minimum distance from \(4\) of the two bounds given above.
What we have so far: if \(\varepsilon =0.5\text{,}\) then \(\delta \lt 1.75\) leads to \(f(x)\) being less than \(\varepsilon\) from \(f(4)\) and if \(\varepsilon = 0.01\text{,}\) then \(\delta \lt 0.0399\) being less than \(\varepsilon\) from \(f(4)\text{.}\) A pattern is not easy to see, so we switch to general \(\varepsilon\) try to determine an adequate \(\delta\) symbolically. We start by assuming \(y=\sqrt{x}\) is within \(\varepsilon\) units of \(2\text{:}\)
\begin{align*} \amp\abs{y - 2} \lt \varepsilon\\ -\varepsilon \amp\lt y - 2 \lt \varepsilon\\ -\varepsilon \amp\lt \sqrt{x} - 2 \lt \varepsilon \amp\amp (y=\sqrt{x})\\ 2 - \varepsilon \amp\lt \sqrt{x} \lt 2+ \varepsilon \amp\amp \text{(Add 2)}\\ (2 - \varepsilon)^2 \amp\lt x \lt (2+ \varepsilon) ^2 \amp\amp \text{(Square all)}\\ 4 - 4\varepsilon + \varepsilon^2 \amp\lt x \lt 4 + 4\varepsilon + \varepsilon^2 \amp\amp \text{(Expand)}\\ -4\varepsilon + \varepsilon^2 \amp\lt x-4 \lt 4\varepsilon + \varepsilon^2\amp\amp \text{(Subtract 4)} \end{align*}
The “desired form” in the last step is “\(4-\textit{something} \lt x \lt 4 + \textit{something}\text{.}\)” Since we want this last interval to describe an \(x\) tolerance around 4, we have that either \(\delta \lt 4\varepsilon - \varepsilon^2\) or \(\delta \lt 4\varepsilon + \varepsilon^2\text{,}\) whichever is smaller:
\begin{equation*} \delta \lt \min\{4\varepsilon - \varepsilon^2, 4\varepsilon + \varepsilon^2\}\text{.} \end{equation*}
Since \(\varepsilon \gt 0\text{,}\) we have \(4\varepsilon - \varepsilon^2 \lt 4\varepsilon + \varepsilon^2\text{,}\) the minimum is \(\delta \leq 4\varepsilon - \varepsilon^2\text{.}\) That’s the formula: given an \(\varepsilon\text{,}\) set \(\delta \leq 4\varepsilon-\varepsilon^2\text{.}\)
We can check this for our previous values. If \(\varepsilon=0.5\text{,}\) the formula gives \(\delta \lt 4(0.5) - (0.5)^2 = 1.75\) and when \(\varepsilon=0.01\text{,}\) the formula gives \(\delta \lt 4(0.01) - (0.01)^2 = 0.0399\text{.}\)
So given any \(\varepsilon \gt 0\text{,}\) set \(\delta \lt 4\varepsilon - \varepsilon^2\text{.}\) Then if \(\abs{x-4}\lt \delta\) (and \(x\neq 4\)), then \(\abs{f(x) - 2} \lt \varepsilon\text{,}\) satisfying the definition of the limit. We have shown formally (and finally!) that \(\lim_{x\to 4} \sqrt{x} = 2\text{.}\)
Solution 2. Video solution
The previous example was a little long in that we sampled a few specific cases of \(\varepsilon\) before handling the general case. Normally this is not done. The previous example is also a bit unsatisfying in that \(\sqrt{4}=2\text{;}\) why work so hard to prove something so obvious? Many \(\varepsilon\)-\(\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 \(\varepsilon\)-\(\delta\) definition.

Example 1.2.6. Evaluating a limit using the definition.

Show that \(\lim\limits_{x\to 2} x^2 = 4\text{.}\)
Solution 1.
Let’s do this example symbolically from the start. Let \(\varepsilon \gt 0\) be given; we want \(\abs{y-4} \lt \varepsilon\text{,}\) i.e., \(\abs{x^2-4} \lt \varepsilon\text{.}\) How do we find \(\delta\) such that when \(\abs{x-2} \lt \delta\text{,}\) we are guaranteed that \(\abs{x^2-4}\lt \varepsilon\text{?}\)
This is a bit trickier than the previous example, but let’s start by noticing that \(\abs{x^2-4} = \abs{x-2}\cdot\abs{x+2}\text{.}\) Consider:
\begin{equation*} \abs{x^2-4} \lt \varepsilon \implies \abs{x-2}\cdot\abs{x+2} \lt \varepsilon \implies \abs{x-2} \lt \frac{\varepsilon}{\abs{x+2}}\text{.} \end{equation*}
Could we not set \(\delta = \frac{\varepsilon}{\abs{x+2}}\text{?}\)
We are close to an answer, but the catch is that \(\delta\) must be a constant value (so it can’t depend on \(x\)). There is a way to work around this, but we do have to make an assumption. Remember that \(\varepsilon\) 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 \lt 1\text{.}\) If this is true, then \(\abs{x-2} \lt \delta\) would imply that \(\abs{x-2} \lt 1\text{,}\) giving \(1 \lt x \lt 3\text{.}\)
Now, back to the fraction \(\frac{\varepsilon}{\abs{x+2}}\text{.}\) If \(1\lt x\lt 3\text{,}\) then \(3\lt x+2\lt 5\) (add \(2\) to all terms in the inequality). Taking reciprocals, we have
\begin{equation*} \frac15 \lt \frac1{\abs{x+2}} \lt \frac 13\text{,} \end{equation*}
which implies
\begin{equation*} \frac15 \lt \frac1{\abs{x+2}}\text{,} \end{equation*}
which implies
\begin{equation} \frac{\varepsilon}{5}\lt \frac{\varepsilon}{\abs{x+2}}\text{.}\tag{1.2.1} \end{equation}
This suggests that we set \(\delta \lt \frac{\varepsilon}{5}\text{.}\) To see why, let consider what follows when we assume \(\abs{x-2}\lt \delta\text{:}\)
\begin{align*} \abs{x-2}\amp\lt\delta\\ \abs{x-2}\amp\lt\frac{\varepsilon}{5}\amp\amp\text{(Our choice of } \delta\text{)}\\ \abs{x-2}\cdot\abs{x+2}\amp\lt\abs{x+2}\cdot\frac{\varepsilon}{5}\amp\amp\text{(Multiply by }\abs{x+2}\text{)}\\ \abs{x^2-4}\amp\lt\abs{x+2}\cdot\frac{\varepsilon}{5}\amp\amp\text{(Simplify left side)}\\ \abs{x^2-4}\amp\lt\abs{x+2}\cdot\frac{\varepsilon}{\abs{x+2}}\amp\amp\text{(}\knowl{./knowl/xref/eq_limit1.html}{\text{Inequality (1.2.1)}}, \delta \lt 1\text{)}\\ \abs{x^2-4}\amp\lt\varepsilon \end{align*}
We have arrived at \(\abs{x^2-4}\lt \varepsilon\) as desired. Note again, in order to make this happen we needed \(\delta\) to first be less than \(1\text{.}\) That is a safe assumption; we want \(\varepsilon\) 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\text{,}\) as shown in Figure 1.2.7. The outer lines show the boundaries defined by our choice of \(\varepsilon\text{.}\) The inner lines show the boundaries defined by setting \(\delta = \varepsilon/5\text{.}\) 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 \(\varepsilon\) of \(4\text{.}\)
Graph of x squared, has 3 points. Shows that two points are within epsilon and delta of the third point.
Graph of \(x^2\) zoomed in where \(x = 2\text{.}\) There are three points on the graph:
  1. \((1.73, 3)\text{,}\) since when \(x = 1.73\) we get \(f(1.73) = 3\)
  2. \((2, 4)\text{,}\) because when \(x = 2\text{,}\) \(f(2) = 4\)
  3. \((2.24, 5)\) when \(x = 2.24\) we get \(f(2.24) = 5\)
There is a vertial line showing the point \((1.73, 3)\) is \(\varepsilon\) from the point \((2, 4)\text{,}\) because \(3 + \varepsilon = 4\text{.}\) Another vertical line is used to show the point \((2.24, 5)\) is \(\varepsilon\) from the point \(2, 4\text{,}\) since \(5 - \varepsilon = 4\text{.}\)
There are also vertical lines at \(x = 2.24\text{,}\) \(x = 1.73\text{,}\) \(x = 2.2\text{,}\) and \(x = 1.8\text{.}\) This creates two sets of vertical lines, the outer set is at \(x = 1.73\) and \(x = 2.24\text{.}\) The inner set is at \(x = 1.8\) and \(x = 2.2\text{.}\) The out set of lines mark where \(\delta = 1\text{,}\) while the inner set marks \(\delta = \epsilon / 5\text{.}\)
The inner set of vertical lines shows that the points at \((1.73, 3)\) and \(2.24, 5\) are not within \(\delta\) of the point \(2, 4\text{.}\)
There are horizontal lines that are between the inner vertical lines marking \(2 \pm (\varepsilon / 5)\text{.}\)
Figure 1.2.7. Choosing \(\delta = \varepsilon/5\) in Example 1.2.6
In summary, given \(\varepsilon \gt 0\text{,}\) set \(\delta=\varepsilon/5\text{.}\) Then \(\abs{x-2} \lt \delta\) implies \(\abs{x^2 - 4}\lt\varepsilon\) (i.e. \(\abs{y-4}\lt\varepsilon\)) as desired. This shows that \(\lim_{x\to 2} x^2 = 4\text{.}\) Figure 1.2.7 gives a visualization of this; by restricting \(x\) to values within \(\delta = \varepsilon/5\) of \(2\text{,}\) we see that \(f(x)\) is within \(\varepsilon\) of \(4\text{.}\)
Solution 2. Video solution
Make note of the general pattern exhibited in these last two examples. In some sense, each starts out “backwards.” That is, while we want to
  1. start with \(\abs{x-c}\lt \delta\) and conclude that
  2. \(\abs{f(x)-L}\lt \varepsilon\text{,}\)
we actually start by doing what is essentially some “scratch-work” first:
  1. assume \(\abs{f(x)-L}\lt \varepsilon\text{,}\) then perform some algebraic manipulations to give an inequality of the form
  2. \(\abs{x-c}\lt\) something.
When we have properly done this, the something on the “greater than” side of the inequality becomes our \(\delta\text{.}\) We can refer to this as the “scratch-work” phase of our proof. Once we have \(\delta\text{,}\) we can formally start the actual proof with \(\abs{x-c}\lt \delta\) and use algebraic manipulations to conclude that \(\abs{f(x)-L}\lt \varepsilon\text{,}\) usually by using the same steps of our “scratch-work” in reverse order.
We highlight this process in the following example.

Example 1.2.8. Evaluating a limit using the definition.

Prove that \(\lim\limits_{x\to 1}(x^3-2x) = -1\text{.}\)
Solution 1.
We start our scratch-work by considering \(\abs{f(x) - (-1)} \lt \varepsilon\text{:}\)
\begin{align} \abs{f(x)-(-1)} \amp \lt \varepsilon\notag\\ \abs{x^3-2x + 1}\amp \lt \varepsilon \amp\amp \text{(Now factor)}\notag\\ \abs{(x-1)(x^2+x-1)}\amp \lt \varepsilon\notag\\ \abs{x-1}\amp\lt\frac{\varepsilon}{\abs{x^2+x-1}}\text{.}\tag{1.2.2} \end{align}
We are at the phase of saying that \(\abs{x-1}\lt\) something, where \(\textit{something}=\varepsilon/\abs{x^2+x-1}\text{.}\) We want to turn that something into \(\delta\text{.}\)
Since \(x\) is approaching \(1\text{,}\) we are safe to assume that \(x\) is between \(0\) and \(2\text{.}\) So
\begin{align*} 0\amp \lt x\lt 2\\ 0\amp \lt x^2\lt 4\amp\amp \text{(Squared each term.)}\\ \end{align*}
Since \(0\lt x\lt 2\text{,}\) we can add \(0\text{,}\) \(x\) and \(2\text{,}\) respectively, to each part of the inequality and maintain the inequality.
\begin{align*} 0\amp \lt x^2+x\lt 6\\ -1\amp \lt x^2+x-1\lt 5\amp\amp \text{(Subtracted 1 from each part.)} \end{align*}
In Inequality (1.2.2), we wanted \(\abs{x-1}\lt \varepsilon/\abs{x^2+x-1}\text{.}\) The above shows that given any \(x\) in \([0,2]\text{,}\) we know that
\begin{align} x^2+x-1 \amp \lt 5 \amp\amp \text{which implies that}\notag\\ \frac15 \amp \lt \frac{1}{x^2+x-1} \amp\amp \text{which implies that}\notag\\ \frac{\varepsilon}5 \amp \lt \frac{\varepsilon}{x^2+x-1}\amp\amp\text{.}\tag{1.2.3} \end{align}
So we set \(\delta \lt \epsilon/5\text{.}\) This ends our scratch-work, and we begin the formal proof (which also helps us understand why this was a good choice of \(\delta\)).
Given \(\varepsilon\text{,}\) let \(\delta \lt \varepsilon/5\text{.}\) We want to show that when \(\abs{x-1}\lt \delta\text{,}\) then \(\abs{(x^3-2x)-(-1)}\lt \varepsilon\text{.}\) We start with \(\abs{x-1}\lt \delta\text{:}\)
\begin{align*} \abs{x-1} \amp \lt \delta\\ \abs{x-1} \amp \lt \frac{\varepsilon}{5}\\ \abs{x-1} \amp \lt \frac{\varepsilon}{\abs{x^2+x-1}} \amp\amp \text{(}\knowl{./knowl/xref/eq_lim5.html}{\text{Inequality (1.2.3)}}, x\text{ near 1)}\\ \abs{x-1}\cdot \abs{x^2+x-1} \amp \lt \varepsilon\\ \abs{x^3-2x+1} \amp \lt \varepsilon\\ \abs{(x^3-2x)-(-1)} \amp \lt \varepsilon\text{,} \end{align*}
which is what we wanted to show. Thus \(\lim_{x\to 1}(x^3-2x) = -1\text{.}\)
Solution 2. Video solution
We illustrate evaluating limits once more.

Example 1.2.9. Evaluating a limit using the definition.

Prove that \(\lim\limits_{x\to 0} e^x = 1\text{.}\)
Solution.
Symbolically, we want to take the inequality \(\abs{e^x - 1} \lt \varepsilon\) and unravel it to the form \(\abs{x-0} \lt \delta\text{.}\) Here is our scratch-work:
\begin{align*} \amp\abs{e^x - 1}\lt \varepsilon\\ -\varepsilon \amp\lt e^x - 1 \lt \varepsilon\amp\amp \text{(Definition of absolute value)}\\ 1-\varepsilon \amp\lt e^x \lt 1+\varepsilon \amp\amp \text{(Add 1)}\\ \ln(1-\varepsilon) \amp\lt x \lt \ln(1+\varepsilon) \amp\amp \text{(Take natural logs)} \end{align*}
Making the safe assumption that \(\varepsilon\lt 1\) ensures the last inequality is valid (i.e., so that \(\ln(1-\varepsilon)\) is defined). We can then set \(\delta\) to be the minimum of \(\abs{\ln(1-\varepsilon)}\) and \(\ln(1+\varepsilon)\text{;}\) i.e.,
\begin{equation*} \delta = \min\{\abs{\ln(1-\varepsilon)}, \ln(1+\varepsilon)\} = \ln(1+\varepsilon)\text{.} \end{equation*}
Now, we work through the actual the proof:
\begin{align*} \amp\abs{x - 0}\lt \delta\\ -\delta \amp \lt x \lt \delta \amp\amp \text{(Definition of absolute value)}\\ -\ln(1+\varepsilon) \amp \lt x \lt \ln(1+\varepsilon)\\ \ln(1-\varepsilon) \amp \lt x \lt \ln(1+\varepsilon) \amp \amp \text{(since \(\ln(1-\varepsilon) \lt -\ln(1+\varepsilon)\)). }\\ \end{align*}
The above line is true by our choice of \(\delta\) and by the fact that since \(\abs{\ln(1-\varepsilon)} \gt \ln(1+\varepsilon)\) and \(\ln(1-\varepsilon)\lt 0\text{,}\) we know \(\ln(1-\varepsilon) \lt -\ln(1+\varepsilon )\text{.}\)
\begin{align*} 1-\varepsilon \amp \lt e^x \lt 1+\varepsilon \amp \amp \text{(Exponentiate)}\\ -\varepsilon \amp \lt e^x - 1 \lt \varepsilon \amp\amp \text{(Subtract 1)} \end{align*}
In summary, given \(\varepsilon \gt 0\text{,}\) let \(\delta = \ln(1+\varepsilon)\text{.}\) Then \(\abs{x - 0} \lt \delta\) implies \(\abs{e^x - 1}\lt \varepsilon\) as desired. We have shown that \(\lim_{x\to 0} e^x = 1\text{.}\)
We note that we could actually show that \(\lim_{x\to c} e^x = e^c\) for any constant \(c\text{.}\) We do this by factoring out \(e^c\) from both sides, leaving us to show \(\lim_{x\to c} e^{x-c} = 1\) instead. By using the substitution \(u=x-c\text{,}\) this reduces to showing \(\lim_{u\to 0} e^u = 1\) which we just did in the last example. As an added benefit, this shows that in fact the function \(f(x)=e^x\) is continuous at all values of \(x\text{,}\) an important concept we will define in Section 1.5.
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 \(\lim_{x\to 0}\frac{\sin(x)}{x} = 1\text{,}\) as we approximated in Section 1.1.
There is hope. Section 1.3 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 Section 1.3 are employed.

Exercises Exercises

Terms and Concepts

1.
What is wrong with the following “definition” of a limit?
“The limit of \(f(x)\text{,}\) as \(x\) approaches \(a\text{,}\) is \(K\)” means that given any \(\delta \gt 0\) there exists \(\varepsilon \gt 0\) such that whenever \(\abs{f(x)-K}\lt\varepsilon\text{,}\) we have \(\abs{x-a}\lt \delta\text{.}\)
2.
Which is given first in establishing a limit?
  • x-tolerance
  • y-tolerance
3.
  • True
  • False
\(\varepsilon\) must always be positive.
4.
  • True
  • False
\(\delta\) must always be positive.

Problems

Exercise Group.
Prove the given limit using an \(\varepsilon\)-\(\delta\) proof.
5.
\(\lim\limits_{x\to 4} (2x+5) = 13\)
6.
\(\lim\limits_{x\to 5}(3-x)=-2\)
7.
\(\lim\limits_{x\to 3}\left(x^2-3\right)=6\)
8.
\(\lim\limits_{x\to 4}\left(x^2+x-5\right)=15\)
9.
\(\lim\limits_{x\to 1} \left(2x^2+3x+1\right) = 6\)
10.
\(\lim\limits_{x\to 2}\left(x^3-1\right)=7\)
11.
\(\lim\limits_{x\to 2}5=5\)
12.
\(\lim\limits_{x\to 0}\left(e^{2x}-1\right)=0\)
13.
\(\lim\limits_{x\to 1} \frac1x = 1\)
14.
\(\lim\limits_{x\to 0} \sin(x)= 0\)