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

Exercise 5.3 · Q13: dydx\frac{dy}{dx} if y=cos⁡−12x1+x2y=\cos^{-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=cos⁡−1(2x1+x2),−1<x<1y = \cos^{-1}\left(\frac{2x}{1 + x^2}\right), \quad -1 < x < 1
Exam answer

Put x=tan⁡θx = \tan\theta⁠. As −1<x<1-1 < x < 1⁠, −π4<θ<π4-\frac{\pi}{4} < \theta < \frac{\pi}{4}⁠, so −π2<2θ<π2-\frac{\pi}{2} < 2\theta < \frac{\pi}{2} and 0<π2−2θ<π0 < \frac{\pi}{2} - 2\theta < \pi⁠.

Using sin⁡2θ=2tan⁡θ1+tan⁡2θ\sin 2\theta = \frac{2\tan\theta}{1 + \tan^2\theta}⁠,

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

∴ dydx=−21+x2\therefore\ \dfrac{dy}{dx} = -\dfrac{2}{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

With x=tan⁡θx = \tan\theta the fraction is sin⁡2θ\sin 2\theta (as in Q9). The outer function is cos⁡−1\cos^{-1}⁠, which undoes cosine, so we rewrite sin⁡2θ=cos⁡(π2−2θ)\sin 2\theta = \cos\left(\frac{\pi}{2} - 2\theta\right) and check that π2−2θ\frac{\pi}{2} - 2\theta lies in [0,π][0, \pi]⁠, the principal range of cos⁡−1\cos^{-1}⁠. On −1<x<1-1 < x < 1 it lies in (0,π)(0, \pi)⁠, so y=π2−2tan⁡−1xy = \frac{\pi}{2} - 2\tan^{-1}x⁠.

Given, to find, and the plan
Given
y=cos⁡−12x1+x2y = \cos^{-1}\frac{2x}{1 + x^2} for −1<x<1-1 < x < 1⁠.
To find
dydx\dfrac{dy}{dx} on that interval.
Plan
(1) Put x=tan⁡θx = \tan\theta and locate θ\theta⁠. (2) Write the fraction as cos⁡(π2−2θ)\cos\left(\frac{\pi}{2} - 2\theta\right)⁠. (3) Check the range and simplify yy⁠. (4) Differentiate. (5) Confirm by the chain rule directly.

Basics you need

1Principal value of cos⁡−1\cos^{-1}

cos⁡−1:[−1,1]→[0,π]\cos^{-1}: [-1, 1] \to [0, \pi]⁠, and cos⁡−1(cos⁡ϕ)=ϕ\cos^{-1}(\cos\phi) = \phi exactly when ϕ∈[0,π]\phi \in [0, \pi] (Chapter 2, Sections 2.2 and 2.3). Basics: composite functions

2Two identities

2tan⁡θ1+tan⁡2θ=sin⁡2θ\frac{2\tan\theta}{1 + \tan^2\theta} = \sin 2\theta⁠, and sin⁡α=cos⁡(π2−α)\sin\alpha = \cos\left(\frac{\pi}{2} - \alpha\right) (Class XI). Basics: trigonometric identities

3tan⁡−1\tan^{-1} is increasing

tan⁡−1(±1)=±π4\tan^{-1}(\pm1) = \pm\frac{\pi}{4}⁠.

4Derivatives of tan⁡−1\tan^{-1} and cos⁡−1\cos^{-1}

ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2}⁠; ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = \frac{-1}{\sqrt{1 - x^2}} for −1<x<1-1 < x < 1 (table after Example 24). Lesson: derivatives of inverse trig functions

Solution

  1. Substitute x=tan⁡θx = \tan\theta and locate θ\theta

    Let θ=tan⁡−1x\theta = \tan^{-1}x⁠, so x=tan⁡θx = \tan\theta⁠. From −1<x<1-1 < x < 1 and the increasing function tan⁡−1\tan^{-1}⁠,

    −π4<θ<π4,so−π2<2θ<π2.-\frac{\pi}{4} < \theta < \frac{\pi}{4}, \quad\text{so}\quad -\frac{\pi}{2} < 2\theta < \frac{\pi}{2}.
    The substitution works for every real xx⁠; the interval for θ\theta is what the range check in Step 3 needs.
    tan⁡π4=1\tan\frac{\pi}{4} = 1 (Chapter 2, Fig 2.5 (ii)). Basics: trigonometric identities
  2. Write the fraction as a cosine

    2x1+x2=2tan⁡θ1+tan⁡2θ=sin⁡2θ=cos⁡(π2−2θ).\begin{aligned} \frac{2x}{1 + x^2} &= \frac{2\tan\theta}{1 + \tan^2\theta} = \sin 2\theta \\ &= \cos\left(\frac{\pi}{2} - 2\theta\right). \end{aligned}
    The first equality multiplies top and bottom by cos⁡2θ≠0\cos^2\theta \ne 0⁠: 2tan⁡θcos⁡2θ=2sin⁡θcos⁡θ2\tan\theta\cos^2\theta = 2\sin\theta\cos\theta⁠. The second turns the sine into a cosine, because cos⁡−1\cos^{-1} can only undo a cosine.
    sin⁡2θ=2sin⁡θcos⁡θ\sin 2\theta = 2\sin\theta\cos\theta⁠; cos⁡(π2−α)=sin⁡α\cos\left(\frac{\pi}{2} - \alpha\right) = \sin\alpha (Class XI). Basics: trigonometric identities
  3. Simplify yy⁠, checking the range

    Multiply −π2<2θ<π2-\frac{\pi}{2} < 2\theta < \frac{\pi}{2} by −1-1 (which reverses the inequalities) and add π2\frac{\pi}{2}⁠:

    0<π2−2θ<π,0 < \frac{\pi}{2} - 2\theta < \pi,

    which lies inside [0,π][0, \pi]⁠. Therefore

    y=cos⁡−1(cos⁡(π2−2θ))=π2−2θ=π2−2tan⁡−1x.\begin{aligned} y &= \cos^{-1}\left(\cos\left(\frac{\pi}{2} - 2\theta\right)\right) \\ &= \frac{\pi}{2} - 2\theta = \frac{\pi}{2} - 2\tan^{-1}x. \end{aligned}
    The angle π2−2θ\frac{\pi}{2} - 2\theta is in the principal range of cos⁡−1\cos^{-1}⁠, so cos⁡−1\cos^{-1} returns it. The interval −1<x<1-1 < x < 1 uses the whole of that range except its endpoints.
    cos⁡−1(cos⁡ϕ)=ϕ\cos^{-1}(\cos\phi) = \phi for ϕ∈[0,π]\phi \in [0, \pi] (Chapter 2, Section 2.3). Basics: composite functions
  4. Differentiate

    dydx=0−2⋅11+x2=−21+x2.\frac{dy}{dx} = 0 - 2\cdot\frac{1}{1 + x^2} = -\frac{2}{1 + x^2}.
    ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2} (table after Example 24, Section 5.3.3). Lesson: derivatives of inverse trig functions
  5. Cross-check with the chain rule directly

    With u=2x1+x2u = \frac{2x}{1 + x^2}⁠, Q9 found u′=2(1−x2)(1+x2)2u' = \frac{2(1 - x^2)}{(1 + x^2)^2} and 1−u2=∣1−x2∣1+x2\sqrt{1 - u^2} = \frac{|1 - x^2|}{1 + x^2}⁠. For −1<x<1-1 < x < 1⁠, ∣1−x2∣=1−x2>0|1 - x^2| = 1 - x^2 > 0⁠, so

    dydx=−11−u2⋅u′=−1+x21−x2⋅2(1−x2)(1+x2)2=−21+x2.\begin{aligned} \frac{dy}{dx} &= \frac{-1}{\sqrt{1 - u^2}}\cdot u' \\ &= -\frac{1 + x^2}{1 - x^2}\cdot\frac{2(1 - x^2)}{(1 + x^2)^2} = -\frac{2}{1 + x^2}. \end{aligned}
    The direct route agrees with Step 4. It also shows that 1−x2>01 - x^2 > 0⁠, which the interval guarantees, is exactly what keeps the sign negative; for ∣x∣>1|x| > 1 the derivative would be +21+x2+\frac{2}{1 + x^2}⁠.
    Chain rule, Theorem 4; dducos⁡−1u=−11−u2\frac{d}{du}\cos^{-1}u = \frac{-1}{\sqrt{1 - u^2}}⁠, table after Example 24. Basics: derivative rules
