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

Exercise 5.3 · Q9: dydx\frac{dy}{dx} if y=sin⁡−12x1+x2y=\sin^{-1}\frac{2x}{1+x^2}

Exercise 5.3Derivatives of inverse trigonometric functions · Section 5.3.3
The question

Find dydx\dfrac{dy}{dx} in the following:

y=sin⁡−1(2x1+x2)y = \sin^{-1}\left(\frac{2x}{1 + x^2}\right)
Exam answer

Put x=tan⁡θx = \tan\theta⁠, so θ=tan⁡−1x\theta = \tan^{-1}x and θ∈(−π2,π2)\theta \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠. Then

2x1+x2=2tan⁡θ1+tan⁡2θ=sin⁡2θ\frac{2x}{1 + x^2} = \frac{2\tan\theta}{1 + \tan^2\theta} = \sin 2\theta

Case −1<x<1-1 < x < 1⁠. Then −π4<θ<π4-\frac{\pi}{4} < \theta < \frac{\pi}{4}⁠, so −π2<2θ<π2-\frac{\pi}{2} < 2\theta < \frac{\pi}{2}⁠.

y=sin⁡−1(sin⁡2θ)=2θ=2tan⁡−1x\begin{aligned} y &= \sin^{-1}(\sin 2\theta) = 2\theta \\ &= 2\tan^{-1}x \end{aligned}

Case ∣x∣>1|x| > 1⁠. For x>1x > 1⁠, π2<2θ<π\frac{\pi}{2} < 2\theta < \pi⁠, so 0<π−2θ<π20 < \pi - 2\theta < \frac{\pi}{2} and

y=sin⁡−1(sin⁡2θ)=sin⁡−1(sin⁡(π−2θ))=π−2θ=π−2tan⁡−1x\begin{aligned} y &= \sin^{-1}(\sin 2\theta) \\ &= \sin^{-1}(\sin(\pi - 2\theta)) \\ &= \pi - 2\theta = \pi - 2\tan^{-1}x \end{aligned}

For x<−1x < -1⁠, −π<2θ<−π2-\pi < 2\theta < -\frac{\pi}{2}⁠, so −π2<−π−2θ<0-\frac{\pi}{2} < -\pi - 2\theta < 0 and

y=sin⁡−1(sin⁡2θ)=sin⁡−1(sin⁡(−π−2θ))=−π−2θ=−π−2tan⁡−1x\begin{aligned} y &= \sin^{-1}(\sin 2\theta) \\ &= \sin^{-1}(\sin(-\pi - 2\theta)) \\ &= -\pi - 2\theta = -\pi - 2\tan^{-1}x \end{aligned}

∴ dydx=21+x2\therefore\ \dfrac{dy}{dx} = \dfrac{2}{1 + x^2} for −1<x<1-1 < x < 1⁠, and dydx=−21+x2\dfrac{dy}{dx} = -\dfrac{2}{1 + x^2} for ∣x∣>1|x| > 1⁠.

The answer key prints 21+x2\frac{2}{1 + x^2}⁠, which is correct only for −1<x<1-1 < x < 1⁠; for ∣x∣>1|x| > 1 the sign is reversed.

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

The one idea this problem is built on

The fraction 2x1+x2\frac{2x}{1 + x^2} is the double-angle formula in disguise: with x=tan⁡θx = \tan\theta it equals sin⁡2θ\sin 2\theta⁠. So y=sin⁡−1(sin⁡2θ)y = \sin^{-1}(\sin 2\theta)⁠, and this equals 2θ2\theta only when 2θ2\theta lies in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right], the principal range of sin⁡−1\sin^{-1}⁠. That happens exactly for −1≤x≤1-1 \le x \le 1⁠. Unlike Questions 10 to 15, this question gives no interval, so we also work out what happens for ∣x∣>1|x| > 1⁠: there y=±π−2tan⁡−1xy = \pm\pi - 2\tan^{-1}x⁠, the derivative changes sign, and at x=±1x = \pm1 the graph has corners.

Given, to find, and the plan
Given
y=sin⁡−1(2x1+x2)y = \sin^{-1}\left(\frac{2x}{1 + x^2}\right)⁠; no interval is stated.
To find
dydx\dfrac{dy}{dx}⁠, wherever it exists.
Plan
(1) Check yy is defined for every real xx⁠. (2) Put x=tan⁡θx = \tan\theta and show the fraction is sin⁡2θ\sin 2\theta⁠. (3) Simplify yy separately for ∣x∣≤1|x| \le 1⁠, x>1x > 1⁠, x<−1x < -1⁠, checking the range each time. (4) Differentiate each piece. (5) Test x=±1x = \pm1 with one-sided derivatives. (6) Confirm with the chain rule applied directly.

