Inverse trigonometric functions

From Infogalactic: the planetary knowledge core
(Redirected from Arccsc)
Jump to: navigation, search

Lua error in package.lua at line 80: module 'strict' not found. In mathematics, the inverse trigonometric functions (occasionally called cyclometric functions[1]) are the inverse functions of the trigonometric functions (with suitably restricted domains). Specifically, they are the inverses of the sine, cosine, tangent, cotangent, secant, and cosecant functions. They are used to obtain an angle from any of the angle's trigonometric ratios. Inverse trigonometric functions are widely used in engineering, navigation, physics, and geometry.

Notation

There are several notations used for the inverse trigonometric functions.

The most common convention is to name inverse trigonometric functions using an arc- prefix, e.g., arcsin(x), arccos(x), arctan(x), etc. This convention is used throughout the article. When measuring in radians, an angle of θ radians will correspond to an arc whose length is rθ, where r is the radius of the circle. Thus, in the unit circle, "the arc whose cosine is x" is the same as "the angle whose cosine is x", because the length of the arc of the circle in radii is the same as the measurement of the angle in radians.[2] Similarly, in computer programming languages (also Excel) the inverse trigonometric functions are usually called asin, acos, atan.

The notations sin−1(x), cos−1(x), tan−1(x), etc., as introduced by John Herschel in 1813,[3][4] are often used as well, but this convention logically conflicts with the common semantics for expressions like sin2(x), which refer to numeric power rather than function composition, and therefore may result in confusion between multiplicative inverse and compositional inverse. The confusion is somewhat ameliorated by the fact that each of the reciprocal trigonometric functions has its own name—for example, (cos(x))−1 = sec(x). Nevertheless, certain authors advise against using it for its ambiguity.[5]

Another convention used by a few authors[6] is to use a majuscule (capital/upper-case) first letter along with a −1 superscript, e.g., Sin−1(x), Cos−1(x), Tan−1(x), etc., which avoids confusing them with the multiplicative inverse, which should be represented by sin−1(x), cos−1(x), etc.

Basic properties

Principal values

Since none of the six trigonometric functions are one-to-one, they are restricted in order to have inverse functions. Therefore the ranges of the inverse functions are proper subsets of the domains of the original functions

For example, using function in the sense of multivalued functions, just as the square root function y = x could be defined from y2 = x, the function y = arcsin(x) is defined so that sin(y) = x. There are multiple numbers y such that sin(y) = x; for example, sin(0) = 0, but also sin(π) = 0, sin(2π) = 0, etc. When only one value is desired, the function may be restricted to its principal branch. With this restriction, for each x in the domain the expression arcsin(x) will evaluate only to a single value, called its principal value. These properties apply to all the inverse trigonometric functions.

The principal inverses are listed in the following table.

Name Usual notation Definition Domain of x for real result Range of usual principal value
(radians)
Range of usual principal value
(degrees)
arcsine y = arcsin(x) x = sin(y) −1 ≤ x ≤ 1 −<templatestyles src="Sfrac/styles.css" />π/2y ≤ <templatestyles src="Sfrac/styles.css" />π/2 −90° ≤ y ≤ 90°
arccosine y = arccos(x) x = cos(y) −1 ≤ x ≤ 1 0 ≤ yπ 0° ≤ y ≤ 180°
arctangent y = arctan(x) x = tan(y) all real numbers −<templatestyles src="Sfrac/styles.css" />π/2 < y < <templatestyles src="Sfrac/styles.css" />π/2 −90° < y < 90°
arccotangent y = arccot(x) x = cot(y) all real numbers 0 < y < π 0° < y < 180°
arcsecant y = arcsec(x) x = sec(y) x ≤ −1 or 1 ≤ x 0 ≤ y < <templatestyles src="Sfrac/styles.css" />π/2 or <templatestyles src="Sfrac/styles.css" />π/2 < yπ 0° ≤ y < 90° or 90° < y ≤ 180°
arccosecant y = arccsc(x) x = csc(y) x ≤ −1 or 1 ≤ x −<templatestyles src="Sfrac/styles.css" />π/2y < 0 or 0 < y ≤ <templatestyles src="Sfrac/styles.css" />π/2 −90° ≤ y < 0° or 0° < y ≤ 90°