−π/4 0 π/4 π θ = tan⁻¹x lies in (−π/4, π/4) π/2 − 2θ lies in (0, π) range of cos⁻¹ [0, π]
For −1<x<1-1 < x < 1⁠, θ=tan⁡−1x\theta = \tan^{-1}x is on the gold arc (−π4,π4)\left(-\frac{\pi}{4}, \frac{\pi}{4}\right)⁠, and π2−2θ\frac{\pi}{2} - 2\theta is on the blue arc (0,π)(0, \pi)⁠, inside the principal range [0,π][0, \pi] of cos⁡−1\cos^{-1} (violet; filled dots: endpoints included).
Result dydx=−21+x2,−1<x<1.\frac{dy}{dx} = -\frac{2}{1 + x^2}, \quad -1 < x < 1.

(Textbook answer: −21+x2\dfrac{-2}{1 + x^2}⁠, the same.)

Check it with numbers

At x=0.5x = 0.5⁠: the fraction is 0.80.8⁠, y=cos⁡−10.8≈0.6435011y = \cos^{-1}0.8 \approx 0.6435011⁠. With h=0.0001h = 0.0001⁠, y(0.5001)≈0.6433411y(0.5001) \approx 0.6433411 and y(0.4999)≈0.6436611y(0.4999) \approx 0.6436611⁠, so the difference quotient is −1.6000000-1.6000000⁠; the formula gives −21.25=−1.6-\frac{2}{1.25} = -1.6⁠. ✓

