Answer
The identity is verified.
$\frac{1}{tan~\beta}+tan~\beta$: black
$\frac{sec^2\beta}{tan~\beta}$: red
Work Step by Step
$\frac{1}{tan~\beta}+tan~\beta=\frac{1}{tan~\beta}+tan~\beta~\frac{tan~\beta}{tan~\beta}=\frac{1+tan^2\beta}{tan~\beta}=\frac{sec^2\beta}{tan~\beta}$