Math Core

Lesson 3.4 · Composite, Implicit and Inverse Functions

Derivatives of inverse trig functions

The inverse trig functions arcsin⁡x\arcsin x, arccos⁡x\arccos x and arctan⁡x\arctan x answer the question "which angle has this sine, cosine or tangent?" Their derivatives are a surprise: they contain no trig functions at all, just algebraic expressions. That fact becomes very useful later, when you run the process backward to find antiderivatives.

A quick review of the inverse trig functions

Sine, cosine and tangent aren't one-to-one, so each is restricted to an interval before it's inverted:

functiondomainrange (output angles)
y=arcsin⁡xy = \arcsin x−1≤x≤1-1 \le x \le 1−π2≤y≤π2-\dfrac{\pi}{2} \le y \le \dfrac{\pi}{2}
y=arccos⁡xy = \arccos x−1≤x≤1-1 \le x \le 10≤y≤π0 \le y \le \pi
y=arctan⁡xy = \arctan xall real xx−π2<y<π2-\dfrac{\pi}{2} \lt y \lt \dfrac{\pi}{2}

You'll also see the notation sin⁡−1x\sin^{-1} x for arcsin⁡x\arcsin x. As always, the −1-1 means "inverse," not reciprocal.

Deriving the derivative of arcsin x

Let y=arcsin⁡xy = \arcsin x. Then sin⁡y=x\sin y = x, with yy between −π2-\dfrac{\pi}{2} and π2\dfrac{\pi}{2}. Differentiate implicitly:

cos⁡y⋅dydx=1⟹dydx=1cos⁡y.\cos y \cdot \frac{dy}{dx} = 1 \quad\Longrightarrow\quad \frac{dy}{dx} = \frac{1}{\cos y}.

To write this in terms of xx, use cos⁡2y+sin⁡2y=1\cos^2 y + \sin^2 y = 1, so cos⁡y=±1−sin⁡2y=±1−x2\cos y = \pm\sqrt{1 - \sin^2 y} = \pm\sqrt{1 - x^2}. Because yy is between −π2-\dfrac{\pi}{2} and π2\dfrac{\pi}{2}, cos⁡y≥0\cos y \ge 0, so we take the positive root:

ddxarcsin⁡x=11−x2.\frac{d}{dx}\arcsin x = \frac{1}{\sqrt{1 - x^2}}.

The same method works for arctangent. From tan⁡y=x\tan y = x you get sec⁡2y⋅dydx=1\sec^2 y \cdot \dfrac{dy}{dx} = 1, and sec⁡2y=1+tan⁡2y=1+x2\sec^2 y = 1 + \tan^2 y = 1 + x^2. So ddxarctan⁡x=11+x2\dfrac{d}{dx}\arctan x = \dfrac{1}{1 + x^2}.

Derivatives of the inverse trig functions

ddxarcsin⁡x=11−x2ddxarccos⁡x=−11−x2ddxarctan⁡x=11+x2\frac{d}{dx}\arcsin x = \frac{1}{\sqrt{1 - x^2}} \qquad \frac{d}{dx}\arccos x = -\frac{1}{\sqrt{1 - x^2}} \qquad \frac{d}{dx}\arctan x = \frac{1}{1 + x^2}

With the chain rule, for an inner function u=g(x)u = g(x):