(Note: Some authors define the range of arcsecant to be ( 0 ≤ y < <templatestyles src="Sfrac/styles.css" />π/2 or πy < <templatestyles src="Sfrac/styles.css" />3π/2 ), because the tangent function is nonnegative on this domain. This makes some computations more consistent. For example using this range, tan(arcsec(x)) = x2-1, whereas with the range ( 0 ≤ y < <templatestyles src="Sfrac/styles.css" />π/2 or <templatestyles src="Sfrac/styles.css" />π/2 < yπ ), we would have to write tan(arcsec(x)) = ±x2-1, since tangent is nonnegative on 0 ≤ y < <templatestyles src="Sfrac/styles.css" />π/2 but nonpositive on <templatestyles src="Sfrac/styles.css" />π/2 < yπ. For a similar reason, the same authors define the range of arccosecant to be ( -π < y ≤ -<templatestyles src="Sfrac/styles.css" />π/2 or 0 < y ≤ <templatestyles src="Sfrac/styles.css" />π/2 ).)

If x is allowed to be a complex number, then the range of y applies only to its real part.

Relationships between trigonometric functions and inverse trigonometric functions

Trigonometric functions of inverse trigonometric functions are tabulated below. A quick way to derive them is by considering the geometry of a right-angled triangle, with one side of length 1, and another side of length x (any real number between 0 and 1), then applying the Pythagorean theorem and definitions of the trigonometric ratios. Purely algebraic derivations are longer.[citation needed]

\theta \sin(\theta) \cos(\theta) \tan(\theta) Diagram
\arcsin(x) \sin(\arcsin(x)) = x \cos(\arcsin(x)) = \sqrt{1-x^2} \tan(\arcsin(x)) = \frac{x}{\sqrt{1-x^2}} Trigonometric functions and inverse3.svg
\arccos(x) \sin(\arccos(x)) = \sqrt{1-x^2} \cos(\arccos(x)) = x \tan(\arccos(x)) = \frac{\sqrt{1-x^2}}{x} Trigonometric functions and inverse.svg
\arctan(x) \sin(\arctan(x)) = \frac{x}{\sqrt{1+x^2}} \cos(\arctan(x)) = \frac{1}{\sqrt{1+x^2}} \tan(\arctan(x)) = x Trigonometric functions and inverse2.svg
\arccsc(x) \sin(\arccsc(x)) = \frac{1}{x} \cos(\arccsc(x)) = \frac{\sqrt{x^2-1}}{x} \tan(\arccsc(x)) = \frac{1}{\sqrt{x^2-1}} Trigonometric functions and inverse5.svg
\arcsec(x) \sin(\arcsec(x)) = \frac{\sqrt{x^2-1}}{x} \cos(\arcsec(x)) = \frac{1}{x} \tan(\arcsec(x)) = \sqrt{x^2-1} Trigonometric functions and inverse6.svg
\arccot(x) \sin(\arccot(x)) = \frac{1}{\sqrt{1+x^2}} \cos(\arccot(x)) = \frac{x}{\sqrt{1+x^2}} \tan(\arccot(x)) = \frac{1}{x} Trigonometric functions and inverse4.svg

Relationships among the inverse trigonometric functions

The usual principal values of the arcsin(x) (red) and arccos(x) (blue) functions graphed on the cartesian plane.
The usual principal values of the arctan(x) and arccot(x) functions graphed on the cartesian plane.
Principal values of the arcsec(x) and arccsc(x) functions graphed on the cartesian plane.

Complementary angles:

\begin{align}
\arccos(x) &= \frac{\pi}{2} - \arcsin(x) \\[0.5em]
\arccot(x) &= \frac{\pi}{2} - \arctan(x) \\[0.5em]
\arccsc(x) &= \frac{\pi}{2} - \arcsec(x)
\end{align}

Negative arguments:

\begin{align}
\arcsin(-x) &= -\arcsin(x) \\
\arccos(-x) &= \pi -\arccos(x) \\
\arctan(-x) &= -\arctan(x) \\
\arccot(-x) &= \pi -\arccot(x) \\
\arcsec (-x) &= \pi -\arcsec(x) \\
\arccsc (-x) &= -\arccsc(x)
\end{align}

Reciprocal arguments:

