$B=\dfrac{\tan x}{\tan^2x-1}.\dfrac{1-\cot^2x}{\cot x}$
$=\dfrac{\tan x-\tan x\cot^2x}{\cot x\tan^2x-\cot x}$
$=\dfrac{\tan x-\tan x.\cot x.\cot x}{\cot x.\tan x.\tan x-\cot x}$
$=\dfrac{\tan x-\cot x}{\tan x-\cot x}$
$=1$
Vậy $B$ không phụ thuộc vào $x$