Let cot−1(1+x)=θ. This means cotθ=11+x.
In a right triangle with adjacent side 1+x and opposite side 1,
Hypotenuse =12+(1+x)2=1+1+x2+2x=x2+2x+2
Therefore, sinθ=x2+2x+21
Let tan−1x=ϕ. This means tanϕ=1x.
In a right triangle where the opposite side is x and the adjacent side is 1,
Hypotenuse =12+x2=1+x2
Therefore, cosϕ=HypotenuseAdjacent=1+x21
Now substitute the simplified forms back into the original equation:
x2+2x+21=1+x21
x2+2x+21=1+x21
1+x2=x2+2x+2
1=2x+2
\therefore\ x=−21