To evaluate the definite integral
I=∫01cot−1(1+x+x2)dx
Step 1: Simplify the integrand using inverse trigonometric identities
We know that for positive arguments, cot−1(y)=tan−1(y1). Thus:
cot−1(1+x+x2)=tan−1(1+x+x21)
We can rewrite the fraction inside the tan−1 function by expressing the numerator as the difference of two terms in the denominator:
1+x+x21=1+x(x+1)1=1+(x+1)x(x+1)−x
Using the standard identity tan−1(1+aba−b)=tan−1(a)−tan−1(b), we get:
tan−1(1+(x+1)x(x+1)−x)=tan−1(x+1)−tan−1(x)
Step 2: Split the integral into two parts
Now, the integral becomes:
I=∫01(tan−1(x+1)−tan−1(x))dx=∫01tan−1(x+1)dx−∫01tan−1(x)dx
For the first integral, substitute u=x+1⟹du=dx. The limits change from x=0→1 to u=1→2:
∫01tan−1(x+1)dx=∫12tan−1(u)du
Therefore, the integral I can be written as:
I=∫12tan−1(x)dx−∫01tan−1(x)dx
Step 3: Evaluate the integrals using integration by parts
The standard indefinite integral of tan−1(x) is:
∫tan−1(x)dx=xtan−1(x)−21loge(1+x2)
-
Evaluating ∫12tan−1(x)dx:
∫12tan−1(x)dx=[xtan−1(x)−21loge(1+x2)]12
=(2tan−1(2)−21loge(5))−(1⋅tan−1(1)−21loge(2))
Since tan−1(1)=4π:
=2tan−1(2)−21loge(5)−4π+21loge(2)
-
Evaluating ∫01tan−1(x)dx:
∫01tan−1(x)dx=[xtan−1(x)−21loge(1+x2)]01
=(1⋅tan−1(1)−21loge(2))−(0−0)=4π−21loge(2)
Step 4: Combine the results
Subtract the second value from the first:
I=(2tan−1(2)−21loge(5)−4π+21loge(2))−(4π−21loge(2))
=2tan−1(2)−(4π+4π)−21loge(5)+loge(2)
=2tan−1(2)−2π−21(loge(5)−2loge(2))
=2tan−1(2)−2π−21(loge(5)−loge(4))
=2tan−1(2)−21loge(45)−2π
Thus, the correct option is D.