\begin{align}
\arccos\left(\frac{1}{x}\right) &= \arcsec(x) \\[0.3em]
\arcsin\left(\frac{1}{x}\right) &= \arccsc(x) \\[0.3em]
\arctan\left(\frac{1}{x}\right) &= \frac{\pi}{2} - \arctan(x) = \arccot(x) \, , \text{ if } x > 0 \\[0.3em]
\arctan\left(\frac{1}{x}\right) &= -\frac{\pi}{2} - \arctan(x) = \arccot(x) - \pi \, , \text{ if } x < 0 \\[0.3em]
\arccot\left(\frac{1}{x}\right) &= \frac{\pi}{2} - \arccot(x) = \arctan(x) \, , \text{ if } x > 0 \\[0.3em]
\arccot\left(\frac{1}{x}\right) &= \frac{3\pi}{2} - \arccot(x) = \pi + \arctan(x) \, , \text{ if } x < 0 \\[0.3em]
\arcsec\left(\frac{1}{x}\right) &= \arccos(x) \\[0.3em]
\arccsc\left(\frac{1}{x}\right) &= \arcsin(x)
\end{align}

If you only have a fragment of a sine table:

\begin{align}
\arccos(x) &= \arcsin\left(\sqrt{1 - x^2}\right) \, , \text{ if } 0 \leq x \leq 1 \\
\arccos(x) &= \frac{1}{2}\arccos\left(2x^2-1\right) \, , \text{ if } 0 \leq x \leq 1 \\
\arcsin(x) &= \frac{1}{2}\arccos\left(1-2x^2\right) \, , \text{ if } 0 \leq x \leq 1 \\
\arctan(x) &= \arcsin\left(\frac{x}{\sqrt{x^2 + 1}}\right)
\end{align}

Whenever the square root of a complex number is used here, we choose the root with the positive real part (or positive imaginary part if the square was negative real).

From the half-angle formula, \tan\left(\tfrac{\theta}{2}\right) = \tfrac{\sin \theta}{1 + \cos \theta}, we get:

\begin{align}
\arcsin(x) &= 2 \arctan\left(\frac{x}{1 + \sqrt{1 - x^2}}\right) \\[0.5em]
\arccos(x) &= 2 \arctan\left(\frac{\sqrt{1 - x^2}}{1 + x}\right) \, , \text{ if } -1 < x \leq + 1 \\[0.5em]
\arctan(x) &= 2 \arctan\left(\frac{x}{1 + \sqrt{1 + x^2}}\right)
\end{align}

Arctangent addition formula

\arctan(u) + \arctan(v) = \arctan\left(\frac{u+v}{1-uv}\right) \pmod \pi \, , \quad u v \ne 1 \, .

This is derived from the tangent addition formula

\tan(\alpha + \beta) = \frac{\tan(\alpha) + \tan(\beta)}{1 - \tan(\alpha)\tan(\beta)} \, ,

by letting

\alpha = \arctan(u) \, , \quad \beta = \arctan(v) \, .

In calculus

Derivatives of inverse trigonometric functions

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

The derivatives for complex values of z are as follows:

\begin{align}
\frac{\mathrm{d}}{\mathrm{d}z} \arcsin(z) &{} = \frac{1}{\sqrt{1-z^2}} \; ;   &z &{}\neq -1, +1 \\
\frac{\mathrm{d}}{\mathrm{d}z} \arccos(z) &{} = -\frac{1}{\sqrt{1-z^2}} \; ;  &z &{}\neq -1, +1 \\
\frac{\mathrm{d}}{\mathrm{d}z} \arctan(z) &{} = \frac{1}{1+z^2} \; ;          &z &{}\neq -\mathrm{i}, +\mathrm{i}\\
\frac{\mathrm{d}}{\mathrm{d}z} \arccot(z) &{} = -\frac{1}{1+z^2} \; ;         &z &{}\neq -\mathrm{i}, +\mathrm{i} \\
\frac{\mathrm{d}}{\mathrm{d}z} \arcsec(z) &{} = \frac{1}{z^2 \sqrt{1 - \frac{1}{z^{2}}}} \; ;   &z &{}\neq -1, 0, +1 \\
\frac{\mathrm{d}}{\mathrm{d}z} \arccsc(z) &{} = -\frac{1}{z^2 \sqrt{1 - \frac{1}{z^{2}}}} \; ;  &z &{}\neq -1, 0, +1
\end{align}

Only for real values of x:

\begin{align}
\frac{\mathrm{d}}{\mathrm{d}x} \arcsec(x) &{} = \frac{1}{|x| \sqrt{x^2-1}} \; ;  & |x| > 1\\
\frac{\mathrm{d}}{\mathrm{d}x} \arccsc(x) &{} = -\frac{1}{|x| \sqrt{x^2-1}} \; ; & |x| > 1
\end{align}

For a sample derivation: if \theta = \arcsin x \!, we get:

