Concept:Use the identity tan−1a+tan−1b=tan−1(1−aba+b) to split the integrand, then evaluate using integration by parts.Explanation:Let I=∫01tan−1(1−x+x2)dx.Rewrite the argument as 1−x+x2=x+(1−x)1−x(1−x), since x+(1−x)=1.Use the reciprocal identity tan−1u+tan−1(u1)=2π for u>0.This gives tan−1(1−x+x2)=2π−tan−1(1−x(1−x)x+(1−x)).By the tangent addition formula, tan−1(1−x(1−x)x+(1−x))=tan−1x+tan−1(1−x).So I=∫01[2π−tan−1x−tan−1(1−x)]dx.Thus I=2π−∫01tan−1xdx−∫01tan−1(1−x)dx.Using ∫0af(x)dx=∫0af(a−x)dx, the two integrals are equal.Therefore, I=2π−2∫01tan−1xdx.Now integrate by parts: ∫01tan−1xdx=[xtan−1x]01−∫011+x2xdx.Evaluating, ∫01tan−1xdx=4π−21[log(1+x2)]01=4π−21log2.Finally, I=2π−2(4π−21log2)=log2.Answer:log2, i.e., Option C.