Revision as of 02:07, 2 April 2012 by imported>Dmitrii Kouznetsov
complex map of
ArcSin, or asign, or arcsin is holomorphic function, inverse of sin.
ArcSin is considered as elementary function
is holomorphic solution of equation
such that
Range of holomorphism
is holomorphic in the whole complex plane except the halflines
and .
Complex map or </math>f=\arcsin(x+\mathrm i y)</math> is shown in figure at right in the , plane with
levels and
levels .
Thick lines correspond to the Integer values.
The cut lines are shown with dashed lines.
In vicinity of the cut lines, the real part of ArcSin approach values .
Real values
While , id est, along the real axis, has real values. The graphic is plotted at figure at right.
Numerical Implementation of ArcSin
In some programing languages, acos is implemented only for real argument.
However, it can be expressed through the log function as follows:
complex double asin(complex double z){
if(Im(z)<0){if(Re(z)>=0){return M_PI/2.-I*log( z + sqrt(z*z-1.) );}
else{return M_PI/2.-I*log( z - sqrt(z*z-1.) );}}
if(Re(z)>=0){return M_PI/2.+I*log( z + sqrt(z*z-1.) );}
else {return M_PI/2.+I*log( z - sqrt(z*z-1.) );} }
where I denotes the imaginary unity; Re and Im denote the real and imaginary parts; M_PI denotes $\pi$.
Fortunately, in the C++ compilers, function log is already implemented for complex double argument.
This implementation above used to plot the complex map of ArcSin at the top figure.
In particular, the same representation can be used for real values of the argument; the explicit plot of ArcSin is generated with the same representation. (Click the figure to see the code used for its generation.) However, the last graphic could be generated also with the internal C++
function asin of real argument, as well as with flipping of plot of function sin.
Expansions
Expansion at zero
Often, the expansions of Sin and ArcSin at small values of argument are used;
Mathematica allows to evaluate many terms of this expantion:
Expansion in vicinity of the branchpoints
Extremums of function Sin correspond to branch points of ArcSin. The expansions can be written as follows:
Mathematica allows to evaluate many of terms of this expansion;
Similar expansion of ArcSin can be written at another branch point:
The expansions above allow to evaluate ArcSin at least in vicinity of the segment ; the precision of evaluation
can be improved with the iteration
Keywords
sin, cos, elementary function, inverse function, complex map, C++
References
Some part of the content above is copypasted from TORI,
http://tori.ils.uec.ac.jp/TORI/index.php/ArcSin