ATANH
Returns the inverse hyperbolic tangent of a number.
ATANH is the inverse of TANH on the open interval (-1, 1).
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=ATANH(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | any | Required | — |
How it works
Inverts hyperbolic tangent. It equals ln((1 + x) / (1 − x)) / 2 for −1 < x < 1, with singularities at both endpoints.
Remarks
- Domain: input must be strictly between
-1and1. - Radians: this function is hyperbolic, so the output is not an angle in radians.
Error cases
- Errors: returns
#NUM!when the input is<= -1or>= 1.
Examples
Find the input whose hyperbolic tangent is one half.
Formula =ATANH(0.5)
Expected result 0.549306144334055
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Negating the target reverses the inverse hyperbolic tangent.
Formula =ATANH(-0.5)
Expected result -0.549306144334055
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A hyperbolic tangent of zero comes from input zero.
Formula =ATANH(0)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The text “invalid” cannot be used as the input to the inverse hyperbolic tangent.
Formula =ATANH("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Domain boundary error
Formula =ATANH(1)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Which inputs are invalid for ATANH?
ATANH is only defined on (-1, 1); endpoints and outside values return #NUM!.