Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 3.4

Differentiating Inverse Trigonometric Functions

How do you differentiate a function that is not written in a simple, ready-made form, one that is nested, defined implicitly, or defined as an inverse?

What you will learn

  • Understand each inverse trig function on its restricted interval
  • Know the derivatives of arcsin, arccos and arctan
  • Understand how they come from implicit differentiation
  • Know to square the whole input and multiply by its derivative

You must be able to

  1. Differentiate inverse trig functions with chain, product and quotient rules
  2. Rebuild a derivative from sin y equal to x or tan y equal to x
  3. Evaluate a slope and write a tangent line
  4. Use the sign of the derivative to say where a function increases
  5. Avoid reading sin to the minus one as a reciprocal

In the exam. Section I multiple choice: a derivative of arcsin⁡\arcsin, arctan⁡\arctan or arccos⁡\arccos of an expression, usually needing the chain rule as well, and a slope or tangent line at a point. In Section II these derivatives appear inside a larger question, such as a function defined with arctan⁡\arctan, a tangent line or a justification about where a function is increasing. They also set up the antiderivatives you meet in Unit 6.

1The inverse trigonometric functions

arcsin⁡x\arcsin x (also written sin⁡−1x\sin^{-1} x) = the angle yy in [−π2,π2]\left[-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right] with sin⁡y=x\sin y = x. It is defined for −1≤x≤1-1 \le x \le 1.

arccos⁡x\arccos x = the angle yy in [0,π][0, \pi] with cos⁡y=x\cos y = x. It is defined for −1≤x≤1-1 \le x \le 1.

arctan⁡x\arctan x = the angle yy in (−π2,π2)\left(-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right) with tan⁡y=x\tan y = x. It is defined for every xx.

