The integral ∫dx(1+x)x−x2\displaystyle\int\frac{dx}{(1+\sqrt x)\sqrt{x-x^2}}∫(1+x)x−x2dx is equal to :
(where C is a constant of integration.)
Official answer: B
Put x=cos2θx=\cos^2\thetax=cos2θ: dx=−2sinθcosθ dθdx=-2\sin\theta\cos\theta\,d\thetadx=−2sinθcosθdθ and x−x2=sinθcosθ\sqrt{x-x^2}=\sin\theta\cos\thetax−x2=sinθcosθ. The integral becomes −∫2 dθ1+cosθ=−2tanθ2+C-\int\frac{2\,d\theta}{1+\cos\theta}=-2\tan\frac\theta2+C−∫1+cosθ2dθ=−2tan2θ+C, and tanθ2=1−x1+x\tan\frac\theta2=\sqrt{\frac{1-\sqrt x}{1+\sqrt x}}tan2θ=1+x1−x.