✖

Derivatives of arctan, arcsin, arccos and arccot

If you are only looking for the formulae, here they are. The derivatives of the inverse trigonometric functions arcsin, arccos, arctan and arccot are:

(arcsin⁡x)′=11−x2

(arccos⁡x)′=−11−x2

(arctan⁡x)′=11+x2

(arccotx)′=−11+x2

For inverse sine and inverse cosine, the formulae hold only for −1<x<1. Both functions have domain [−1, 1], but at the end points the denominator would be zero and the derivative does not exist there (the graph is vertical there). The derivatives of inverse tangent and inverse cotangent exist for every real x.

The inverse trigonometric functions are written in more than one way. On calculators and at GCSE you will see sin−1x, cos−1x and tan−1x, while at A level and on Wikipedia you will also meet the names arcsin, arccos and arctan. It is the same function each time, so “the derivative of tan−1x” and “the derivative of arctan” mean exactly the same thing. So this page also covers the “derivatives of inverse trigonometric functions”. Here we stick to arctan, just as in the overview of derivative formulae.

Deriving the derivatives of arcsin and arctan

Inverse sine is the inverse function of the sine restricted to the interval [−π2,π2]. So if we “wrap” the sine around the inverse sine, we get the original x back:

sin⁡(arcsin⁡x)=x.

Now we differentiate both sides. On the left-hand side there is a composite function: the outer function is the sine and the inner function is the inverse sine. The sine differentiates to the cosine, we copy the inside unchanged and multiply by the derivative of the inside. On the right-hand side, the derivative of x is simply one:

cos⁡(arcsin⁡x)⋅(arcsin⁡x)′=1.

We divide by the cosine (for −1<x<1 it is non-zero):

(arcsin⁡x)′=1cos⁡(arcsin⁡x).

That is correct, but nobody wants to leave the result in this form. Let y = arcsin x, that is, the angle (in radians) whose sine is x: sin y = x. From the Pythagorean identity sin2y + cos2y = 1 we express the cosine:

cos⁡y=±1−sin2⁡y=±1−x2.

Which sign is right? Inverse sine returns only angles from the interval [−π2,π2], and on that interval the cosine is never negative. So we take the plus sign and get:

(arcsin⁡x)′=1cos⁡y=11−x2.

For inverse tangent we proceed in the same way. Differentiating the identity tan(arctan x) = x (the derivative of the tangent is 1cos2⁡x) gives:

1cos2⁡(arctan⁡x)⋅(arctan⁡x)′=1.

Let y = arctan x, that is, tan y = x. Now a useful formula comes in: divide the identity sin2y + cos2y = 1 by cos2y (and note that sin⁡ycos⁡y is tan y):

1cos2⁡y=1+tan2⁡y=1+x2.

We substitute and express the derivative:

(arctan⁡x)′=11+x2.

There is no sign to worry about here, since there is no square root.

The remaining two functions come for free. The sine of an angle α is the cosine of the angle π2−α, and therefore for all admissible x

arcsin⁡x+arccos⁡x=π2andarctan⁡x+arccotx=π2.

We write arccos⁡x=π2−arcsin⁡x and differentiate. The derivative of the constant π2 is zero, so:

(arccos⁡x)′=0−(arcsin⁡x)′=−11−x2.

Exactly the same happens for (arccotx)′=−11+x2. This is why each “co-function” differs from its counterpart only in sign.

And what does it look like drawn? The graph of inverse tangent is in blue and its derivative 11+x2 in red:

Graph of y=\arctan x in blue with asymptotes y=\pm\frac{π}{2}, its derivative y=\frac{1}{1+x^2} in red with a maximum at the point (0, 1), and the tangent at the origin as a dashed orange line Graph of y=\arctan x in blue with asymptotes y=\pm\frac{π}{2}, its derivative y=\frac{1}{1+x^2} in red with a maximum at the point (0, 1), and the tangent at the origin as a dashed orange line