\frac{\mathrm{d} \arcsin(x)}{\mathrm{d}x} = \frac{\mathrm{d} \theta}{\mathrm{d} \sin(\theta)} = \frac{\mathrm{d} \theta}{\cos(\theta)\mathrm{d} \theta} = \frac{1}{\cos(\theta)} = \frac{1}{\sqrt{1-\sin^2(\theta)}} = \frac{1}{\sqrt{1-x^2}}

Expression as definite integrals

Integrating the derivative and fixing the value at one point gives an expression for the inverse trigonometric function as a definite integral:

\begin{align}
\arcsin(x) &{}= \int_0^x \frac{1}{\sqrt{1 - z^2}} \, \mathrm{d}z \; , & |x| &{} \leq 1\\
\arccos(x) &{}= \int_x^1 \frac{1}{\sqrt{1 - z^2}} \, \mathrm{d}z \; , & |x| &{} \leq 1\\
\arctan(x) &{}= \int_0^x \frac{1}{z^2 + 1} \, \mathrm{d}z \; ,\\
\arccot(x) &{}= \int_x^\infty \frac{1}{z^2 + 1} \, \mathrm{d}z \; ,\\
\arcsec(x) &{}= \int_1^x \frac{1}{z \sqrt{z^2 - 1}} \, \mathrm{d}z = \mathrm{\pi} + \int_x^{-1} \frac{1}{z \sqrt{z^2 - 1}} \, \mathrm{d}z\; , & x &{} \geq 1\\
\arccsc(x) &{}= \int_x^\infty \frac{1}{z \sqrt{z^2 - 1}} \, \mathrm{d}z = \int_{-\infty}^x \frac{1}{z \sqrt{z^2 - 1}} \, \mathrm{d}z \; , & x &{} \geq 1\\
\end{align}

When x equals 1, the integrals with limited domains are improper integrals, but still well-defined.

Infinite series

Like the sine and cosine functions, the inverse trigonometric functions can be calculated using power series, as follows. For arcsine, the series can be derived by expanding its derivative, \frac{1}{\sqrt{1-z^2}}, as a binomial series, and integrating term by term (using the integral definition as above). The series for arctangent can similarly be derived by expanding its derivative \frac{1}{1+z^2} in a geometric series and applying the integral definition above (see Leibniz series).

\arcsin(z)
= z + \left( \frac{1}{2} \right) \frac{z^3}{3} + \left( \frac{1 \cdot 3}{2 \cdot 4} \right) \frac{z^5}{5} + \left( \frac{1 \cdot 3 \cdot 5}{2 \cdot 4 \cdot 6} \right) \frac{z^7}{7} + \cdots
= \sum_{n=0}^\infty \frac{\binom{2n} n z^{2n+1}}{4^n (2n+1)} \, ; \qquad |z| \le 1


\arccos(z)
= \frac{\pi}{2} - \arcsin(z)
= \frac{\pi}{2} - \left( z + \left( \frac{1}{2} \right) \frac{z^3}{3} + \left( \frac{1 \cdot 3}{2 \cdot 4} \right) \frac{z^5}{5} + \cdots \right) 
= \frac{\pi}{2} - \sum_{n=0}^\infty \frac{\binom{2n} n z^{2n+1}}{4^n (2n+1)} \, ; \qquad |z| \le 1


\arctan(z)
= z - \frac{z^3}{3} +\frac{z^5}{5} - \frac{z^7}{7} + \cdots
= \sum_{n=0}^\infty \frac{(-1)^n z^{2n+1}}{2n+1} \, ; \qquad |z| \le 1 \qquad z \neq \mathrm{i},-\mathrm{i}


\arccot(z)
= \frac{\pi}{2} - \arctan(z)
= \frac{\pi}{2} - \left(z - \frac{z^3}{3} + \frac{z^5}{5} - \frac{z^7}{7} + \cdots \right)  
= \frac{\pi}{2} - \sum_{n=0}^\infty \frac{(-1)^n z^{2n+1}} {2n+1} \, ; \qquad |z| \le 1 \qquad z \neq \mathrm{i},-\mathrm{i}


\arcsec(z)
= \arccos\left(\frac{1}{z}\right) 
= \frac{\pi}{2} - \left(z^{-1} + \left(\frac{1}{2}\right) \frac{z^{-3}}{3} + \left(\frac{1 \cdot 3}{2 \cdot 4}\right) \frac{z^{-5}}{5} + \cdots \right)  
= \frac{\pi}{2} - \sum_{n=0}^\infty \frac{\binom{2n} n z^{-(2n+1)}}{4^n (2n+1)} \, ; \qquad |z| \ge 1


