I have a solution which gives the answer as $1$:
- Write $\tan(x)$ as $\sin(x)/\cos(x)$.
- Take $\sin(x)$ common, and multiply÷ by $\cos(x)$.
- Rewrite $(1-\cos(x))$ as $2\sin^2(x/2)$
- Apply limit for $\sin(x)/x$, $\sin^2(x/2)/x^2$.
- That leaves me with $1/(2\cos(x))$, which is $1/2$.
That is what I believe to be the right answer: $1/2$.
But, my real question is, why can't I take $1/(x^2)$ common, and rewrite it as $(\tan(x)/x - \sin(x)/x)(1/x^2)$, apply limit to $\tan(x)/x$ and $\sin(x)/x$ and rewrite it as $(1-1)/(x^2)$, which gives me $0$. What is the flaw here? Is there some rule of limits I'm missing here?