INVERSE TRIGONOMETRIC FUNCTION

(Redirected from Arctangent)
In mathematics, the 'inverse trigonometric functions' are the inverse functions of the trigonometric functions. The principal inverses are listed in the following table.
NameUsual notationDefinitionDomain of ''x'' for real resultRange of usual principal value
arcsine ''y'' = arcsin(''x'') ''x'' = sin(''y'') −1 to +1 −π/2 ≤ ''y'' ≤ π/2
arccosine ''y'' = arccos(''x'') ''x'' = cos(''y'') −1 to +1 0 ≤ ''y'' ≤ π
arctangent ''y'' = arctan(''x'') ''x'' = tan(''y'') all −π/2 < ''y'' < π/2
arccotangent ''y'' = arccot(''x'')''x'' = cot(''y'') all 0 < ''y'' < π
arcsecant ''y'' = arcsec(''x'') ''x'' = sec(''y'') −∞ to −1 or 1 to ∞ 0 ≤ ''y'' < π/2 or π/2 < ''y'' ≤ π
arccosecant ''y'' = arccsc(''x'') ''x'' = csc(''y'') −∞ to −1 or 1 to ∞ −π/2 ≤ ''y'' < 0 or 0 < ''y'' ≤ π/2

If ''x'' is allowed to be a complex number, then the range of ''y'' applies only to its real part.
The notations sin−1, cos−1, etc are often used for arcsin, arccos, etc, but this notation causes confusion, e.g. between arcsin(''x'') and 1/sin(''x'').
The usual principal values of the ''f''(''x'') = arcsin(''x'') and ''f''(''x'') = arccos(''x'') functions graphed on the cartesian plane.

The usual principal values of the ''f''(''x'') = arctan(''x'') and ''f''(''x'') = arccot(''x'') functions graphed on the cartesian plane.

In computer programming languages the functions arcsin, arccos, arctan, are usually called asin, acos, atan. Many programming languages also provide the two-argument atan2 function, which computes the arctangent of ''y''/''x'' given ''y'' and ''x'', but with a range of [−π, π].

Contents
Relationships among the inverse trigonometric functions
General solutions
Derivatives of inverse trigonometric functions
Expression as definite integrals
Infinite series
Continued fraction for arctangent
Indefinite integrals of inverse trigonometric functions
Recommended method of calculation
Two argument variant of arctangent
Logarithmic forms
Example proof
Practical usage
See also
External links

Relationships among the inverse trigonometric functions


Complementary angles:
:rccos x = rac{pi}{2} - rcsin x
:rccot x = rac{pi}{2} - rctan x
:rccsc x = rac{pi}{2} - rcsec x
Negative arguments:
:rcsin (-x) = - rcsin x !
:rccos (-x) = pi - rccos x !
:rctan (-x) = - rctan x !
:rccot (-x) = pi - rccot x !
:rcsec (-x) = pi - rcsec x !
:rccsc (-x) = - rccsc x !
Reciprocal arguments:
:rccos rac{1}{x} ,= rcsec x
:rcsin rac{1}{x} ,= rccsc x
:rctan rac{1}{x} = rac{pi}{2} - rctan x =rccot x, if x > 0
:rctan rac{1}{x} = - rac{pi}{2} - rctan x = -pi + rccot x, if x < 0
:rccot rac{1}{x} = rac{pi}{2} - rccot x =rctan x, if x > 0
:rccot rac{1}{x} = rac{3pi}{2} - rccot x = pi + rctan x, if x < 0
:rcsec rac{1}{x} = rccos x
:rccsc rac{1}{x} = rcsin x
If you only have a fragment of a sine table:
:rccos x = rcsin sqrt{1-x^2}, if 0 leq x leq 1
:rctan x = rcsin rac{x}{sqrt{x^2+1}}
Notice that 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 an rac{ heta}{2} = rac{sin heta}{1+cos heta} , we get:
:rcsin x = 2 rctan rac{x}{1+sqrt{1-x^2}}
:rccos x = 2 rctan rac{sqrt{1-x^2}}{1+x}, if -1 < x leq +1
:rctan x = 2 rctan rac{x}{1+sqrt{1+x^2}}

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'' - π/2 (where ''k'' is an integer), finish it at 2π''k'' + π/2, and then reverse themselves over 2π''k'' + π/2 to 2π''k'' + 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'' - π/2, finishes it at 2π''k'' + π/2, and then repeats it (forward) over 2π''k'' + π/2 to 2π''k'' + 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:
:sin y = x if and only if y = arcsin x + 2kπ or y = π − arcsin x + 2kπ for some integer k.
:cos y = x if and only if y = arccos x + 2kπ or y = 2π − arccos x + 2kπ for some integer k.
:tan y = x if and only if y = arctan x + kπ for some integer k.
:cot y = x if and only if y = arccot x + kπ for some integer k.
:sec y = x if and only if y = arcsec x + 2kπ or y = 2π − arcsec x + 2kπ for some integer k.
:csc y = x if and only if y = arccsc x + 2kπ or y = π − arccsc x + 2kπ for some integer k.