\arccsc(z)
= \arcsin\left(\frac{1}{z}\right) 
= z^{-1} + \left( \frac{1}{2} \right) \frac{z^{-3}}{3} + \left( \frac{1 \cdot 3}{2 \cdot 4 } \right) \frac{z^{-5}}{5} + \cdots
= \sum_{n=0}^\infty \frac{\binom{2n} n z^{-(2n+1)}}{4^n (2n+1)} \, ; \qquad |z| \ge 1


2\arcsin^2 \frac{x}{2}=\sum_{n=1}^\infty \frac{x^{2n}}{n^2\binom{2n}{n}}[citation needed]


\sum_{n=1}^\infty \frac{1}{n^2\binom{2n}{n}}=\frac{\pi^2}{18}


\sum_{n=1}^\infty \frac{(-1)^{n+1}}{n^2\binom{2n}{n}}=2\ln^2 \varphi, where \varphi is the golden ratio.


Leonhard Euler found a more efficient series for the arctangent, which is:

\arctan(z) = \frac{z}{1 + z^2} \sum_{n=0}^\infty \prod_{k=1}^n \frac{2k z^2}{(2k + 1)(1 + z^2)} \, .

(Notice that the term in the sum for n = 0 is the empty product which is 1.)


Alternatively, this can be expressed:

\arctan z = \sum_{n=0}^\infty \frac{2^{2n} (n!)^2}{(2n + 1)!} \; \frac{z^{2n + 1}}{(1 + z^2)^{n + 1}}

Variant: Continued fractions for arctangent

Two alternatives to the power series for arctangent are these generalized continued fractions:

\arctan(z) =
\frac{z}{1 + \cfrac{(1z)^2}{3 - 1z^2 + \cfrac{(3z)^2}{5 - 3z^2 + \cfrac{(5z)^2}{7 - 5z^2 + \cfrac{(7z)^2}{9-7z^2 + \ddots}}}}} =
\frac{z}{1 + \cfrac{(1z)^2}{3 + \cfrac{(2z)^2}{5 + \cfrac{(3z)^2}{7 + \cfrac{(4z)^2}{9 + \ddots}}}}}

The second of these is valid in the cut complex plane. There are two cuts, from −i to the point at infinity, going down the imaginary axis, and from i to the point at infinity, going up the same axis. It works best for real numbers running from −1 to 1. The partial denominators are the odd natural numbers, and the partial numerators (after the first) are just (nz)2, with each perfect square appearing once. The first was developed by Leonhard Euler; the second by Carl Friedrich Gauss utilizing the Gaussian hypergeometric series.

Indefinite integrals of inverse trigonometric functions

For real and complex values of z:

\begin{align}
\int \arcsin(z) \, \mathrm{d}z &{}= z \, \arcsin(z) + \sqrt{1 - z^2} + C\\
\int \arccos(z) \, \mathrm{d}z &{}= z \, \arccos(z) - \sqrt{1 - z^2} + C\\
\int \arctan(z) \, \mathrm{d}z &{}= z \, \arctan(z) - \frac{1}{2} \ln \left( 1 + z^2 \right) + C\\
\int \arccot(z) \, \mathrm{d}z &{}= z \, \arccot(z) + \frac{1}{2} \ln \left( 1 + z^2 \right) + C\\
\int \arcsec(z) \, \mathrm{d}z &{}= z \, \arcsec(z) - \ln \left[ z \left( 1 + \sqrt{ \frac{z^2-1}{z^2} } \right) \right] + C\\
\int \arccsc(z) \, \mathrm{d}z &{}= z \, \arccsc(z) + \ln \left[ z \left( 1 + \sqrt{ \frac{z^2-1}{z^2} } \right) \right] + C
\end{align}

For real x ≥ 1:

\begin{align}
\int \arcsec(x) \, \mathrm{d}x &{}= x \, \arcsec(x) - \ln \left( x + \sqrt{x^2-1} \right) + C\\
\int \arccsc(x) \, \mathrm{d}x &{}= x \, \arccsc(x) + \ln \left( x + \sqrt{x^2-1} \right) + C
\end{align}

For all real x not between -1 and 1:

\begin{align}
\int \arcsec(x) \, \mathrm{d}x &{}= x \, \arcsec(x) - \sgn(x) \ln\left(\left| x + \sqrt{x^2-1}\right|\right) + C\\
\int \arccsc(x) \, \mathrm{d}x &{}= x \, \arccsc(x) + \sgn(x) \ln\left(\left| x + \sqrt{x^2-1}\right|\right) + C
\end{align}

