I have to calculate this limit whitout using L'Hopital's rule or Taylor polynomials:
$$\lim_{ x\to \pi/4 } \frac{1 - \tan(x)}{x-\frac{\pi}{4}}$$
I know how to make it using L'Hopital and that the result is $-2$ ,but I'm getting nowhere when I try without it. Any advice?
Hint:
Let $t=x-\frac{\pi}{4}$, then $$\frac{1-\tan x}{x-\frac{\pi}{4}}=\frac{1-\tan\left(t+\frac{\pi}{4}\right)}{t}=\frac{1}{t}\cdot\left(1-\frac{\tan t+\tan\frac{\pi}{4}}{1-\tan \frac{\pi}{4}\tan t}\right)=\frac{1}{t}\left(1-\frac{\tan t+1}{1-\tan t}\right)=\frac{-2\tan t}{t(1-\tan t)}$$ Now, take the limit as $t\to 0$: \begin{align} \lim_{x\to \frac{\pi}{4}}\frac{1-\tan x}{x-\frac{\pi}{4}}&=\lim_{t\to 0}\frac{-2\tan t}{t(1-\tan t)}\\ &=\lim_{t\to 0}\frac{-2\tan t\cos t}{t(1-\tan t)\cos t}\\ &=-2\lim_{t\to 0}\frac{\sin t}{t(\cos t-\sin t)}\\ &=-2\left(\lim_{t\to 0}\frac{\sin t}{t}\right)\left(\lim_{t\to 0}\frac{1}{\cos t-\sin t}\right)\\ &=-2(1)(1)\\ &=\color{blue}{-2} \end{align}