The hyperbolic tangent function is defined as the ratio of the hyperbolic sine to the hyperbolic cosine:
It is the hyperbolic analogue of the ordinary tangent .
Domain and range
Because the denominator is never zero, is defined for every real , giving the domain . Its values always lie strictly between and , so its range is the open interval .
Symmetry
Since , the function is odd, and its graph is symmetric about the origin.
Monotonicity
The derivative is , which is always positive, so is strictly increasing on the whole real line. The slope is steepest () at the origin and flattens toward both ends, producing a smooth S-shaped curve.
Asymptotes and limits
As , , and as , . The lines and are therefore horizontal asymptotes that the curve never crosses.
Notable points
The curve passes through the origin with . This is an inflection point and the center of symmetry. Near the origin .
Relationships with other functions
By definition it is the ratio of and . It can also be written , and it is related to the logistic sigmoid by .
Applications
Because it is smooth, bounded, and S-shaped, has been widely used as an activation function in neural networks. In statistics and physics it appears as a saturating function that confines values to a range, and as a model for magnetization or signal response.