# Hyperbolic tangent (tanh)

Hyperbolic tangent.

## How to write it

### tanh(x)

**x**

The argument. Takes an expression.

## Examples

- $\displaystyle \tanh(0) = 0$

  `tanh(0)`

  In the solver, `tanh(0)` gives `0`.

  [Open in the solver](https://hilberon.com/?q=tanh%280%29)

## Related functions

- [trig_expand](https://hilberon.com/library/trig_expand)

  Expand trigonometric functions of sums and multiples of angles.
- [tan](https://hilberon.com/library/tan)

  Tangent of an angle in radians.
- [trig_reduce](https://hilberon.com/library/trig_reduce)

  Rewrite powers and products of trigonometric functions as functions of multiple angles.
- [sinh](https://hilberon.com/library/sinh)

  Hyperbolic sine.
- [trig_to_exp](https://hilberon.com/library/trig_to_exp)

  Rewrite trigonometric functions as complex exponentials.
- [sin](https://hilberon.com/library/sin)

  Sine of an angle in radians.

---
Source: https://hilberon.com/library/tanh