Inverse tangent is steepest at zero, where the tangent line has slope exactly 1, and that is exactly where the derivative has its maximum: 11+02=1. The further from zero, the more the graph creeps along its asymptote and the more the derivative falls towards zero. It is also positive everywhere, because inverse tangent is always increasing.

Worked examples

In examples, an inverse trigonometric function usually does not stand on its own: there is something else inside it. The method does not change, though: we differentiate the outer inverse trigonometric function, leave the inside unchanged and multiply the result by the derivative of the inside. If the chain rule still gives you trouble, first revise the derivative examples.

Example 1: f(x) = arctan(2x)

The outer function is inverse tangent and the inner function is 2x. In the formula 11+x2 we substitute the whole inside for x and multiply by the derivative of the inside, which is 2:

f′(x)=11+(2x)2⋅(2x)′=11+4x2⋅2=21+4x2.

Example 2: f(x)=arcsin⁡x2

The inner function is x2 and its derivative is 12:

f′(x)=11−(x2)2⋅12=121−x24.

We still tidy up the result. We move the two in the denominator under the square root, where it becomes a four:

f′(x)=14⋅(1−x24)=14−x2.

This holds for −2<x<2.

Example 3: f(x)=arcsin⁡x

The inside is a square root, (x)′=12x. After substituting into the formula, the expression under the large square root is 1−(x)2=1−x:

f′(x)=11−x⋅12x=12x(1−x).

The derivative exists only for 0<x<1: because of x we need x>0, and because of the square root in the denominator, x<1.

Example 4: f(x) = x · arctan x

This time it is not a composite function but a product. We use the formula (f · g)′ = f′ · g + f · g′:

f′(x)=x′⋅arctan⁡x+x⋅(arctan⁡x)′=arctan⁡x+x1+x2.

Example 5: f(x) = arctan2x

The notation arctan2x is shorthand for (arctan x)2. So the outer function is squaring and the inner function is inverse tangent. We differentiate the power using the power rule (the derivative of u2 with respect to u is 2u) and multiply by the derivative of the inside:

f′(x)=2arctan⁡x⋅11+x2=2arctan⁡x1+x2.

Example 6: f(x)=arctan⁡1x

The inside is 1x=x−1 and its derivative is −x−2=−1x2:

f′(x)=11+1x2⋅(−1x2)=−1x2⋅(1+1x2).

We multiply out the denominator:

f′(x)=−1x2+1.

Interesting: we got exactly the derivative of inverse cotangent. That is no coincidence. For positive x we have arctan⁡1x=arccotx, so the two functions coincide. Check it for x = 1: both sides give π4. For negative x the two functions differ by the constant π: for example, for x = −1 we have arctan⁡(−1)=−π4 but arccot(−1)=3π4, and the constant disappears on differentiating. At zero, arctan⁡1x is not defined, so the result holds for x ≠ 0.

Typical mistakes

Inverse sine is not the reciprocal of sine. The notation sin−1x from your calculator tempts you to think it means 1sin⁡x. But the minus one here stands for the inverse function, not the reciprocal. Another common slip is the “derivative” (arcsin⁡x)′=1cos⁡x, where the inside of the intermediate result 1cos⁡(arcsin⁡x) has gone missing. The correct result is 11−x2, which contains no trigonometric function.

Forgetting the derivative of the inside. Writing (arctan⁡2x)′=11+4x2 is probably the most common mistake of all. The multiplication by two, that is, by the derivative of the inside, is missing. Whenever there is anything inside other than a bare x, a multiplication has to appear.

A lost minus sign for arccos and arccot. The derivatives of inverse cosine and inverse cotangent are negative. This makes sense: both functions are decreasing, so their derivatives cannot be positive. If you are not sure, look at the graph in the article on inverse trigonometric functions.

The square in the wrong place. In the formula 11−x2 the whole inside is squared. For arcsin(3x) the expression under the square root is 1 − 9x2, not 1 − 3x2.