# Relationship between tanh and tan

The following formula holds: $$\tanh(z)=-i \tan(iz),$$ where $\tanh$ is the hyperbolic tangent and $\tan$ is the tangent.