Question 7 Evaluate the integral ∫x2+xdx.\int \sqrt{x^2+x}\,dx. Show solutionHide solution+Question 7 - Solution Begin by completing the square: x2+x=(x+12)2−14.x^2+x=\left(x+\tfrac12\right)^2-\tfrac14. Let u=x+12.u=x+\tfrac12. Then du=dx,x2+x=u2−14.du=dx, \qquad \sqrt{x^2+x}=\sqrt{u^2-\tfrac14}. The integral becomes ∫u2−14du.\int \sqrt{u^2-\tfrac14}\,du. Now use a standard substitution for expressions of the form u2−a2\sqrt{u^2-a^2}. Let u=12secθ.u=\tfrac12\sec\theta. Then du=12secθtanθdθ,u2−14=12tanθ.du=\tfrac12\sec\theta\tan\theta\,d\theta, \qquad \sqrt{u^2-\tfrac14}=\tfrac12\tan\theta. Substitute: ∫u2−14du=∫12tanθ⋅12secθtanθdθ=14∫tan2θsecθdθ.\int \sqrt{u^2-\tfrac14}\,du = \int \tfrac12\tan\theta\cdot\tfrac12\sec\theta\tan\theta\,d\theta = \frac14\int \tan^2\theta\sec\theta\,d\theta. Use the identity tan2θ=sec2θ−1\tan^2\theta=\sec^2\theta-1: 14∫(sec3θ−secθ)dθ.\frac14\int (\sec^3\theta-\sec\theta)\,d\theta. Integrate: ∫sec3θdθ=12(secθtanθ+ln|secθ+tanθ|),\int \sec^3\theta\,d\theta =\frac12(\sec\theta\tan\theta+\ln|\sec\theta+\tan\theta|), ∫secθdθ=ln|secθ+tanθ|.\int \sec\theta\,d\theta =\ln|\sec\theta+\tan\theta|. Thus, 14[12secθtanθ−12ln|secθ+tanθ|].\frac14\left[ \frac12\sec\theta\tan\theta -\frac12\ln|\sec\theta+\tan\theta| \right]. Return to xx using secθ=2u=2x+1,tanθ=2x2+x.\sec\theta=2u=2x+1, \qquad \tan\theta=2\sqrt{x^2+x}. Final Answer: 12(x+12)x2+x−18ln|2x+1+2x2+x|+C\boxed{ \frac12\left(x+\tfrac12\right)\sqrt{x^2+x} -\frac18\ln\!\left|2x+1+2\sqrt{x^2+x}\right| + C }