Write tan⁻¹(cos x/(1 + sin x)) in Simplest Form

medium CBSE JEE-MAIN CBSE 2025 Sample Paper 3 min read

Question

Simplify tan1(cosx1+sinx)\tan^{-1}\left(\dfrac{\cos x}{1 + \sin x}\right) and express it in its simplest form.


Solution — Step by Step

The denominator 1+sinx1 + \sin x screams half-angle. We rewrite both cosx\cos x and 1+sinx1 + \sin x using x/2x/2 substitutions so something cancels.

cosx=cos2 ⁣x2sin2 ⁣x2\cos x = \cos^2\!\tfrac{x}{2} - \sin^2\!\tfrac{x}{2} 1+sinx=sin2 ⁣x2+cos2 ⁣x2+2sinx2cosx2=(cosx2+sinx2)21 + \sin x = \sin^2\!\tfrac{x}{2} + \cos^2\!\tfrac{x}{2} + 2\sin\tfrac{x}{2}\cos\tfrac{x}{2} = \left(\cos\tfrac{x}{2} + \sin\tfrac{x}{2}\right)^2

Substitute back into the fraction:

cosx1+sinx=(cosx2sinx2)(cosx2+sinx2)(cosx2+sinx2)2\frac{\cos x}{1+\sin x} = \frac{\left(\cos\tfrac{x}{2} - \sin\tfrac{x}{2}\right)\left(\cos\tfrac{x}{2} + \sin\tfrac{x}{2}\right)}{\left(\cos\tfrac{x}{2} + \sin\tfrac{x}{2}\right)^2}

The (cosx2+sinx2)\left(\cos\tfrac{x}{2} + \sin\tfrac{x}{2}\right) cancels cleanly:

=cosx2sinx2cosx2+sinx2= \frac{\cos\tfrac{x}{2} - \sin\tfrac{x}{2}}{\cos\tfrac{x}{2} + \sin\tfrac{x}{2}}

Divide numerator and denominator by cosx2\cos\tfrac{x}{2}:

=1tanx21+tanx2= \frac{1 - \tan\tfrac{x}{2}}{1 + \tan\tfrac{x}{2}}

Now recall the tan subtraction identity: tan(AB)=tanAtanB1+tanAtanB\tan(A - B) = \dfrac{\tan A - \tan B}{1 + \tan A \tan B}.

Put A=π/4A = \pi/4 (so tanA=1\tan A = 1) and B=x/2B = x/2:

tan ⁣(π4x2)=1tanx21+tanx2\tan\!\left(\frac{\pi}{4} - \frac{x}{2}\right) = \frac{1 - \tan\tfrac{x}{2}}{1 + \tan\tfrac{x}{2}}
tan1 ⁣(cosx1+sinx)=tan1 ⁣(tan ⁣(π4x2))\tan^{-1}\!\left(\frac{\cos x}{1+\sin x}\right) = \tan^{-1}\!\left(\tan\!\left(\frac{\pi}{4} - \frac{x}{2}\right)\right)

Since tan1(tanθ)=θ\tan^{-1}(\tan\theta) = \theta when θ\theta lies in (π2,π2)\left(-\dfrac{\pi}{2},\, \dfrac{\pi}{2}\right), and the domain here is x(π2,π2)x \in \left(-\dfrac{\pi}{2},\, \dfrac{\pi}{2}\right), the angle π4x2\dfrac{\pi}{4} - \dfrac{x}{2} comfortably stays in that range.

π4x2\boxed{\dfrac{\pi}{4} - \dfrac{x}{2}}

Why This Works

The entire trick rests on recognising that 1+sinx1 + \sin x is a perfect square in disguise. Once we write 1+sinx=(cosx2+sinx2)21 + \sin x = \left(\cos\tfrac{x}{2} + \sin\tfrac{x}{2}\right)^2, the numerator cosx\cos x factors as a difference of squares and one factor cancels immediately.

After the cancellation, we have a ratio 1tanθ1+tanθ\dfrac{1 - \tan\theta}{1 + \tan\theta} where θ=x/2\theta = x/2. This specific form is the fingerprint of tan(π/4θ)\tan(\pi/4 - \theta). Memorising this pattern saves you from repeating all steps — you will see it again in JEE Main.

The domain condition matters more than students realise. The identity tan1(tanθ)=θ\tan^{-1}(\tan\theta) = \theta only holds when θ(π/2,π/2)\theta \in (-\pi/2, \pi/2). For xx outside the interval (π/2,3π/2)(-\pi/2, 3\pi/2), the answer would need adjustment.


Alternative Method

Write sinx=cos ⁣(π2x)\sin x = \cos\!\left(\dfrac{\pi}{2} - x\right) and cosx=sin ⁣(π2x)\cos x = \sin\!\left(\dfrac{\pi}{2} - x\right). Let ϕ=π2x\phi = \dfrac{\pi}{2} - x:

cosx1+sinx=sinϕ1+cosϕ=2sinϕ2cosϕ22cos2ϕ2=tanϕ2=tan ⁣(π4x2)\frac{\cos x}{1 + \sin x} = \frac{\sin\phi}{1 + \cos\phi} = \frac{2\sin\tfrac{\phi}{2}\cos\tfrac{\phi}{2}}{2\cos^2\tfrac{\phi}{2}} = \tan\frac{\phi}{2} = \tan\!\left(\frac{\pi}{4} - \frac{x}{2}\right)

Here we used the half-angle identity sinϕ1+cosϕ=tanϕ2\dfrac{\sin\phi}{1 + \cos\phi} = \tan\dfrac{\phi}{2}. Same answer, arguably faster once you know that identity cold.

The identity sinθ1+cosθ=tanθ2\dfrac{\sin\theta}{1 + \cos\theta} = \tan\dfrac{\theta}{2} is a 5-second shortcut worth remembering. It appears in integration problems too — particularly dx1+cosx\int \dfrac{dx}{1 + \cos x} type integrals in Class 12.


Common Mistake

A very common error is flipping the sign and writing the answer as x2π4\dfrac{x}{2} - \dfrac{\pi}{4} instead of π4x2\dfrac{\pi}{4} - \dfrac{x}{2}.

This happens when students divide by cosx2\cos\tfrac{x}{2} but forget which term was on top. The numerator after cancellation is cosx2sinx2\cos\tfrac{x}{2} - \sin\tfrac{x}{2} (cosine first, sine second), which gives 1tanx21 - \tan\tfrac{x}{2} in the numerator. That matches tan(π/4x/2)\tan(\pi/4 - x/2), not tan(x/2π/4)\tan(x/2 - \pi/4). The sign swap costs the full 3 marks in CBSE.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next