## Precalculus (6th Edition) Blitzer

Please note that$$\tan (\alpha - \beta ) = \frac{\tan \alpha - \tan \beta }{1+\tan \alpha \tan \beta }.$$So we have$$\tan (\pi -x)=\frac{\tan \pi - \tan x}{1+\tan \pi \tan x}=-\tan x .$$