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

Miscellaneous · Q10: A tan⁡−1\tan^{-1} of square roots equals π4−12cos⁡−1x\frac\pi4-\frac12\cos^{-1}x

Miscellaneous ExerciseSubstitutions and simplest form · Miscellaneous Exercise
The question

Prove that

tan⁡−1(1+x−1−x1+x+1−x)=π4−12cos⁡−1x,\tan^{-1}\left(\frac{\sqrt{1+x}-\sqrt{1-x}}{\sqrt{1+x}+\sqrt{1-x}}\right) = \frac\pi4 - \frac12\cos^{-1}x,

−12≤x≤1-\frac{1}{\sqrt2} \le x \le 1⁠. [Hint: Put x=cos⁡2θx = \cos 2\theta]

Exam answer

Put x=cos⁡2θx = \cos 2\theta⁠, where 2θ=cos⁡−1x∈[0,π]2\theta = \cos^{-1}x \in [0, \pi]⁠.

As −12≤x≤1-\frac{1}{\sqrt2} \le x \le 1⁠, 0≤2θ≤3π40 \le 2\theta \le \frac{3\pi}{4}⁠. So 0≤θ≤3π80 \le \theta \le \frac{3\pi}{8}⁠.

Hence cos⁡θ>0\cos\theta > 0 and sin⁡θ≥0\sin\theta \ge 0⁠.

Using 1+cos⁡2θ=2cos⁡2θ1 + \cos 2\theta = 2\cos^2\theta and 1−cos⁡2θ=2sin⁡2θ1 - \cos 2\theta = 2\sin^2\theta⁠,

1+x=2cos⁡2θ=2cos⁡θ1−x=2sin⁡2θ=2sin⁡θ\begin{aligned} \sqrt{1 + x} &= \sqrt{2\cos^2\theta} = \sqrt2\cos\theta \\ \sqrt{1 - x} &= \sqrt{2\sin^2\theta} = \sqrt2\sin\theta \end{aligned}

Dividing numerator and denominator by 2cos⁡θ\sqrt2\cos\theta⁠,

LHS=tan⁡−12cos⁡θ−2sin⁡θ2cos⁡θ+2sin⁡θ=tan⁡−11−tan⁡θ1+tan⁡θ=tan⁡−1(tan⁡(π4−θ))\begin{aligned} &\text{LHS} \\ &= \tan^{-1}\frac{\sqrt2\cos\theta - \sqrt2\sin\theta}{\sqrt2\cos\theta + \sqrt2\sin\theta} \\ &= \tan^{-1}\frac{1 - \tan\theta}{1 + \tan\theta} \\ &= \tan^{-1}\left(\tan\left(\frac{\pi}{4} - \theta\right)\right) \end{aligned}

As −π8≤π4−θ≤π4-\frac{\pi}{8} \le \frac{\pi}{4} - \theta \le \frac{\pi}{4}⁠, inside (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)⁠, the principal range of tan⁡−1\tan^{-1}⁠,

∴ LHS=π4−θ\therefore\ \text{LHS} = \dfrac{\pi}{4} - \theta =π4−12cos⁡−1x= \dfrac{\pi}{4} - \dfrac12\cos^{-1}x =RHS= \text{RHS}⁠. Hence proved.

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

The one idea this problem is built on

