For completeness the branches of all of these functions will be visualized individually. Here are links to each function:

asin acos atanacot asec acsc

asinh acosh atanh

acoth asech acsch

pow log W

W is inverse of exp(x)*x

The presentation is split into two pages to facilitate initial rendering.

The exponential exp(x) is an entire function, meaning it has no finite singularities. Its linear combinations in the circular and hyperbolic trigonometric functions likewise have no finite singularities and can be visualized, like the exponential, with a single complex branch. The inverse functions differ because they can be expressed in terms of the logarithm, the inverse of the exponential, which has an infinite number of complex branches. The inverse trigonometric functions inherit this behavior from the logarithm.

The complex logarithm log(x) acquires an extra phase of 2*πi* in moving from branch to branch. Its value on an arbitrary branch can be expressed as

$logz=log\left(r{e}^{i\phi}\right)=logr+i\phi +2\pi ni$

where *n* is a signed integer labeling the branch. All of the inverse trigonometric functions can be written as expressions quadratic in the exponential function. After solving for this and taking an inverse, the behavior of the logarithm identified here can be applied to them directly, taking into account any multiplicative factors that arise.

Inverse circular and hyperbolic functions are related in pairwise fashion by rotation and interchange of real and imaginary parts, except for cosines and secants. This can be seen by depicting their principal branches side-by-side for comparison, with hyperbolic functions on the right:

Consider first the hyperbolic tangent in terms of the exponential. Solving for this gives

$\begin{array}{c}tanhw=\frac{{e}^{w}-{e}^{-w}}{{e}^{w}+{e}^{-w}}=z\\ (1-z){e}^{2w}-1-z=0\\ {e}^{w}=\sqrt{\frac{1+z}{1-z}}\\ w={tanh}^{-1}z=\frac{1}{2}ln\left(\frac{1+z}{1-z}\right)\end{array}$

Applying the behavior of the logarithm, the inverse hyperbolic tangent on an arbitrary branch is

${tanh}^{-1}z=\frac{1}{2}ln\left(\frac{1+z}{1-z}\right)+\pi ni$

The individual branches look like this:

The real part of this function retains the same numerical value between branches, while the imaginary part moves up and down in value. Visualize the imaginary part of several branches simultaneously:

This graphic illustrates a feature of the logarithm that will apply to all of the functions considered here: its coloration by argument quickly becomes monochromatic on branches with an index of higher absolute value.

The gaps between adjacent branches here and in subsequent visualizations of multiple branches represent the removal of artifacts arising from the parametric representations employed. They could be removed using the healing method of this presentation, but will be left as is for simplicity of rendering. The analytic functions naturally continue across all such gaps.

The circular tangent differs from the hyperbolic tangent in having imaginary units in the exponential, plus an extra factor from the sine. Solving for the exponential gives

$\begin{array}{c}tanw=\frac{1}{i}\frac{{e}^{iw}-{e}^{-iw}}{{e}^{iw}+{e}^{-iw}}=z\\ (1-iz){e}^{2iw}-1-iz=0\\ {e}^{iw}=\sqrt{\frac{1+iz}{1-iz}}\\ w={tan}^{-1}z=\frac{1}{2i}ln\left(\frac{1+iz}{1-iz}\right)\end{array}$

Applying the behavior of the logarithm, the inverse circular tangent on an arbitrary branch is

${tan}^{-1}z=\frac{1}{2i}ln\left(\frac{1+iz}{1-iz}\right)+\pi n$

The individual branches look like this:

The imaginary part of this function retains the same numerical value between branches, while the real part moves up and down in value. Visualize the real part of several branches simultaneously:

The hyperbolic cotangent differs from the tangent merely in the sign of the exponential. Solving for this gives

$\begin{array}{c}cothw=\frac{{e}^{w}+{e}^{-w}}{{e}^{w}-{e}^{-w}}=z\\ (1-z){e}^{2w}+1+z=0\\ {e}^{w}=\sqrt{\frac{z+1}{z-1}}\\ w={coth}^{-1}z=\frac{1}{2}ln\left(\frac{z+1}{z-1}\right)\end{array}$

