# Inverse Trigonometric Functions

Clearly all trigonometric functions due to periodicity fail horizontal line test. Therefore, they don't have inverse. But if we consider interval where piece of function passes horizontal line test and takes all values from its range, then we can find inverse function.

For function `y=sin(x)` we take interval `[-pi/2,pi/2]`. Function takes all values from range `[-1,1]` and passes horizontal line test on this interval. Therefore, it has inverse.

We denote it by `color(red)(y=arcsin(x))` (it is also often denoted by `y=sin^(-1)(x)`).

So, `y=arcsin(x)` is equivalent to `sin(y)=x,-pi/2<=y<=pi/2`.

Domain of the function `y=arcsin(x)` is `[-1,1]`, range is `[-pi/2,pi/2]`.

As always, since `sin` and `arcsin` are inverse to each other, then their graph are symmetric about line `y=x`.

For function `y=cos(x)` we take interval `[0,pi]`. Function takes all values from range `[-1,1]` and passes horizontal line test on this interval. Therefore, it has inverse.

We denote it as `color(green)(y=arccos(x))` (it is also often denoted by `y=cos^(-1)(x)`).

So, `y=arccos(x)` is equivalent to `cos(y)=x,0<=y<=pi`.

Domain of the function `y=arccos(x)` is `[-1,1]`, range is `[0,pi]`.

For function `y=tan(x)` we take interval `(-pi/2,pi/2)`. Function takes all values and passes horizontal line test on this interval. Therefore, it has inverse.

We denote it as `color(blue)(y=arctan(x))` (it is also often denoted by `y=tan^(-1)(x)`).

So, `y=arctan(x)` is equivalent to `tan(y)=x,-pi/2<y<pi/2`.

Domain of the function `y=arctan(x)` is `(-oo,oo)`, range is `(-pi/2,pi/2)`.

For function `y=cot(x)` we take interval `(0,pi)`. Function takes all values and passes horizontal line test on this interval. Therefore, it has inverse.

We denote it as `y=text(arccot)(x)` (it is also often denoted by `y=cot^(-1)(x)`).

So, `y=text(arccot)(x)` is equivalent to `cot(y)=x,0<y<pi`.

Domain of the function `y=text(arccot)(x)` is `(-oo,oo)`, range is `(0,pi)`.

Following formulas hold for inverse trigonometric functions:

- `sin(arcsin(x))=x, -pi/2<=arcsin(x)<=pi/2`.
- `cos(arccos(x))=x, 0<=arccos(x)<=pi`.
- `tan(arctan(x))=x, -pi/2<arctan(x)<pi/2`.
- `cot(text(arccot)(x))=x, 0<text(arccot)(x)<pi`.
- `cos(arcsin(x))=sqrt(1-x^2)`.
- `arccos(x)=pi/2-arcsin(x)`.
- `arctan(x)=arcsin(x/(sqrt(1+x^2)))`.
- `text(arccot)(x)=pi/2-arctan(x)`.