This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


gives the inverse haversine function .
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • The inverse haversine function is defined by .
  • All results are given in radians.
  • For real between and , the results are always in the range to .
  • InverseHaversine[z] has branch cut discontinuities in the complex plane running from to and to .
Results are in radians:
Evaluate numerically:
Evaluate for complex arguments:
Evaluate to arbitrary precision:
The precision of the output tracks the precision of the input:
InverseHaversine threads element-wise over lists:
TraditionalForm formatting:
InverseHaversine can be applied to a power series:
Distance between two points on a sphere:
Distance between two cities in kilometers:
Modeling Levy's second arc sine law:
Derivative of inverse haversine function:
Integral of inverse haversine function:
New in 7