ddxarcsin⁡u=u′1−u2ddxarccos⁡u=−u′1−u2ddxarctan⁡u=u′1+u2\frac{d}{dx}\arcsin u = \frac{u'}{\sqrt{1 - u^2}} \qquad \frac{d}{dx}\arccos u = -\frac{u'}{\sqrt{1 - u^2}} \qquad \frac{d}{dx}\arctan u = \frac{u'}{1 + u^2}

The derivative of arccos⁡x\arccos x is the negative of the derivative of arcsin⁡x\arcsin x. That makes sense: arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \dfrac{\pi}{2} for every xx in [−1,1][-1, 1], and the derivative of a constant is 0.

For completeness, the other three are ddxarccot⁡x=−11+x2\dfrac{d}{dx}\operatorname{arccot} x = -\dfrac{1}{1 + x^2}, ddxarcsec⁡x=1∣x∣x2−1\dfrac{d}{dx}\operatorname{arcsec} x = \dfrac{1}{|x|\sqrt{x^2 - 1}} and ddxarccsc⁡x=−1∣x∣x2−1\dfrac{d}{dx}\operatorname{arccsc} x = -\dfrac{1}{|x|\sqrt{x^2 - 1}}. The AP exam focuses on arcsine, arccosine and arctangent.

Reading the graph

The graph of y=arctan⁡xy = \arctan x always rises, and it is steepest at the origin. The formula agrees: 11+x2\dfrac{1}{1 + x^2} is always positive, equals 1 at x=0x = 0, and shrinks toward 0 as ∣x∣|x| grows. At x=1x = 1 the slope is 12\dfrac{1}{2}.

y = arctan x with its tangent line at (1, π/4). The slope there is 1/(1 + 1²) = 1/2.Open in grapher →

Examples

Worked example: Chain rule with arcsin and arctan

Differentiate each function.

  1. y=arcsin⁡(3x)y = \arcsin(3x)
  2. y=arctan⁡(x2)y = \arctan(x^2)

Solutions.

  1. Here u=3xu = 3x and u′=3u' = 3:   y′=31−(3x)2=31−9x2\;y' = \dfrac{3}{\sqrt{1 - (3x)^2}} = \dfrac{3}{\sqrt{1 - 9x^2}}.
  2. Here u=x2u = x^2 and u′=2xu' = 2x:   y′=2x1+(x2)2=2x1+x4\;y' = \dfrac{2x}{1 + (x^2)^2} = \dfrac{2x}{1 + x^4}.

Common mistake

Square the whole inner function. In part 1, (3x)2=9x2(3x)^2 = 9x^2, not 3x23x^2. In part 2, (x2)2=x4(x^2)^2 = x^4, not x2x^2.

Worked example: A value of the derivative

Let f(x)=arccos⁡ ⁣(x2)f(x) = \arccos\!\left(\dfrac{x}{2}\right). Find f′(1)f'(1).

Solution. With u=x2u = \dfrac{x}{2} and u′=12u' = \dfrac{1}{2},

f′(x)=−1/21−x2/4,f′(1)=−1/23/4=−1/23/2=−13.f'(x) = -\frac{1/2}{\sqrt{1 - x^2/4}}, \qquad f'(1) = -\frac{1/2}{\sqrt{3/4}} = -\frac{1/2}{\sqrt{3}/2} = -\frac{1}{\sqrt{3}}.

Worked example: Combining rules

Differentiate y=xarctan⁡xy = x\arctan x.

Solution. Use the product rule:

y′=1⋅arctan⁡x+x⋅11+x2=arctan⁡x+x1+x2.y' = 1 \cdot \arctan x + x \cdot \frac{1}{1 + x^2} = \arctan x + \frac{x}{1 + x^2}.

Tip

If you forget a formula, rebuild it in 30 seconds: write sin⁡y=x\sin y = x (or tan⁡y=x\tan y = x), differentiate implicitly, and use a Pythagorean identity to get back to xx.

Practice

Practice 1

Find dydx\dfrac{dy}{dx} if y=arctan⁡(5x)y = \arctan(5x).

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 2

Find dydx\dfrac{dy}{dx} if y=arcsin⁡ ⁣(x4)y = \arcsin\!\left(\dfrac{x}{4}\right).

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 3

Find dydx\dfrac{dy}{dx} if y=arctan⁡(ex)y = \arctan(e^x).

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 4

Find dydx\dfrac{dy}{dx} if y=arccos⁡(x2)y = \arccos(x^2).

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 5

Let f(x)=arctan⁡(2x)f(x) = \arctan(2x). Find f′ ⁣(12)f'\!\left(\dfrac{1}{2}\right).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

(AP-style) If y=arcsin⁡(x)y = \arcsin(\sqrt{x}), then dydx=\dfrac{dy}{dx} =

Practice 7

Write an equation of the line tangent to y=arctan⁡xy = \arctan x at x=1x = 1.

Enter an expression, e.g. 3x^2 - 2x + 1

Practice 8

(AP-style) Let f(x)=xarcsin⁡xf(x) = x\arcsin x. What is f′ ⁣(12)f'\!\left(\dfrac{1}{2}\right)?