\[\tan A=\frac{a}{b}=\frac{1}{\cot A}.\]