The absolute value is necessary to compensate for both negative and positive values of the arcsecant and arccosecant functions. The signum function is also necessary due to the absolute values in the derivatives of the two functions, which create two different solutions for positive and negative values of x. These can be further simplified using the logarithmic definitions of the inverse hyperbolic functions:

\begin{align}
\int \arcsec(x) \, \mathrm{d}x &{}= x \, \arcsec(x) - \operatorname{arcosh}(|x|) + C\\
\int \arccsc(x) \, \mathrm{d}x &{}= x \, \arccsc(x) + \operatorname{arcosh}(|x|) + C\\
\end{align}

The absolute value in the argument of the arcosh function creates a negative half of its graph, making it identical to the signum logarithmic function shown above.

All of these antiderivatives can be derived using integration by parts and the simple derivative forms shown above.

Example

Using \int u \, \mathrm{d}v = u v - \int v \, \mathrm{d}u, set

\begin{align}
u &{}=& \arcsin(x) & \quad\quad \mathrm{d}v = \mathrm{d}x \\
\mathrm{d}u &{}=& \frac{\mathrm{d}x}{\sqrt{1-x^2}} & \quad\quad{} v = x
\end{align}

Then

\int \arcsin(x) \, \mathrm{d}x = x \arcsin(x) - \int \frac{x}{\sqrt{1-x^2}} \, \mathrm{d}x

Substitute

w = 1 - x^2 \, .

Then

\mathrm{d}w = -2x \, \mathrm{d}x

and

\int \frac{x}{\sqrt{1-x^2}} \, \mathrm{d}x = -\frac{1}{2} \int \frac{\mathrm{d}w}{\sqrt{w}} = -\sqrt{w}

Back-substitute for x to yield

\int \arcsin(x) \, \mathrm{d}x = x \arcsin(x) + \sqrt{1-x^2} + C

Extension to complex plane

Since the inverse trigonometric functions are analytic functions, they can be extended from the real line to the complex plane. This results in functions with multiple sheets and branch points. One possible way of defining the extensions is:

\arctan(z) = \int_0^z \frac{\mathrm{d} x}{1 + x^2} \quad z \neq -\mathrm{i}, +\mathrm{i} \,

where the part of the imaginary axis which does not lie strictly between −i and +i is the cut between the principal sheet and other sheets;

\arcsin(z) = \arctan\left(\frac{z}{\sqrt{1 - z^2}}\right) \quad z \neq -1, +1 \,

where (the square-root function has its cut along the negative real axis and) the part of the real axis which does not lie strictly between −1 and +1 is the cut between the principal sheet of arcsin and other sheets;

\arccos(z) = \frac{\mathrm{\pi}}{2} - \arcsin(z) \quad z \neq -1, +1 \,

which has the same cut as arcsin;

\arccot(z) = \frac{\mathrm{\pi}}{2} - \arctan(z) \quad z \neq \mathrm{-i, +i} \,

which has the same cut as arctan;

\arcsec(z) = \arccos\left(\frac{1}{z}\right) \quad z \neq -1, 0, +1 \,

where the part of the real axis between −1 and +1 inclusive is the cut between the principal sheet of arcsec and other sheets;

\arccsc(z) = \arcsin\left(\frac{1}{z}\right) \quad z \neq -1, 0, +1 \,

which has the same cut as arcsec.

Logarithmic forms

These functions may also be expressed using complex logarithms. This extends in a natural fashion their domain to the complex plane.

\begin{align}
\arcsin(z) &{}= \mathrm{-i} \ln \left( \mathrm{i} z + \sqrt{1-z^2} \right) &{}= \arccsc\left(\frac{1}{z}\right) \\[10pt]
\arccos(z) &{}= \mathrm{-i} \ln \left( z + \sqrt{z^2-1} \right) = \frac{\pi}{2} \, + \mathrm{i} \ln \left( \mathrm{i} z + \sqrt{1-z^2} \right) = \frac{\pi}{2} - \arcsin(z) &{}= \arcsec\left(\frac{1}{z}\right) \\[10pt]
\arctan(z) &{}= \tfrac{1}{2} \mathrm{i} \left[ \ln \left(1 - \mathrm{i} z \right) - \ln \left( 1 + \mathrm{i} z \right) \right] &{}= \arccot\left(\frac{1}{z}\right) \\[10pt]
\arccot(z) &{}= \tfrac{1}{2} \mathrm{i} \left[ \ln \left(1 - \frac{\mathrm{i}}{z} \right) - \ln \left( 1 + \frac{\mathrm{i}}{z} \right) \right] &{}= \arctan\left(\frac{1}{z}\right) \\[10pt]
\arcsec(z) &{}= \mathrm{-i} \, \ln \left( \sqrt{\frac{1}{z^2} - 1} + \frac{1}{z} \right) = \mathrm{i} \, \ln \left( \sqrt{1 - \frac{1}{z^2}} + \frac{\mathrm{i}}{z} \right) + \frac{\pi}{2} = \frac{\pi}{2} - \arccsc(z) &{}= \arccos\left(\frac{1}{z}\right) \\[10pt]
\arccsc(z) &{}= \mathrm{-i} \ln \left( \sqrt{1 - \frac{1}{z^2}} + \frac{\mathrm{i}}{z}\right) &{}= \arcsin\left(\frac{1}{z}\right)
\end{align}

