First, use the formula
tan−1x+tan−1y=tan−1(1−xyx+y),xy<1,
then simplify it and get the values of x. Further, verify the given equation by obtained values of x.
Given,
tan−1(x+1)+tan−1(x−1)=tan−1318...(i)
⇒tan−1[1−(x+1)(x−1)(x+1)+(x−1)]=tan−1318
[∵ tan−1x+tan−1y=tan−1(1−xyx+y), xy<1]
⇒tan−1(1−(x2−1)2x)=tan−1318
⇒2−x22x=318
⇒62x=16−8x2
⇒8x2+62x−16=0
⇒4x2+31x−8=0
⇒4x2+32x−x−8=0
⇒4x(x+8)−1(x+8)=0
⇒(x+8)(4x−1)=0
∴x=−8orx=41
But x=−8 gives LHS
=tan−1(−7)+tan−1(−9)
=−tan−1(7)−tan−1(9),
which is negative, while RHS is positive.
So, x=−8 is not possible.
Hence,
x=41
is the only solution of the given equation.