Differentiate inverse trigonometric functions
The sine, cosine and tangent take each of their values at many angles, so they have no inverses on their whole domains. Each one takes every value of its range once on one interval: the sine on \(\left[-\frac{\pi}{2},\frac{\pi}{2}\right]\), the cosine on \([0,\pi]\) and the tangent on \(\left(-\frac{\pi}{2},\frac{\pi}{2}\right)\). Their inverses on these intervals are the inverse sine, the inverse cosine and the inverse tangent, written \(\arcsin\), \(\arccos\) and \(\arctan\). For an angle \(y\) in the interval of each,
The inverse sine and the inverse cosine are defined for \(-1\le x\le1\), and the inverse tangent for every real \(x\). Many books write \(\sin^{-1}x\), \(\cos^{-1}x\) and \(\tan^{-1}x\), where the \(-1\) marks an inverse, so \(\sin^{-1}x\) is not \(\frac{1}{\sin x}\). This topic finds the three derivatives and where each one exists.
The inverse sine as a mirror image
The graph of the sine on the interval from −π/2 to π/2, in chalk, labelled sin, and its mirror image in a faint dashed diagonal line y = x: the green graph of y = arcsin x, labelled arcsin, from (−1, −π/2) to (1, π/2). Filled dots mark the ends of both curves. An orange point on the green curve and its mirror image on the sine curve each carry an orange tangent line. At x = 0.8 the green curve has slope 5/3, about 1.67, and the sine curve has slope 0.6 at the mirror point. One button turns the sine curve over the diagonal onto the green curve, and another moves the point to the end (1, π/2), where the tangent line of the sine curve is horizontal and the tangent line of the green curve is vertical and red.
In Figure 1, the chalk curve is the graph of the sine on \(\left[-\frac{\pi}{2},\frac{\pi}{2}\right]\). A reflection in the faint diagonal \(y=x\) swaps the two coordinates of every point, so it turns this curve into the graph of \(\cg{y=\arcsin x}\). That graph is the green curve, green because it rises. Use the first button under Figure 1 to turn the sine curve over the diagonal.
The orange point \((x,y)\) on the green curve has \(\sin y=x\), and its mirror image \((y,x)\) lies on the sine curve. Each point carries its tangent line, also orange. The sine is differentiable, and so continuous, with derivative \(\cos y\) at the angle \(y\), and it is one-to-one on \(\left[-\frac{\pi}{2},\frac{\pi}{2}\right]\). By the inverse function rule (topic 3.3), the inverse sine has a derivative at \(x\) wherever \(\cos y\neq0\). Its slope at \((x,y)\) is the reciprocal of the slope of the sine curve at \((y,x)\):
If \(-1<x<1\), then \(-\frac{\pi}{2}<y<\frac{\pi}{2}\), where \(\cos y>0\), so the rule applies. The numbers under Figure 1 give \(x\) and the two slopes: at the start, \(x=0.8\), and the slopes are 0.6 and \(\frac{1}{0.6}=\frac53\), shown as 1.67.
To write \(\cos y\) in terms of \(x\), use the Pythagorean identity \(\sin^2y+\cos^2y=1\). It gives \(\cos^2y=1-x^2\), and \(\cos y\) is the positive square root, because \(\cos y>0\):
The derivative of \(\arcsin x\) is therefore \(\frac{1}{\sqrt{1-x^2}}\) for \(-1<x<1\). At \(x=0.8\), the root is \(\sqrt{0.36}=0.6\), the slope of the sine curve.
At \(x=1\), the angle is \(\frac{\pi}{2}\), where \(\cos y=0\), so the rule does not apply. Use the second button under Figure 1 to move the point to \(x=1\). The tangent line of the sine curve at \(\left(\frac{\pi}{2},1\right)\) is horizontal, so its mirror image at \(\left(1,\frac{\pi}{2}\right)\) is vertical. It turns red, because a vertical line has no slope.
Each secant line of the green curve from \(\left(1,\frac{\pi}{2}\right)\) is the mirror image of a secant line of the sine curve from \(\left(\frac{\pi}{2},1\right)\). The reflection swaps the rise and the run, so the two slopes are reciprocals. As \(x\) approaches 1, \(y\) approaches \(\frac{\pi}{2}\), because the green curve, the mirror image of the unbroken sine curve, has no break. The secant slopes of the sine are then positive and approach \(\cos\frac{\pi}{2}=0\), so the secant slopes of the green curve grow without bound. The inverse sine therefore has no derivative at 1, and in the same way none at \(-1\). The filled dots at the ends of the green curve show that \(\arcsin\) is defined on \([-1,1]\), but its derivative exists only on \((-1,1)\).
The inverse cosine and the inverse tangent
If \(y=\arcsin x\), then \(\frac{\pi}{2}-y\) lies in \([0,\pi]\), and \(\cos\left(\frac{\pi}{2}-y\right)=\sin y=x\). By the definition of the inverse cosine, \(\frac{\pi}{2}-y\) is therefore \(\arccos x\):
The constant \(\frac{\pi}{2}\) has derivative 0, so the derivative of \(\arccos x\) is \(-\frac{1}{\sqrt{1-x^2}}\) for \(-1<x<1\). At \(x=\pm1\), the inverse cosine has no derivative, because the inverse sine would then have one too.
Two graphs, one above the other, for x from −1 to 1. The upper graph is y = arcsin x, green because it rises from (−1, −π/2) to (1, π/2), with filled dots at its ends and an orange point with its tangent line. The lower graph is the derivative, a curve that is lowest, at height 1, at x = 0 and rises steeply near x = −1 and x = 1, with an orange bar from the axis up to the slope at the point. A button turns the upper curve over a dashed line at height π/4 into y = arccos x, red because it falls from (−1, π) to (1, 0), and the lower graph flips below the axis.
Figure 2 graphs \(y=\arcsin x\) above its derivative, and the height of the orange bar is the slope at the orange point. The derivative is smallest, 1, at \(x=0\), and it grows without bound as \(x\) approaches \(-1\) or 1. Use the button under Figure 2 to turn the graph into \(y=\arccos x\). Each point \((x,y)\) moves to \(\left(x,\frac{\pi}{2}-y\right)\), so the curve turns over the dashed line \(y=\frac{\pi}{4}\). It turns red because it falls, and every slope changes sign, so the graph of the derivative flips below the axis.
The tangent function is differentiable, and so continuous, on \(\left(-\frac{\pi}{2},\frac{\pi}{2}\right)\), with derivative \(\sec^2y\), and it is one-to-one there. Because \(\sec^2y=\frac{1}{\cos^2y}\) is never 0, the inverse function rule applies at every \(x=\tan y\):
Dividing the Pythagorean identity by \(\cos^2y\) gives \(\tan^2y+1=\sec^2y\), so \(\sec^2y=1+x^2\). The derivative of \(\arctan x\) is therefore \(\frac{1}{1+x^2}\) for every real \(x\), with no square root. It is positive and at most 1, so every tangent line of \(\arctan\) slopes up, and the steepest one, at \(x=0\), has slope 1. Far from 0, the slope approaches 0, and the graph flattens.
Inner functions and where the derivative exists
If an inverse trigonometric function acts on a function \(u\) of \(x\), the chain rule (topic 3.1) multiplies its derivative at \(u\) by \(u'\). For the inverse sine, this gives \(\frac{d}{dx}\arcsin u=\frac{u'}{\sqrt{1-u^2}}\), and the inverse cosine gives the same with a minus sign. The inverse tangent gives \(\frac{d}{dx}\arctan u=\frac{u'}{1+u^2}\). Each needs \(u\) to be differentiable at \(x\), and the first two also need \(-1<u<1\).
The function \(y=\arcsin u(x)\) is also defined where \(u(x)=\pm1\), but there the chain rule does not apply. Suppose that \(u(x)=1\) and \(u'(x)\neq0\). With \(\Delta u=u(x+h)-u(x)\) and \(\Delta y\) the change in \(y\), the difference quotient of \(y\) is a product:
For small \(h\neq0\), \(\Delta u\neq0\), because \(\Delta u/h\) approaches \(u'(x)\neq0\). The first factor is the slope of the secant of the green curve from \(\left(1,\frac{\pi}{2}\right)\) to \(\left(u(x+h),y(x+h)\right)\). A differentiable function is continuous, so as \(h\) approaches 0, \(u(x+h)\) approaches 1, and this slope grows without bound. The second factor approaches \(u'(x)\). The product grows without bound in size, so \(y\) has no derivative at \(x\), and its graph has a vertical tangent line there. The same holds where \(u(x)=-1\), and for the inverse cosine. The domain of the derivative can therefore be smaller than the domain of the function. For \(\arctan u\), the formula holds wherever \(u'\) exists.
Example 1
Differentiate inverse sine and inverse cosine
Let \(p(x)=\arccos x-\arcsin x\). Find \(p'(x)\) and \(p'\left(\frac35\right)\).
Solution
Both terms are differentiable for \(-1<x<1\), which contains \(\frac35\). The derivative of \(\arccos x\) has a minus sign, and the derivative of \(\arcsin x\) is subtracted, so both terms of \(p'(x)\) are negative:
At \(x=\frac35\), \(1-x^2=\frac{16}{25}\), so the square root is \(\frac45\):
As a check, the identity \(\arccos x=\frac{\pi}{2}-\arcsin x\) gives \(p(x)=\frac{\pi}{2}-2\arcsin x\), whose derivative is the same.
Example 2
Differentiate inverse tangent
Find an equation of the line tangent to the graph of \(y=\arctan x\) at \(x=-\sqrt3\).
Solution
The inverse tangent is differentiable for every \(x\). Its value at \(-\sqrt3\) is the angle in \(\left(-\frac{\pi}{2},\frac{\pi}{2}\right)\) whose tangent is \(-\sqrt3\), which is \(-\frac{\pi}{3}\). The slope is the derivative at \(-\sqrt3\):
The square of \(-\sqrt3\) is 3, so the slope is positive, although \(x\) is negative. The line passes through \(\left(-\sqrt3,-\frac{\pi}{3}\right)\) with slope \(\frac14\):
Example 3
Apply the chain rule inside an inverse trig function
Let \(g(x)=\arcsin\left(\dfrac1x\right)\). Find \(g'(2)\).
Solution
The inner function is \(u=\frac1x\), with \(u'=-\frac{1}{x^2}\). At \(x=2\), \(u=\frac12\), which lies between \(-1\) and 1, and \(u'=-\frac14\). The chain rule multiplies the derivative of the inverse sine at \(u\) by \(u'\):
The derivative is negative, because \(\frac1x\) decreases as \(x\) increases, so the angle \(g(x)\) decreases too.
Example 4
Check where the derivative is defined
Let \(k(x)=\arccos\left(x^2\right)\). Find the domain of \(k\) and the domain of \(k'\).
Solution
The inverse cosine is defined for inputs from \(-1\) to 1. The input \(x^2\) is never negative, and it is at most 1 only for \(-1\le x\le1\), so the domain of \(k\) is \([-1,1]\).
With \(u=x^2\) and \(u'=2x\), the chain rule gives
The formula needs \(x^2<1\), so it holds for \(-1<x<1\). At \(x=0\), \(u'=0\), but \(u=0\) lies inside \((-1,1)\), so \(k'(0)=0\). At \(x=\pm1\), \(u=1\) and \(u'=\pm2\neq0\), so \(k\) has no derivative there, and its graph has vertical tangent lines at its ends. The domain of \(k'\) is \((-1,1)\).
Each example is one of the four skills of topic 3.4 in Which & Why: AP Calculus.