With x=cos⁡2θx = \cos 2\theta⁠, the two roots become 1+cos⁡2θ=2cos⁡θ\sqrt{1+\cos2\theta} = \sqrt2\cos\theta and 1−cos⁡2θ=2sin⁡θ\sqrt{1-\cos2\theta} = \sqrt2\sin\theta⁠. The fraction turns into cos⁡θ−sin⁡θcos⁡θ+sin⁡θ\frac{\cos\theta-\sin\theta}{\cos\theta+\sin\theta}⁠, and dividing by cos⁡θ\cos\theta gives 1−tan⁡θ1+tan⁡θ=tan⁡(π4−θ)\frac{1-\tan\theta}{1+\tan\theta} = \tan\left(\frac\pi4-\theta\right)⁠. To make this rigorous we choose θ\theta as a principal value, 2θ=cos⁡−1x2\theta = \cos^{-1}x⁠, and then check every sign and that π4−θ\frac\pi4-\theta lies in (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠.

Given, to show, and the plan
Given
−12≤x≤1-\frac{1}{\sqrt2} \le x \le 1⁠.
To show
The tan⁡−1\tan^{-1} expression equals π4−12cos⁡−1x\frac\pi4 - \frac12\cos^{-1}x⁠.
Plan
(1) Define θ=12cos⁡−1x\theta = \frac12\cos^{-1}x and find its interval. (2) Rewrite 1+x1+x and 1−x1-x⁠. (3) Take the roots with correct signs. (4) Turn the fraction into tan⁡(π4−θ)\tan\left(\frac\pi4-\theta\right)⁠. (5) Check π4−θ\frac\pi4-\theta is in the principal range of tan⁡−1\tan^{-1} and conclude.

Basics you need

1Principal ranges

cos⁡−1\cos^{-1} takes values in [0,π][0,\pi]⁠; tan⁡−1\tan^{-1} takes values in (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠, and tan⁡−1(tan⁡α)=α\tan^{-1}(\tan\alpha) = \alpha exactly when α\alpha is in that interval. Basics: what an inverse needs

2Half-angle forms of 1 ± cos 2θ

From cos⁡2θ=2cos⁡2θ−1=1−2sin⁡2θ\cos 2\theta = 2\cos^2\theta - 1 = 1 - 2\sin^2\theta⁠:

1+cos⁡2θ=2cos⁡2θ,1−cos⁡2θ=2sin⁡2θ.1+\cos 2\theta = 2\cos^2\theta,\quad 1-\cos 2\theta = 2\sin^2\theta.
3Square root of a square

a2=∣a∣\sqrt{a^2} = |a|⁠, which equals aa only when a≥0a \ge 0⁠.

4tan of a difference

tan⁡(A−B)=tan⁡A−tan⁡B1+tan⁡Atan⁡B\tan(A - B) = \frac{\tan A - \tan B}{1 + \tan A\tan B}⁠. With A=π4A = \frac\pi4⁠, tan⁡A=1\tan A = 1⁠:

tan⁡(π4−θ)=1−tan⁡θ1+tan⁡θ.\tan\left(\tfrac\pi4 - \theta\right) = \frac{1-\tan\theta}{1+\tan\theta}.
5cos⁻¹ of a special value

cos⁡3π4=−12\cos\frac{3\pi}4 = -\frac1{\sqrt2}⁠, so cos⁡−1(−12)=3π4\cos^{-1}\left(-\frac1{\sqrt2}\right) = \frac{3\pi}{4}⁠. Basics: special angles

Solution

  1. Choose θ as a principal value and find its interval

    Following the hint, let

    2θ=cos⁡−1x,sox=cos⁡2θ,  θ=12cos⁡−1x.2\theta = \cos^{-1}x, \quad\text{so}\quad x = \cos 2\theta,\ \ \theta = \tfrac12\cos^{-1}x.

    cos⁡−1\cos^{-1} is decreasing, with cos⁡−11=0\cos^{-1}1 = 0 and cos⁡−1(−12)=3π4\cos^{-1}\left(-\frac1{\sqrt2}\right) = \frac{3\pi}4⁠. So for −12≤x≤1-\frac1{\sqrt2} \le x \le 1⁠,

    0≤2θ≤3π4,0≤θ≤3π8.0 \le 2\theta \le \frac{3\pi}{4}, \qquad 0 \le \theta \le \frac{3\pi}{8}.

    In particular θ∈[0,π2)\theta\in\left[0,\frac\pi2\right)⁠, so cos⁡θ>0\cos\theta > 0 and sin⁡θ≥0\sin\theta \ge 0⁠.

    The hint says "put x=cos⁡2θx = \cos2\theta", but many angles have cosine xx⁠. Choosing 2θ=cos⁡−1x2\theta = \cos^{-1}x picks one definite angle, makes 12cos⁡−1x\frac12\cos^{-1}x equal to θ\theta on the right side, and pins down an interval for θ\theta⁠. Every sign below comes from that interval.
    cos⁡−1\cos^{-1} has range [0,π][0,\pi] (Basic 1) and is decreasing on [−1,1][-1,1]⁠, because cos⁡\cos is decreasing on [0,π][0,\pi]⁠; the end value comes from Basic 5. Lesson: substitutions and simplest form
  2. Rewrite 1 + x and 1 − x

    1+x=1+cos⁡2θ=2cos⁡2θ,1−x=1−cos⁡2θ=2sin⁡2θ.\begin{aligned} 1 + x &= 1 + \cos 2\theta = 2\cos^2\theta, \\ 1 - x &= 1 - \cos 2\theta = 2\sin^2\theta. \end{aligned}
    These are the two half-angle forms (Basic 2). They turn the expressions under the roots into perfect squares, which is the whole point of the substitution.
    cos⁡2θ=2cos⁡2θ−1=1−2sin⁡2θ\cos 2\theta = 2\cos^2\theta - 1 = 1 - 2\sin^2\theta (Basic 2).
  3. Take the square roots with the correct signs

    Since cos⁡θ>0\cos\theta > 0 and sin⁡θ≥0\sin\theta \ge 0 (Step 1),

    1+x=2cos⁡θ,1−x=2sin⁡θ.\sqrt{1+x} = \sqrt2\cos\theta, \qquad \sqrt{1-x} = \sqrt2\sin\theta.
    2cos⁡2θ=2 ∣cos⁡θ∣\sqrt{2\cos^2\theta} = \sqrt2\,|\cos\theta|⁠, and similarly for sin⁡\sin⁠. We can drop the absolute values only because Step 1 placed θ\theta in the first quadrant (or at 0), where both are non-negative.
    a2=∣a∣\sqrt{a^2} = |a| (Basic 3).
  4. Turn the fraction into tan(π/4 − θ)

    Substitute and cancel the common factor 2\sqrt2⁠:

    1+x−1−x1+x+1−x=cos⁡θ−sin⁡θcos⁡θ+sin⁡θ.\frac{\sqrt{1+x}-\sqrt{1-x}}{\sqrt{1+x}+\sqrt{1-x}} = \frac{\cos\theta - \sin\theta}{\cos\theta + \sin\theta}.

    The denominator is not zero: cos⁡θ>0\cos\theta > 0 and sin⁡θ≥0\sin\theta \ge 0⁠, so cos⁡θ+sin⁡θ>0\cos\theta + \sin\theta > 0⁠. Divide top and bottom by cos⁡θ>0\cos\theta > 0⁠:

    cos⁡θ−sin⁡θcos⁡θ+sin⁡θ=1−tan⁡θ1+tan⁡θ=tan⁡(π4−θ).\frac{\cos\theta - \sin\theta}{\cos\theta + \sin\theta} = \frac{1 - \tan\theta}{1 + \tan\theta} = \tan\left(\frac\pi4 - \theta\right).
    Dividing by cos⁡θ\cos\theta is allowed because it is positive. The result 1−tan⁡θ1+tan⁡θ\frac{1-\tan\theta}{1+\tan\theta} is the tan-of-a-difference formula with tan⁡π4=1\tan\frac\pi4 = 1 (Basic 4).
    tan⁡(π4−θ)=1−tan⁡θ1+tan⁡θ\tan\left(\frac\pi4-\theta\right) = \frac{1-\tan\theta}{1+\tan\theta} (Basic 4).
  5. Check the principal range and conclude

    From 0≤θ≤3π80 \le \theta \le \frac{3\pi}{8}⁠,

    −π8≤π4−θ≤π4,-\frac\pi8 \le \frac\pi4 - \theta \le \frac\pi4,

    which lies inside (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠. Therefore

    LHS=tan⁡−1(tan⁡(π4−θ))=π4−θ=π4−12cos⁡−1x.\begin{aligned} \text{LHS} &= \tan^{-1}\left(\tan\left(\tfrac\pi4-\theta\right)\right) \\ &= \frac\pi4 - \theta \\ &= \frac\pi4 - \frac12\cos^{-1}x. \end{aligned}
    0 3π/4 π π/2 range of cos⁻¹: 2θ 2θ = cos⁻¹x runs over [0, 3π/4] π/4 −π/8 π/2 −π/2 range of tan⁻¹: π/4 − θ
    Left: 2θ=cos⁡−1x2\theta = \cos^{-1}x runs over the blue arc [0,3π4]\left[0,\frac{3\pi}4\right] as xx runs from 11 down to −12-\frac{1}{\sqrt2}⁠. Right: π4−θ\frac\pi4-\theta then runs over the green arc [−π8,π4]\left[-\frac\pi8,\frac\pi4\right] (x=1x = 1 gives π4\frac\pi4⁠, x=−12x = -\frac{1}{\sqrt2} gives −π8-\frac\pi8⁠), well inside the open range (−π2,π2)\left(-\frac\pi2,\frac\pi2\right) of tan⁡−1\tan^{-1}⁠.
    tan⁡−1(tan⁡α)=α\tan^{-1}(\tan\alpha) = \alpha only when α∈(−π2,π2)\alpha \in \left(-\frac\pi2,\frac\pi2\right)⁠. We have just shown π4−θ\frac\pi4-\theta is in that interval for every allowed xx⁠, so the last step is legal, and the proof covers every xx in [−12,1]\left[-\frac1{\sqrt2}, 1\right]⁠.
    tan⁡−1(tan⁡α)=α\tan^{-1}(\tan\alpha) = \alpha for α∈(−π2,π2)\alpha\in\left(-\frac\pi2,\frac\pi2\right) (Basic 1). Lesson: the folding rules
Result

With θ=12cos⁡−1x∈[0,3π8]\theta = \frac12\cos^{-1}x \in \left[0,\frac{3\pi}8\right]⁠: 1+x=2cos⁡θ\sqrt{1+x} = \sqrt2\cos\theta⁠, 1−x=2sin⁡θ\sqrt{1-x} = \sqrt2\sin\theta⁠, the fraction is tan⁡(π4−θ)\tan\left(\frac\pi4-\theta\right)⁠, and π4−θ∈[−π8,π4]\frac\pi4-\theta\in\left[-\frac\pi8,\frac\pi4\right]⁠. Hence the left side equals π4−12cos⁡−1x\frac\pi4 - \frac12\cos^{-1}x for every xx with −12≤x≤1-\frac1{\sqrt2}\le x\le 1⁠. Proved.

Check it with numbers

x=0x = 0⁠: the fraction is 1−11+1=0\frac{1-1}{1+1} = 0⁠, so the left side is 0. Right side: π4−12⋅π2=0\frac\pi4 - \frac12\cdot\frac\pi2 = 0 ✓.

x=12x = \frac12⁠: 1.5=1.2247448714\sqrt{1.5} = 1.2247448714⁠, 0.5=0.7071067812\sqrt{0.5} = 0.7071067812⁠, ratio 0.2679491924=2−3=tan⁡π120.2679491924 = 2-\sqrt3 = \tan\frac\pi{12}⁠. Left side π12\frac\pi{12}⁠. Right side: π4−12⋅π3=π12\frac\pi4 - \frac12\cdot\frac\pi3 = \frac\pi{12} ✓.

x=−12x = -\frac{1}{\sqrt2} (the left end): 1+x=0.29289321881+x = 0.2928932188⁠, 1−x=1.70710678121-x = 1.7071067812⁠, roots 0.54119610010.5411961001 and 1.30656296491.3065629649⁠, ratio −0.4142135624=−(2−1)=−tan⁡π8-0.4142135624 = -(\sqrt2-1) = -\tan\frac\pi8⁠. Left side −π8=−0.3926990817-\frac\pi8 = -0.3926990817⁠. Right side: π4−12⋅3π4=−π8\frac\pi4 - \frac12\cdot\frac{3\pi}4 = -\frac\pi8 ✓.

Common mistakes
  1. Putting x=cos⁡2θx = \cos2\theta without saying which θ\theta. Then you cannot justify θ=12cos⁡−1x\theta = \frac12\cos^{-1}x⁠, nor the signs of cos⁡θ\cos\theta and sin⁡θ\sin\theta⁠.
  2. Writing 2sin⁡2θ=2sin⁡θ\sqrt{2\sin^2\theta} = \sqrt2\sin\theta without checking sin⁡θ≥0\sin\theta\ge0⁠.
  3. Ending with tan⁡−1(tan⁡(π4−θ))=π4−θ\tan^{-1}(\tan(\frac\pi4-\theta)) = \frac\pi4-\theta without checking that π4−θ\frac\pi4-\theta lies in (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)⁠.
What to take away
  1. For 1±x\sqrt{1\pm x}⁠, put x=cos⁡2θx = \cos2\theta with 2θ=cos⁡−1x2\theta = \cos^{-1}x⁠. The roots become 2cos⁡θ\sqrt2\cos\theta and 2sin⁡θ\sqrt2\sin\theta⁠.
  2. cos⁡θ−sin⁡θcos⁡θ+sin⁡θ=tan⁡(π4−θ)\frac{\cos\theta-\sin\theta}{\cos\theta+\sin\theta} = \tan\left(\frac\pi4-\theta\right) is worth remembering.
  3. Remark: the identity is true on a larger set than the stated −12≤x≤1-\frac1{\sqrt2}\le x\le 1⁠. For −1<x≤1-1 < x \le 1⁠, θ∈[0,π2)\theta\in\left[0,\frac\pi2\right)⁠, so cos⁡θ>0\cos\theta > 0 and π4−θ∈(−π4,π4]\frac\pi4-\theta\in\left(-\frac\pi4,\frac\pi4\right]⁠, and every step still works. At x=−1x=-1⁠, θ=π2\theta = \frac\pi2 and cos⁡θ=0\cos\theta = 0⁠, so Step 4 cannot divide by cos⁡θ\cos\theta⁠; but substituting directly, the fraction is 0−20+2=−1\frac{0-\sqrt2}{0+\sqrt2} = -1⁠, and both sides equal −π4-\frac\pi4⁠.

Every fact used, and where it comes from

FactUsed inSource
Principal ranges: cos⁡−1\cos^{-1} in [0,π][0,\pi]⁠, tan⁡−1\tan^{-1} in (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)Steps 1, 5Section 2.2 (Lesson: principal values)
tan⁡−1(tan⁡α)=α\tan^{-1}(\tan\alpha) = \alpha on (−π2,π2)\left(-\frac\pi2,\frac\pi2\right)Step 5Section 2.3
1+cos⁡2θ=2cos⁡2θ1+\cos2\theta = 2\cos^2\theta⁠, 1−cos⁡2θ=2sin⁡2θ1-\cos2\theta = 2\sin^2\thetaStep 2Class XI, Trigonometric Functions (double-angle formulas)
tan⁡(A−B)=tan⁡A−tan⁡B1+tan⁡Atan⁡B\tan(A-B) = \frac{\tan A-\tan B}{1+\tan A\tan B}Step 4Class XI, Trigonometric Functions
cos⁡3π4=−12\cos\frac{3\pi}4 = -\frac1{\sqrt2}⁠; tan⁡π8=2−1\tan\frac\pi8 = \sqrt2-1⁠; tan⁡π12=2−3\tan\frac\pi{12} = 2-\sqrt3Step 1, CheckSpecial angles; recomputed 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 →