Solve tan⁻¹(x) + tan⁻¹(y) = π/4 for given conditions

medium CBSE JEE-MAIN NCERT Class 12 3 min read

Question

If tan1(x)+tan1(y)=π4\tan^{-1}(x) + \tan^{-1}(y) = \frac{\pi}{4}, where xy<1xy < 1, express yy in terms of xx.

(NCERT Class 12, Chapter 2 — Inverse Trigonometric Functions)


Solution — Step by Step

When xy<1xy < 1, the addition formula is:

tan1(x)+tan1(y)=tan1(x+y1xy)\tan^{-1}(x) + \tan^{-1}(y) = \tan^{-1}\left(\frac{x + y}{1 - xy}\right)

This is the standard identity — the condition xy<1xy < 1 ensures the sum lies in (π/2,π/2)(-\pi/2, \pi/2).

tan1(x+y1xy)=π4\tan^{-1}\left(\frac{x + y}{1 - xy}\right) = \frac{\pi}{4}

Taking tan\tan on both sides:

x+y1xy=tanπ4=1\frac{x + y}{1 - xy} = \tan\frac{\pi}{4} = 1
x+y=1xyx + y = 1 - xy y+xy=1xy + xy = 1 - x y(1+x)=1xy(1 + x) = 1 - x y=1x1+x\boxed{y = \frac{1 - x}{1 + x}}

This is valid for x1x \neq -1 and xy<1xy < 1.


Why This Works

The addition formula for tan1\tan^{-1} converts a sum of two inverse tangents into a single inverse tangent with a combined argument. Setting this equal to π/4\pi/4 is convenient because tan(π/4)=1\tan(\pi/4) = 1, which simplifies the algebra.

The result y=(1x)/(1+x)y = (1-x)/(1+x) has a nice geometric interpretation: if you think of xx and yy as slopes of two lines, their combined angle (sum of the angles each makes with the x-axis) equals 45°45°.

Notice that when x=0x = 0, y=1y = 1 (since tan1(0)+tan1(1)=0+π/4=π/4\tan^{-1}(0) + \tan^{-1}(1) = 0 + \pi/4 = \pi/4). This serves as a quick verification.


Alternative Method — Direct substitution

Let tan1(x)=α\tan^{-1}(x) = \alpha and tan1(y)=β\tan^{-1}(y) = \beta, so α+β=π/4\alpha + \beta = \pi/4.

Then β=π/4α\beta = \pi/4 - \alpha, and:

y=tanβ=tan(π4α)=1tanα1+tanα=1x1+xy = \tan\beta = \tan\left(\frac{\pi}{4} - \alpha\right) = \frac{1 - \tan\alpha}{1 + \tan\alpha} = \frac{1 - x}{1 + x}

using the tan(AB)\tan(A - B) formula.

For JEE, the addition formula for tan1\tan^{-1} has three cases depending on xyxy: (1) If xy<1xy < 1: tan1x+tan1y=tan1x+y1xy\tan^{-1}x + \tan^{-1}y = \tan^{-1}\frac{x+y}{1-xy}. (2) If xy>1xy > 1 and x>0x > 0: add π\pi. (3) If xy>1xy > 1 and x<0x < 0: subtract π\pi. Most students only know case (1) — knowing all three prevents sign errors.


Common Mistake

The most dangerous error: applying the formula tan1x+tan1y=tan1x+y1xy\tan^{-1}x + \tan^{-1}y = \tan^{-1}\frac{x+y}{1-xy} when xy>1xy > 1. This formula is only valid for xy<1xy < 1. When xy>1xy > 1, you need to add or subtract π\pi to the result. Ignoring this condition leads to answers in the wrong quadrant. Always check xy<1xy < 1 before using the basic form.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next