I'm working on an $\epsilon$-$\delta$ proof for $$\lim_{x\to \pi/2} \sin x=1$$
Here are the steps I've taken so far up to where I'm stuck:
Iff $\forall \epsilon>0$, $\exists \space \delta>0 \space s.t. \lvert sin(x)-1\rvert<\epsilon$ for any $0<\lvert x-\pi/2\rvert<\delta$
Take $\epsilon>0$
$\lvert sin(x)-1\rvert<\epsilon$
$\implies 1-\epsilon<\sin x<1+\epsilon$
Here's where I'm not sure how to proceed. I want to isolate $x$, so my initial inclination is to take the arcsin:
$\implies \arcsin (1-\epsilon)<x<\arcsin (1+\epsilon)$
But I know that arcsin $(1+\epsilon)$ is not valid, given that the domain can't exceed 1, so I'm not sure how to continue from here.
You don't take $\epsilon$, you are given it. Then you have to come up with a $\delta$ that works. So you need to have a $\delta$ such that for any $x \in (\frac \pi 2-\delta, \frac \pi 2+ \delta), 1-\epsilon \lt \sin x \lt 1+\epsilon$. As $\sin x \le 1$ the right inequality is no problem. The easiest approach is to expand $\sin x$ in a Taylor series around $\frac \pi 2$. The series is alternating, so you know the error is of the sign of the first neglected term and smaller than it.