In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the inverse trigonometric functions (occasionally also called arcus functions,
antitrigonometric functions
or cyclometric functions
) are the
inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon X\t ...
s of the
trigonometric functions
In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in all ...
(with suitably restricted
domain
Domain may refer to:
Mathematics
*Domain of a function, the set of input values for which the (total) function is defined
**Domain of definition of a partial function
**Natural domain of a partial function
**Domain of holomorphy of a function
* Do ...
s). Specifically, they are the inverses of the
sine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is oppo ...
,
cosine,
tangent
In geometry, the tangent line (or simply tangent) to a plane curve at a given point is the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points on the curve. More ...
,
cotangent,
secant, and
cosecant functions, and are used to obtain an angle from any of the angle's trigonometric ratios. Inverse trigonometric functions are widely used in
engineering
Engineering is the use of scientific method, scientific principles to design and build machines, structures, and other items, including bridges, tunnels, roads, vehicles, and buildings. The discipline of engineering encompasses a broad rang ...
,
navigation
Navigation is a field of study that focuses on the process of monitoring and controlling the movement of a craft or vehicle from one place to another.Bowditch, 2003:799. The field of navigation includes four general categories: land navigation, ...
,
physics
Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which r ...
, and
geometry
Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is c ...
.
Notation
Several notations for the inverse trigonometric functions exist. The most common convention is to name inverse trigonometric functions using an arc- prefix: , , , etc.
(This convention is used throughout this article.) This notation arises from the following geometric relationships:
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
In mathematics, a unit circle is a circle of unit radius—that is, a radius of 1. Frequently, especially in trigonometry, the unit circle is the circle of radius 1 centered at the origin (0, 0) in the Cartesian coordinate system in the Eucl ...
, "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.
In computer programming languages, the inverse trigonometric functions are often called by the abbreviated forms asin, acos, atan.
The notations , , , etc., as introduced by
John Herschel
Sir John Frederick William Herschel, 1st Baronet (; 7 March 1792 – 11 May 1871) was an English polymath active as a mathematician, astronomer, chemist, inventor, experimental photographer who invented the blueprint and did botanical wor ...
in 1813,
are often used as well in English-language sources,
much more than the also
established , , ,—conventions consistent with the notation of an
inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon X\t ...
, that is useful e.g. to define the
multivalued version of each inverse trigonometric function: e.g.
. However, this might appear to conflict logically with the common semantics for expressions such as (although only , without parentheses, is the really common one), which refer to numeric power rather than function composition, and therefore may result in confusion between
multiplicative inverse
In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a rat ...
or reciprocal and
compositional inverse
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon X ...
. The confusion is somewhat mitigated by the fact that each of the reciprocal trigonometric functions has its own name—for example, = . Nevertheless, certain authors advise against using it for its ambiguity.
Another precarious convention used by a tiny number of authors is to use an
uppercase
Letter case is the distinction between the letters that are in larger uppercase or capitals (or more formally ''majuscule'') and smaller lowercase (or more formally ''minuscule'') in the written representation of certain languages. The writing ...
first letter, along with a superscript: , , , etc.
Although its intention is to avoid confusion with the multiplicative inverse, which should be represented by , , etc., or, better, by , , etc., it in turn creates yet another major source of ambiguity: especially in light of the fact that many popular high-level programming languages (e.g. Wolfram's Mathematica, and University of Sydney's MAGMA) use those very same capitalised representations for the standard trig functions; whereas others (Python (ie SymPy and NumPy), Matlab, MAPLE etc) use lower-case.
Hence, since 2009, the
ISO 80000-2
ISO 80000 or IEC 80000 is an international standard introducing the International System of Quantities (ISQ).
It was developed and promulgated jointly by the International Organization for Standardization (ISO) and the International Electrote ...
standard has specified solely the "arc" prefix for the inverse functions.
Basic concepts
Principal values
Since none of the six trigonometric functions are
one-to-one, they must be restricted in order to have inverse functions. Therefore, the result
range
Range may refer to:
Geography
* Range (geographic), a chain of hills or mountains; a somewhat linear, complex mountainous or hilly area (cordillera, sierra)
** Mountain range, a group of mountains bordered by lowlands
* Range, a term used to i ...
s of the inverse functions are proper (i.e. strict)
subset
In mathematics, Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are ...
s of the domains of the original functions.
For example, using in the sense of
multivalued function
In mathematics, a multivalued function, also called multifunction, many-valued function, set-valued function, is similar to a function, but may associate several values to each input. More precisely, a multivalued function from a domain to a ...
s, just as the
square root
In mathematics, a square root of a number is a number such that ; in other words, a number whose ''square'' (the result of multiplying the number by itself, or ⋅ ) is . For example, 4 and −4 are square roots of 16, because .
E ...
function
could be defined from
the function
is defined so that
For a given real number
with
there are multiple (in fact,
countably infinite
In mathematics, a set is countable if either it is finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function from it into the natural numbers; ...
ly many) numbers
such that
; for example,
but also
etc. When only one value is desired, the function may be restricted to its
principal branch In mathematics, a principal branch is a function which selects one branch ("slice") of a multi-valued function. Most often, this applies to functions defined on the complex plane.
Examples
Trigonometric inverses
Principal branches are use ...
. With this restriction, for each
in the domain, the expression
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.
Note: Some authors define the range of arcsecant to be
, because the tangent function is nonnegative on this domain. This makes some computations more consistent. For example, using this range,
whereas with the range
, we would have to write
since tangent is nonnegative on
but nonpositive on
For a similar reason, the same authors define the range of arccosecant to be
or
If
is allowed to be a
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
, then the range of
applies only to its real part.
Solutions to elementary trigonometric equations
Each of the trigonometric functions is periodic in the real part of its argument, running through all its values twice in each interval of
:
* Sine and cosecant begin their period at
(where
is an integer), finish it at
and then reverse themselves over
to
* Cosine and secant begin their period at
finish it at
and then reverse themselves over
to
* Tangent begins its period at
finishes it at
and then repeats it (forward) over
to
* Cotangent begins its period at
finishes it at
and then repeats it (forward) over
to
This periodicity is reflected in the general inverses, where
is some integer.
The following table shows how inverse trigonometric functions may be used to solve equalities involving the six standard trigonometric functions.
It is assumed that the given values
and
all lie within appropriate ranges so that the relevant expressions below are
well-defined
In mathematics, a well-defined expression or unambiguous expression is an expression whose definition assigns it a unique interpretation or value. Otherwise, the expression is said to be ''not well defined'', ill defined or ''ambiguous''. A funct ...
.
Note that "for some
" is just another way of saying "for some
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
"
The symbol
is
logical equality
Logical equality is a logical operator that corresponds to equality in Boolean algebra and to the logical biconditional in propositional calculus. It gives the functional value ''true'' if both functional arguments have the same logical valu ...
. The expression "LHS
RHS" indicates that (a) the left hand side (i.e. LHS) and right hand side (i.e. RHS) are true, or else (b) the left hand side and right hand side are false; there is option (c) (e.g. it is possible for the LHS statement to be true and also simultaneously for the RHS statement to false), because otherwise "LHS
RHS" would not have been written (see this footnote
[To clarify, suppose that it is written "LHS RHS" where LHS (which abbreviates ''left hand side'') and RHS are both statements that can individually be either be true or false. For example, if and are some given and fixed numbers and if the following is written:
then LHS is the statement "". Depending on what specific values and have, this LHS statement can either be true or false. For instance, LHS is true if and (because in this case ) but LHS is false if and (because in this case which is not equal to ); more generally, LHS is false if and Similarly, RHS is the statement " for some ". The RHS statement can also either true or false (as before, whether the RHS statement is true or false depends on what specific values and have). The logical equality symbol means that (a) if the LHS statement is true then the RHS statement is also true, and moreover (b) if the LHS statement is false then the RHS statement is also false. Similarly, means that (c) if the RHS statement is true then the LHS statement is also true, and moreover (d) if the RHS statement is false then the LHS statement is also false.] for an example illustrating this concept).
For example, if
then
for some
While if
then
for some
where
will be even if
and it will be odd if
The equations
and
have the same solutions as
and
respectively. In all equations above for those just solved (i.e. except for
/
and
/
), the integer
in the solution's formula is uniquely determined by
(for fixed
and
).
;Detailed example and explanation of the "plus or minus" symbol
The solutions to
and
involve the "plus or minus" symbol
whose meaning is now clarified. Only the solution to
will be discussed since the discussion for
is the same.
We are given
between
and we know that there is an angle
in some interval that satisfies
We want to find this
The table above indicates that the solution is
which is a shorthand way of saying that (at least) one of the following statement is true:
#
for some integer
or
#
for some integer
As mentioned above, if
(which by definition only happens when
) then both statements (1) and (2) hold, although with different values for the integer
: if
is the integer from statement (1), meaning that
holds, then the integer
for statement (2) is
(because
).
However, if
then the integer
is unique and completely determined by
If
(which by definition only happens when
) then
(because
and
so in both cases
is equal to
) and so the statements (1) and (2) happen to be identical in this particular case (and so both hold).
Having considered the cases
and
we now focus on the case where
and
So assume this from now on. The solution to
is still
which as before is shorthand for saying that one of statements (1) and (2) is true. However this time, because
and
statements (1) and (2) are different and furthermore, ''exactly one'' of the two equalities holds (not both). Additional information about
is needed to determine which one holds. For example, suppose that
and that that is known about
is that
(and nothing more is known). Then
and moreover, in this particular case
(for both the
case and the
case) and so consequently,
This means that
could be either
or
Without additional information it is not possible to determine which of these values
has.
An example of some additional information that could determine the value of
would be knowing that the angle is above the
-axis (in which case
) or alternatively, knowing that it is below the
-axis (in which case
).
Transforming equations
The equations above can be transformed by using the reflection and shift identities:
These formulas imply, in particular, that the following hold:
where swapping
swapping
and swapping
gives the analogous equations for
respectively.
So for example, by using the equality
the equation
can be transformed into
which allows for the solution to the equation
(where
) to be used; that solution being:
which becomes:
where using the fact that
and substituting
proves that another solution to
is:
The substitution
may be used express the right hand side of the above formula in terms of
instead of
Equal identical trigonometric functions
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
then applying the
Pythagorean theorem
In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite t ...
and definitions of the trigonometric ratios. Purely algebraic derivations are longer. It is worth noting that for arcsecant and arccosecant, the diagram assumes that
is positive, and thus the result has to be corrected through the use of
absolute value
In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), an ...
s and the
signum (sgn) operation.
Relationships among the inverse trigonometric functions
Complementary angles:
:
Negative arguments:
:
Reciprocal arguments:
:
Useful identities if one only has a fragment of a sine table:
:
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).
A useful form that follows directly from the table above is
:
.
It is obtained by recognizing that
.
From the
half-angle formula
In trigonometry, trigonometric identities are equalities that involve trigonometric functions and are true for every value of the occurring variables for which both sides of the equality are defined. Geometrically, these are identities involvin ...
,
, we get:
:
Arctangent addition formula
:
This is derived from the tangent
addition formula
:
by letting
:
In calculus
Derivatives of inverse trigonometric functions
:
The
derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
s for complex values of ''z'' are as follows:
:
Only for real values of ''x'':
:
For a sample derivation: if
, we get:
:
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:
:
When ''x'' equals 1, the integrals with limited domains are
improper integral
In mathematical analysis, an improper integral is the limit of a definite integral as an endpoint of the interval(s) of integration approaches either a specified real number or positive or negative infinity; or in some instances as both endpoin ...
s, but still well-defined.
Infinite series
Similar to the sine and cosine functions, the inverse trigonometric functions can also be calculated using
power series
In mathematics, a power series (in one variable) is an infinite series of the form
\sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots
where ''an'' represents the coefficient of the ''n''th term and ''c'' is a const ...
, as follows. For arcsine, the series can be derived by expanding its derivative,
, as a
binomial series
In mathematics, the binomial series is a generalization of the polynomial that comes from a binomial formula expression like (1+x)^n for a nonnegative integer n. Specifically, the binomial series is the Taylor series for the function f(x)=(1+x) ...
, and integrating term by term (using the integral definition as above). The series for arctangent can similarly be derived by expanding its derivative
in a
geometric series
In mathematics, a geometric series is the sum of an infinite number of terms that have a constant ratio between successive terms. For example, the series
:\frac \,+\, \frac \,+\, \frac \,+\, \frac \,+\, \cdots
is geometric, because each succ ...
, and applying the integral definition above (see
Leibniz series).
:
:
Series for the other inverse trigonometric functions can be given in terms of these according to the relationships given above. For example,
,
, and so on. Another series is given by:
:
Leonhard Euler
Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
found a series for the arctangent that converges more quickly than its
Taylor series
In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor serie ...
:
:
(The term in the sum for ''n'' = 0 is the
empty product
In mathematics, an empty product, or nullary product or vacuous product, is the result of multiplying no factors. It is by convention equal to the multiplicative identity (assuming there is an identity for the multiplication operation in question ...
, so is 1.)
Alternatively, this can be expressed as
:
Another series for the arctangent function is given by
:
where
is the
imaginary unit
The imaginary unit or unit imaginary number () is a solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition an ...
.
Continued fractions for arctangent
Two alternatives to the power series for arctangent are these
generalized continued fraction In complex analysis, a branch of mathematics, a generalized continued fraction is a generalization of regular continued fractions in canonical form, in which the partial numerators and partial denominators can assume arbitrary complex values.
A ge ...
s:
:
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
Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
; the second by
Carl Friedrich Gauss
Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
utilizing the
Gaussian hypergeometric series
Carl Friedrich Gauss (1777–1855) is the eponym of all of the topics listed below.
There are over 100 topics all named after this German mathematician and scientist, all in the fields of mathematics, physics, and astronomy. The English eponymo ...
.
Indefinite integrals of inverse trigonometric functions
For real and complex values of ''z'':
:
For real ''x'' ≥ 1:
:
For all real ''x'' not between -1 and 1:
:
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
derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
s 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 function
In mathematics, the inverse hyperbolic functions are the inverse functions of the hyperbolic functions.
For a given value of a hyperbolic function, the corresponding inverse hyperbolic function provides the corresponding hyperbolic angle. Th ...
s:
:
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
In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of the product of their derivative and antiderivative. ...
and the simple derivative forms shown above.
Example
Using
(i.e.
integration by parts
In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of the product of their derivative and antiderivative. ...
), set
:
Then
:
which by the simple
substitution yields the final result:
:
Extension to complex plane
Since the inverse trigonometric functions are
analytic function
In mathematics, an analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions. Functions of each type are infinitely differentiable, but complex an ...
s, they can be extended from the real line to the complex plane. This results in functions with multiple sheets and
branch point
In the mathematical field of complex analysis, a branch point of a multi-valued function (usually referred to as a "multifunction" in the context of complex analysis) is a point such that if the function is n-valued (has n values) at that point, ...
s. One possible way of defining the extension is:
:
where the part of the imaginary axis which does not lie strictly between the branch points (−i and +i) is the
branch cut
In the mathematical field of complex analysis, a branch point of a multi-valued function (usually referred to as a "multifunction" in the context of complex analysis) is a point such that if the function is n-valued (has n values) at that point, a ...
between the principal sheet and other sheets. The path of the integral must not cross a branch cut. For ''z'' not on a branch cut, a straight line path from 0 to ''z'' is such a path. For ''z'' on a branch cut, the path must approach from for the upper branch cut and from for the lower branch cut.
The arcsine function may then be defined as:
:
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 branch cut between the principal sheet of arcsin and other sheets;
:
which has the same cut as arcsin;
:
which has the same cut as arctan;
:
where the part of the real axis between −1 and +1 inclusive is the cut between the principal sheet of arcsec and other sheets;
:
which has the same cut as arcsec.
Logarithmic forms
These functions may also be expressed using
complex logarithms. This extends their
domains to the
complex plane
In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
in a natural fashion. The following identities for principal values of the functions hold everywhere that they are defined, even on their branch cuts.
:
Generalization
Because all of the inverse trigonometric functions output an angle of a right triangle, they can be generalized by using
Euler's formula
Euler's formula, named after Leonhard Euler, is a mathematical formula in complex analysis that establishes the fundamental relationship between the trigonometric functions and the complex exponential function. Euler's formula states that for an ...
to form a right triangle in the complex plane. Algebraically, this gives us:
:
or
:
where
is the adjacent side,
is the opposite side, and
is the hypotenuse. From here, we can solve for
.
:
or
:
Simply taking the imaginary part works for any real-valued
and
, but if
or
is complex-valued, we have to use the final equation so that the real part of the result isn't excluded. Since the length of the hypotenuse doesn't change the angle, ignoring the real part of
also removes
from the equation. In the final equation, we see that the angle of the triangle in the complex plane can be found by inputting the lengths of each side. By setting one of the three sides equal to 1 and one of the remaining sides equal to our input
, we obtain a formula for one of the inverse trig functions, for a total of six equations. Because the inverse trig functions require only one input, we must put the final side of the triangle in terms of the other two using the
Pythagorean Theorem
In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite t ...
relation
:
The table below shows the values of a, b, and c for each of the inverse trig functions and the equivalent expressions for
that result from plugging the values into the equations above and simplifying.
:
In order to match the principal branch of the natural log and square root functions to the
usual principal branch of the inverse trig functions, the particular form of the simplified formulation matters. The formulations given in the two rightmost columns assume
and
. To match the principal branch
and
to the usual principal branch of the inverse trig functions, subtract
from the result
when
.
In this sense, all of the inverse trig functions can be thought of as specific cases of the complex-valued log function. Since these definition work for any complex-valued
, the definitions allow for hyperbolic angles as outputs and can be used to further define the inverse hyperbolic functions. Elementary proofs of the relations may also proceed via expansion to exponential forms of the trigonometric functions.
Example proof
:
Using the
exponential definition of sine, and letting
:
(the positive branch is chosen)
:
Applications
Finding the angle of a right triangle
Inverse trigonometric functions are useful when trying to determine the remaining two angles of a
right triangle
A right triangle (American English) or right-angled triangle (British), or more formally an orthogonal triangle, formerly called a rectangled triangle ( grc, ὀρθόσγωνία, lit=upright angle), is a triangle in which one angle is a right an ...
when the lengths of the sides of the triangle are known. Recalling the right-triangle definitions of sine and cosine, it follows that
:
Often, the hypotenuse is unknown and would need to be calculated before using arcsine or arccosine using the
Pythagorean Theorem
In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite t ...
:
where
is the length of the hypotenuse. Arctangent comes in handy in this situation, as the length of the hypotenuse is not needed.
:
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:
:
In computer science and engineering
Two-argument variant of arctangent
The two-argument
atan2
In computing and mathematics, the function atan2 is the 2-argument arctangent. By definition, \theta = \operatorname(y, x) is the angle measure (in radians, with -\pi < \theta \leq \pi) between the positive function computes the arctangent of ''y'' / ''x'' given ''y'' and ''x'', but with a range of (−, ]. In other words, atan2(''y'', ''x'') is the angle between the positive ''x''-axis of a plane and the point (''x'', ''y'') 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 (−, ), it can be expressed as follows:
:
It also equals the
principal value of the
arg (mathematics), argument of the
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
''x'' + i''y''.
This limited version of the function above may also be defined using the
tangent half-angle formula
In trigonometry, tangent half-angle formulas relate the tangent of half of an angle to trigonometric functions of the entire angle. The tangent of half an angle is the stereographic projection of the circle onto a line. Among these formulas are th ...
e as follows:
:
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 standard
The International Organization for Standardization (ISO ) is an international standard development organization composed of representatives from the national standards organizations of member countries. Membership requirements are given in Ar ...
s such as the
C programming language
''The C Programming Language'' (sometimes termed ''K&R'', after its authors' initials) is a computer programming book written by Brian Kernighan and Dennis Ritchie, the latter of whom originally designed and implemented the language, as well as ...
, but a few authors may use the opposite convention (''x'', ''y'') so some caution is warranted. These variations are detailed at
atan2
In computing and mathematics, the function atan2 is the 2-argument arctangent. By definition, \theta = \operatorname(y, x) is the angle measure (in radians, with -\pi < \theta \leq \pi) between the positive .
Arctangent function with location parameter
In many applications
[when a time varying angle crossing should be mapped by a smooth line instead of a saw toothed one (robotics, astromomy, angular movement in general)] the solution
of the equation
is to come as close as possible to a given value
. The adequate solution is produced by the parameter modified arctangent function
:
The function
rounds to the nearest integer.
Numerical accuracy
For angles near 0 and , arccosine is
ill-conditioned
In numerical analysis, the condition number of a function measures how much the output value of the function can change for a small change in the input argument. This is used to measure how sensitive a function is to changes or errors in the input ...
and will thus calculate the angle with reduced accuracy in a computer implementation (due to the limited number of digits).
Similarly, arcsine is inaccurate for angles near −/2 and /2.
See also
*
Arcsine distribution
*
Inverse exsecant
*
Inverse versine
*
Inverse hyperbolic functions
In mathematics, the inverse hyperbolic functions are the inverse functions of the hyperbolic functions.
For a given value of a hyperbolic function, the corresponding inverse hyperbolic function provides the corresponding hyperbolic angle. The s ...
*
List of integrals of inverse trigonometric functions
The following is a list of indefinite integrals (antiderivatives) of expressions involving the inverse trigonometric functions. For a complete list of integral formulas, see lists of integrals.
* The inverse trigonometric functions are also known ...
*
List of trigonometric identities
In trigonometry, trigonometric identities are equalities that involve trigonometric functions and are true for every value of the occurring variables for which both sides of the equality are defined. Geometrically, these are identities involvin ...
*
Trigonometric function
In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in all ...
*
Trigonometric functions of matrices
The trigonometric functions (especially sine and cosine) for real or complex square matrices occur in solutions of second-order systems of differential equations. They are defined by the same Taylor series that hold for the trigonometric functio ...
Notes
References
*
External links
*
{{DEFAULTSORT:Inverse Trigonometric Functions
Trigonometry
Elementary special functions
Mathematical relations
Ratios
Dimensionless numbers