In Albert Fadell's book "Calculus with Analytic Geometry" an outline of the proof to show that tan x is not convergent at $x=\pi/2$ is given. The proof runs as follows, quoted verbatim: In essence the proof is that for $0 < |x - \pi/2| < \pi/6.$ We have $$|\tan x-A|=\left|\frac{\sin x}{\cos x}-A\right|\ge\left|\frac{\sin x}{\cos x}\right|-|A|>\frac{1/2}{\lvert\cos x \rvert}-|A|\ge\frac1{2|x-\pi/2|}-|A|>\epsilon$$
How does one get $\frac{1/2}{|\cos x|}$ and $\frac{1}{2|x-\pi/2|}$? Is the domain taken to be $0<\lvert x-\pi/2|<\pi/6$?