Class 12 Maths, Worked in Full Past papersGet updates
Chapter 2 · Inverse Trigonometric Functions

Miscellaneous · Q11: Solve 2tan⁡−1(cos⁡x)=tan⁡−1(2cosec⁡x)2\tan^{-1}(\cos x)=\tan^{-1}(2\operatorname{cosec}x)

Miscellaneous ExerciseEquations with inverse trigonometric functions · Miscellaneous Exercise
The question

Solve the following equation:

2tan⁡−1(cos⁡x)=tan⁡−1(2cosec⁡x).2\tan^{-1}(\cos x) = \tan^{-1}(2\operatorname{cosec} x).
Exam answer

The equation needs sin⁡x≠0\sin x \ne 0⁠. Then ∣cos⁡x∣<1|\cos x| < 1⁠.

Using 2tan⁡−1t=tan⁡−12t1−t22\tan^{-1}t = \tan^{-1}\frac{2t}{1 - t^2} for ∣t∣<1|t| < 1⁠,

2tan⁡−1(cos⁡x)=tan⁡−12cos⁡x1−cos⁡2x=tan⁡−12cos⁡xsin⁡2x\begin{aligned} &2\tan^{-1}(\cos x) \\ &= \tan^{-1}\frac{2\cos x}{1 - \cos^2 x} \\ &= \tan^{-1}\frac{2\cos x}{\sin^2 x} \end{aligned}

So the equation becomes

tan⁡−12cos⁡xsin⁡2x=tan⁡−12sin⁡x\tan^{-1}\frac{2\cos x}{\sin^2 x} = \tan^{-1}\frac{2}{\sin x}

As tan⁡−1\tan^{-1} is one-one,

2cos⁡xsin⁡2x=2sin⁡x⇒ cos⁡x=sin⁡x⇒ tan⁡x=1(cos⁡x≠0)\begin{aligned} &\frac{2\cos x}{\sin^2 x} = \frac{2}{\sin x} \\ &\Rightarrow\ \cos x = \sin x \\ &\Rightarrow\ \tan x = 1 \quad (\cos x \ne 0) \end{aligned}

∴ x=nπ+π4\therefore\ x = n\pi + \dfrac{\pi}{4}⁠, n∈Zn \in \Z⁠.

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

The one idea this problem is built on

Combine the left side into a single tan⁡−1\tan^{-1} with the double-angle rule 2tan⁡−1t=tan⁡−12t1−t22\tan^{-1}t = \tan^{-1}\frac{2t}{1-t^2}⁠. This rule is only valid for ∣t∣<1|t| < 1⁠, so we must check that ∣cos⁡x∣<1|\cos x| < 1 for every xx where the equation makes sense. It is, because cosec⁡x\operatorname{cosec}x requires sin⁡x≠0\sin x \ne 0⁠. Then "tan⁡−1A=tan⁡−1B\tan^{-1}A = \tan^{-1}B" means "A=BA = B", and the equation reduces to cos⁡x=sin⁡x\cos x = \sin x⁠.

Given, to find, and the plan
Given
The equation 2tan⁡−1(cos⁡x)=tan⁡−1(2cosec⁡x)2\tan^{-1}(\cos x) = \tan^{-1}(2\operatorname{cosec}x)⁠, with xx real.
To find
Every real xx that satisfies it.
Plan
(1) Find where the equation is defined. (2) Prove the 2tan⁡−1t2\tan^{-1}t rule for ∣t∣<1|t|<1 and apply it. (3) Use that tan⁡−1\tan^{-1} is one-one. (4) Reduce to tan⁡x=1\tan x = 1 and solve. (5) Check that no solution was lost or gained, and check the solutions in the original equation.

Basics you need

1Where cosec is defined

cosec⁡x=1sin⁡x\operatorname{cosec}x = \frac{1}{\sin x} is undefined when sin⁡x=0\sin x = 0⁠, that is at x=nπx = n\pi⁠, n∈Zn\in\Z⁠. Basics: tan, cot, sec and cosec

2tan⁻¹ and its range

