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

Exercise 5.3 · Q10: dydx\frac{dy}{dx} if y=tan⁡−13x−x31−3x2y=\tan^{-1}\frac{3x-x^3}{1-3x^2}

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

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

y=tan⁡−1(3x−x31−3x2),−13<x<13y = \tan^{-1}\left(\frac{3x - x^3}{1 - 3x^2}\right), \quad -\frac{1}{\sqrt3} < x < \frac{1}{\sqrt3}
Exam answer

Put x=tan⁡θx = \tan\theta⁠. As −13<x<13-\frac{1}{\sqrt3} < x < \frac{1}{\sqrt3}⁠, −π6<θ<π6-\frac{\pi}{6} < \theta < \frac{\pi}{6}⁠, so −π2<3θ<π2-\frac{\pi}{2} < 3\theta < \frac{\pi}{2}⁠.

Using tan⁡3θ=3tan⁡θ−tan⁡3θ1−3tan⁡2θ\tan 3\theta = \frac{3\tan\theta - \tan^3\theta}{1 - 3\tan^2\theta}⁠,

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

∴ dydx=31+x2\therefore\ \dfrac{dy}{dx} = \dfrac{3}{1 + x^2} (−13<x<13)\left(-\dfrac{1}{\sqrt3} < x < \dfrac{1}{\sqrt3}\right)⁠.

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

The one idea this problem is built on

The fraction is the triple-angle formula for tangent: if x=tan⁡θx = \tan\theta⁠, then 3x−x31−3x2=tan⁡3θ\frac{3x - x^3}{1 - 3x^2} = \tan 3\theta⁠. So y=tan⁡−1(tan⁡3θ)y = \tan^{-1}(\tan 3\theta)⁠, which equals 3θ3\theta only when 3θ3\theta lies in (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right). The given interval ∣x∣<13|x| < \frac{1}{\sqrt3} is exactly what makes θ∈(−π6,π6)\theta \in \left(-\frac{\pi}{6}, \frac{\pi}{6}\right) and so 3θ∈(−π2,π2)3\theta \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠. Then y=3tan⁡−1xy = 3\tan^{-1}x⁠, which is easy to differentiate.

Given, to find, and the plan
Given
y=tan⁡−13x−x31−3x2y = \tan^{-1}\frac{3x - x^3}{1 - 3x^2} for −13<x<13-\frac{1}{\sqrt3} < x < \frac{1}{\sqrt3}⁠.
To find
dydx\dfrac{dy}{dx} on that interval.
Plan
(1) Put x=tan⁡θx = \tan\theta and locate θ\theta⁠. (2) Show the fraction is tan⁡3θ\tan 3\theta⁠. (3) Use the range of 3θ3\theta to get y=3tan⁡−1xy = 3\tan^{-1}x⁠. (4) Differentiate. (5) Confirm by the chain rule directly.

Basics you need

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

tan⁡−1:R→(−π2,π2)\tan^{-1}: \mathbf{R} \to \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠, and tan⁡−1(tan⁡ϕ)=ϕ\tan^{-1}(\tan\phi) = \phi exactly when ϕ∈(−π2,π2)\phi \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) (Chapter 2, Sections 2.2 and 2.3). Basics: composite functions

2Triple-angle formula

tan⁡3θ=3tan⁡θ−tan⁡3θ1−3tan⁡2θ\tan 3\theta = \frac{3\tan\theta - \tan^3\theta}{1 - 3\tan^2\theta}⁠, from tan⁡(2θ+θ)\tan(2\theta + \theta) (Class XI; the same identity is used in Chapter 2, Exercise 2.2 Q7). Basics: trigonometric identities

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

So an inequality on xx passes through tan⁡−1\tan^{-1} unchanged; tan⁡−113=π6\tan^{-1}\frac{1}{\sqrt3} = \frac{\pi}{6}⁠.

4Derivative 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

