If tan−1x−1x+2+tan−1x+1x+2=π4 then x in is equal to
12
-12
±52
±12
We have,
tan−1x−1x+2+tan−1x+1x+2=π4
⇒ tan−1x−1x+2+x+1x+21−x−1x+2x+1x+2=π4
⇒ 2x(x+2)x2+4+4x−x2+1 =tanπ4⇒ 2x(x+2)4x+5 =1⇒ 2x2+4x =4x+5⇒ x =±52