Hyperbolic Tangent Calculator

Enter a number to find its hyperbolic tangent.

Any number from -700 to 700, such as 1, -2 or 0.5.

Try

Result

You enteredtanh⁡0\tanh 0

tanh⁡0=0\displaystyle \tanh 0 = 0
Show the work
  1. The hyperbolic tangent

    The hyperbolic tangent is built from the exponentials exe^{x} and e−xe^{-x}. It stays strictly between −1 and 1.

    Using tanh⁡x=sinh⁡xcosh⁡x=ex−e−xex+e−x\tanh x = \frac{\sinh x}{\cosh x} = \frac{e^{x} - e^{-x}}{e^{x} + e^{-x}}

    x=0x = 0
  2. The two exponentials

    Work out exe^{x} and e−xe^{-x} for x=0x = 0.

    e0=1e−0=1\begin{gathered} e^{0} = 1 \\ e^{-0} = 1 \end{gathered}
  3. Value of tanh

    Divide the difference of the exponentials by their sum.

    tanh⁡0=1−11+1=0\begin{aligned} \tanh 0 &= \frac{1 - 1}{1 + 1} \\ &= 0 \end{aligned}
  4. Result

    So tanh⁡0=0\tanh 0 = 0.

Worked examples