Applying the behavior of the logarithm, the inverse hyperbolic cotangent on an arbitrary branch is

${coth}^{-1}z=\frac{1}{2}ln\left(\frac{z+1}{z-1}\right)+\pi ni$

The individual branches look like this:

The real part of this function retains the same numerical value between branches, while the imaginary part moves up and down in value. Visualize the imaginary part of several branches simultaneously:

The circular cotangent differs from the hyperbolic cotangent in having imaginary units in the exponential, plus an extra factor from the sine. Solving for the exponential gives

$\begin{array}{c}cotw=i\phantom{\rule{.2em}{0ex}}\frac{{e}^{iw}+{e}^{-iw}}{{e}^{iw}-{e}^{-iw}}=z\\ (i-z){e}^{2iw}+i+z=0\\ {e}^{iw}=\sqrt{\frac{z+i}{z-i}}\\ w={cot}^{-1}z=\frac{1}{2i}ln\left(\frac{z+i}{z-i}\right)\end{array}$

Applying the behavior of the logarithm, the inverse circular cotangent on an arbitrary branch is

${cot}^{-1}z=\frac{1}{2i}ln\left(\frac{z+i}{z-i}\right)+\pi n$

The individual branches look like this:

The imaginary part of this function retains the same numerical value between branches, while the real part moves up and down in value. Visualize the real part of several branches simultaneously:

Now consider the hyperbolic sine in terms of the exponential. Solving for this gives

$\begin{array}{c}sinhw=\frac{{e}^{w}-{e}^{-w}}{2}=z\\ {e}^{2w}-2z{e}^{w}-1=0\\ {e}^{w}=z\pm \sqrt{{z}^{2}+1}\\ w={sinh}^{-1}z=ln(z\pm \sqrt{{z}^{2}+1})\end{array}$

The sign from the square root is a new twist that will apply here and in subsequent functions. This branching behavior exists in addition to that of the logarithm and must be included for a full picture of the complex structure. This will be made clear in the visualizations.

Applying the behavior of the logarithm, the inverse hyperbolic sine on an arbitrary branch is

${sinh}^{-1}z=ln(z\pm \sqrt{{z}^{2}+1})+2\pi ni$

The individual branches look like this:

One half of each branch comes from using the plus sign on the square root, the other half from the minus sign. The lines where clearly discordant colors meet are where transitions to higher or lower branches occur.

The real part of this function retains the same numerical value between branches, while the imaginary part moves up and down in value. Visualize the imaginary part of several branches simultaneously:

The circular sine differs from the hyperbolic sine in having imaginary units in the exponential, plus an extra factor. Solving for the exponential gives

$\begin{array}{c}sinw=\frac{{e}^{iw}-{e}^{-iw}}{2i}=z\\ {e}^{2iw}-2iz{e}^{iw}-1=0\\ {e}^{iw}=iz\pm \sqrt{1-{z}^{2}}\\ w={sin}^{-1}z=\frac{1}{i}ln(iz\pm \sqrt{1-{z}^{2}})\end{array}$

Applying the behavior of the logarithm, the inverse circular sine on an arbitrary branch is

${sin}^{-1}z=\frac{1}{i}ln(iz\pm \sqrt{1-{z}^{2}})+2\pi n$

The individual branches look like this:

The imaginary part of this function retains the same numerical value between branches, while the real part moves up and down in value. Visualize the real part of several branches simultaneously:

The presentation continues here.

- complex - complex function - complex math
- math handbook chapter 10 complex function
- complex animate(z) for phase animation, the independent variable must be z.
- complex plot(z) for phase and/or modulus, the independent variable must be z.
- complex2D(x) for complex 2 curves of real and imag parts, the independent variable must be x.
- complex3D(x) for 3 dimensional graph, the independent variable must be x.
- color WebXR surface of complex function on complex plane
- Riemann surface - Complex Branches - complex coloring
- 2D surface - 3D surface