Solution

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

    Let θ=tan⁡−1x\theta = \tan^{-1}x⁠, so x=tan⁡θx = \tan\theta⁠. This works for every real xx⁠. Applying the increasing function tan⁡−1\tan^{-1} to −13<x<13-\frac{1}{\sqrt3} < x < \frac{1}{\sqrt3}⁠:

    −π6<θ<π6,so−π2<3θ<π2.-\frac{\pi}{6} < \theta < \frac{\pi}{6}, \quad\text{so}\quad -\frac{\pi}{2} < 3\theta < \frac{\pi}{2}.
    The answer will be tan⁡−1(tan⁡3θ)\tan^{-1}(\tan 3\theta)⁠, and that cancels to 3θ3\theta only if 3θ3\theta is in the principal range (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠. Tripling (−π6,π6)\left(-\frac{\pi}{6}, \frac{\pi}{6}\right) lands exactly on it; this is why the question uses the limits ±13\pm\frac{1}{\sqrt3}⁠.
    tan⁡π6=13\tan\frac{\pi}{6} = \frac{1}{\sqrt3}⁠; tan⁡−1\tan^{-1} is increasing (Chapter 2, Fig 2.5 (ii)). Basics: trigonometric identities
  2. The fraction is tan⁡3θ\tan 3\theta

    With t=tan⁡θt = \tan\theta⁠, tan⁡2θ=2t1−t2\tan 2\theta = \frac{2t}{1 - t^2}⁠, and then

    tan⁡3θ=tan⁡2θ+tan⁡θ1−tan⁡2θtan⁡θ=2t+t(1−t2)(1−t2)−2t2=3t−t31−3t2\begin{aligned} \tan 3\theta &= \frac{\tan 2\theta + \tan\theta}{1 - \tan 2\theta\tan\theta} \\ &= \frac{2t + t(1 - t^2)}{(1 - t^2) - 2t^2} \\ &= \frac{3t - t^3}{1 - 3t^2} \end{aligned}

    (the second line multiplies top and bottom by 1−t21 - t^2⁠). With t=xt = x⁠, the fraction in the question is tan⁡3θ\tan 3\theta⁠.

    No denominator is zero: x2<13x^2 < \frac13 gives 1−3x2>01 - 3x^2 > 0 and 1−x2>01 - x^2 > 0⁠, and θ\theta⁠, 2θ2\theta⁠, 3θ3\theta all lie in (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠, where tan⁡\tan is defined.

    Every formula has conditions. The double- and triple-angle formulas need tan⁡θ\tan\theta⁠, tan⁡2θ\tan 2\theta and tan⁡3θ\tan 3\theta to exist, which the interval guarantees.
    tan⁡(A+B)=tan⁡A+tan⁡B1−tan⁡Atan⁡B\tan(A + B) = \frac{\tan A + \tan B}{1 - \tan A\tan B} (Class XI). Basics: trigonometric identities
  3. Simplify yy

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

    because 3θ∈(−π2,π2)3\theta \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) (Step 1).

    tan⁡−1\tan^{-1} returns the unique angle in (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right) with the given tangent; 3θ3\theta is such an angle, so it is the one returned.
    tan⁡−1(tan⁡ϕ)=ϕ\tan^{-1}(\tan\phi) = \phi for ϕ∈(−π2,π2)\phi \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) (Chapter 2, Section 2.3). Basics: composite functions
  4. Differentiate

    dydx=3⋅11+x2=31+x2.\frac{dy}{dx} = 3\cdot\frac{1}{1 + x^2} = \frac{3}{1 + x^2}.
    A constant multiple stays in front, and 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

    Let u=3x−x31−3x2u = \frac{3x - x^3}{1 - 3x^2}⁠. By the quotient rule the numerator of u′u' is

    (3−3x2)(1−3x2)−(3x−x3)(−6x)=3−12x2+9x4+18x2−6x4=3+6x2+3x4=3(1+x2)2,\begin{aligned} &(3 - 3x^2)(1 - 3x^2) - (3x - x^3)(-6x) \\ &= 3 - 12x^2 + 9x^4 + 18x^2 - 6x^4 \\ &= 3 + 6x^2 + 3x^4 = 3(1 + x^2)^2, \end{aligned}

    so u′=3(1+x2)2(1−3x2)2u' = \frac{3(1 + x^2)^2}{(1 - 3x^2)^2}⁠. Also

    1+u2=(1−3x2)2+(3x−x3)2(1−3x2)2=(1+x2)3(1−3x2)2,\begin{aligned} 1 + u^2 &= \frac{(1 - 3x^2)^2 + (3x - x^3)^2}{(1 - 3x^2)^2} \\ &= \frac{(1 + x^2)^3}{(1 - 3x^2)^2}, \end{aligned}

    since both numerators expand to 1+3x2+3x4+x61 + 3x^2 + 3x^4 + x^6⁠. Hence

    dydx=u′1+u2=3(1+x2)2(1+x2)3=31+x2.\frac{dy}{dx} = \frac{u'}{1 + u^2} = \frac{3(1 + x^2)^2}{(1 + x^2)^3} = \frac{3}{1 + x^2}.
    The direct route needs no substitution and agrees with Step 4. It is longer, which is why the substitution is the better method.
    Chain rule, Theorem 4; quotient rule (3), Section 5.3. Basics: derivative rules
−π/2 −π/6 π/6 π/2 θ = tan⁻¹x lies in (−π/6, π/6) 3θ lies in (−π/2, π/2) range of tan⁻¹ (−π/2, π/2)
The condition ∣x∣<13|x| < \frac{1}{\sqrt3} keeps θ=tan⁡−1x\theta = \tan^{-1}x on the short gold arc (−π6,π6)\left(-\frac{\pi}{6}, \frac{\pi}{6}\right)⁠. Tripling gives the blue arc, which fills the principal range of tan⁡−1\tan^{-1} (violet) and no more. Open circles mark excluded endpoints.
Result dydx=31+x2,−13<x<13.\frac{dy}{dx} = \frac{3}{1 + x^2}, \quad -\frac{1}{\sqrt3} < x < \frac{1}{\sqrt3}.

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

Check it with numbers

At x=0.5x = 0.5 (allowed, since 13≈0.5774\frac{1}{\sqrt3} \approx 0.5774⁠): the fraction is 1.5−0.1251−0.75=5.5\frac{1.5 - 0.125}{1 - 0.75} = 5.5⁠, and y=tan⁡−15.5≈1.3909428y = \tan^{-1}5.5 \approx 1.3909428⁠, equal to 3tan⁡−10.53\tan^{-1}0.5⁠. With h=0.0001h = 0.0001⁠, y(0.5001)≈1.3911828y(0.5001) \approx 1.3911828 and y(0.4999)≈1.3907028y(0.4999) \approx 1.3907028⁠, so the difference quotient is 2.40000002.4000000⁠; the formula gives 31.25=2.4\frac{3}{1.25} = 2.4⁠. ✓

Common mistakes
  1. Skipping the range of 3θ3\theta⁠. Knowing θ∈(−π2,π2)\theta \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) is not enough; it is 3θ3\theta that sits inside tan⁡−1(tan⁡⋅)\tan^{-1}(\tan\cdot)⁠.
  2. Using the formula outside the interval. For 13<x\frac{1}{\sqrt3} < x the angle 3θ3\theta exceeds π2\frac{\pi}{2} and y=3tan⁡−1x−πy = 3\tan^{-1}x - \pi⁠; the derivative is still 31+x2\frac{3}{1 + x^2} there, but yy jumps at x=±13x = \pm\frac{1}{\sqrt3}⁠, where it is not even defined.
  3. A wrong triple-angle formula. It is 3t−t33t - t^3 over 1−3t21 - 3t^2⁠; derive it from tan⁡(2θ+θ)\tan(2\theta + \theta) if unsure.
What to take away
  1. Recognise 3x−x31−3x2\frac{3x - x^3}{1 - 3x^2} as tan⁡3θ\tan 3\theta with x=tan⁡θx = \tan\theta⁠.
  2. The given interval is chosen so the multiple angle lands in the principal range; checking that is the heart of the solution.

Every fact used, and where it comes from

FactUsed inSource
tan⁡−1:R→(−π2,π2)\tan^{-1}: \mathbf{R} \to \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠, increasingSteps 1, 3Chapter 2, Section 2.2 and Fig 2.5 (ii)
tan⁡−1(tan⁡ϕ)=ϕ\tan^{-1}(\tan\phi) = \phi for ϕ∈(−π2,π2)\phi \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)Step 3Chapter 2, Section 2.3
tan⁡(A+B)\tan(A + B) formula; tan⁡π6=13\tan\frac{\pi}{6} = \frac{1}{\sqrt3}Steps 1, 2Class XI, Trigonometric Functions
ddxtan⁡−1x=11+x2\frac{d}{dx}\tan^{-1}x = \frac{1}{1 + x^2}Steps 4, 5Table after Example 24, Section 5.3.3 (Lesson: derivatives of inverse trig functions)
Chain rule; quotient ruleStep 5Theorem 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 →