Basics you need

1Principal values

sin⁡−1:[−1,1]→[−π2,π2]\sin^{-1}: [-1, 1] \to \left[-\frac{\pi}{2}, \frac{\pi}{2}\right] and tan⁡−1:R→(−π2,π2)\tan^{-1}: \mathbf{R} \to \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) (Chapter 2, Section 2.2). sin⁡−1(sin⁡ϕ)=ϕ\sin^{-1}(\sin\phi) = \phi only for ϕ\phi in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] (Section 2.3). Basics: composite functions

2Double angle through tangent

1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta⁠, so 2tan⁡θ1+tan⁡2θ=2sin⁡θcos⁡θ=sin⁡2θ\frac{2\tan\theta}{1 + \tan^2\theta} = 2\sin\theta\cos\theta = \sin 2\theta (Class XI). Basics: trigonometric identities

3Derivative of tan⁡−1x\tan^{-1}x

ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2} for every real xx (table after Example 24). Lesson: derivatives of inverse trig functions

4One-sided derivatives

A function is differentiable at cc only if the left-hand and right-hand limits of f(c+h)−f(c)h\frac{f(c + h) - f(c)}{h} are finite and equal (Section 5.3). Lesson: differentiability

Solution

  1. yy is defined for every real xx

    sin⁡−1\sin^{-1} needs its input in [−1,1][-1, 1]⁠, so we need ∣2x∣≤1+x2|2x| \le 1 + x^2⁠. This always holds:

    1+x2−2∣x∣=(1−∣x∣)2≥0,1 + x^2 - 2|x| = (1 - |x|)^2 \ge 0,

    with equality only when ∣x∣=1|x| = 1⁠. So ∣2x1+x2∣≤1\left|\frac{2x}{1 + x^2}\right| \le 1 for all xx⁠, and it equals 11 only at x=±1x = \pm1⁠.

    This tells us the domain is all of R\mathbf{R}⁠, so the question really is about every real xx⁠. It also flags x=±1x = \pm1⁠: there the input of sin⁡−1\sin^{-1} is ±1\pm1⁠, where sin⁡−1\sin^{-1} itself has no derivative.
    x2=∣x∣2x^2 = |x|^2 and (a−b)2≥0(a - b)^2 \ge 0⁠.
  2. Substitute x=tan⁡θx = \tan\theta

    Let θ=tan⁡−1x\theta = \tan^{-1}x⁠. This is defined for every real xx⁠, gives θ∈(−π2,π2)\theta \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠, and tan⁡θ=x\tan\theta = x⁠. Since cos⁡θ≠0\cos\theta \ne 0 on this interval,

    2x1+x2=2tan⁡θ1+tan⁡2θ=2tan⁡θsec⁡2θ=2 sin⁡θcos⁡θcos⁡2θ=sin⁡2θ.\begin{aligned} \frac{2x}{1 + x^2} &= \frac{2\tan\theta}{1 + \tan^2\theta} = \frac{2\tan\theta}{\sec^2\theta} \\ &= 2\,\frac{\sin\theta}{\cos\theta}\cos^2\theta = \sin 2\theta. \end{aligned}

    So y=sin⁡−1(sin⁡2θ)y = \sin^{-1}(\sin 2\theta)⁠, where 2θ∈(−π,π)2\theta \in (-\pi, \pi)⁠.

    The substitution is legitimate for every xx because tan⁡\tan takes every real value on (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠. But 2θ2\theta can be anywhere in (−π,π)(-\pi, \pi)⁠, which is wider than the principal range of sin⁡−1\sin^{-1}⁠. So the next step must split into cases.
    1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta⁠, 2sin⁡θcos⁡θ=sin⁡2θ2\sin\theta\cos\theta = \sin 2\theta (Class XI). Basics: trigonometric identities
  3. Case −1≤x≤1-1 \le x \le 1⁠: y=2tan⁡−1xy = 2\tan^{-1}x

    tan⁡−1\tan^{-1} is increasing, with tan⁡−1(−1)=−π4\tan^{-1}(-1) = -\frac{\pi}{4} and tan⁡−11=π4\tan^{-1}1 = \frac{\pi}{4}⁠. So

    −π4≤θ≤π4,so−π2≤2θ≤π2.-\frac{\pi}{4} \le \theta \le \frac{\pi}{4}, \quad\text{so}\quad -\frac{\pi}{2} \le 2\theta \le \frac{\pi}{2}.

    Now 2θ2\theta is in the principal range of sin⁡−1\sin^{-1}⁠, so sin⁡−1(sin⁡2θ)=2θ\sin^{-1}(\sin 2\theta) = 2\theta⁠:

    y=2θ=2tan⁡−1x(−1≤x≤1).y = 2\theta = 2\tan^{-1}x \quad (-1 \le x \le 1).
    This is the case the textbook's answer describes. The range check is what allows sin⁡−1\sin^{-1} and sin⁡\sin to cancel.
    sin⁡−1(sin⁡ϕ)=ϕ\sin^{-1}(\sin\phi) = \phi for ϕ∈[−π2,π2]\phi \in \left[-\frac{\pi}{2}, \frac{\pi}{2}\right] (Chapter 2, Section 2.3). Basics: composite functions
  4. Cases x>1x > 1 and x<−1x < -1

    x>1x > 1⁠. Then π4<θ<π2\frac{\pi}{4} < \theta < \frac{\pi}{2} and π2<2θ<π\frac{\pi}{2} < 2\theta < \pi⁠, outside the principal range. Use sin⁡2θ=sin⁡(π−2θ)\sin 2\theta = \sin(\pi - 2\theta)⁠, where 0<π−2θ<π20 < \pi - 2\theta < \frac{\pi}{2} is inside it:

    y=π−2θ=π−2tan⁡−1x(x>1).y = \pi - 2\theta = \pi - 2\tan^{-1}x \quad (x > 1).

    x<−1x < -1⁠. Then −π2<θ<−π4-\frac{\pi}{2} < \theta < -\frac{\pi}{4} and −π<2θ<−π2-\pi < 2\theta < -\frac{\pi}{2}⁠. Now sin⁡(−π−2θ)=−sin⁡(π+2θ)=sin⁡2θ\sin(-\pi - 2\theta) = -\sin(\pi + 2\theta) = \sin 2\theta⁠, and −π2<−π−2θ<0-\frac{\pi}{2} < -\pi - 2\theta < 0 is inside the range:

    y=−π−2θ=−π−2tan⁡−1x(x<−1).y = -\pi - 2\theta = -\pi - 2\tan^{-1}x \quad (x < -1).

    At x=1x = 1 both 2tan⁡−1x2\tan^{-1}x and π−2tan⁡−1x\pi - 2\tan^{-1}x equal π2\frac{\pi}{2}⁠; at x=−1x = -1 both 2tan⁡−1x2\tan^{-1}x and −π−2tan⁡−1x-\pi - 2\tan^{-1}x equal −π2-\frac{\pi}{2}⁠. So the pieces join up and yy is continuous.

    To undo sin⁡\sin we need an angle in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right] with the same sine as 2θ2\theta⁠. Reflecting through ±π2\pm\frac{\pi}{2} (ϕ↦π−ϕ\phi \mapsto \pi - \phi⁠, or ϕ↦−π−ϕ\phi \mapsto -\pi - \phi⁠) keeps the sine and brings the angle into range.
    sin⁡(π−ϕ)=sin⁡ϕ\sin(\pi - \phi) = \sin\phi⁠, sin⁡(π+ϕ)=−sin⁡ϕ\sin(\pi + \phi) = -\sin\phi (Class XI). Basics: trigonometric identities
  5. Differentiate each piece

    Using ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2}⁠, and that the constants ±π\pm\pi have derivative 00⁠:

    −1<x<1:dydx=21+x2,∣x∣>1:dydx=−21+x2.\begin{aligned} -1 < x < 1:&\quad \frac{dy}{dx} = \frac{2}{1 + x^2}, \\ |x| > 1:&\quad \frac{dy}{dx} = -\frac{2}{1 + x^2}. \end{aligned}
    On each open interval yy agrees with a simple formula, so its derivative there is the derivative of that formula. The endpoints ±1\pm1 need separate treatment, because there the formula changes.
    ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2} (table after Example 24, Section 5.3.3); constant multiple and sum rules. Lesson: derivatives of inverse trig functions
  6. At x=±1x = \pm1⁠: one-sided derivatives differ

    At x=1x = 1⁠, with y(1)=π2y(1) = \frac{\pi}{2}⁠:

    • for h<0h < 0 small, 1+h∈(−1,1)1 + h \in (-1, 1)⁠, so y=2tan⁡−1xy = 2\tan^{-1}x at both points of the quotient y(1+h)−y(1)h\frac{y(1+h) - y(1)}{h}⁠. The quotient is therefore the difference quotient of the differentiable function 2tan⁡−1x2\tan^{-1}x at 11⁠, and its limit as h→0−h \to 0^- is that function's derivative at 11⁠: the left-hand derivative is 21+12=1\frac{2}{1 + 1^2} = 1⁠;
    • for h>0h > 0⁠, y=π−2tan⁡−1xy = \pi - 2\tan^{-1}x at both points (Step 4 showed it also gives y(1)y(1)⁠), so the quotient is the difference quotient of π−2tan⁡−1x\pi - 2\tan^{-1}x⁠, and its limit as h→0+h \to 0^+⁠, the right-hand derivative, is −21+12=−1-\frac{2}{1 + 1^2} = -1⁠.

    1≠−11 \ne -1⁠, so yy is not differentiable at x=1x = 1⁠. In the same way, at x=−1x = -1 the left-hand derivative is −1-1 and the right-hand derivative is 11⁠, so yy is not differentiable at x=−1x = -1 either.

    The graph has corners at (1,π2)(1, \frac{\pi}{2}) and (−1,−π2)(-1, -\frac{\pi}{2})⁠, like ∣x∣|x| at 00 (see the figure). Differentiability needs the two one-sided limits of the difference quotient to be equal, and here they are not.
    Left-hand and right-hand derivatives (Section 5.3; compare ∣x∣|x| at 00 after Theorem 3). Lesson: differentiability
  7. Cross-check with the chain rule directly

    Let u=2x1+x2u = \frac{2x}{1 + x^2}⁠. By the quotient rule,

    u′=2(1+x2)−2x⋅2x(1+x2)2=2(1−x2)(1+x2)2.u' = \frac{2(1 + x^2) - 2x\cdot2x}{(1 + x^2)^2} = \frac{2(1 - x^2)}{(1 + x^2)^2}.

    Also

    1−u2=(1+x2)2−4x2(1+x2)2=(1−x2)2(1+x2)2,1 - u^2 = \frac{(1 + x^2)^2 - 4x^2}{(1 + x^2)^2} = \frac{(1 - x^2)^2}{(1 + x^2)^2},

    so 1−u2=∣1−x2∣1+x2\sqrt{1 - u^2} = \frac{|1 - x^2|}{1 + x^2}⁠. For x≠±1x \ne \pm1 (so that ∣u∣<1|u| < 1⁠),

    dydx=11−u2⋅u′=2(1−x2)(1+x2) ∣1−x2∣.\begin{aligned} \frac{dy}{dx} &= \frac{1}{\sqrt{1 - u^2}}\cdot u' \\ &= \frac{2(1 - x^2)}{(1 + x^2)\,|1 - x^2|}. \end{aligned}

    The fraction 1−x2∣1−x2∣\frac{1 - x^2}{|1 - x^2|} is 11 when ∣x∣<1|x| < 1 and −1-1 when ∣x∣>1|x| > 1⁠, so this is exactly Step 5.

    The square root of a square is an absolute value: (1−x2)2=∣1−x2∣\sqrt{(1 - x^2)^2} = |1 - x^2|⁠, not 1−x21 - x^2⁠. Forgetting this is how the sign change for ∣x∣>1|x| > 1 gets lost.
    ddusin⁡−1u=11−u2\frac{d}{du}\sin^{-1}u = \frac{1}{\sqrt{1 - u^2}} for −1<u<1-1 < u < 1 (Example 24); chain rule, Theorem 4; quotient rule (3), Section 5.3. Basics: derivative rules