arcsin⁡12=π6sin(pi/6) = 1/2, and pi/6 is in the allowed interval\arcsin\tfrac{1}{2} = \tfrac{\pi}{6} \qquad \textcolor{#838c91}{\text{sin(pi/6) = 1/2, and pi/6 is in the allowed interval}}arctan⁡1=π4\arctan 1 = \tfrac{\pi}{4}arccos⁡0=π2\arccos 0 = \tfrac{\pi}{2}arcsin⁡(−1)=−π2\arcsin(-1) = -\tfrac{\pi}{2}
  • The "restricted interval" is why each answer is a single angle.
  • sin⁡−1x\sin^{-1} x does not mean 1sin⁡x\dfrac{1}{\sin x}.

Figure 1 shows the graphs of arcsin⁡x\arcsin x and arctan⁡x\arctan x.

  • arcsin⁡x\arcsin x stops at x=±1x = \pm 1, where its graph becomes vertical.
  • arctan⁡x\arctan x levels off toward π2\tfrac{\pi}{2} and −π2-\tfrac{\pi}{2} on each side.
  • Both have slope 1 at the origin.
Two graphs. Left: y = arcsin x on the interval from -1 to 1, rising from -pi/2 to pi/2, with slope 1 at the origin and vertical tangents at the end points. Right: y = arctan x, rising through the origin with slope 1, flattening towards horizontal asymptotes y = pi/2 and y = -pi/2 (a) y = arcsin x −1 1 −π/2 π/2 y x slope 1 Two graphs. Left: y = arcsin x on the interval from -1 to 1, rising from -pi/2 to pi/2, with slope 1 at the origin and vertical tangents at the end points. Right: y = arctan x, rising through the origin with slope 1, flattening towards horizontal asymptotes y = pi/2 and y = -pi/2 (b) y = arctan x −4 −2 2 4 −π/2 π/2 y x slope 1
Figure 1 · y = arcsin x between −1 and 1, and y = arctan x, both with slope 1 at the origin

2The derivatives

ddx[arcsin⁡x]=11−x2\dfrac{d}{dx}\bigl[\arcsin x\bigr] = \dfrac{1}{\sqrt{1 - x^{2}}} for −1<x<1-1 < x < 1

ddx[arccos⁡x]=−11−x2\dfrac{d}{dx}\bigl[\arccos x\bigr] = -\dfrac{1}{\sqrt{1 - x^{2}}} for −1<x<1-1 < x < 1

ddx[arctan⁡x]=11+x2\dfrac{d}{dx}\bigl[\arctan x\bigr] = \dfrac{1}{1 + x^{2}}

The other three, which are used less often:

ddx[arccot⁡x]=−11+x2\frac{d}{dx}\bigl[\operatorname{arccot} x\bigr] = -\frac{1}{1 + x^{2}}ddx[arcsec⁡x]=1∣x∣x2−1for |x| > 1\frac{d}{dx}\bigl[\operatorname{arcsec} x\bigr] = \frac{1}{|x|\sqrt{x^{2} - 1}} \qquad \textcolor{#838c91}{\text{for |x| > 1}}ddx[arccsc⁡x]=−1∣x∣x2−1\frac{d}{dx}\bigl[\operatorname{arccsc} x\bigr] = -\frac{1}{|x|\sqrt{x^{2} - 1}}
  • Each "co" function has the negative of the derivative of its partner: arccos⁡\arccos goes with arcsin⁡\arcsin, arccot⁡\operatorname{arccot} with arctan⁡\arctan, arccsc⁡\operatorname{arccsc} with arcsec⁡\operatorname{arcsec}.
  • Learn arcsin⁡\arcsin and arctan⁡\arctan first. You get the others from them by changing the sign.

3Where the formulas come from

You can rebuild them in a minute, which is safer than a half-remembered formula.

arctan⁡x\arctan x, by implicit differentiation. Let y=arctan⁡xy = \arctan x, so tan⁡y=x\tan y = x.

sec⁡2y⋅dydx=1differentiate both sides in x\sec^{2}y\cdot\frac{dy}{dx} = 1 \qquad \textcolor{#838c91}{\text{differentiate both sides in x}}dydx=1sec⁡2y=11+tan⁡2y=11+x2sec⁡2y=1+tan⁡2y, and tan⁡y=x\frac{dy}{dx} = \frac{1}{\sec^{2}y} = \frac{1}{1 + \tan^{2}y} = \frac{1}{1 + x^{2}} \qquad \textcolor{#838c91}{\sec^{2}y = 1 + \tan^{2}y\text{, and }\tan y = x}

arcsin⁡x\arcsin x, by implicit differentiation. Let y=arcsin⁡xy = \arcsin x, so sin⁡y=x\sin y = x.

cos⁡y⋅dydx=1\cos y\cdot\frac{dy}{dx} = 1dydx=1cos⁡y=11−sin⁡2y=11−x2\frac{dy}{dx} = \frac{1}{\cos y} = \frac{1}{\sqrt{1 - \sin^{2}y}} = \frac{1}{\sqrt{1 - x^{2}}}
  • Why the positive square root? Because yy lies in [−π2,π2]\left[-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right], where cos⁡y≥0\cos y \ge 0.
  • The same steps work for arccos⁡\arccos, where yy lies in [0,π][0, \pi] and sin⁡y≥0\sin y \ge 0. The derivative of cos⁡y\cos y brings a minus sign.

By the inverse-function rule of 3.3. With f(x)=sin⁡xf(x) = \sin x and g=arcsin⁡g = \arcsin, g′(b)=1cos⁡(g(b))g'(b) = \dfrac{1}{\cos(g(b))}, which is the same step.

  • A "show that" question will give one of these formulas as the target, and the marks are for the steps above.

4With the chain rule

When the input is not just xx, multiply by the derivative of the input.

ddx[arcsin⁡u]=u′1−u2\dfrac{d}{dx}\bigl[\arcsin u\bigr] = \dfrac{u'}{\sqrt{1 - u^{2}}} and ddx[arctan⁡u]=u′1+u2\dfrac{d}{dx}\bigl[\arctan u\bigr] = \dfrac{u'}{1 + u^{2}}

ddx[arcsin⁡(3x)]=31−9x2u=3x, so u2=9x2\frac{d}{dx}\bigl[\arcsin(3x)\bigr] = \frac{3}{\sqrt{1 - 9x^{2}}} \qquad \textcolor{#838c91}{u = 3x\text{, so }u^{2} = 9x^{2}}ddx[arctan⁡(x2)]=2x1+x4u2=x4\frac{d}{dx}\bigl[\arctan(x^{2})\bigr] = \frac{2x}{1 + x^{4}} \qquad \textcolor{#838c91}{u^{2} = x^{4}}ddx[arctan⁡(ex)]=ex1+e2x\frac{d}{dx}\bigl[\arctan(e^{x})\bigr] = \frac{e^{x}}{1 + e^{2x}}ddx[arccos⁡(e−x)]=−11−e−2x⋅(−e−x)=e−x1−e−2x\frac{d}{dx}\bigl[\arccos(e^{-x})\bigr] = -\frac{1}{\sqrt{1 - e^{-2x}}}\cdot\left(-e^{-x}\right) = \frac{e^{-x}}{\sqrt{1 - e^{-2x}}}ddx[arccos⁡x]=−11−x⋅12x=−12x(1−x)\frac{d}{dx}\bigl[\arccos\sqrt{x}\bigr] = -\frac{1}{\sqrt{1 - x}}\cdot\frac{1}{2\sqrt{x}} = -\frac{1}{2\sqrt{x(1 - x)}}
  • The square of the input goes into the denominator: (3x)2=9x2(3x)^{2} = 9x^{2}, not 3x23x^{2}.
  • A power of the inverse function needs the chain rule too: ddx[(arcsin⁡x)2]=2arcsin⁡x1−x2\dfrac{d}{dx}\bigl[(\arcsin x)^{2}\bigr] = \dfrac{2\arcsin x}{\sqrt{1 - x^{2}}}.
  • A log of the inverse function: ddx[ln⁡(arctan⁡x)]=1(1+x2)arctan⁡x\dfrac{d}{dx}\bigl[\ln(\arctan x)\bigr] = \dfrac{1}{(1 + x^{2})\arctan x}.

5With the product and quotient rules

ddx[xarcsin⁡x]=arcsin⁡x+x1−x2product rule\frac{d}{dx}\bigl[x\arcsin x\bigr] = \arcsin x + \frac{x}{\sqrt{1 - x^{2}}} \qquad \textcolor{#838c91}{\text{product rule}}ddx[xarctan⁡x−12ln⁡(1+x2)]=arctan⁡x+x1+x2−x1+x2=arctan⁡x\frac{d}{dx}\left[x\arctan x - \tfrac{1}{2}\ln(1 + x^{2})\right] = \arctan x + \frac{x}{1 + x^{2}} - \frac{x}{1 + x^{2}} = \arctan xddx[arctan⁡xx]=x1+x2−arctan⁡xx2quotient rule\frac{d}{dx}\left[\frac{\arctan x}{x}\right] = \frac{\dfrac{x}{1 + x^{2}} - \arctan x}{x^{2}} \qquad \textcolor{#838c91}{\text{quotient rule}}
  • In the second line two terms cancel, which is why that function is a natural "show that" question.
  • Decide the outermost operation first, as in 3.1.

6Slopes, tangent lines and what Figure 1 shows

At a point. Example: the slope of y=arcsin⁡xy = \arcsin x at x=12x = \tfrac{1}{2}.

dydx∣x=1/2=11−14=13/2=23\frac{dy}{dx}\bigg|_{x = 1/2} = \frac{1}{\sqrt{1 - \tfrac{1}{4}}} = \frac{1}{\sqrt{3}/2} = \frac{2}{\sqrt{3}}y−π6=23(x−12)the tangent line; arcsin(1/2) = pi/6y - \frac{\pi}{6} = \frac{2}{\sqrt{3}}\left(x - \frac{1}{2}\right) \qquad \textcolor{#838c91}{\text{the tangent line; arcsin(1/2) = pi/6}}

Example: the tangent to y=arctan⁡xy = \arctan x at x=1x = 1.

dydx∣x=1=11+1=12\frac{dy}{dx}\bigg|_{x = 1} = \frac{1}{1 + 1} = \frac{1}{2}y−π4=12(x−1)y - \frac{\pi}{4} = \frac{1}{2}(x - 1)

Reading the graphs. These facts follow from the formulas, and they match Figure 1.

  • ddx[arcsin⁡x]\dfrac{d}{dx}\bigl[\arcsin x\bigr] is at least 1 and becomes very large as xx approaches ±1\pm 1. The derivative does not exist at x=±1x = \pm 1, where the graph has vertical tangents.
  • ddx[arctan⁡x]\dfrac{d}{dx}\bigl[\arctan x\bigr] is positive, equals 1 at x=0x = 0, and gets close to 0 for large ∣x∣|x|. That is why the graph flattens toward its horizontal asymptotes.
  • Both functions are increasing, because both derivatives are positive. arccos⁡x\arccos x is decreasing, because its derivative is negative.

A justification that uses the derivative. Example (invented): f(x)=arctan⁡(x2−4x)f(x) = \arctan\bigl(x^{2} - 4x\bigr). On which interval is ff increasing?

f′(x)=2x−41+(x2−4x)2the chain rule with u=x2−4x, so u′=2x−4f'(x) = \frac{2x - 4}{1 + \bigl(x^{2} - 4x\bigr)^{2}} \qquad \textcolor{#838c91}{\text{the chain rule with }u = x^{2} - 4x\text{, so }u' = 2x - 4}
  • The denominator is at least 1, so it is always positive. The sign of f′(x)f'(x) is the sign of 2x−42x - 4.
  • f′(x)>0f'(x) > 0 when x>2x > 2, so ff is increasing on x>2x > 2, and decreasing for x<2x < 2.
  • In an answer, name the function and the sign: "f′(x)>0f'(x) > 0 for x>2x > 2, so ff is increasing there".

7Where these derivatives lead

  • Reversing them gives antiderivatives you will need in Unit 6: ∫11+x2 dx=arctan⁡x+C\displaystyle\int\dfrac{1}{1 + x^{2}}\,dx = \arctan x + C and ∫11−x2 dx=arcsin⁡x+C\displaystyle\int\dfrac{1}{\sqrt{1 - x^{2}}}\,dx = \arcsin x + C.
  • The answer of one question can be a clean expression after the cancellation in section 6. If your answer is very messy, look for a term that cancels.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.