# Relationship between sech and sec

The following formula holds: $$\mathrm{sech}(z)=\sec(iz),$$ where $\mathrm{sech}$ denotes the hyperbolic secant and $\sec$ denotes the secant.