−4 −3 −2 −1 1 2 3 4 −π −π/2 π/2 π x y corner corner y = sin⁻¹(2x/(1 + x²)) y = 2 tan⁻¹x (equal only for −1 ≤ x ≤ 1) x = ±1: no derivative (corners)
y=sin⁡−12x1+x2y = \sin^{-1}\frac{2x}{1 + x^2} (blue) agrees with 2tan⁡−1x2\tan^{-1}x (dashed gold) only for −1≤x≤1-1 \le x \le 1⁠. Outside, it turns back towards 00⁠, giving corners at x=±1x = \pm1⁠. The horizontal and vertical scales differ (1 unit across is 40 px; 1 unit up is 44 px).
Result dydx=21+x2for −1<x<1.\frac{dy}{dx} = \frac{2}{1 + x^2} \quad\text{for } -1 < x < 1.

For ∣x∣>1|x| > 1⁠, dydx=−21+x2\frac{dy}{dx} = -\frac{2}{1 + x^2}⁠; at x=±1x = \pm1 the derivative does not exist.

(Textbook answer: 21+x2\dfrac{2}{1 + x^2}⁠. It is correct for −1<x<1-1 < x < 1⁠, the interval that the substitution sin⁡−1(sin⁡2θ)=2θ\sin^{-1}(\sin 2\theta) = 2\theta needs. The question states no interval, and for ∣x∣>1|x| > 1 the sign is reversed.)

