We are given the equation:
2∫01tan−1xdx=∫01cot−1(1−x+x2)dx
We need to find the value of ∫01tan−1(1−x+x2)dx.
First, note that 1−x+x2=x2−x+1. The quadratic x2−x+1 has discriminant (−1)2−4⋅1⋅1=1−4=−3<0, and since the leading coefficient is positive, x2−x+1>0 for all real x, including in the interval [0,1].
Since x2−x+1>0, we can use the identity cot−1(a)=tan−1(a1) for a>0. Therefore, the given equation becomes:
2∫01tan−1xdx=∫01tan−1(x2−x+11)dx
Let J=∫01tan−1xdx. Then the equation is:
2J=∫01tan−1(x2−x+11)dx
Now, let I=∫01tan−1(x2−x+1)dx, which is the integral we need to find.
Recall that for any a>0, tan−1(a)+tan−1(a1)=2π. Applying this with a=x2−x+1 (which is positive as established), we have:
tan−1(x2−x+1)+tan−1(x2−x+11)=2π
Solving for tan−1(x2−x+1):
tan−1(x2−x+1)=2π−tan−1(x2−x+11)
Therefore, the integral I is:
I=∫01(2π−tan−1(x2−x+11))dx=∫012πdx−∫01tan−1(x2−x+11)dx
The first integral is:
∫012πdx=2π×(1−0)=2π
The second integral is exactly the right-hand side of the given equation, which is 2J. So:
I=2π−2J
Now we need to compute J=∫01tan−1xdx. We use integration by parts. Let u=tan−1x and dv=dx. Then du=1+x21dx and v=x. Applying integration by parts:
J=[xtan−1x]01−∫01x⋅1+x21dx
Evaluate the boundary term:
At x=1, tan−1(1)=4π, so 1⋅4π=4π
At x=0, tan−1(0)=0, so 0⋅0=0
Thus, [xtan−1x]01=4π−0=4π
Now compute the integral:
∫011+x2xdx
Use substitution. Let t=1+x2, then dt=2xdx, so xdx=2dt.
When x=0, t=1; when x=1, t=2.
Thus,
∫011+x2xdx=∫12t1⋅2dt=21∫12tdt=21[ln∣t∣]12=21(ln2−ln1)=21ln2
since ln1=0.
Therefore,
J=4π−21ln2
Now substitute back into the expression for I:
I=2π−2J=2π−2(4π−21ln2)=2π−2⋅4π+2⋅21ln2=2π−2π+ln2=ln2
So, ∫01tan−1(1−x+x2)dx=ln2.
Comparing with the options:
A. 2π+ln2
B. ln2
C. 2π−ln4
D. ln4
Hence, the correct answer is Option B.