We have to evaluate the integral
I=∫sin−1(1+xx)dx
and then express the antiderivative in the form
I=A(x)tan−1(x)+B(x)+C,
where C is the constant of integration. The task is to identify the ordered pair (A(x),B(x)) from the four alternatives given.
To handle the inverse-sine function, we introduce the trigonometric substitution
x=tan2θ(θ≥0).
With this choice
x=tanθ,1+x=1+tan2θ=sec2θ,
so that
1+xx=sec2θtanθ=tanθcos2θ=sinθcosθ=2sin2θ.
Hence
sin−1(1+xx)=sin−1(2sin2θ).
On the interval 0≤θ≤2π (which corresponds to x≥0) the principal value of the inverse-sine satisfies
sin−1(2sin2θ)=θ.
Therefore, after the substitution, the integrand simplifies remarkably:
sin−1(1+xx)=θ.
Next we need the differential.
Because x=tan2θ, differentiating both sides gives
dx=2tanθsec2θdθ.
Putting everything into the integral we get
I=∫θ(2tanθsec2θ)dθ=2∫θtanθsec2θdθ.
We integrate this by parts. First, we recognise the standard derivative
dθd(tanθ)=sec2θ.
So we write
u=θ,dv=2tanθsec2θdθ⟹du=dθ,v=tan2θ.
Using the integration-by-parts formula
∫udv=uv−∫vdu,
we have
I=θtan2θ−∫tan2θdθ.
To integrate tan2θ we employ the identity
tan2θ=sec2θ−1,
giving
∫tan2θdθ=∫(sec2θ−1)dθ=tanθ−θ.
Substituting this back,
I=θtan2θ−(tanθ−θ)=θ(tan2θ+1)−tanθ.
But tan2θ+1=sec2θ=1+tan2θ=1+x, and tanθ=x. Also, from x=tan2θ we have θ=tan−1(x). Hence in terms of x the antiderivative becomes
I=(1+x)tan−1(x)−x+C.
Comparing with the required structure I=A(x)tan−1(x)+B(x)+C, we read off
A(x)=x+1,B(x)=−x.
Among the four alternatives, the ordered pair (A(x),B(x))=(x+1,−x) is listed as Option D.
Hence, the correct answer is Option D.