Check it with numbers

At x=0.5x = 0.5⁠: y=sin⁡−10.8≈0.9272952y = \sin^{-1}0.8 \approx 0.9272952⁠. With h=0.0001h = 0.0001⁠, y(0.5001)≈0.9274552y(0.5001) \approx 0.9274552 and y(0.4999)≈0.9271352y(0.4999) \approx 0.9271352⁠; the difference quotient 0.9274552−0.92713520.0002\frac{0.9274552 - 0.9271352}{0.0002} is 1.60000001.6000000⁠, and 21+0.25=1.6\frac{2}{1 + 0.25} = 1.6⁠. ✓

At x=2x = 2⁠: the fraction is again 45\frac{4}{5}⁠, so y≈0.9272952y \approx 0.9272952 once more, and π−2tan⁡−12≈0.9272952\pi - 2\tan^{-1}2 \approx 0.9272952 too. Now y(2.0001)≈0.9272552y(2.0001) \approx 0.9272552⁠, y(1.9999)≈0.9273352y(1.9999) \approx 0.9273352⁠, and the difference quotient is −0.4000000-0.4000000⁠. The formula 21+x2\frac{2}{1 + x^2} would give +0.4+0.4⁠; the correct value for x>1x > 1 is −25=−0.4-\frac{2}{5} = -0.4⁠. ✓

