I understand trigonometry but I've never used hyperbolic functions before.
Is there a formula for the area under $\tanh(x)$?
I've looked on Wikipedia and Wolfram but they don't say if there's a formula or not.
I tried to work it out myself and I got this far:
$\tanh(x) = {\sinh(x)\over\cosh(x)} = {1-e^{-2x}\over 1+e^{-2x}} = {e^{2x}-1\over e^{2x}+1} = {e^{2x}+1-2\over e^{2x}+1} = 1-{2\over e^{2x}+1}$
Now I'm stuck. I don't know if I'm on the right track or not.
The hyperbolic tangent can be integrated. First we simplify the formula, which can easily be derived using the definitions of the hyperbolic cosine and the hyperbolic sine and their relation:
$\tanh x = \frac{\sinh x}{\cosh x} = \frac{e^x - e^{-x}}{e^x + e^{-x}}=\frac{e^{2x}-1}{e^{2x}+1}=1-\frac{2}{e^{2x}+1}$
When you integrate, you will get
$$\int \tanh(x) dx = \log(\cosh(x))+c$$
PS: Wolfram knows very well!