At x=−0.5x = -0.5⁠: the fraction is −0.8-0.8⁠, y=cos⁡−1(−0.8)≈2.4980915y = \cos^{-1}(-0.8) \approx 2.4980915⁠, which equals π2−2tan⁡−1(−0.5)\frac{\pi}{2} - 2\tan^{-1}(-0.5)⁠. The difference quotient is again −1.6000000-1.6000000⁠. ✓

Common mistakes
  1. Writing cos⁡−1(sin⁡2θ)=2θ\cos^{-1}(\sin 2\theta) = 2\theta⁠. cos⁡−1\cos^{-1} undoes cosine; rewrite sin⁡2θ\sin 2\theta as cos⁡(π2−2θ)\cos\left(\frac{\pi}{2} - 2\theta\right) first.
  2. Getting the inequality for π2−2θ\frac{\pi}{2} - 2\theta backwards. Multiplying by −1-1 reverses the inequality signs.
  3. Checking only x>0x > 0⁠. For negative xx the angle π2−2θ\frac{\pi}{2} - 2\theta is in (π2,π)\left(\frac{\pi}{2}, \pi\right)⁠, still in range; the check at x=−0.5x = -0.5 confirms it.
What to take away
  1. cos⁡−12x1+x2=π2−2tan⁡−1x\cos^{-1}\frac{2x}{1 + x^2} = \frac{\pi}{2} - 2\tan^{-1}x for −1≤x≤1-1 \le x \le 1⁠, with derivative −21+x2-\frac{2}{1 + x^2} inside the interval.
  2. Match the inner function to the outer inverse: sine inside sin⁡−1\sin^{-1}⁠, cosine inside cos⁡−1\cos^{-1}⁠, using sin⁡α=cos⁡(π2−α)\sin\alpha = \cos\left(\frac{\pi}{2} - \alpha\right) to switch.

Every fact used, and where it comes from

FactUsed inSource
cos⁡−1:[−1,1]→[0,π]\cos^{-1}: [-1, 1] \to [0, \pi]⁠; tan⁡−1\tan^{-1} increasingSteps 1, 3Chapter 2, Section 2.2 and Fig 2.5 (ii)
cos⁡−1(cos⁡ϕ)=ϕ\cos^{-1}(\cos\phi) = \phi for ϕ∈[0,π]\phi \in [0, \pi]Step 3Chapter 2, Section 2.3
sin⁡2θ=2tan⁡θ1+tan⁡2θ\sin 2\theta = \frac{2\tan\theta}{1 + \tan^2\theta}⁠; sin⁡α=cos⁡(π2−α)\sin\alpha = \cos\left(\frac{\pi}{2} - \alpha\right)Step 2Class XI, Trigonometric Functions
ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2}⁠; ddxcos⁡−1x=−11−x2\frac{d}{dx}\cos^{-1}x = \frac{-1}{\sqrt{1 - x^2}}Steps 4, 5Table after Example 24, Section 5.3.3 (Lesson: derivatives of inverse trig functions)
Chain ruleStep 5Theorem 4, Section 5.3.1
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 →