Python – Find Inverse Hyperbolic Tangent – atanh() Function with Examples

atanh() function is used to find the inverse hyperbolic tangent of x in Python for the given input(x – parameter).

 

Syntax of atanh() Function

The syntax of atanh() function in Python is:

 

Parameters of atanh() Function in Python

x – Where x is any valid python number (positive or negative). This parameter is required.
Note: If the x parameter is not a number, atanh() function will return an Error.

 

Compatibility

atanh() function is available and compatible with both Python 2.x and 3.x. This function is a part of python standard math library.

 

Return Value of atanh() Function in Python

atanh() function returns the inverse hyperbolic tangent of x for the given input.

 

Python atanh() Function Example


Output:

-0.2027325540540822
0.0
0.2027325540540822
0.8673005276940531
-0.385760905411469