Solution:
Key idea: A proper rational function is split into partial fractions before integrating. A quadratic under a square root is written by completing the square, so that ∫ d u a 2 − u 2 = sin − 1 u a \displaystyle\int \dfrac{du}{\sqrt{a^2 - u^2}} = \sin^{-1}\dfrac{u}{a} ∫ a 2 − u 2 d u = sin − 1 a u applies. A product such as log x \log x log x times another function is integrated by parts: ∫ a b u d v = [ u v ] a b − ∫ a b v d u \displaystyle\int_a^b u\,dv = \Big[uv\Big]_a^b - \int_a^b v\,du ∫ a b u d v = [ uv ] a b − ∫ a b v d u .
Step 1 — Part (i): split into partial fractions.
We write 1 x 2 ( x + 1 ) = A x + B x 2 + C x + 1 \dfrac{1}{x^2(x+1)} = \dfrac{A}{x} + \dfrac{B}{x^2} + \dfrac{C}{x+1} x 2 ( x + 1 ) 1 = x A + x 2 B + x + 1 C and clear the denominators.
1 = A x ( x + 1 ) + B ( x + 1 ) + C x 2 1 = Ax(x+1) + B(x+1) + Cx^2 1 = A x ( x + 1 ) + B ( x + 1 ) + C x 2
Putting x = 0 x = 0 x = 0 in this identity leaves only the B B B term, so B B B is 1 1 1 .
Putting x = − 1 x = -1 x = − 1 leaves only the C C C term, so C C C is 1 1 1 .
Comparing the x 2 x^2 x 2 terms gives A + C = 0 A + C = 0 A + C = 0 , so A A A is − 1 -1 − 1 .
1 x 2 ( x + 1 ) = − 1 x + 1 x 2 + 1 x + 1 \dfrac{1}{x^2(x+1)} = -\dfrac{1}{x} + \dfrac{1}{x^2} + \dfrac{1}{x+1} x 2 ( x + 1 ) 1 = − x 1 + x 2 1 + x + 1 1
Step 2 — Part (i): integrate.
Each term is standard. On [ 1 , 3 ] [1, 3] [ 1 , 3 ] both x x x and x + 1 x + 1 x + 1 are positive, so no modulus is needed.
∫ 1 3 d x x 2 ( x + 1 ) = [ − log x − 1 x + log ( x + 1 ) ] 1 3 \int_1^3 \dfrac{dx}{x^2(x+1)} = \left[-\log x - \dfrac{1}{x} + \log(x+1)\right]_1^3 ∫ 1 3 x 2 ( x + 1 ) d x = [ − log x − x 1 + log ( x + 1 ) ] 1 3
Step 3 — Part (i): put in the limits.
At x = 3 x = 3 x = 3 the bracket is − log 3 − 1 3 + log 4 -\log 3 - \dfrac{1}{3} + \log 4 − log 3 − 3 1 + log 4 , and at x = 1 x = 1 x = 1 it is − 1 + log 2 -1 + \log 2 − 1 + log 2 .
[ − log x − 1 x + log ( x + 1 ) ] 1 3 = ( − log 3 − 1 3 + log 4 ) − ( − 1 + log 2 ) = 2 3 + log 4 − log 2 − log 3 = 2 3 + log 4 2 × 3 = 2 3 + log 2 3 \begin{aligned}
\left[-\log x - \dfrac{1}{x} + \log(x+1)\right]_1^3 &= \left(-\log 3 - \dfrac{1}{3} + \log 4\right) - \left(-1 + \log 2\right) \\
&= \dfrac{2}{3} + \log 4 - \log 2 - \log 3 \\
&= \dfrac{2}{3} + \log\dfrac{4}{2\times 3} \\
&= \dfrac{2}{3} + \log\dfrac{2}{3}
\end{aligned} [ − log x − x 1 + log ( x + 1 ) ] 1 3 = ( − log 3 − 3 1 + log 4 ) − ( − 1 + log 2 ) = 3 2 + log 4 − log 2 − log 3 = 3 2 + log 2 × 3 4 = 3 2 + log 3 2
This is the value stated in part (i).
Step 4 — Part (ii): complete the square.
We take out the minus sign and complete the square on x 2 − 5 x x^2 - 5x x 2 − 5 x .
5 x − 6 − x 2 = − ( x 2 − 5 x + 25 4 ) + 25 4 − 6 = ( 1 2 ) 2 − ( x − 5 2 ) 2 \begin{aligned}
5x - 6 - x^2 &= -\left(x^2 - 5x + \dfrac{25}{4}\right) + \dfrac{25}{4} - 6 \\
&= \left(\dfrac{1}{2}\right)^2 - \left(x - \dfrac{5}{2}\right)^2
\end{aligned} 5 x − 6 − x 2 = − ( x 2 − 5 x + 4 25 ) + 4 25 − 6 = ( 2 1 ) 2 − ( x − 2 5 ) 2
Step 5 — Part (ii): use the sin − 1 \sin^{-1} sin − 1 form.
We take u u u as x − 5 2 x - \dfrac{5}{2} x − 2 5 and a a a as 1 2 \dfrac{1}{2} 2 1 . An antiderivative is sin − 1 x − 5 / 2 1 / 2 \sin^{-1}\dfrac{x - 5/2}{1/2} sin − 1 1/2 x − 5/2 , which simplifies to sin − 1 ( 2 x − 5 ) \sin^{-1}(2x - 5) sin − 1 ( 2 x − 5 ) .
The integrand is unbounded at x = 2 x = 2 x = 2 and x = 3 x = 3 x = 3 , where 5 x − 6 − x 2 5x - 6 - x^2 5 x − 6 − x 2 is zero, but this antiderivative has finite values there, so the integral exists.
∫ 2 3 d x 5 x − 6 − x 2 = [ sin − 1 ( 2 x − 5 ) ] 2 3 \int_2^3 \dfrac{dx}{\sqrt{5x-6-x^2}} = \Big[\sin^{-1}(2x-5)\Big]_2^3 ∫ 2 3 5 x − 6 − x 2 d x = [ sin − 1 ( 2 x − 5 ) ] 2 3
Step 6 — Part (ii): put in the limits.
At x = 3 x = 3 x = 3 the argument is 1 1 1 ; at x = 2 x = 2 x = 2 it is − 1 -1 − 1 .
[ sin − 1 ( 2 x − 5 ) ] 2 3 = sin − 1 1 − sin − 1 ( − 1 ) = π 2 + π 2 = π \begin{aligned}
\Big[\sin^{-1}(2x-5)\Big]_2^3 &= \sin^{-1}1 - \sin^{-1}(-1) \\
&= \dfrac{\pi}{2} + \dfrac{\pi}{2} \\
&= \pi
\end{aligned} [ sin − 1 ( 2 x − 5 ) ] 2 3 = sin − 1 1 − sin − 1 ( − 1 ) = 2 π + 2 π = π
This is the value stated in part (ii).
Step 7 — Part (iii): integrate by parts.
We take u = log x u = \log x u = log x and d v = d x ( 1 + x ) 2 dv = \dfrac{dx}{(1+x)^2} d v = ( 1 + x ) 2 d x .
Then d u = d x x du = \dfrac{dx}{x} d u = x d x and v = − 1 1 + x v = -\dfrac{1}{1+x} v = − 1 + x 1 .
∫ 1 3 log x ( 1 + x ) 2 d x = [ − log x 1 + x ] 1 3 + ∫ 1 3 d x x ( 1 + x ) \int_1^3 \dfrac{\log x}{(1+x)^2}\,dx = \left[-\dfrac{\log x}{1+x}\right]_1^3 + \int_1^3 \dfrac{dx}{x(1+x)} ∫ 1 3 ( 1 + x ) 2 log x d x = [ − 1 + x log x ] 1 3 + ∫ 1 3 x ( 1 + x ) d x
Step 8 — Part (iii): the boundary term.
At x = 3 x = 3 x = 3 the term is − log 3 4 -\dfrac{\log 3}{4} − 4 log 3 , and at x = 1 x = 1 x = 1 it is 0 0 0 because log 1 \log 1 log 1 is 0 0 0 .
[ − log x 1 + x ] 1 3 = − 1 4 log 3 \left[-\dfrac{\log x}{1+x}\right]_1^3 = -\dfrac{1}{4}\log 3 [ − 1 + x log x ] 1 3 = − 4 1 log 3
Step 9 — Part (iii): the remaining integral.
We split 1 x ( 1 + x ) = 1 x − 1 1 + x \dfrac{1}{x(1+x)} = \dfrac{1}{x} - \dfrac{1}{1+x} x ( 1 + x ) 1 = x 1 − 1 + x 1 and integrate.
∫ 1 3 d x x ( 1 + x ) = [ log x − log ( 1 + x ) ] 1 3 = ( log 3 − log 4 ) − ( 0 − log 2 ) = log 3 − log 2 \begin{aligned}
\int_1^3 \dfrac{dx}{x(1+x)} &= \Big[\log x - \log(1+x)\Big]_1^3 \\
&= (\log 3 - \log 4) - (0 - \log 2) \\
&= \log 3 - \log 2
\end{aligned} ∫ 1 3 x ( 1 + x ) d x = [ log x − log ( 1 + x ) ] 1 3 = ( log 3 − log 4 ) − ( 0 − log 2 ) = log 3 − log 2
Step 10 — Part (iii): add the two parts.
We combine the boundary term and the remaining integral.
∫ 1 3 log x ( 1 + x ) 2 d x = − 1 4 log 3 + log 3 − log 2 = 3 4 log 3 − log 2 \begin{aligned}
\int_1^3 \dfrac{\log x}{(1+x)^2}\,dx &= -\dfrac{1}{4}\log 3 + \log 3 - \log 2 \\
&= \dfrac{3}{4}\log 3 - \log 2
\end{aligned} ∫ 1 3 ( 1 + x ) 2 log x d x = − 4 1 log 3 + log 3 − log 2 = 4 3 log 3 − log 2
This is the value stated in part (iii).
Therefore, the three integrals equal (i) 2 3 + log 2 3 \dfrac{2}{3} + \log\dfrac{2}{3} 3 2 + log 3 2 , (ii) π \pi π and (iii) 3 4 log 3 − log 2 \dfrac{3}{4}\log 3 - \log 2 4 3 log 3 − log 2 , as required.