Elementary proofs of these relations proceed via expansion to exponential forms of the trigonometric functions.

Example proof

\sin(\phi) = z
\phi = \arcsin(z)

Using the exponential definition of sine, one obtains

z = \frac{\mathrm{e}^{\phi \mathrm{i}} - \mathrm{e}^{-\phi \mathrm{i}}}{2\mathrm{i}}

Let

\xi = \mathrm{e}^{\phi \mathrm{i}} \,

Solving for \phi

z = \frac{\xi - \frac{1}{\xi}}{2\mathrm{i}}
2\mathrm{i}z = {\xi - \frac{1}{\xi}}
{\xi - 2\mathrm{i}z - \frac{1}{\xi}} = 0
\xi^2 - 2\mathrm{i} \xi z - 1 \, = \, 0
\xi = \mathrm{i}z \pm \sqrt{1-z^2} = \mathrm{e}^{\phi \mathrm{i}}
\phi \mathrm{i}= \ln \left( \mathrm{i}z \pm \sqrt{1-z^2} \right)
\phi= \mathrm{-i} \ln \left( \mathrm{i}z \pm \sqrt{1-z^2} \right)

(the positive branch is chosen)

\phi= \arcsin(z) = \mathrm{-i} \ln \left(\mathrm{i}z + \sqrt{1-z^2} \right)
Inverse trigonometric functions in the complex plane
Complex arcsin.jpg
Complex arccos.jpg
Complex arctan.jpg
Complex ArcCot.jpg
Complex ArcSec.jpg
Complex ArcCsc.jpg
\arcsin(z) \arccos(z) \arctan(z) \arccot(z) \arcsec(z) \arccsc(z)

Applications

General solutions

Each of the trigonometric functions is periodic in the real part of its argument, running through all its values twice in each interval of 2π. Sine and cosecant begin their period at 2πk − <templatestyles src="Sfrac/styles.css" />π/2 (where k is an integer), finish it at 2πk + <templatestyles src="Sfrac/styles.css" />π/2, and then reverse themselves over 2πk + <templatestyles src="Sfrac/styles.css" />π/2 to 2πk + <templatestyles src="Sfrac/styles.css" />3π/2. Cosine and secant begin their period at 2πk, finish it at 2πk + π, and then reverse themselves over 2πk + π to 2πk + 2π. Tangent begins its period at 2πk − <templatestyles src="Sfrac/styles.css" />π/2, finishes it at 2πk + <templatestyles src="Sfrac/styles.css" />π/2, and then repeats it (forward) over 2πk + <templatestyles src="Sfrac/styles.css" />π/2 to 2πk + <templatestyles src="Sfrac/styles.css" />3π/2. Cotangent begins its period at 2πk, finishes it at 2πk + π, and then repeats it (forward) over 2πk + π to 2πk + 2π.

This periodicity is reflected in the general inverses where k is some integer:

\sin(y) = x \; \Leftrightarrow \; y = \arcsin(x) + 2\mathrm{\pi}k \; \text{ or } \; y = \mathrm{\pi} - \arcsin(x) + 2\mathrm{\pi}k
Which, written in one equation, is: \sin(y) = x \; \Leftrightarrow \; y = (-1)^k\arcsin(x) + \mathrm{\pi}k
\cos(y) = x \; \Leftrightarrow \; y = \arccos(x) + 2\mathrm{\pi}k \; \text{ or } \; y = 2\mathrm{\pi} - \arccos(x) + 2\mathrm{\pi}k
Which, written in one equation, is: \cos(y) = x \; \Leftrightarrow \; y = \pm \arccos(x) + 2\mathrm{\pi}k
\tan(y) = x \; \Leftrightarrow \; y = \arctan(x) + \mathrm{\pi}k
\cot(y) = x \; \Leftrightarrow \; y = \arccot(x) + \mathrm{\pi}k
\sec(y) = x \; \Leftrightarrow \; y = \arcsec(x) + 2\mathrm{\pi}k \text{ or } y = 2\mathrm{\pi} - \arcsec (x) + 2\mathrm{\pi}k
\csc(y) = x \; \Leftrightarrow \; y = \arccsc(x) + 2\mathrm{\pi}k \text{ or } y = \mathrm{\pi} - \arccsc(x) + 2\mathrm{\pi}k

