Solution:
Let
x=tanθ
Then
dx=sec2θdθ
New limits: when x=0, θ=0; when x=1, θ=4π.
Also,
1+x22x=1+tan2θ2tanθ=sin2θ
For 0≤θ≤4π we have 0≤2θ≤2π, so
sin−1(sin2θ)=2θ
Therefore,
∫01sin−1(1+x22x)dx=∫04π2θsec2θdθ
Integrating by parts, taking θ as the first function,
=2[θtanθ]04π−2∫04πtanθdθ
So,
=2(4π⋅1−0)−2[log∣secθ∣]04π
Substituting the limits,
=2π−2(log2−log1)=2π−2⋅21log2
Therefore,
∫01sin−1(1+x22x)dx=2π−log2
Hence, the value of the integral is 2π−log2.