Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Example 24: Derivative of sin⁡−1x\sin^{-1}x is 11−x2\frac{1}{\sqrt{1-x^2}}

ExamplesDerivatives of inverse trigonometric functions · Section 5.3.3
The question

Find the derivative of ff given by f(x)=sin⁡−1xf(x) = \sin^{-1} x assuming it exists.

Exam answer

Let y=sin⁡−1xy = \sin^{-1}x⁠. Then sin⁡y=x\sin y = x⁠, where −π2≤y≤π2-\frac{\pi}{2} \le y \le \frac{\pi}{2}⁠.

Differentiating both sides w.r.t. xx⁠,

cos⁡y⋅dydx=1⇒ dydx=1cos⁡y\begin{aligned} &\cos y\cdot\frac{dy}{dx} = 1 \\ \Rightarrow\ &\frac{dy}{dx} = \frac{1}{\cos y} \end{aligned}

For −1<x<1-1 < x < 1⁠, −π2<y<π2-\frac{\pi}{2} < y < \frac{\pi}{2}⁠, so cos⁡y>0\cos y > 0 and

cos⁡y=1−sin⁡2y=1−x2\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2}

∴ ddx(sin⁡−1x)=11−x2\therefore\ \dfrac{d}{dx}(\sin^{-1}x) = \dfrac{1}{\sqrt{1 - x^2}} (−1<x<1)(-1 < x < 1)⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

We know how to differentiate sin⁡\sin⁠, not sin⁡−1\sin^{-1}⁠. So turn the question round: if y=sin⁡−1xy = \sin^{-1}x⁠, then sin⁡y=x\sin y = x⁠, and differentiating this implicitly gives cos⁡y⋅dydx=1\cos y\cdot\frac{dy}{dx} = 1⁠. The rest is rewriting cos⁡y\cos y in terms of xx⁠, and the principal range [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] of sin⁡−1\sin^{-1} decides the sign of the square root.

Given, to find, and the plan
Given
f(x)=sin⁡−1xf(x) = \sin^{-1}x⁠, defined for x∈[−1,1]x\in[-1, 1]⁠, with values in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠. We are told to assume the derivative exists.
To find
f′(x)f'(x) in terms of xx⁠, and the xx for which it is valid.
Plan
(1) Write y=sin⁡−1xy = \sin^{-1}x as sin⁡y=x\sin y = x⁠. (2) Differentiate implicitly. (3) Solve for dydx\frac{dy}{dx}⁠; note where cos⁡y=0\cos y = 0⁠. (4) Express cos⁡y\cos y in xx⁠, choosing the sign from the range of yy⁠. (5) Conclude, and look at the endpoints.

Basics you need

1What sin⁡−1x\sin^{-1}x means

For x∈[−1,1]x\in[-1,1]⁠, sin⁡−1x\sin^{-1}x is the unique angle yy in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] with sin⁡y=x\sin y = x (principal value branch, Chapter 2). So sin⁡(sin⁡−1x)=x\sin(\sin^{-1}x) = x for x∈[−1,1]x\in[-1,1]⁠. Basics: composite functions

2Implicit differentiation and the chain rule

Differentiating sin⁡y\sin y with respect to xx⁠, where yy depends on xx⁠, gives cos⁡y⋅dydx\cos y\cdot\frac{dy}{dx}⁠. Basics: solving for dy/dx

3Pythagorean identity

sin⁡2y+cos⁡2y=1\sin^2 y + \cos^2 y = 1 for every yy⁠, so cos⁡2y=1−sin⁡2y\cos^2 y = 1 - \sin^2 y⁠. Basics: trigonometric identities

4Sign of cosine

cos⁡y>0\cos y > 0 for −π2<y<π2-\frac{\pi}{2} < y < \frac{\pi}{2}⁠, and cos⁡y=0\cos y = 0 at y=±π2y = \pm\frac{\pi}{2}⁠. Basics: trigonometric identities

