Note that we can loosen the above requirements on the domain of definition of \(f\) — for example, in part (a) all we actually require is that \(f(x)\) be defined for all \(x\) larger than some value. It would be sufficient to require “there is some \(x_0 \in \mathbb{R}\) so that \(f\) is defined for all \(x \gt x_0\)”. Also note that there are obvious variations of parts (b) and (c) with \(\infty\) replaced by \(-\infty\text{.}\)
There are four limits to prove in total and we do each in turn. Let \(c \in \mathbb{R}\text{.}\)
Let \(\epsilon \gt 0\) and set \(f(x)=c\text{.}\) Choose \(M=0\text{,}\) then for any \(x\) satisfying \(x \gt M\) (or indeed any real number \(x\) at all) we have \(|f(x)-c| = 0 \lt \epsilon\text{.}\) Hence \(\ds \lim_{x \to \infty} c = c\) as required.
The proof that \(\ds \lim_{x \to -\infty} c = c\) is nearly identical. Again, let \(\epsilon \gt 0\) and set \(f(x)=c\text{.}\) Choose \(N=0\text{,}\) then for any \(x\) satisfying \(x \lt N\) we have \(|f(x)-c| = 0 \lt \epsilon\text{.}\) Hence \(\ds \lim_{x \to -\infty} c = c\) as required.
Again, the proof in the limit to \(-\infty\) is similar but we have to be careful of signs. Let \(\epsilon \gt 0\) and set \(f(x)=x\text{.}\) Choose \(N = -\frac{1}{\epsilon}\text{.}\) Then when \(x \lt N\) we have
\begin{align*}
0 \gt N & \gt x &\text{ divide through by $xN$ to get}\\
0 \gt \frac{1}{x} & \gt \frac{1}{N} = -\epsilon
\end{align*}
Notice that by assumption both \(x,N \lt 0\text{,}\) so \(xN \gt 0\text{.}\) Now since \(x \lt 0\text{,}\)\(\frac{1}{x} = -|\frac{1}{x}| = |\frac{1}{x} - 0| \lt \epsilon\) as required.