Looking at the expression inside: 1+x−x22x−1
The formula for tan(A−B) is:
tan(A−B)=1+tanAtanBtanA−tanB
Let tanA=x and tanB=1−x
The numerator becomes:
tanA−tanB=x−(1−x)
=x−1+x
=2x−1
The denominator becomes:
1+tanAtanB=1+x(1−x)
=1+x−x2
Since 1+x−x22x−1=1+tanAtanBtanA−tanB:
tan−1(1+x−x22x−1)=tan−1(x)−tan−1(1−x)
The integral becomes:
∫01[tan−1(x)−tan−1(1−x)]dx
=∫01tan−1(x)dx−∫01tan−1(1−x)dx
For ∫01tan−1(1−x)dx, let u=1−x
Then du=−dx
When x=0: u=1
When x=1: u=0
∫01tan−1(1−x)dx=−∫10tan−1(u)du
=∫01tan−1(u)du
∫01tan−1(x)dx−∫01tan−1(1−x)dx=∫01tan−1(x)dx−∫01tan−1(x)dx
=0
Therefore, the value of the integral is 0.