Solution

  1. Rewrite the inverse as an equation we can differentiate

    Let y=sin⁡−1xy = \sin^{-1}x with x∈[−1,1]x\in[-1,1]⁠. By the meaning of sin⁡−1\sin^{-1}⁠,

    sin⁡y=xand−π2≤y≤π2.\sin y = x \qquad\text{and}\qquad -\frac{\pi}{2} \le y \le \frac{\pi}{2}.
    We have a derivative for sin⁡\sin but not yet for sin⁡−1\sin^{-1}⁠. The equation sin⁡y=x\sin y = x contains only the function we know. Keeping the range condition next to it is essential: sin⁡y=x\sin y = x alone has infinitely many solutions yy⁠, and the range picks out the one that equals sin⁡−1x\sin^{-1}x⁠. Step 4 will need it.
    sin⁡(sin⁡−1x)=x\sin(\sin^{-1}x) = x for x∈[−1,1]x\in[-1,1] (Chapter 2, Section 2.3); principal value branch [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] (Chapter 2, Section 2.2).
  2. Differentiate both sides with respect to xx

    sin⁡y=x\sin y = x holds for every xx in [−1,1][-1,1]⁠, so the two sides have the same derivative. Assuming dydx\frac{dy}{dx} exists (as the question allows), the chain rule with outer function sin⁡\sin and inner function y(x)y(x) gives

    cos⁡y⋅dydx=1.\cos y\cdot\frac{dy}{dx} = 1.
    The left side is a composite: sine of a quantity yy that depends on xx⁠. Its derivative is cos⁡y\cos y times the rate dydx\frac{dy}{dx} of the inner quantity. The right side is xx⁠, whose derivative is 11⁠.
    Implicit differentiation (Section 5.3.2) with the chain rule (Theorem 4). Lesson: implicit differentiation
  3. Solve for dydx\frac{dy}{dx}⁠, and see where this is possible

    dydx=1cos⁡y=1cos⁡(sin⁡−1x),cos⁡y≠0.\begin{aligned} \frac{dy}{dx} &= \frac{1}{\cos y} = \frac{1}{\cos(\sin^{-1}x)}, \\ &\qquad \cos y \ne 0. \end{aligned}

    In the range [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠, cos⁡y=0\cos y = 0 only at y=±π2y = \pm\frac{\pi}{2}⁠, that is, at sin⁡−1x=±π2\sin^{-1}x = \pm\frac{\pi}{2}⁠, that is, at x=±1x = \pm1⁠. So the formula is valid for

    x∈(−1,1).x \in (-1, 1).
    We divide by cos⁡y\cos y⁠, which needs cos⁡y≠0\cos y \ne 0⁠. Translating the condition back to xx⁠: y=π2y = \frac{\pi}{2} corresponds to x=sin⁡π2=1x = \sin\frac{\pi}{2} = 1 and y=−π2y = -\frac{\pi}{2} to x=−1x = -1⁠. At those two points the equation cos⁡y⋅dydx=1\cos y\cdot\frac{dy}{dx} = 1 would read 0=10 = 1⁠: no finite derivative can satisfy it.
    cos⁡(±π2)=0\cos\left(\pm\frac{\pi}{2}\right) = 0⁠, and cos⁡y>0\cos y > 0 strictly between them. Basics: trigonometric identities
  4. Write cos⁡y\cos y in terms of xx⁠, choosing the correct sign

    For x∈(−1,1)x\in(-1,1)⁠, the Pythagorean identity and sin⁡y=x\sin y = x give

    cos⁡2y=1−sin⁡2y=1−x2.\cos^2 y = 1 - \sin^2 y = 1 - x^2.

    So cos⁡y=1−x2\cos y = \sqrt{1-x^2} or cos⁡y=−1−x2\cos y = -\sqrt{1-x^2}⁠. Which one? Here −π2<y<π2-\frac{\pi}{2} < y < \frac{\pi}{2}⁠, and cosine is positive on that interval, so

    cos⁡y=+1−x2.\cos y = +\sqrt{1 - x^2}.
    Squaring loses the sign, so after taking a square root we must decide it with extra information. That information is the principal range from Step 1. Had we used a branch of the inverse with yy in (π2,3π2)\left(\frac{\pi}{2}, \frac{3\pi}{2}\right)⁠, cosine would be negative there and the minus sign would be correct instead. The sign is also visible on the graph: sin⁡−1x\sin^{-1}x increases, so its slope must be positive.
    a\sqrt{a} always means the non-negative root, so cos⁡2y=1−x2\cos^2 y = 1-x^2 gives cos⁡y=±1−x2\cos y = \pm\sqrt{1-x^2} and the sign has to be chosen. Basics: trigonometric identities
  5. Conclude, and look at the endpoints

    ddx(sin⁡−1x)=11−x2,−1<x<1.\begin{gathered} \frac{d}{dx}\left(\sin^{-1}x\right) = \frac{1}{\sqrt{1-x^2}}, \\ -1 < x < 1. \end{gathered}

    As xx approaches ±1\pm 1 from inside, 1−x2\sqrt{1-x^2} approaches 00 and the slope grows without bound: the graph becomes vertical at the ends.

    x y −1 −0.5 0.5 1 −π/2 π/2 1 −1 (1, π/2): tangent vertical, no finite slope (−1, −π/2): tangent vertical (1/2, π/6): slope 2/√3 ≈ 1.155 slope 1 at (0, 0) y = sin⁻¹x
    y=sin⁡−1xy = \sin^{-1}x on [−1,1][-1, 1]⁠, equal scales. At the origin the slope is 11−0=1\frac{1}{\sqrt{1-0}} = 1⁠; at x=12x = \frac12 it is 13/4=23≈1.155\frac{1}{\sqrt{3/4}} = \frac{2}{\sqrt3} \approx 1.155⁠. At (±1,±π2)(\pm1, \pm\frac{\pi}{2}) the tangent is vertical, so there is no finite derivative there.
    The derivative does not exist at x=±1x = \pm1⁠. For example, at x=1x = 1 the difference quotient sin⁡−1(1−h)−π2−h\frac{\sin^{-1}(1-h) - \frac{\pi}{2}}{-h} (for small h>0h > 0⁠) grows without limit: with h=0.0001h = 0.0001 it is already about 141141⁠. This is why the book's table gives the domain of f′f' as (−1,1)(-1, 1)⁠, smaller than the domain [−1,1][-1, 1] of ff⁠.
    Table after Example 24 (Section 5.3.3): ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1-x^2}}⁠, ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = \frac{-1}{\sqrt{1-x^2}}⁠, both on (−1,1)(-1,1)⁠, and ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1+x^2} on R\R⁠. Lesson: derivatives of inverse trig functions