Common mistakes
  1. Writing sin⁡−1(sin⁡2θ)=2θ\sin^{-1}(\sin 2\theta) = 2\theta without checking the range. It holds only for 2θ∈[−π2,π2]2\theta \in \left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠, that is, ∣x∣≤1|x| \le 1⁠.
  2. Taking (1−x2)2=1−x2\sqrt{(1 - x^2)^2} = 1 - x^2 in the direct method. It is ∣1−x2∣|1 - x^2|⁠, and that is where the sign change comes from.
  3. Claiming a derivative at x=±1x = \pm1⁠. Both one-sided derivatives exist there but are unequal.
What to take away
  1. 2x1+x2\frac{2x}{1 + x^2}⁠, 1−x21+x2\frac{1 - x^2}{1 + x^2} and 2x1−x2\frac{2x}{1 - x^2} are sin⁡2θ\sin 2\theta⁠, cos⁡2θ\cos 2\theta and tan⁡2θ\tan 2\theta with x=tan⁡θx = \tan\theta⁠. The same idea solves Q11, Q12 and Q13.
  2. A simplification such as y=2tan⁡−1xy = 2\tan^{-1}x is valid only where the angle lies in the principal range; outside that range the derivative can change.

Every fact used, and where it comes from

FactUsed inSource
Principal ranges: sin⁡−1\sin^{-1} in [−π2,π2]\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]⁠, tan⁡−1\tan^{-1} in (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)Steps 2 to 4Chapter 2, Section 2.2 (table of principal value branches)
sin⁡−1(sin⁡ϕ)=ϕ\sin^{-1}(\sin\phi) = \phi for ϕ∈[−π2,π2]\phi \in \left[-\frac{\pi}{2}, \frac{\pi}{2}\right]Steps 3, 4Chapter 2, Section 2.3
1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta⁠; sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta⁠; sin⁡(π±ϕ)\sin(\pi \pm \phi)Steps 2, 4Class XI, Trigonometric Functions
ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2}⁠, ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1}x = \frac{1}{\sqrt{1 - x^2}}Steps 5 to 7Example 24 and the table after it, Section 5.3.3 (Lesson: derivatives of inverse trig functions)
Left-hand and right-hand derivativesStep 6Section 5.3, definition of differentiability
Chain rule; quotient ruleStep 7Theorem 4, Section 5.3.1; rule (3), Section 5.3
Numerical valuesCheckRecomputed in the site's verification script
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 →