Derivatives of inverse trigonometric functions


Simple derivatives for real values of x are as follows:
:
egin{align}
rac{d}{dx} rcsin x & {}= rac{1}{sqrt{1-x^2}}; qquad |x| < 1\
rac{d}{dx} rccos x & {}= rac{-1}{sqrt{1-x^2}}; qquad |x| < 1\
rac{d}{dx} rctan x & {}= rac{1}{1+x^2}\
rac{d}{dx} rccot x & {}= rac{-1}{1+x^2}\
rac{d}{dx} rcsec x & {}= rac{1}{|x|,sqrt{x^2-1}}; qquad |x| > 1\
rac{d}{dx} rccsc x & {}= rac{-1}{|x|,sqrt{x^2-1}}; qquad |x| > 1
end{align}
For an example derivation, letting heta = rcsin x !, we get:
: rac{d rcsin x}{dx} = rac{d heta}{d sin heta} = rac{1} {cos heta} = rac{1} {sqrt{1-sin^2 heta}} = rac{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:
:
egin{align}
rcsin x &{}= int_0^x rac {1} {sqrt{1 - z^2}},dz,qquad |x| leq 1\
rccos x &{}= int_x^1 rac {1} {sqrt{1 - z^2}},dz,qquad |x| leq 1\
rctan x &{}= int_0^x rac 1 {z^2 + 1},dz,\
rccot x &{}= int_x^infty rac {1} {z^2 + 1},dz,\
rcsec x &{}= int_1^x rac 1 {z sqrt{z^2 - 1}},dz, qquad x geq 1\
rccsc x &{}= int_x^infty rac {1} {z sqrt{z^2 - 1}},dz, qquad 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 infinite series, as follows:
:
egin{align}
rcsin z & {}= z + left( rac {1} {2}
ight) rac {z^3} {3} + left( rac {1 cdot 3} {2 cdot 4}
ight) rac {z^5} {5} + left( rac{1 cdot 3 cdot 5} {2 cdot 4 cdot 6 }
ight) rac{z^7} {7} + cdots\
& {}= sum_{n=0}^infty left( rac {(2n)!} {2^{2n}(n!)^2}
ight) rac {z^{2n+1}} {(2n+1)}
; qquad | z | le 1
end{align}

:
egin{align}
rccos z & {}= rac {pi} {2} - rcsin z \
& {}= rac {pi} {2} - (z + left( rac {1} {2}
ight) rac {z^3} {3} + left( rac {1 cdot 3} {2 cdot 4}
ight) rac {z^5} {5} + left( rac{1 cdot 3 cdot 5} {2 cdot 4 cdot 6 }
ight) rac{z^7} {7} + cdots ) \
& {}= rac {pi} {2} - sum_{n=0}^infty left( rac {(2n)!} {2^{2n}(n!)^2}
ight) rac {z^{2n+1}} {(2n+1)}
; qquad | z | le 1
end{align}

:
egin{align}
rctan z & {}= z - rac {z^3} {3} + rac {z^5} {5} - rac {z^7} {7} +cdots \
& {}= sum_{n=0}^infty rac {(-1)^n z^{2n+1}} {2n+1}
; qquad | z | le 1 qquad z
eq i,-i
end{align}

:
egin{align}
rccot z & {}= rac {pi} {2} - rctan z \
& {}= rac {pi} {2} - ( z - rac {z^3} {3} + rac {z^5} {5} - rac {z^7} {7} +cdots ) \
& {}= rac {pi} {2} - sum_{n=0}^infty rac {(-1)^n z^{2n+1}} {2n+1}
; qquad | z | le 1 qquad z
eq i,-i
end{align}

:
egin{align}
rcsec z & {}= rccosleft(z^{-1}
ight) \
& {}= rac {pi} {2} - (z^{-1} + left( rac {1} {2}
ight) rac {z^{-3}} {3} + left( rac {1 cdot 3} {2 cdot 4}
ight) rac {z^{-5}} {5} + left( rac{1 cdot 3 cdot 5} {2 cdot 4 cdot 6 }
ight) rac{z^{-7}} {7} + cdots ) \
& {}= rac {pi} {2} - sum_{n=0}^infty left( rac {(2n)!} {2^{2n}(n!)^2}
ight) rac {z^{-(2n+1)}} {(2n+1)}
; qquad left| z
ight| ge 1
end{align}

:
egin{align}
rccsc z & {}= rcsinleft(z^{-1}
ight) \
& {}= z^{-1} + left( rac {1} {2}
ight) rac {z^{-3}} {3} + left( rac {1 cdot 3} {2 cdot 4 }
ight) rac {z^{-5}} {5} + left( rac {1 cdot 3 cdot 5} {2 cdot 4 cdot 6}
ight) rac {z^{-7}} {7} +cdots \
& {}= sum_{n=0}^infty left( rac {(2n)!} {2^{2n}(n!)^2}
ight) rac {z^{-(2n+1)}} {2n+1}
; qquad left| z
ight| ge 1
end{align}

Leonhard Euler found a more efficient series for the arctangent, which is:
:rctan x = rac{x}{1+x^2} sum_{n=0}^infty prod_{k=1}^n rac{2k x^2}{(2k+1)(1+x^2)}.
(Notice that the term in the sum for ''n''= 0 is the empty product which is 1.)

Continued fraction for arctangent


An alternative to the power series for arctangent is its generalized continued fraction:
:
rctan(z)=cfrac{z}{1 + cfrac{z^2}{3 + cfrac{4 z^2}{5 + cfrac{9 z^2}{7 + cfrac{16 z^2}{9 + cfrac{25 z^2}{ddots,}}}}}},


This 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. It was developed by Carl Friedrich Gauss, utilizing the hypergeometric series.

Indefinite integrals of inverse trigonometric functions


:
egin{align}
int rcsin x,dx &{}= x,rcsin x + sqrt{1-x^2} + C\
int rccos x,dx &{}= x,rccos x - sqrt{1-x^2} + C\
int rctan x,dx &{}= x,rctan x - rac{1}{2}lnleft(1+x^2
ight) + C\
int rccot x,dx &{}= x,rccot x + rac{1}{2}lnleft(1+x^2
ight) + C\
int rcsec x,dx &{}= x,rcsec x - lnleft(x+sqrt{x^2-1}
ight) + C\
int rccsc x,dx &{}= x,rccsc x + lnleft(x+sqrt{x^2-1}
ight) + C
end{align}
These are all easily derived using integration by parts and the simple derivative forms shown above.

Recommended method of calculation


To calculate arcsine, use:
:rcsin x = 2 rctan rac{x}{1+sqrt{1-x^2}}.
To calculate arccosine, use:
:rccos x = rac{pi}{2} - rcsin x.
To calculate arctangent for ''x'' near zero, use the continued fraction above.
To calculate arctangent for other values of ''x'', use:
:rctan x = 2 rctan rac{x}{1+sqrt{1+x^2}}.
To calculate arccotangent, use:
:rccot x = rac{pi}{2} - rctan x.
To calculate arcsecant, use:
:rcsec x = rac{pi}{2} - rcsin rac{1}{x}.
To calculate arccosecant, use:
:rccsc x = rcsin rac{1}{x}.

Two argument variant of arctangent


The two-argument atan2 function computes the arctangent of y/x given ''y'' and ''x'', but with a range of (-pi,pi]. It was introduced first in many computer programming languages but is now common in all fields of science and engineering too.
It's defined using the standard arctan function (that is with range of (−π/2, π/2)) as follows:
:operatorname{atan2}(y, x) = egin{cases}
rctan( rac y x) & qquad x > 0 \
pi + rctan( rac y x) & qquad y ge 0 , x < 0 \
-pi + rctan( rac y x) & qquad y < 0 , x < 0 \
rac{pi}{2} & qquad y > 0 , x = 0 \
- rac{pi}{2} & qquad y < 0 , x = 0 \
ext{undefined} & qquad y = 0, x = 0 \
end{cases}
This function may be computed using the tangent half-angle formulae as follows:
:operatorname{atan2}(y, x)=2rctan rac{y}{sqrt{x^2 + y^2} + x}
provided that either ''x'' > 0 or ''y'' â‰  0. However, in practical implementations it is cheaper and more robust to use the signs of ''x'' and ''y'' to choose the correct range. Assuming arctan(''z'') returns a value between −π2 and π2 for all real ''z'', we have
:operatorname{atan2}(y, x) = egin{cases}
-operatorname{atan2}(-y, x) & qquad y < 0 \
pi - rctan(- rac y x) & qquad y ge 0 , x < 0 \
rctan( rac y x) & qquad y ge 0 , x > 0 \
rac{pi}{2} & qquad y > 0 , x = 0 \
ext{undefined} & qquad y = 0, x = 0 \
end{cases}
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. Also, IEEE floating point implementations must handle exceptional (non-numeric) argument values; FDLIBM (available through netlib) shows how this may be done reliably.
The function atan2 can be implemented in a numerically reliable manner by the CORDIC method.
Thus implementations of atan(y) will probably choose to compute actually atan2(y,1).

Logarithmic forms


These functions may also be expressed using complex logarithms. This extends in a natural fashion their domain to the whole of the complex plane.
:
egin{align}
rcsin x &{}= -i,logleft(i,x+sqrt{1-x^2}
ight) &{}= rccsc rac{1}{x}\
rccos x &{}= -i,logleft(x+sqrt{x^2-1}
ight) = rac{pi}{2},+ilogleft(i,x+sqrt{1-x^2}
ight) = rac{pi}{2}-rcsin x &{}= rcsec rac{1}{x}\
rctan x &{}= rac{i}{2}left(logleft(1-i,x
ight)-logleft(1+i,x
ight)
ight) &{}= rccot rac{1}{x}\
rccot x &{}= rac{i}{2}left(logleft(1- rac{i}{x}
ight)-logleft(1+ rac{i}{x}
ight)
ight) &{}= rctan rac{1}{x}\
rcsec x &{}= -i,logleft(sqrt{ rac{1}{x^2}-1}+ rac{1}{x}
ight) = i,logleft(sqrt{1- rac{1}{x^2}}+ rac{i}{x}
ight)+ rac{pi}{2} = rac{pi}{2}-rccsc x &{}= rccos rac{1}{x}\
rccsc x &{}= -i,logleft(sqrt{1- rac{1}{x^2}}+ rac{i}{x}
ight) &{}= rcsin rac{1}{x}
end{align}
Elementary proofs of these relations proceed via expansion to exponential forms of the trigonometric functions.
Example proof

:rcsin x,=, heta
: rac{e^{i, heta}-e^{-i, heta}}{2i},=,x   (exponential definition of sine)
Let
:k=e^{i, heta}.
Then
: rac{k- rac{1}{k}}{2i},=,x
:k^2-2,i,k,x-1,=,0   (solve for k)
:k,=,i,xpmsqrt{1-x^2},=,e^{i, heta}   (the positive branch is chosen)
: heta,=,rcsin,x,=,-ilogleft(i,x+sqrt{1-x^2}
ight)  Q.E.D.

Practical usage


Inverse trigonometric functions are useful when trying to determine the remaining two angles of a right triangle when you already know the length of the sides of the triangle. Remember the acronym SOHCAHTOA. Using inverse trigonometric functions
: heta = rcsin left( rac{ ext{opposite}}{ ext{hypotenuse}}
ight)
Often, the hypotenuse is unknown and would need to be calculated before using arcsin or arccos. Arctan comes in handy in this situation. You can compute the angle of the triangles without knowing the length of the hypotenuse.
: heta = rctan left( rac{ ext{opposite}}{ ext{adjacent}}
ight)

For example, you can calculate the slope of your roof line if you know the rise and run of the roof. If your roof drops 8 feet as it runs out 20 feet then your roof is angled θ degrees up from horizontal, where θ may be computed as follows.
:egin{align}
heta &{}= rctan left( rac{ ext{opposite}}{ ext{adjacent}}
ight) \
&{}= rctan left( rac{ ext{rise}}{ ext{run}}
ight) \
&{}= rctan left( rac{8}{20}
ight) \
&{}= 21.8^{circ}
end{align}

See also



Trigonometric function

Tangent half-angle formula

List of trigonometric identities

Complex logarithm

Square root

Continued fraction of Gauss

External links





★ http://mathworld.wolfram.com/InverseTangent.html

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves