Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Inverse trigonometric function

From Citizendium - Reading time: 2 min

Complex map of ArcCos function, u+iv=arccos(i+iy)

Inverse trigonometric functions are ArcSin, ArcCos, ArcTan and ArcCot.

They are inverse functions of Sin, Cos, Tan and Cot

Notations[edit]

The name of the inverse function is created adding the prefix Arc to the name of the function. Such a rule is valid for the Mathematica software.

In Latex the prefix is "arc".

In some programming languages, it is sufficient to add the one prefix "a" to get name of the inverse trigonometric function.

In such a way they are implemented in C++, the functions are called asin, acos, atan.

Implementation of the inverse trigonometric functions[edit]

Some compilers do not recognize the inverse trigonometric functions of the complex argument. In this case, the representations through function Logarithm can be used. For example, ArcCos can be implemented in in C++ in the following way:

z_type acos(z_type z){
if(Im(z)<0){if(Re(z)>=0){return I*log( z + sqrt(z*z-1.) );} 
                   else{return I*log( z - sqrt(z*z-1.) );}}
           if(Re(z)>=0){return -I*log( z + sqrt(z*z-1.) );} 
                  else {return -I*log( z - sqrt(z*z-1.) );} }

, where "z_type" means "complex" or "complex double", and "Re" means Real part, and "Im" means Imaginary part, and
"I" means z_type(0.,1.) is i=1.

This implementation is used to plot the Complex map of function ArcCos in the figure at right.

Cut lines[edit]

The inverse trigonometric functions are holomorphic in the whole complex plane except unavoidable cut lines; the choice of these cut lines is important for the unambiguity of the result of the application.


Licensed under CC BY-SA 3.0 | Source: https://citizendium.org/wiki/Inverse_trigonometric_function
3 views |
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF