We have to evaluate the integral
I = ∫ d x ( 1 + x ) x − x 2 . I=\int \frac{dx}{(1+\sqrt{x})\sqrt{x-x^{2}}}\;. I = ∫ ( 1 + x ) x − x 2 d x .
The radical x − x 2 \sqrt{x-x^{2}} x − x 2 suggests writing the product x ( 1 − x ) x(1-x) x ( 1 − x ) inside a single square root. A standard trigonometric substitution for this form is to let x = sin 2 θ , x=\sin^{2}\theta\;, x = sin 2 θ , because 1 − sin 2 θ = cos 2 θ 1-\sin^{2}\theta=\cos^{2}\theta 1 − sin 2 θ = cos 2 θ turns the whole product into a perfect square.
So we set x = sin 2 θ . x=\sin^{2}\theta\;. x = sin 2 θ . Then x = sin θ \sqrt{x}=\sin\theta x = sin θ and the differential changes according to the rule d x = d d θ ( sin 2 θ ) d θ = 2 sin θ cos θ d θ . dx=\frac{d}{d\theta}(\sin^{2}\theta)\,d\theta=2\sin\theta\cos\theta\,d\theta\;. d x = d θ d ( sin 2 θ ) d θ = 2 sin θ cos θ d θ .
Now we rewrite every piece of the integrand:
x − x 2 = sin 2 θ ( 1 − sin 2 θ ) = sin 2 θ cos 2 θ = sin θ cos θ . \sqrt{x-x^{2}}
=\sqrt{\sin^{2}\theta(1-\sin^{2}\theta)}
=\sqrt{\sin^{2}\theta\cos^{2}\theta}
=\sin\theta\cos\theta\;. x − x 2 = sin 2 θ ( 1 − sin 2 θ ) = sin 2 θ cos 2 θ = sin θ cos θ .
Substituting these expressions into the integral gives
I = ∫ 2 sin θ cos θ d θ ( 1 + sin θ ) ( sin θ cos θ ) = ∫ 2 d θ 1 + sin θ . I=\int\frac{2\sin\theta\cos\theta\,d\theta}
{(1+\sin\theta)\;(\sin\theta\cos\theta)}
=\int\frac{2\,d\theta}{1+\sin\theta}\;. I = ∫ ( 1 + s i n θ ) ( s i n θ c o s θ ) 2 s i n θ c o s θ d θ = ∫ 1 + s i n θ 2 d θ .
Thus the original integral has been reduced to
I = 2 ∫ d θ 1 + sin θ . I=2\int\frac{d\theta}{1+\sin\theta}\;. I = 2 ∫ 1 + s i n θ d θ .
To integrate 1 1 + sin θ , \displaystyle\frac{1}{1+\sin\theta}, 1 + sin θ 1 , we multiply numerator and denominator by its conjugate 1 − sin θ 1-\sin\theta 1 − sin θ so that a Pythagorean identity can be used:
1 1 + sin θ = 1 − sin θ ( 1 + sin θ ) ( 1 − sin θ ) = 1 − sin θ 1 − sin 2 θ = 1 − sin θ cos 2 θ , \frac{1}{1+\sin\theta}
=\frac{1-\sin\theta}{(1+\sin\theta)(1-\sin\theta)}
=\frac{1-\sin\theta}{1-\sin^{2}\theta}
=\frac{1-\sin\theta}{\cos^{2}\theta}\;, 1 + s i n θ 1 = ( 1 + s i n θ ) ( 1 − s i n θ ) 1 − s i n θ = 1 − s i n 2 θ 1 − s i n θ = c o s 2 θ 1 − s i n θ ,
because 1 − sin 2 θ = cos 2 θ . 1-\sin^{2}\theta=\cos^{2}\theta. 1 − sin 2 θ = cos 2 θ .
Therefore
I = 2 ∫ ( 1 cos 2 θ − sin θ cos 2 θ ) d θ = 2 ∫ ( sec 2 θ − sin θ sec 2 θ ) d θ . I=2\int\Bigg(\frac{1}{\cos^{2}\theta}-\frac{\sin\theta}{\cos^{2}\theta}\Bigg)\,d\theta
=2\int\bigl(\sec^{2}\theta-\sin\theta\sec^{2}\theta\bigr)\,d\theta\;. I = 2 ∫ ( c o s 2 θ 1 − c o s 2 θ s i n θ ) d θ = 2 ∫ ( sec 2 θ − sin θ sec 2 θ ) d θ .
We split the integral term by term:
I = 2 [ ∫ sec 2 θ d θ − ∫ sin θ sec 2 θ d θ ] . I=2\Bigl[\int\sec^{2}\theta\,d\theta
-\int\sin\theta\,\sec^{2}\theta\,d\theta\Bigr]\;. I = 2 [ ∫ sec 2 θ d θ − ∫ sin θ sec 2 θ d θ ] .
The standard antiderivatives are
∫ sec 2 θ d θ = tan θ and ∫ sin θ sec 2 θ d θ = ∫ sin θ 1 cos 2 θ d θ = ∫ sin θ cos 2 θ d θ = sec θ , \int\sec^{2}\theta\,d\theta=\tan\theta\quad\text{and}\quad
\int\sin\theta\sec^{2}\theta\,d\theta
=\int\sin\theta\frac{1}{\cos^{2}\theta}\,d\theta
=\int\frac{\sin\theta}{\cos^{2}\theta}\,d\theta
=\sec\theta\;, ∫ sec 2 θ d θ = tan θ and ∫ sin θ sec 2 θ d θ = ∫ sin θ c o s 2 θ 1 d θ = ∫ c o s 2 θ s i n θ d θ = sec θ ,
because the derivative of sec θ \sec\theta sec θ is sec θ tan θ , \sec\theta\tan\theta, sec θ tan θ , and integrating tan θ sec θ \tan\theta\sec\theta tan θ sec θ exactly reproduces sec θ . \sec\theta. sec θ . Hence
I = 2 ( tan θ − sec θ ) + C . I=2\bigl(\tan\theta-\sec\theta\bigr)+C\;. I = 2 ( tan θ − sec θ ) + C .
We must now return to the original variable x . x. x . From the substitution x = sin 2 θ , x=\sin^{2}\theta, x = sin 2 θ , we have
sin θ = x , cos θ = 1 − sin 2 θ = 1 − x . \sin\theta=\sqrt{x},\qquad
\cos\theta=\sqrt{1-\sin^{2}\theta}=\sqrt{1-x}\;. sin θ = x , cos θ = 1 − sin 2 θ = 1 − x .
Therefore
tan θ = sin θ cos θ = x 1 − x = x 1 − x , \tan\theta=\frac{\sin\theta}{\cos\theta}
=\frac{\sqrt{x}}{\sqrt{1-x}}
=\sqrt{\frac{x}{1-x}}, tan θ = c o s θ s i n θ = 1 − x x = 1 − x x ,
and
sec θ = 1 cos θ = 1 1 − x . \sec\theta=\frac{1}{\cos\theta}
=\frac{1}{\sqrt{1-x}}\;. sec θ = c o s θ 1 = 1 − x 1 .
Substituting these back gives
I = 2 ( x 1 − x − 1 1 − x ) + C = 2 ( x − 1 ) 1 − x + C . I=2\Bigl(\sqrt{\frac{x}{1-x}}-\frac{1}{\sqrt{1-x}}\Bigr)+C
=\frac{2\bigl(\sqrt{x}-1\bigr)}{\sqrt{1-x}}+C\;. I = 2 ( 1 − x x − 1 − x 1 ) + C = 1 − x 2 ( x − 1 ) + C .
We now notice that 1 − x = ( 1 − x ) ( 1 + x ) . 1-x=(1-\sqrt{x})(1+\sqrt{x}). 1 − x = ( 1 − x ) ( 1 + x ) . Using this factorisation we rewrite I I I in a more elegant radical form:
2 ( x − 1 ) ( 1 − x ) ( 1 + x ) = − 2 ( 1 − x ) ( 1 − x ) ( 1 + x ) = − 2 1 − x 1 + x = − 2 1 − x 1 + x + C . \frac{2(\sqrt{x}-1)}{\sqrt{(1-\sqrt{x})(1+\sqrt{x})}}
=\frac{-2(1-\sqrt{x})}{\sqrt{(1-\sqrt{x})(1+\sqrt{x})}}
=-2\frac{\sqrt{1-\sqrt{x}}}{\sqrt{1+\sqrt{x}}}
=-2\sqrt{\frac{1-\sqrt{x}}{1+\sqrt{x}}}+C\;. ( 1 − x ) ( 1 + x ) 2 ( x − 1 ) = ( 1 − x ) ( 1 + x ) − 2 ( 1 − x ) = − 2 1 + x 1 − x = − 2 1 + x 1 − x + C .
This expression exactly matches Option C.
Hence, the correct answer is Option C.