Application: finding the angle of a right triangle

A right triangle.

Inverse trigonometric functions are useful when trying to determine the remaining two angles of a right triangle when the lengths of the sides of the triangle are known. Recalling the right-triangle definitions of sine, for example, it follows that

\theta = \arcsin \left( \frac{\text{opposite}}{\text{hypotenuse}} \right) \, .

Often, the hypotenuse is unknown and would need to be calculated before using arcsine or arccosine using the Pythagorean Theorem: a^2+b^2=h^2 where h is the length of the hypotenuse. Arctangent comes in handy in this situation, as the length of the hypotenuse is not needed.

\theta = \arctan \left( \frac{\text{opposite}}{\text{adjacent}} \right) \, .

For example, suppose a roof drops 8 feet as it runs out 20 feet. The roof makes an angle θ with the horizontal, where θ may be computed as follows:

\theta
= \arctan \left( \frac{\text{opposite}}{\text{adjacent}} \right)
= \arctan \left( \frac{\text{rise}}{\text{run}} \right)
= \arctan \left( \frac{8}{20} \right) \approx 21.8^{\circ} \, .

In computer science and engineering

Two-argument variant of arctangent

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

The two-argument atan2 function computes the arctangent of y / x given y and x, but with a range of (−ππ]. In other words, atan2(yx) is the angle between the positive x-axis of a plane and the point (xy) on it, with positive sign for counter-clockwise angles (upper half-plane, y > 0), and negative sign for clockwise angles (lower half-plane, y < 0). It was first introduced in many computer programming languages, but it is now also common in other fields of science and engineering.

In terms of the standard arctan function, that is with range of (−<templatestyles src="Sfrac/styles.css" />π/2, <templatestyles src="Sfrac/styles.css" />π/2), it can be expressed as follows:

\operatorname{atan2}(y, x) = \begin{cases}
  \arctan(\frac y x) & \quad x > 0 \\
  \arctan(\frac y x) + \mathrm{\pi} & \quad y \ge 0 \; , \; x < 0 \\
  \arctan(\frac y x) - \mathrm{\pi} & \quad y < 0 \; , \; x < 0 \\
  \frac{\mathrm{\pi}}{2} & \quad y > 0 \; , \; x = 0 \\
  -\frac{\mathrm{\pi}}{2} & \quad y < 0 \; , \; x = 0 \\
  \text{undefined} & \quad y = 0 \; , \; x = 0
\end{cases}

It also equals the principal value of the argument of the complex number x + iy.

This function may also be defined using the tangent half-angle formulae as follows:

\operatorname{atan2}(y, x) = 2\arctan\left(\frac{y}{\sqrt{x^2 + y^2} + x}\right)

provided that either x > 0 or y ≠ 0. However this fails if given x ≤ 0 and y = 0 so the expression is unsuitable for computational use.

The above argument order (y, x) seems to be the most common, and in particular is used in ISO standards such as the C programming language, but a few authors may use the opposite convention (x, y) so some caution is warranted. These variations are detailed at atan2.

Arctangent function with location parameter

In many applications[which?] the solution y of the equation x=\tan y is to come as close as possible to a given value -\infty < \eta < \infty. The adequate solution is produced by the parameter modified arctangent function


y = \arctan_\eta(x) := \arctan(x) + \mathrm{\pi} \cdot \operatorname{rni} \frac{\eta - \arctan(x)}{\mathrm{\pi}} \, .

The function \operatorname{rni} rounds to the nearest integer.

Numerical accuracy

For angles near 0 and π, arccosine is ill-conditioned and will thus calculate the angle with reduced accuracy in a computer implementation (due to the limited number of digits).[7] Similarly, arcsine is inaccurate for angles near −π/2 and π/2. To achieve full accuracy for all angles, arctangent or atan2 should be used for the implementation.[7]

See also

References

  1. For example Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. 7.0 7.1 Lua error in package.lua at line 80: module 'strict' not found.

External links