Prove that the function $$f(x)=e^x:=\lim_{n\to\infty}\left(1+\frac{x}{n}\right)^n$$ is continuous at $x_0=1$ using the delta epsilon definition of continuous, which is:
$$\forall \varepsilon >0 \exists \delta>0 (\forall x\in D:|x-x_0|<\delta) |f(x)-f(x_0)|<\varepsilon$$
Since, in this particular context, the limit inside $e^x$ was proved to be convergent for all $x$ using the Bernoulli inequality and monotone convergence theorem, I'm struggling to see how I can apply a delta epsilon proof here. In my limited experience, I've applied it to nothing more than simple algebraic functions, but this is pretty significantly different. How do I start?
You proved previously that the limit is convergent. This means $$\forall\epsilon>0\;\exists N\in\mathbb{N}\;{s.t.}\;n\geq N\implies\left|e^x-\left(1-\frac{x}{n}\right)^n\right|<\epsilon$$ To prove continuity of the defined function, we want to show $$\left|f(x)-f(x_0)\right|=\left|\lim_{n\to\infty}\left(1-\frac{x}{n}\right)^n - \lim_{n\to\infty}\left(1-\frac{x_0}{n}\right)^n\right|<\epsilon$$ Our approach will be to reduce this to $$\left|e^x-e^{x_0}\right|<\epsilon$$ which is a well known and easy to prove continuous function. Let's start by choosing $N$ so that the sequence is convergent. Now let's cleverly add zero. $$\begin{align}\left|\left(1-\frac{x}{n}\right)^n - e^x + e^x - \left(1-\frac{x_0}{n}\right)^n\right|&\leq\left|e^x-\left(1-\frac{x}{n}\right)^n\right|+\left|e^x-\left(1-\frac{x_0}{n}\right)^n\right|\\&<\frac{\epsilon}{3}+\left|e^x-\left(1-\frac{x_0}{n}\right)^n\right|\\ &=\frac{\epsilon}{3}+\left|e^x-e^{x_0}+e^{x_0}-\left(1-\frac{x_0}{n}\right)^n\right|\\ &<\frac{2\epsilon}{3}+\left|e^x-e^{x_0}\right|\end{align}$$ We want to choose a $\delta$ such that $$\left|e^x-e^{x_0}\right|\leq\frac{\epsilon}{3}$$ Consider the case that $x\geq x_0$, then consider $e^x-e^{x_0}=e^{x_0}\left(e^{x-x_0}-1\right)$. So we can choose a $\delta$ such that $$e^{x_0}\left(e^\delta-1\right)=\frac{\epsilon}{3}\implies\delta=\ln\left(1+e^{-x_0}\frac{\epsilon}{3}\right)$$ which is what we wanted to show. The same can be shown for $x_0>x$. Note that this $\delta$ is dependent on $x_0$ indicating point-wise continuity.
Edit: Fixed based on Jason DeVito's counterexample.