Section1.9(Optional) — Proving the Arithmetic of Limits
Perhaps the most useful theorem of this chapter is Theorem 1.4.3 which shows how limits interact with arithmetic. In this (optional) section we will prove both the arithmetic of limits Theorem 1.4.3 and the Squeeze Theorem 1.4.18. Before we get to the proofs it is very helpful to prove three technical lemmas that we’ll need. The first is a very general result about absolute values of numbers:
Notice that for any real number \(x\text{,}\) we always have \(-x,x\le|x|\) and either \(|x|=x\) or \(|x|=-x\text{.}\) So now let \(x,y \in \mathbb{R}\text{.}\) Then we must have either
In both cases we end up with \(|x+y| \le |x| + |y|\text{.}\)
The second lemma is more specialised. It proves that if we have a function \(f(x) \to F\) as \(x \to a\) then there must be a small window around \(x=a\) where the function \(f(x)\) must only take values not far from \(F\text{.}\) In particular it tells us that \(|f(x)|\) cannot be bigger than \(|F|+1\) when \(x\) is very close to \(a\text{.}\)
Lemma1.9.2.
Let \(a \in \mathbb{R}\) and let \(f\) be a function so that \(\ds \lim_{x \to a} f(x) =F\text{.}\) Then there exists a \(\delta \gt 0\) so that if \(0 \lt |x-a| \lt \delta\) then we also have \(|f(x)| \leq |F|+1\text{.}\)
The proof is mostly just manipulating the \(\epsilon\)–\(\delta\) definition of a limit with \(\epsilon=1\text{.}\)
Proof.
Let \(\epsilon = 1\text{.}\) Then since \(f(x) \to F\) as \(x \to a\text{,}\) there exists \(\delta \gt 0\) so that when \(0 \lt |x-a| \lt \delta\text{,}\) we also have \(|f(x)-F| \leq \epsilon=1\text{.}\) So now assume \(0 \lt |x-a| \lt \delta\text{.}\) Then
\begin{align*}
-\epsilon &\leq f(x) - F \leq \epsilon & \text{rearrange a little}\\
-\epsilon+F &\leq f(x) \leq \epsilon+F\\
\end{align*}
Now \(\epsilon+F \leq \epsilon+|F|\) and \(-\epsilon+F \geq -\epsilon-|F|\text{,}\) so
Hence we have \(|f(x)| \leq \epsilon+|F| = |F|+1\text{.}\)
Finally our third technical lemma gives us a bound in the other direction; it tells us that when \(x\) is close to \(a\text{,}\) the value of \(|f(x)|\) cannot be much smaller than \(|F|\text{.}\)
Lemma1.9.3.
Let \(a \in \mathbb{R}\) and \(F\ne0\) and let \(f\) be a function so that \(\ds \lim_{x \to a} f(x) = F\text{.}\) Then there exists \(\delta \gt 0\) so that when \(0 \lt |x-a| \lt \delta\text{,}\) we have \(|f(x)| \gt \frac{|F|}{2}\text{.}\)
Proof.
Set \(\epsilon = \frac{|F|}{2} \gt 0\text{.}\) Since \(f(x) \to F\text{,}\) we know there exists a \(\delta \gt 0\) so that when \(0 \lt |x-a| \lt \delta\) we have \(|f(x)-F| \lt \epsilon\text{.}\) So now assume \(0 \lt |x-a| \lt \delta\) so that \(|f(x)-F| \lt \epsilon = \frac{|F|}{2}\text{.}\) Then
Hence \(|f(x)| \gt |F|-\epsilon= \frac{|F|}{2}\) as required.
Now we are in a position to prove Theorem 1.4.3. The proof has more steps than the previous \(\epsilon-\delta\) proofs we have seen. This is mostly because we do not have specific functions \(f(x)\) and \(g(x)\) and instead must play with them in the abstract — and make good use of the formal definition of limits.
We will break the proof into three pieces. The minimum that is required is to prove that
The first follows by setting \(g(x) = c\) and using \(\lim f(x) \cdot g(x)\text{.}\) The second follows by setting \(c=-1\text{,}\) putting \(h(x) = (-1)\cdot g(x)\) and then applying both \(\lim f(x) \cdot g(x)\) and \(\lim f(x)+g(x)\text{.}\) The third follows by setting \(h(x) = \frac{1}{g(x)}\) and then using \(\lim f(x) \cdot h(x)\text{.}\)
Starting with addition, in order to satisfy the definition of limit, we are going to have to show that
This is the key technical piece of the proof. So if we want the LHS of the above to be size \(\epsilon\text{,}\) we need to make sure that each term on the RHS is of size \(\frac{\epsilon}{2}\text{.}\) The rest of the proof is setting up facts based on the definition of limits and then rearranging facts to reach the conclusion.
Let \(\epsilon \gt 0\) — we have to find a \(\delta \gt 0\) so that when \(|x-a| \lt \delta\) we have \(|(f(x)+g(x))-(F+G)| \lt \epsilon\text{.}\)
Let \(\epsilon \gt 0\) and set \(\epsilon_1 = \epsilon_2 = \frac{\epsilon}{2}\text{.}\) By the definition of limits, because \(f(x) \to F\) there exists some \(\delta_1 \gt 0\) so that whenever \(|x-a| \lt \delta_1\text{,}\) we also have \(|f(x)-F| \lt \epsilon_1\text{.}\) Similarly there exists \(\delta_2 \gt 0\) so that if \(|x-a| \lt \delta_2\text{,}\) then we must have \(|g(x)-G| \lt \epsilon_2\text{.}\) So now choose \(\delta = \min\{ \delta_1, \delta_2 \}\) and assume \(|x-a| \lt \delta\text{.}\) Then we must have that \(|x-a| \lt \delta_1, \delta_2\) and so we also have
\begin{align*}
&\leq |f(x)-F| + |g(x)-G| & \text{ use facts from above}\\
& \lt \epsilon_1 + \epsilon_2\\
&= \epsilon.
\end{align*}
Hence we have shown that for any \(\epsilon \gt 0\) there exists some \(\delta \gt 0\) so that when \(|x-a| \lt \delta\) we also have \(|(f(x)+g(x))-(F+G)| \lt \epsilon\text{.}\) Which is exactly the formal definition of the limit we needed to prove.
Let us do similarly for the limit of a product. Some of the details of the proof are very similar, but there is a little technical trick in the middle to make it work. In particular we need to show that
when we know that \(|f(x)-F|\) and \(|g(x)-G|\) are both small. Notice that
\begin{align*}
f(x) \cdot g(x) - F\cdot G
&= f(x) \cdot g(x) - F\cdot G + \underbrace{ f(x)\cdot G - f(x) \cdot G
}_{=0}\\
&= f(x)\cdot g(x)- f(x) \cdot G + f(x) \cdot G - F\cdot G\\
&= f(x)\cdot( g(x)-G) + (f(x)-F)\cdot G
\end{align*}
So if we know \(|f(x)-F|\) is small and \(|g(x)-G|\) is small then we are done — except that we also need to know that \(f(x)\) doesn’t become really large near \(a\) — this is exactly why we needed to prove Lemma 1.9.2.
As was the case in the previous proof, we want the LHS to be of size at most \(\epsilon\text{,}\) so we want, for example, the two terms on the RHS to be of size at most \(\frac{\epsilon}{2}\text{.}\) This means
we need \(|G|\cdot|f(x)-F|\) to be of size at most \(\frac{\epsilon}{2}\text{,}\) and
we need \(|g(x)-G|\) to be of size at most \(\frac{\epsilon}{2(|F|+1)}\) since we know that \(|f(x)| \leq |F|+1\) when \(x\) is close to \(a\text{.}\)
\begin{align*}
\lim_{x \to a} f(x) &= F & \text{ and } &&
\lim_{x \to a} g(x) &= G.
\end{align*}
We wish to show that
\begin{align*}
\lim_{x \to a} f(x)\cdot g(x) &= F\cdot G.
\end{align*}
Let \(\epsilon \gt 0\text{.}\) Set \(\epsilon_1 = \frac{\epsilon}{2(|G|+1)}\) (the extra \(+1\) in the denominator is just there to make sure that \(\epsilon_1\) is well–defined even if \(G=0\)), and \(\epsilon_2 = \frac{\epsilon}{2(|F|+1)}\text{.}\) From this we establish the existence of \(\delta_1, \delta_2, \delta_3\) which we need below.
By assumption \(f(x) \to F\) so there exists \(\delta_1 \gt 0\) so that whenever \(|x-a| \lt \delta_1\text{,}\) we also have \(|f(x)-F| \lt \epsilon_1\text{.}\)
Similarly because \(g(x) \to G\text{,}\) there exists \(\delta_2 \gt 0\) so that whenever \(|x-a| \lt \delta_2\text{,}\) we also have \(|g(x)-G| \lt \epsilon_2\text{.}\)
By Lemma 1.9.2 there exists \(\delta_3 \gt 0\) so that whenever \(|x-a| \lt \delta_3\text{,}\) we also have \(|f(x)| \leq |F|+1\text{.}\)
Let \(\delta = \min\{\delta_1, \delta_2, \delta_3 \}\text{,}\) assume \(|x-a| \lt \delta\) and consider \(|f(x) \cdot g(x) - F\cdot G|\text{.}\) Rearrange the terms as we did above:
Thus we have shown that for any \(\epsilon \gt 0\) there exists \(\delta \gt 0\) so that when \(|x-a| \lt \delta\) we also have \(|f(x)\cdot g(x)-F\cdot G| \lt \epsilon\text{.}\) Hence \(f(x)\cdot g(x) \to F\cdot G\text{.}\)
Finally we can prove the limit of a reciprocal. Notice that
We need to show the LHS is of size at most \(\epsilon\) when \(x\) is close enough to \(a\text{,}\) so if \(G-g(x)\) is small we are done — except if \(g(x)\) or \(G\) are close to zero. By assumption (go back and read Theorem 1.4.3) we have \(G \neq 0\text{,}\) and we know from Lemma 1.9.3 that \(|g(x)|\) cannot be smaller than \(\frac{|G|}{2}\text{.}\) Together these imply that the denominator on the RHS cannot be zero and indeed must be of magnitude at least \(\frac{|G|^2}{2}\text{.}\) Thus we need \(|G-g(x)|\) to be of size at most \(\epsilon \cdot \frac{|G|^2}{2}\text{.}\)
Let \(\epsilon \gt 0\) and set \(\epsilon_1 = \epsilon|G|^2 \cdot \frac{1}{2}\text{.}\) We now use this and Lemma 1.9.3 to establish the existence of \(\delta_1, \delta_2\text{.}\)
Since \(g(x) \to G\) we know that there exists \(\delta_1 \gt 0\) so that when \(|x-a| \lt \delta_1\) we also have \(|g(x)-G| \lt \epsilon_1\text{.}\)
By Lemma 1.9.3 there exists \(\delta_2\) so that when \(|x-a| \lt \delta_2\) we also have \(|g(x)| \gt \frac{|G|}{2}\text{.}\) Equivalently, when \(|x-a| \lt \delta_2\) we also have \(\left|\frac{G}{2g(x)}\right| \lt 1\text{.}\)
Set \(\delta = \min\{\delta_1,\delta_2\}\) and assume \(|x-a| \lt \delta\text{.}\) Then
Thus we have shown that for any \(\epsilon \gt 0\) there exists \(\delta \gt 0\) so that when \(|x-a| \lt \delta\) we also have \(|\frac{1}{g(x)} - \frac{1}{G}| \lt \epsilon\text{.}\) Hence \(\frac{1}{g(x)} \to \frac{1}{G}\text{.}\)
We can also now prove the Squeeze / sandwich / pinch theorem.
Proof.
Proof of Theorem 1.4.18 — Squeeze / sandwich / pinch.
In the squeeze theorem, we are given three functions \(f(x)\text{,}\)\(g(x)\) and \(h(x)\) and are told that
and we must conclude from this that \(\lim\limits_{x \to a} g(x) = L\) too. That is, we are given some fixed, but unspecified, \(\epsilon \gt 0\) and it is up to us to find a \(\delta \gt 0\) with the property that \(\left| g(x) - L \right| \lt \epsilon\) whenever \(|x-a| \lt \delta\text{.}\) Now because we have been told that \(f\) and \(h\) both converge to \(L\text{,}\) there exist \(\delta_1 \gt 0\) and \(\delta_2 \gt 0\) such that
\(\left| f(x) - L \right| \lt \epsilon\text{,}\) i.e. \(L-\epsilon \lt f(x) \lt L+\epsilon\text{,}\) whenever \(|x-a| \lt \delta_1\text{,}\) and
\(\left| h(x) - L \right| \lt \epsilon\text{,}\) i.e. \(L-\epsilon \lt h(x) \lt L+\epsilon\text{,}\) whenever \(|x-a| \lt \delta_2\)
So set \(\delta = \min\{\delta_1,\delta_2\}\) and assume \(|x-a| \lt \delta\text{.}\) Then both \(L-\epsilon \lt f(x) \lt L+\epsilon\) and \(L-\epsilon \lt h(x) \lt L+\epsilon\) so that