We need to evaluate the integral ∫xcos−1(1+x21−x2)dx for x>0.
First, recognize that the expression inside the inverse cosine resembles a trigonometric identity. Set x=tanθ, so θ=tan−1x. Since x>0, θ lies in (0,π/2). Then:
1+x21−x2=1+tan2θ1−tan2θ=cos2θ
because 1+tan2θ=sec2θ and cos2θ=sec2θ1−tan2θ=1+tan2θ1−tan2θ. Therefore:
cos−1(1+x21−x2)=cos−1(cos2θ)
Since 2θ∈(0,π), and cos−1(cosα)=α for α∈[0,π], we have:
cos−1(cos2θ)=2θ=2tan−1x
Substituting back into the integral:
∫xcos−1(1+x21−x2)dx=∫x⋅2tan−1xdx=2∫xtan−1xdx
Now, integrate ∫xtan−1xdx using integration by parts. Set u=tan−1x and dv=xdx. Then:
du=1+x21dx,v=∫xdx=2x2
Integration by parts formula is ∫udv=uv−∫vdu, so:
∫xtan−1xdx=(tan−1x)⋅2x2−∫2x2⋅1+x21dx=2x2tan−1x−21∫1+x2x2dx
Simplify the integrand 1+x2x2:
1+x2x2=1+x2(1+x2)−1=1−1+x21
Thus:
∫1+x2x2dx=∫(1−1+x21)dx=∫1dx−∫1+x21dx=x−tan−1x
Substitute back:
∫xtan−1xdx=2x2tan−1x−21(x−tan−1x)=2x2tan−1x−2x+21tan−1x
Combine the tan−1x terms:
=(2x2+21)tan−1x−2x=21(x2+1)tan−1x−2x
Now, recall the original integral had a factor of 2:
2∫xtan−1xdx=2[21(x2+1)tan−1x−2x]=(x2+1)tan−1x−x
Adding the constant of integration:
(x2+1)tan−1x−x+c=−x+(1+x2)tan−1x+c
Comparing with the options:
- A. −x+(1+x2)tan−1x+c
- B. x−(1+x2)cot−1x+c
- C. −x+(1+x2)cot−1x+c
- D. x−(1+x2)tan−1x+c
The result matches option A. Note that cot−1x is not equivalent to tan−1x, so options B and C are different.
Hence, the correct answer is Option A.