tan⁡−1\tan^{-1} is defined for every real number, takes values in (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠, and is one-one: tan⁡−1A=tan⁡−1B\tan^{-1}A = \tan^{-1}B exactly when A=BA = B⁠. Basics: what an inverse needs

3tan of a double angle

tan⁡2φ=2tan⁡φ1−tan⁡2φ\tan 2\varphi = \frac{2\tan\varphi}{1-\tan^2\varphi}⁠, valid when tan⁡φ\tan\varphi and tan⁡2φ\tan 2\varphi are defined.

4General solution of tan x = 1

tan⁡π4=1\tan\frac\pi4 = 1 and tan⁡\tan has period π\pi⁠, so tan⁡x=1\tan x = 1 exactly when x=nπ+π4x = n\pi + \frac\pi4⁠, n∈Zn \in\Z⁠. Basics: special angles

Solution

  1. Where the equation makes sense

    The right side contains cosec⁡x\operatorname{cosec}x⁠, so we need sin⁡x≠0\sin x \ne 0⁠, that is

    x≠nπ,n∈Z.x \ne n\pi, \qquad n\in\Z.

    For such xx⁠, cos⁡2x=1−sin⁡2x<1\cos^2 x = 1 - \sin^2 x < 1⁠, so

    ∣cos⁡x∣<1.|\cos x| < 1.

    Both tan⁡−1\tan^{-1} terms are then defined, since tan⁡−1\tan^{-1} accepts every real number.

    Any solution must come from this set, so we find it first. The fact ∣cos⁡x∣<1|\cos x| < 1 will be exactly what makes the next step legal. Notice that the excluded points x=nπx = n\pi are precisely where cos⁡x=±1\cos x = \pm 1⁠.
    cosec⁡x\operatorname{cosec} x is undefined at x=nπx = n\pi (Basic 1); sin⁡2x+cos⁡2x=1\sin^2x + \cos^2x = 1⁠.
  2. The double-angle rule for tan⁻¹, and why it needs |t| < 1

    Let ∣t∣<1|t| < 1 and put φ=tan⁡−1t\varphi = \tan^{-1}t⁠. Since −1<t<1-1 < t < 1⁠, φ∈(−π4,π4)\varphi\in\left(-\frac\pi4,\frac\pi4\right)⁠, so

    2φ∈(−π2,π2),tan⁡2φ=2t1−t2.2\varphi \in \left(-\tfrac\pi2, \tfrac\pi2\right), \qquad \tan 2\varphi = \frac{2t}{1-t^2}.

    Because 2φ2\varphi lies in the principal range of tan⁡−1\tan^{-1}⁠, tan⁡−1(tan⁡2φ)=2φ\tan^{-1}(\tan 2\varphi) = 2\varphi⁠, that is

    2tan⁡−1t=tan⁡−12t1−t2,∣t∣<1.2\tan^{-1}t = \tan^{-1}\frac{2t}{1-t^2}, \qquad |t| < 1.

    Apply it with t=cos⁡xt = \cos x⁠, allowed by Step 1, and use 1−cos⁡2x=sin⁡2x1 - \cos^2x = \sin^2x⁠:

    2tan⁡−1(cos⁡x)=tan⁡−12cos⁡xsin⁡2x.2\tan^{-1}(\cos x) = \tan^{-1}\frac{2\cos x}{\sin^2 x}.

    In particular, on the whole domain the left side 2tan⁡−1(cos⁡x)2\tan^{-1}(\cos x) lies strictly inside (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠: it never reaches ±π2\pm\frac\pi2⁠, because that would need cos⁡x=±1\cos x = \pm1⁠, which happens only at the excluded points x=nπx = n\pi⁠. So both sides always take values in the range of tan⁡−1\tan^{-1}⁠, and no solution can be hidden by a range mismatch.

    For ∣t∣>1|t| > 1 the rule is false: 2φ2\varphi would leave (−π2,π2)\left(-\frac\pi2,\frac\pi2\right) and the two sides would differ by π\pi (for example 2tan⁡−12≈2.2142\tan^{-1}2 \approx 2.214⁠, but tan⁡−14−3≈−0.927\tan^{-1}\frac{4}{-3} \approx -0.927⁠). Using it outside ∣t∣<1|t|<1 can lose or invent solutions. Here every allowed xx has ∣cos⁡x∣<1|\cos x| < 1⁠, so the rewrite is exact on the whole domain: no solution is lost or added by this step.
    tan⁡2φ=2tan⁡φ1−tan⁡2φ\tan 2\varphi = \frac{2\tan\varphi}{1-\tan^2\varphi} (Basic 3) and tan⁡−1(tan⁡α)=α\tan^{-1}(\tan\alpha) = \alpha for α∈(−π2,π2)\alpha\in\left(-\frac\pi2,\frac\pi2\right)⁠. Lesson: the folding rules
  3. Equal tan⁻¹ values mean equal arguments

    The equation is now

    tan⁡−12cos⁡xsin⁡2x=tan⁡−12sin⁡x.\tan^{-1}\frac{2\cos x}{\sin^2x} = \tan^{-1}\frac{2}{\sin x}.

    Since tan⁡−1\tan^{-1} is one-one, this holds exactly when

    2cos⁡xsin⁡2x=2sin⁡x.\frac{2\cos x}{\sin^2x} = \frac{2}{\sin x}.
    A one-one function gives equal outputs only for equal inputs, and equal inputs give equal outputs because tan⁡−1\tan^{-1} is a function (one output per input). So this step is an "if and only if": it neither loses nor adds solutions.
    tan⁡−1\tan^{-1} is one-one on R\R (Basic 2).
  4. Clear the fractions and solve

    Multiply both sides by sin⁡2x2\frac{\sin^2 x}{2}⁠, which is not zero because sin⁡x≠0\sin x \ne 0⁠:

    cos⁡x=sin⁡x.\cos x = \sin x.

    Here cos⁡x≠0\cos x \ne 0⁠: if cos⁡x\cos x were 0, then sin⁡x=cos⁡x=0\sin x = \cos x = 0⁠, impossible since sin⁡2x+cos⁡2x=1\sin^2x + \cos^2 x = 1⁠. So we may divide by cos⁡x\cos x⁠:

    tan⁡x=1  ⟺  x=nπ+π4,n∈Z.\tan x = 1 \iff x = n\pi + \frac\pi4, \quad n\in\Z.

    Each of these has sin⁡x=±12≠0\sin x = \pm\frac{1}{\sqrt2} \ne 0⁠, so all of them lie in the domain from Step 1.

    Multiplying by a non-zero number and dividing by a non-zero number are both reversible, so again nothing is lost or added. Finally we confirm that the solutions avoid the excluded points x=nπx = n\pi⁠, where cosec⁡x\operatorname{cosec}x is undefined.
    General solution of tan⁡x=1\tan x = 1 (Basic 4).
  5. Check every solution in the original equation

    Every step was reversible, so all of x=nπ+π4x = n\pi + \frac\pi4 are solutions and there are no others. Still, check both kinds directly.

    nn even, e.g. x=π4x = \frac\pi4⁠: cos⁡x=12\cos x = \frac1{\sqrt2}⁠, cosec⁡x=2\operatorname{cosec}x = \sqrt2⁠.

    LHS=2tan⁡−1(0.7071067812)=2(0.6154797087)=1.2309594173,RHS=tan⁡−1(2.8284271247)=1.2309594173.\begin{aligned} \text{LHS} &= 2\tan^{-1}(0.7071067812) \\ &= 2(0.6154797087) = 1.2309594173, \\ \text{RHS} &= \tan^{-1}(2.8284271247) = 1.2309594173. \end{aligned}

    nn odd, e.g. x=5π4x = \frac{5\pi}4⁠: cos⁡x=−12\cos x = -\frac1{\sqrt2}⁠, cosec⁡x=−2\operatorname{cosec}x = -\sqrt2⁠, and both sides equal −1.2309594173-1.2309594173⁠, because tan⁡−1\tan^{-1} is odd.

    Adding 2π2\pi changes neither cos⁡x\cos x nor cosec⁡x\operatorname{cosec}x⁠, so these two cases cover every nn⁠.

    π/2 3π/2 π 2π π/2 −π/2 x = π/4 x = 5π/4 blue: 2 tan⁻¹(cos x) gold: tan⁻¹(2 cosec x) dashed red: cosec undefined x
    Both sides over one period 0<x<2π0 < x < 2\pi (scales differ). The gold curve, tan⁡−1(2cosec⁡x)\tan^{-1}(2\operatorname{cosec}x)⁠, breaks at 00⁠, π\pi and 2π2\pi⁠, where cosec⁡x\operatorname{cosec}x is undefined. The curves meet only at x=π4x = \frac\pi4 and x=5π4x = \frac{5\pi}4⁠. Near x=0x=0 (and at π\pi from the right) they approach the same value, but those points are excluded, so they are not solutions.
    The figure is a useful sanity check on the claim that there are no other solutions: one crossing in each interval of length π\pi⁠, at π4\frac\pi4 past each excluded point. At a non-solution such as x=π2x = \frac\pi2 the sides differ: the left is 2tan⁡−10=02\tan^{-1}0 = 0⁠, the right is tan⁡−12=1.1071487178\tan^{-1}2 = 1.1071487178⁠.
    tan⁡−1(−a)=−tan⁡−1a\tan^{-1}(-a) = -\tan^{-1}a⁠; cos⁡\cos and cosec⁡\operatorname{cosec} have period 2π2\pi⁠.
Result

The equation is defined for x≠nπx \ne n\pi⁠. There ∣cos⁡x∣<1|\cos x|<1⁠, so 2tan⁡−1(cos⁡x)=tan⁡−12cos⁡xsin⁡2x2\tan^{-1}(\cos x) = \tan^{-1}\frac{2\cos x}{\sin^2x}⁠, and the equation becomes cos⁡x=sin⁡x\cos x = \sin x⁠. Its solutions are

x=nπ+π4,n∈Z.x = n\pi + \frac\pi4, \qquad n \in \Z.

(Textbook answer: x=nπ+π4x = n\pi + \frac\pi4⁠, n∈Zn\in\Z⁠.)

Check it with numbers

x=π4x = \frac\pi4⁠: both sides 1.23095941731.2309594173⁠. x=5π4x = \frac{5\pi}4⁠: both sides −1.2309594173-1.2309594173⁠. The verification script also checks all 21 values n=−10,…,10n = -10,\dots,10 in the original equation, and a scan of 200 000 points of (0,2π)(0, 2\pi) finds sign changes of LHS − RHS only at π4\frac\pi4 and 5π4\frac{5\pi}4⁠.

Common mistakes
  1. Using 2tan⁡−1t=tan⁡−12t1−t22\tan^{-1}t = \tan^{-1}\frac{2t}{1-t^2} without checking ∣t∣<1|t|<1. Here it happens to hold on the whole domain, but that needs saying.
  2. Forgetting that x=nπx = n\pi is excluded. At those points cosec⁡x\operatorname{cosec}x does not exist (and 1−cos⁡2x=01-\cos^2x = 0⁠, so the rewritten left side would also break).
  3. Giving only x=π4x = \frac\pi4. The question asks for all solutions; tan⁡x=1\tan x = 1 has one solution in every interval of length π\pi⁠.
  4. Dividing by sin⁡x\sin x or cos⁡x\cos x without saying why it is non-zero.
What to take away
  1. Before using a formula like 2tan⁡−1t=tan⁡−12t1−t22\tan^{-1}t = \tan^{-1}\frac{2t}{1-t^2}⁠, check its condition (∣t∣<1|t|<1⁠) on the whole domain of the equation.
  2. tan⁡−1A=tan⁡−1B  ⟺  A=B\tan^{-1}A = \tan^{-1}B \iff A = B⁠, because tan⁡−1\tan^{-1} is one-one. Turning an inverse-trig equation into an ordinary one this way loses nothing.
  3. Track reversibility. If every step is an "if and only if", the final solution set is exactly right; still check the answers in the original equation.

Every fact used, and where it comes from

FactUsed inSource
Domain of cosec⁡\operatorname{cosec}⁠: R−{nπ:n∈Z}\R - \{n\pi : n\in\Z\}Step 1Section 2.2 (list of trigonometric functions)
tan⁡−1\tan^{-1}⁠: domain R\R⁠, range (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠, one-oneSteps 2, 3Section 2.2 (Lesson: principal values)
tan⁡−1(tan⁡α)=α\tan^{-1}(\tan\alpha) = \alpha on (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)Step 2Section 2.3
tan⁡2φ=2tan⁡φ1−tan⁡2φ\tan2\varphi = \frac{2\tan\varphi}{1-\tan^2\varphi}⁠; sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1Steps 1, 2, 4Class XI, Trigonometric Functions
tan⁡x=1  ⟺  x=nπ+π4\tan x = 1 \iff x = n\pi + \frac\pi4Step 4tan⁡π4=1\tan\frac\pi4 = 1⁠, tan is one-one on (−π2,π2)\left(-\frac\pi2,\frac\pi2\right) and has period π\pi (Class XI, Trigonometric Functions)
Answer nπ+π4n\pi + \frac\pi4ResultNCERT answer key, Miscellaneous Exercise on Chapter 2
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 →