Result

ddx(sin⁡−1x)=11−x2\dfrac{d}{dx}\left(\sin^{-1}x\right) = \dfrac{1}{\sqrt{1-x^2}} for x∈(−1,1)x \in (-1, 1)⁠. At x=±1x = \pm 1 the function is defined but not differentiable (vertical tangents). (This is the book's result, including the condition x∈(−1,1)x\in(-1,1)⁠.)

Check it with numbers

At x=0.5x = 0.5⁠: the formula gives 10.75=1.1547005…\frac{1}{\sqrt{0.75}} = 1.1547005\ldots⁠. The difference quotient agrees:

sin⁡−1(0.5001)−sin⁡−1(0.4999)0.0002≈1.1547005.\begin{aligned} &\frac{\sin^{-1}(0.5001) - \sin^{-1}(0.4999)}{0.0002} \\ &\approx 1.1547005. \end{aligned}

At x=0.9x = 0.9⁠: 10.19=2.2941573…\frac{1}{\sqrt{0.19}} = 2.2941573\ldots⁠, steeper, as the graph shows. Sign check: both values are positive, as they must be for an increasing function.

Common mistakes
  1. Taking cos⁡y=−1−x2\cos y = -\sqrt{1-x^2}, or writing ±\pm⁠. The principal range fixes the sign as ++⁠.
  2. Claiming the derivative exists on [−1,1][-1,1]⁠. The formula divides by zero at ±1\pm1⁠, and the graph has vertical tangents there.
  3. Confusing sin⁡−1x\sin^{-1}x with 1sin⁡x\frac{1}{\sin x}⁠. The derivative of (sin⁡x)−1=cosec⁡x(\sin x)^{-1} = \operatorname{cosec}x is −cosec⁡xcot⁡x-\operatorname{cosec}x\cot x⁠, a different thing.
  4. Forgetting dydx\frac{dy}{dx} when differentiating sin⁡y\sin y with respect to xx⁠.
What to take away
  1. To differentiate an inverse function, write it as "original function of yy =x= x" and differentiate implicitly.
  2. Rewrite the answer in xx using an identity, and settle every square-root sign with the principal range.
  3. The same method gives ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = -\frac{1}{\sqrt{1-x^2}} (there y∈[0,π]y\in[0,\pi]⁠, where sin⁡y≥0\sin y \ge 0⁠) and ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1+x^2} (using sec⁡2y=1+tan⁡2y\sec^2 y = 1 + \tan^2 y⁠).

Every fact used, and where it comes from

FactUsed inSource
Principal value branch of sin⁡−1\sin^{-1} is [−π2,π2]\left[-\frac{\pi}{2},\frac{\pi}{2}\right]Steps 1, 3, 4Chapter 2, Section 2.2
sin⁡(sin⁡−1x)=x\sin(\sin^{-1}x) = x⁠, x∈[−1,1]x\in[-1,1]Step 1Chapter 2, Section 2.3
Implicit differentiation; chain ruleStep 2Section 5.3.2; Theorem 4, Section 5.3.1
ddysin⁡y=cos⁡y\frac{d}{dy}\sin y = \cos yStep 2Table 5.3, Section 5.3
sin⁡2y+cos⁡2y=1\sin^2 y + \cos^2 y = 1⁠; cos⁡y>0\cos y > 0 on (−π2,π2)\left(-\frac{\pi}{2},\frac{\pi}{2}\right)Steps 3, 4Trigonometric functions (Class XI)
Table of derivatives of sin⁡−1\sin^{-1}⁠, cos⁡−1\cos^{-1}⁠, tan⁡−1\tan^{-1}Step 5Table after Example 24, Section 5.3.3 (Lesson: derivatives of inverse trig functions)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →