Solution:
Key idea: For a quadratic denominator, complete the square to reach one of the standard forms ∫ d x X 2 + a 2 = 1 a tan − 1 X a + C \displaystyle\int \dfrac{dx}{X^2+a^2} = \dfrac{1}{a}\tan^{-1}\dfrac{X}{a} + C ∫ X 2 + a 2 d x = a 1 tan − 1 a X + C , ∫ d x X 2 − a 2 = 1 2 a log ∣ X − a X + a ∣ + C \displaystyle\int \dfrac{dx}{X^2-a^2} = \dfrac{1}{2a}\log\left|\dfrac{X-a}{X+a}\right| + C ∫ X 2 − a 2 d x = 2 a 1 log X + a X − a + C or ∫ d x a 2 − X 2 = 1 2 a log ∣ a + X a − X ∣ + C \displaystyle\int \dfrac{dx}{a^2-X^2} = \dfrac{1}{2a}\log\left|\dfrac{a+X}{a-X}\right| + C ∫ a 2 − X 2 d x = 2 a 1 log a − X a + X + C , where X X X is linear in x x x with d X = d x dX = dx d X = d x . If x 2 x^2 x 2 has a coefficient other than 1, take it out first.
Step 1 — Part (i): take 9 out and complete the square.
We take out the coefficient 9 of x 2 x^2 x 2 . Half of 2 3 \dfrac{2}{3} 3 2 is 1 3 \dfrac{1}{3} 3 1 , so we add and subtract 1 9 \dfrac{1}{9} 9 1 .
9 x 2 + 6 x + 10 = 9 ( x 2 + 2 3 x + 10 9 ) = 9 [ ( x + 1 3 ) 2 + 1 ] \begin{aligned}
9x^2+6x+10 &= 9\left(x^2+\dfrac{2}{3}x+\dfrac{10}{9}\right) \\
&= 9\left[\left(x+\dfrac{1}{3}\right)^2+1\right]
\end{aligned} 9 x 2 + 6 x + 10 = 9 ( x 2 + 3 2 x + 9 10 ) = 9 [ ( x + 3 1 ) 2 + 1 ]
Step 2 — Part (i): integrate with X = x + 1 3 X = x+\dfrac{1}{3} X = x + 3 1 , a = 1 a = 1 a = 1 .
The factor 1 9 \dfrac{1}{9} 9 1 comes outside and the tan − 1 \tan^{-1} tan − 1 form applies.
∫ d x 9 x 2 + 6 x + 10 = 1 9 ∫ d x ( x + 1 3 ) 2 + 1 2 = 1 9 tan − 1 ( x + 1 3 ) + C = 1 9 tan − 1 3 x + 1 3 + C \begin{aligned}
\int \dfrac{dx}{9x^2+6x+10} &= \dfrac{1}{9}\int \dfrac{dx}{\left(x+\frac{1}{3}\right)^2+1^2} \\
&= \dfrac{1}{9}\tan^{-1}\left(x+\dfrac{1}{3}\right) + C \\
&= \dfrac{1}{9}\tan^{-1}\dfrac{3x+1}{3} + C
\end{aligned} ∫ 9 x 2 + 6 x + 10 d x = 9 1 ∫ ( x + 3 1 ) 2 + 1 2 d x = 9 1 tan − 1 ( x + 3 1 ) + C = 9 1 tan − 1 3 3 x + 1 + C
Step 3 — Part (ii): take 4 out and complete the square.
We take out 4. Half of − 1 -1 − 1 is − 1 2 -\dfrac{1}{2} − 2 1 , so we add and subtract 1 4 \dfrac{1}{4} 4 1 ; then 3 4 − 1 4 = 1 2 \dfrac{3}{4}-\dfrac{1}{4} = \dfrac{1}{2} 4 3 − 4 1 = 2 1 .
4 x 2 − 4 x + 3 = 4 ( x 2 − x + 3 4 ) = 4 [ ( x − 1 2 ) 2 + ( 1 2 ) 2 ] \begin{aligned}
4x^2-4x+3 &= 4\left(x^2-x+\dfrac{3}{4}\right) \\
&= 4\left[\left(x-\dfrac{1}{2}\right)^2+\left(\dfrac{1}{\sqrt{2}}\right)^2\right]
\end{aligned} 4 x 2 − 4 x + 3 = 4 ( x 2 − x + 4 3 ) = 4 [ ( x − 2 1 ) 2 + ( 2 1 ) 2 ]
Step 4 — Part (ii): integrate with X = x − 1 2 X = x-\dfrac{1}{2} X = x − 2 1 , a = 1 2 a = \dfrac{1}{\sqrt{2}} a = 2 1 .
Here 1 a = 2 \dfrac{1}{a} = \sqrt{2} a 1 = 2 and X a = 2 ( x − 1 2 ) \dfrac{X}{a} = \sqrt{2}\left(x-\dfrac{1}{2}\right) a X = 2 ( x − 2 1 ) , which simplifies to 2 x − 1 2 \dfrac{2x-1}{\sqrt{2}} 2 2 x − 1 .
∫ d x 4 x 2 − 4 x + 3 = 1 4 ⋅ 2 tan − 1 2 x − 1 2 + C = 1 2 2 tan − 1 2 x − 1 2 + C \begin{aligned}
\int \dfrac{dx}{4x^2-4x+3} &= \dfrac{1}{4}\cdot\sqrt{2}\tan^{-1}\dfrac{2x-1}{\sqrt{2}} + C \\
&= \dfrac{1}{2\sqrt{2}}\tan^{-1}\dfrac{2x-1}{\sqrt{2}} + C
\end{aligned} ∫ 4 x 2 − 4 x + 3 d x = 4 1 ⋅ 2 tan − 1 2 2 x − 1 + C = 2 2 1 tan − 1 2 2 x − 1 + C
Step 5 — Part (iii): complete the square with a negative x 2 x^2 x 2 .
We write 1 + x − x 2 = 1 − ( x 2 − x ) 1+x-x^2 = 1-(x^2-x) 1 + x − x 2 = 1 − ( x 2 − x ) and add and subtract 1 4 \dfrac{1}{4} 4 1 inside the bracket.
1 + x − x 2 = 5 4 − ( x − 1 2 ) 2 = ( 5 2 ) 2 − ( x − 1 2 ) 2 \begin{aligned}
1+x-x^2 &= \dfrac{5}{4}-\left(x-\dfrac{1}{2}\right)^2 \\
&= \left(\dfrac{\sqrt{5}}{2}\right)^2-\left(x-\dfrac{1}{2}\right)^2
\end{aligned} 1 + x − x 2 = 4 5 − ( x − 2 1 ) 2 = ( 2 5 ) 2 − ( x − 2 1 ) 2
Step 6 — Part (iii): integrate with X = x − 1 2 X = x-\dfrac{1}{2} X = x − 2 1 , a = 5 2 a = \dfrac{\sqrt{5}}{2} a = 2 5 .
This is the a 2 − X 2 a^2-X^2 a 2 − X 2 form with 2 a = 5 2a = \sqrt{5} 2 a = 5 . Multiplying the top and bottom of the fraction by 2 clears the halves.
∫ d x 1 + x − x 2 = 1 5 log ∣ 5 2 + x − 1 2 5 2 − x + 1 2 ∣ + C = 1 5 log ∣ 5 − 1 + 2 x 5 + 1 − 2 x ∣ + C \begin{aligned}
\int \dfrac{dx}{1+x-x^2} &= \dfrac{1}{\sqrt{5}}\log\left|\dfrac{\frac{\sqrt{5}}{2}+x-\frac{1}{2}}{\frac{\sqrt{5}}{2}-x+\frac{1}{2}}\right| + C \\
&= \dfrac{1}{\sqrt{5}}\log\left|\dfrac{\sqrt{5}-1+2x}{\sqrt{5}+1-2x}\right| + C
\end{aligned} ∫ 1 + x − x 2 d x = 5 1 log 2 5 − x + 2 1 2 5 + x − 2 1 + C = 5 1 log 5 + 1 − 2 x 5 − 1 + 2 x + C
Note: Part (iii) holds on intervals where 1 + x − x 2 ≠ 0 1+x-x^2 \ne 0 1 + x − x 2 = 0 , that is, x ≠ 1 ± 5 2 x \ne \dfrac{1 \pm \sqrt{5}}{2} x = 2 1 ± 5 . The same answer can be written as − 1 5 log ∣ 2 x − 1 − 5 2 x − 1 + 5 ∣ + C -\dfrac{1}{\sqrt{5}}\log\left|\dfrac{2x-1-\sqrt{5}}{2x-1+\sqrt{5}}\right| + C − 5 1 log 2 x − 1 + 5 2 x − 1 − 5 + C .
Therefore, (i) 1 9 tan − 1 3 x + 1 3 + C \dfrac{1}{9}\tan^{-1}\dfrac{3x+1}{3} + C 9 1 tan − 1 3 3 x + 1 + C ; (ii) 1 2 2 tan − 1 2 x − 1 2 + C \dfrac{1}{2\sqrt{2}}\tan^{-1}\dfrac{2x-1}{\sqrt{2}} + C 2 2 1 tan − 1 2 2 x − 1 + C ; (iii) 1 5 log ∣ 5 − 1 + 2 x 5 + 1 − 2 x ∣ + C \dfrac{1}{\sqrt{5}}\log\left|\dfrac{\sqrt{5}-1+2x}{\sqrt{5}+1-2x}\right| + C 5 1 log 5 + 1 − 2 x 5 − 1 + 2 x + C .