How to use these solutions#
These are full worked solutions to the eight practice questions in Special Forms, Partial Fractions and Integration by Parts . Try each integral yourself first, then follow the steps here to see where your working agrees or differs. The best check on any integral is to differentiate your answer: you should get back the function you started with.
The problem#
Find (a) ∫ d x x 2 − 25 \displaystyle \int\frac{dx}{x^2 - 25} ∫ x 2 − 25 d x ; (b) ∫ d x 4 + 9 x 2 \displaystyle \int\frac{dx}{4 + 9x^2} ∫ 4 + 9 x 2 d x ; (c) ∫ d x x 2 + 16 \displaystyle \int\frac{dx}{\sqrt{x^2 + 16}} ∫ x 2 + 16 d x .
Understanding the problem#
Each integrand matches one of the standard forms in the lesson once you identify the constant a a a . In (b) the coefficient 9 9 9 on x 2 x^2 x 2 must be taken out first.
The idea#
Use
∫ d x x 2 − a 2 = 1 2 a log ∣ x − a x + a ∣ , ∫ d x x 2 + a 2 = 1 a tan − 1 x a , ∫ d x x 2 + a 2 = log ∣ x + x 2 + a 2 ∣ . \displaystyle \int\frac{dx}{x^2 - a^2} = \frac{1}{2a}\log\left\lvert\frac{x - a}{x + a}\right\rvert,\quad \int\frac{dx}{x^2 + a^2} = \frac1a\tan^{-1}\frac xa,\quad \int\frac{dx}{\sqrt{x^2 + a^2}} = \log\left\lvert x + \sqrt{x^2 + a^2}\right\rvert. ∫ x 2 − a 2 d x = 2 a 1 log x + a x − a , ∫ x 2 + a 2 d x = a 1 tan − 1 a x , ∫ x 2 + a 2 d x = log x + x 2 + a 2 .
Step-by-step solution#
Part (a)
Step 1. x 2 − 25 = x 2 − 5 2 x^2 - 25 = x^2 - 5^2 x 2 − 25 = x 2 − 5 2 , so a = 5 a = 5 a = 5 .
Step 2. Apply the formula.
∫ d x x 2 − 25 = 1 2 × 5 log ∣ x − 5 x + 5 ∣ + C = 1 10 log ∣ x − 5 x + 5 ∣ + C . \displaystyle \int\frac{dx}{x^2 - 25} = \frac{1}{2 \times 5}\log\left\lvert\frac{x - 5}{x + 5}\right\rvert + C = \frac{1}{10}\log\left\lvert\frac{x - 5}{x + 5}\right\rvert + C. ∫ x 2 − 25 d x = 2 × 5 1 log x + 5 x − 5 + C = 10 1 log x + 5 x − 5 + C .
Part (b)
Step 1. Take out the 9 9 9 so that x 2 x^2 x 2 has coefficient 1 1 1 .
∫ d x 4 + 9 x 2 = 1 9 ∫ d x x 2 + 4 9 = 1 9 ∫ d x x 2 + ( 2 3 ) 2 . \displaystyle \int\frac{dx}{4 + 9x^2} = \frac19\int\frac{dx}{x^2 + \frac49} = \frac19\int\frac{dx}{x^2 + \left(\frac23\right)^2}. ∫ 4 + 9 x 2 d x = 9 1 ∫ x 2 + 9 4 d x = 9 1 ∫ x 2 + ( 3 2 ) 2 d x .
Step 2. Now a = 2 3 \displaystyle a = \frac23 a = 3 2 , and 1 a = 3 2 \displaystyle \frac1a = \frac32 a 1 = 2 3 .
1 9 ⋅ 3 2 tan − 1 x 2 / 3 + C = 1 6 tan − 1 3 x 2 + C . \displaystyle \frac19 \cdot \frac32\tan^{-1}\frac{x}{2/3} + C = \frac16\tan^{-1}\frac{3x}{2} + C. 9 1 ⋅ 2 3 tan − 1 2/3 x + C = 6 1 tan − 1 2 3 x + C .
Part (c)
Step 1. x 2 + 16 = x 2 + 4 2 x^2 + 16 = x^2 + 4^2 x 2 + 16 = x 2 + 4 2 , so a = 4 a = 4 a = 4 .
Step 2. Apply the formula.
∫ d x x 2 + 16 = log ∣ x + x 2 + 16 ∣ + C . \displaystyle \int\frac{dx}{\sqrt{x^2 + 16}} = \log\left\lvert x + \sqrt{x^2 + 16}\right\rvert + C. ∫ x 2 + 16 d x = log x + x 2 + 16 + C .
Checking the answer#
(b) Differentiate: 1 6 ⋅ 1 1 + 9 x 2 4 ⋅ 3 2 = 1 4 ⋅ 4 4 + 9 x 2 = 1 4 + 9 x 2 \displaystyle \frac16 \cdot \frac{1}{1 + \frac{9x^2}{4}} \cdot \frac32 = \frac14 \cdot \frac{4}{4 + 9x^2} = \frac{1}{4 + 9x^2} 6 1 ⋅ 1 + 4 9 x 2 1 ⋅ 2 3 = 4 1 ⋅ 4 + 9 x 2 4 = 4 + 9 x 2 1 . Correct.
Answer#
(a) 1 10 log ∣ x − 5 x + 5 ∣ + C \displaystyle \frac{1}{10}\log\left\lvert\frac{x - 5}{x + 5}\right\rvert + C 10 1 log x + 5 x − 5 + C ; (b) 1 6 tan − 1 3 x 2 + C \displaystyle \frac16\tan^{-1}\frac{3x}{2} + C 6 1 tan − 1 2 3 x + C ; (c) log ∣ x + x 2 + 16 ∣ + C \log\left\lvert x + \sqrt{x^2 + 16}\right\rvert + C log x + x 2 + 16 + C .
Common mistake to avoid#
In (b), do not use a = 2 a = 2 a = 2 and forget the 9 9 9 . The formula needs the form x 2 + a 2 x^2 + a^2 x 2 + a 2 with coefficient 1 1 1 on x 2 x^2 x 2 .
Question 2: Completing the square#
The problem#
Find (a) ∫ d x x 2 − 4 x + 13 \displaystyle \int\frac{dx}{x^2 - 4x + 13} ∫ x 2 − 4 x + 13 d x ; (b) ∫ d x 5 − 4 x − x 2 \displaystyle \int\frac{dx}{\sqrt{5 - 4x - x^2}} ∫ 5 − 4 x − x 2 d x .
Understanding the problem#
The quadratics are not yet in a standard form. After completing the square each becomes ( x − h ) 2 + a 2 (x - h)^2 + a^2 ( x − h ) 2 + a 2 or a 2 − ( x − h ) 2 a^2 - (x - h)^2 a 2 − ( x − h ) 2 .
The idea#
Complete the square, then use the tan − 1 \tan^{-1} tan − 1 form for (a) and the sin − 1 \sin^{-1} sin − 1 form for (b), with x − h x - h x − h in place of x x x .
Step-by-step solution#
Part (a)
Step 1. Complete the square: half of − 4 -4 − 4 is − 2 -2 − 2 .
x 2 − 4 x + 13 = ( x 2 − 4 x + 4 ) + 9 = ( x − 2 ) 2 + 3 2 . x^2 - 4x + 13 = (x^2 - 4x + 4) + 9 = (x - 2)^2 + 3^2. x 2 − 4 x + 13 = ( x 2 − 4 x + 4 ) + 9 = ( x − 2 ) 2 + 3 2 .
Step 2. Apply ∫ d x X 2 + a 2 = 1 a tan − 1 X a \displaystyle \int\frac{dx}{X^2 + a^2} = \frac1a\tan^{-1}\frac Xa ∫ X 2 + a 2 d x = a 1 tan − 1 a X with X = x − 2 X = x - 2 X = x − 2 , a = 3 a = 3 a = 3 .
∫ d x ( x − 2 ) 2 + 3 2 = 1 3 tan − 1 x − 2 3 + C . \displaystyle \int\frac{dx}{(x - 2)^2 + 3^2} = \frac13\tan^{-1}\frac{x - 2}{3} + C. ∫ ( x − 2 ) 2 + 3 2 d x = 3 1 tan − 1 3 x − 2 + C .
Part (b)
Step 1. Take out a minus sign from the x x x terms and complete the square.
5 − 4 x − x 2 = 5 − ( x 2 + 4 x ) = 5 − [ ( x + 2 ) 2 − 4 ] = 9 − ( x + 2 ) 2 = 3 2 − ( x + 2 ) 2 .
\begin{aligned}
5 - 4x - x^2 &= 5 - (x^2 + 4x) \\
&= 5 - \bigl[(x + 2)^2 - 4\bigr] \\
&= 9 - (x + 2)^2 = 3^2 - (x + 2)^2.
\end{aligned}
5 − 4 x − x 2 = 5 − ( x 2 + 4 x ) = 5 − [ ( x + 2 ) 2 − 4 ] = 9 − ( x + 2 ) 2 = 3 2 − ( x + 2 ) 2 .
Step 2. Apply ∫ d x a 2 − X 2 = sin − 1 X a \displaystyle \int\frac{dx}{\sqrt{a^2 - X^2}} = \sin^{-1}\frac Xa ∫ a 2 − X 2 d x = sin − 1 a X with X = x + 2 X = x + 2 X = x + 2 , a = 3 a = 3 a = 3 .
∫ d x 9 − ( x + 2 ) 2 = sin − 1 x + 2 3 + C . \displaystyle \int\frac{dx}{\sqrt{9 - (x + 2)^2}} = \sin^{-1}\frac{x + 2}{3} + C. ∫ 9 − ( x + 2 ) 2 d x = sin − 1 3 x + 2 + C .
Checking the answer#
(b) Differentiate: 1 1 − ( x + 2 ) 2 9 ⋅ 1 3 = 1 9 − ( x + 2 ) 2 \displaystyle \frac{1}{\sqrt{1 - \frac{(x + 2)^2}{9}}} \cdot \frac13 = \frac{1}{\sqrt{9 - (x + 2)^2}} 1 − 9 ( x + 2 ) 2 1 ⋅ 3 1 = 9 − ( x + 2 ) 2 1 , and 9 − ( x + 2 ) 2 = 5 − 4 x − x 2 9 - (x + 2)^2 = 5 - 4x - x^2 9 − ( x + 2 ) 2 = 5 − 4 x − x 2 . Correct.
Answer#
(a) 1 3 tan − 1 x − 2 3 + C \displaystyle \frac13\tan^{-1}\frac{x - 2}{3} + C 3 1 tan − 1 3 x − 2 + C ; (b) sin − 1 x + 2 3 + C \displaystyle \sin^{-1}\frac{x + 2}{3} + C sin − 1 3 x + 2 + C .
Question 3: A linear term over a quadratic#
The problem#
Find ∫ 3 x − 2 x 2 + 2 x + 5 d x \displaystyle \int\frac{3x - 2}{x^2 + 2x + 5}\,dx ∫ x 2 + 2 x + 5 3 x − 2 d x .
Understanding the problem#
The numerator is linear and the denominator a quadratic that does not factorise (2 2 − 20 < 0 2^2 - 20 < 0 2 2 − 20 < 0 ). This is the pattern of Example 4 in the lesson.
The idea#
Write the numerator as (a multiple of the derivative of the denominator) + + + (a constant). The first part integrates to a log \log log ; the second, after completing the square, to a tan − 1 \tan^{-1} tan − 1 .
Step-by-step solution#
Step 1. The derivative of the denominator is 2 x + 2 2x + 2 2 x + 2 . Find λ \lambda λ and μ \mu μ with 3 x − 2 = λ ( 2 x + 2 ) + μ 3x - 2 = \lambda(2x + 2) + \mu 3 x − 2 = λ ( 2 x + 2 ) + μ .
Comparing coefficients of x x x : 2 λ = 3 ⇒ λ = 3 2 \displaystyle 2\lambda = 3 \Rightarrow \lambda = \frac32 2 λ = 3 ⇒ λ = 2 3 . Constants: 2 λ + μ = − 2 ⇒ 3 + μ = − 2 ⇒ μ = − 5 2\lambda + \mu = -2 \Rightarrow 3 + \mu = -2 \Rightarrow \mu = -5 2 λ + μ = − 2 ⇒ 3 + μ = − 2 ⇒ μ = − 5 .
3 x − 2 = 3 2 ( 2 x + 2 ) − 5. \displaystyle 3x - 2 = \frac32(2x + 2) - 5. 3 x − 2 = 2 3 ( 2 x + 2 ) − 5.
Step 2. Split the integral.
∫ 3 x − 2 x 2 + 2 x + 5 d x = 3 2 ∫ 2 x + 2 x 2 + 2 x + 5 d x − 5 ∫ d x x 2 + 2 x + 5 . \displaystyle \int\frac{3x - 2}{x^2 + 2x + 5}\,dx = \frac32\int\frac{2x + 2}{x^2 + 2x + 5}\,dx - 5\int\frac{dx}{x^2 + 2x + 5}. ∫ x 2 + 2 x + 5 3 x − 2 d x = 2 3 ∫ x 2 + 2 x + 5 2 x + 2 d x − 5 ∫ x 2 + 2 x + 5 d x .
Step 3. First integral: the numerator is the derivative of the denominator, so it gives a logarithm (the denominator is always positive, so no modulus is needed).
3 2 log ( x 2 + 2 x + 5 ) . \displaystyle \frac32\log(x^2 + 2x + 5). 2 3 log ( x 2 + 2 x + 5 ) .
Step 4. Second integral: complete the square, x 2 + 2 x + 5 = ( x + 1 ) 2 + 2 2 x^2 + 2x + 5 = (x + 1)^2 + 2^2 x 2 + 2 x + 5 = ( x + 1 ) 2 + 2 2 .
5 ∫ d x ( x + 1 ) 2 + 2 2 = 5 2 tan − 1 x + 1 2 . \displaystyle 5\int\frac{dx}{(x + 1)^2 + 2^2} = \frac52\tan^{-1}\frac{x + 1}{2}. 5 ∫ ( x + 1 ) 2 + 2 2 d x = 2 5 tan − 1 2 x + 1 .
Step 5. Combine.
∫ 3 x − 2 x 2 + 2 x + 5 d x = 3 2 log ( x 2 + 2 x + 5 ) − 5 2 tan − 1 x + 1 2 + C . \displaystyle \int\frac{3x - 2}{x^2 + 2x + 5}\,dx = \frac32\log(x^2 + 2x + 5) - \frac52\tan^{-1}\frac{x + 1}{2} + C. ∫ x 2 + 2 x + 5 3 x − 2 d x = 2 3 log ( x 2 + 2 x + 5 ) − 2 5 tan − 1 2 x + 1 + C .
Checking the answer#
Differentiate: 3 2 ⋅ 2 x + 2 x 2 + 2 x + 5 − 5 2 ⋅ 2 ( x + 1 ) 2 + 4 = 3 x + 3 − 5 x 2 + 2 x + 5 = 3 x − 2 x 2 + 2 x + 5 \displaystyle \frac32 \cdot \frac{2x + 2}{x^2 + 2x + 5} - \frac52 \cdot \frac{2}{(x + 1)^2 + 4} = \frac{3x + 3 - 5}{x^2 + 2x + 5} = \frac{3x - 2}{x^2 + 2x + 5} 2 3 ⋅ x 2 + 2 x + 5 2 x + 2 − 2 5 ⋅ ( x + 1 ) 2 + 4 2 = x 2 + 2 x + 5 3 x + 3 − 5 = x 2 + 2 x + 5 3 x − 2 . Correct.
Answer#
3 2 log ( x 2 + 2 x + 5 ) − 5 2 tan − 1 x + 1 2 + C \displaystyle \frac32\log(x^2 + 2x + 5) - \frac52\tan^{-1}\frac{x + 1}{2} + C 2 3 log ( x 2 + 2 x + 5 ) − 2 5 tan − 1 2 x + 1 + C .
Question 4: Partial fractions#
The problem#
Find (a) ∫ x + 4 x 2 − 3 x + 2 d x \displaystyle \int\frac{x + 4}{x^2 - 3x + 2}\,dx ∫ x 2 − 3 x + 2 x + 4 d x ; (b) ∫ 2 x ( x + 1 ) ( x 2 + 1 ) d x \displaystyle \int\frac{2x}{(x + 1)(x^2 + 1)}\,dx ∫ ( x + 1 ) ( x 2 + 1 ) 2 x d x .
Understanding the problem#
Both are proper rational functions (the top has lower degree than the bottom). In (a) the denominator factorises into two linear factors; in (b) there is one linear factor and one quadratic factor that does not factorise.
The idea#
Split into partial fractions using the patterns in the lesson, find the constants, and integrate each piece.
Step-by-step solution#
Part (a)
Step 1. Factorise: x 2 − 3 x + 2 = ( x − 1 ) ( x − 2 ) x^2 - 3x + 2 = (x - 1)(x - 2) x 2 − 3 x + 2 = ( x − 1 ) ( x − 2 ) . Write
x + 4 ( x − 1 ) ( x − 2 ) = A x − 1 + B x − 2 ⇒ x + 4 = A ( x − 2 ) + B ( x − 1 ) . \displaystyle \frac{x + 4}{(x - 1)(x - 2)} = \frac{A}{x - 1} + \frac{B}{x - 2} \;\Rightarrow\; x + 4 = A(x - 2) + B(x - 1). ( x − 1 ) ( x − 2 ) x + 4 = x − 1 A + x − 2 B ⇒ x + 4 = A ( x − 2 ) + B ( x − 1 ) .
Step 2. Put x = 1 x = 1 x = 1 : 5 = A ( − 1 ) 5 = A(-1) 5 = A ( − 1 ) , so A = − 5 A = -5 A = − 5 . Put x = 2 x = 2 x = 2 : 6 = B ( 1 ) 6 = B(1) 6 = B ( 1 ) , so B = 6 B = 6 B = 6 .
Step 3. Integrate.
∫ ( − 5 x − 1 + 6 x − 2 ) d x = − 5 log ∣ x − 1 ∣ + 6 log ∣ x − 2 ∣ + C . \displaystyle \int\left(\frac{-5}{x - 1} + \frac{6}{x - 2}\right)dx = -5\log\lvert x - 1 \rvert + 6\log\lvert x - 2 \rvert + C. ∫ ( x − 1 − 5 + x − 2 6 ) d x = − 5 log ∣ x − 1 ∣ + 6 log ∣ x − 2 ∣ + C .
Part (b)
Step 1. Write
2 x ( x + 1 ) ( x 2 + 1 ) = A x + 1 + B x + C x 2 + 1 ⇒ 2 x = A ( x 2 + 1 ) + ( B x + C ) ( x + 1 ) . \displaystyle \frac{2x}{(x + 1)(x^2 + 1)} = \frac{A}{x + 1} + \frac{Bx + C}{x^2 + 1} \;\Rightarrow\; 2x = A(x^2 + 1) + (Bx + C)(x + 1). ( x + 1 ) ( x 2 + 1 ) 2 x = x + 1 A + x 2 + 1 B x + C ⇒ 2 x = A ( x 2 + 1 ) + ( B x + C ) ( x + 1 ) .
Step 2. Put x = − 1 x = -1 x = − 1 : − 2 = A ( 2 ) -2 = A(2) − 2 = A ( 2 ) , so A = − 1 A = -1 A = − 1 .
Step 3. Compare coefficients. x 2 x^2 x 2 : 0 = A + B 0 = A + B 0 = A + B , so B = 1 B = 1 B = 1 . Constant term: 0 = A + C 0 = A + C 0 = A + C , so C = 1 C = 1 C = 1 .
2 x ( x + 1 ) ( x 2 + 1 ) = − 1 x + 1 + x + 1 x 2 + 1 . \displaystyle \frac{2x}{(x + 1)(x^2 + 1)} = \frac{-1}{x + 1} + \frac{x + 1}{x^2 + 1}. ( x + 1 ) ( x 2 + 1 ) 2 x = x + 1 − 1 + x 2 + 1 x + 1 .
Step 4. Split the second fraction as x x 2 + 1 + 1 x 2 + 1 \displaystyle \frac{x}{x^2 + 1} + \frac{1}{x^2 + 1} x 2 + 1 x + x 2 + 1 1 and integrate each part.
∫ − 1 x + 1 d x = − log ∣ x + 1 ∣ , ∫ x x 2 + 1 d x = 1 2 log ( x 2 + 1 ) , ∫ 1 x 2 + 1 d x = tan − 1 x . \displaystyle \begin{aligned}
\int\frac{-1}{x + 1}\,dx &= -\log\lvert x + 1 \rvert, \\
\int\frac{x}{x^2 + 1}\,dx &= \frac12\log(x^2 + 1), \\
\int\frac{1}{x^2 + 1}\,dx &= \tan^{-1}x.
\end{aligned}
∫ x + 1 − 1 d x ∫ x 2 + 1 x d x ∫ x 2 + 1 1 d x = − log ∣ x + 1 ∣ , = 2 1 log ( x 2 + 1 ) , = tan − 1 x .
Step 5. Combine.
− log ∣ x + 1 ∣ + 1 2 log ( x 2 + 1 ) + tan − 1 x + C . \displaystyle -\log\lvert x + 1 \rvert + \frac12\log(x^2 + 1) + \tan^{-1}x + C. − log ∣ x + 1 ∣ + 2 1 log ( x 2 + 1 ) + tan − 1 x + C .
Checking the answer#
(b) Check the x x x coefficient too: B + C = 1 + 1 = 2 B + C = 1 + 1 = 2 B + C = 1 + 1 = 2 , which matches 2 x 2x 2 x on the left. All three coefficients agree.
Answer#
(a) 6 log ∣ x − 2 ∣ − 5 log ∣ x − 1 ∣ + C 6\log\lvert x - 2 \rvert - 5\log\lvert x - 1 \rvert + C 6 log ∣ x − 2 ∣ − 5 log ∣ x − 1 ∣ + C ; (b) − log ∣ x + 1 ∣ + 1 2 log ( x 2 + 1 ) + tan − 1 x + C \displaystyle -\log\lvert x + 1 \rvert + \frac12\log(x^2 + 1) + \tan^{-1}x + C − log ∣ x + 1 ∣ + 2 1 log ( x 2 + 1 ) + tan − 1 x + C .
Question 5: Integration by parts#
The problem#
Find (a) ∫ x sin 3 x d x \displaystyle \int x\sin 3x\,dx ∫ x sin 3 x d x ; (b) ∫ x log ( 2 x ) d x \displaystyle \int x\log(2x)\,dx ∫ x log ( 2 x ) d x ; (c) ∫ x 2 e − x d x \displaystyle \int x^2e^{-x}\,dx ∫ x 2 e − x d x .
Understanding the problem#
Each integrand is a product of two different kinds of function, so integration by parts is needed.
The idea#
∫ u v d x = u ∫ v d x − ∫ ( u ′ ∫ v d x ) d x , \displaystyle \int u\,v\,dx = u\int v\,dx - \int\left(u'\int v\,dx\right)dx, ∫ u v d x = u ∫ v d x − ∫ ( u ′ ∫ v d x ) d x ,
choosing u u u by ILATE (Inverse trig, Log, Algebraic, Trig, Exponential). In (a) and (c), u u u is the algebraic factor; in (b), u = log ( 2 x ) u = \log(2x) u = log ( 2 x ) .
Step-by-step solution#
Part (a)
Step 1. Take u = x u = x u = x , v = sin 3 x v = \sin 3x v = sin 3 x . Then u ′ = 1 u' = 1 u ′ = 1 and ∫ sin 3 x d x = − cos 3 x 3 \displaystyle \int\sin 3x\,dx = -\frac{\cos 3x}{3} ∫ sin 3 x d x = − 3 cos 3 x .
Step 2. Apply the formula.
∫ x sin 3 x d x = x ( − cos 3 x 3 ) − ∫ 1 ⋅ ( − cos 3 x 3 ) d x = − x cos 3 x 3 + 1 3 ∫ cos 3 x d x = − x cos 3 x 3 + sin 3 x 9 + C . \displaystyle \begin{aligned}
\int x\sin 3x\,dx &= x\left(-\frac{\cos 3x}{3}\right) - \int 1 \cdot \left(-\frac{\cos 3x}{3}\right)dx \\
&= -\frac{x\cos 3x}{3} + \frac13\int\cos 3x\,dx \\
&= -\frac{x\cos 3x}{3} + \frac{\sin 3x}{9} + C.
\end{aligned}
∫ x sin 3 x d x = x ( − 3 cos 3 x ) − ∫ 1 ⋅ ( − 3 cos 3 x ) d x = − 3 x cos 3 x + 3 1 ∫ cos 3 x d x = − 3 x cos 3 x + 9 sin 3 x + C .
Part (b)
Step 1. Take u = log ( 2 x ) u = \log(2x) u = log ( 2 x ) (L comes before A), v = x v = x v = x . Then u ′ = 2 2 x = 1 x \displaystyle u' = \frac{2}{2x} = \frac1x u ′ = 2 x 2 = x 1 and ∫ x d x = x 2 2 \displaystyle \int x\,dx = \frac{x^2}{2} ∫ x d x = 2 x 2 .
Step 2. Apply the formula.
∫ x log ( 2 x ) d x = x 2 2 log ( 2 x ) − ∫ 1 x ⋅ x 2 2 d x = x 2 2 log ( 2 x ) − ∫ x 2 d x = x 2 2 log ( 2 x ) − x 2 4 + C . \displaystyle \begin{aligned}
\int x\log(2x)\,dx &= \frac{x^2}{2}\log(2x) - \int\frac1x \cdot \frac{x^2}{2}\,dx \\
&= \frac{x^2}{2}\log(2x) - \int\frac x2\,dx \\
&= \frac{x^2}{2}\log(2x) - \frac{x^2}{4} + C.
\end{aligned}
∫ x log ( 2 x ) d x = 2 x 2 log ( 2 x ) − ∫ x 1 ⋅ 2 x 2 d x = 2 x 2 log ( 2 x ) − ∫ 2 x d x = 2 x 2 log ( 2 x ) − 4 x 2 + C .
Part (c)
Step 1. Take u = x 2 u = x^2 u = x 2 , v = e − x v = e^{-x} v = e − x . Then u ′ = 2 x u' = 2x u ′ = 2 x and ∫ e − x d x = − e − x \displaystyle \int e^{-x}\,dx = -e^{-x} ∫ e − x d x = − e − x .
∫ x 2 e − x d x = − x 2 e − x + ∫ 2 x e − x d x . \displaystyle \int x^2e^{-x}\,dx = -x^2e^{-x} + \int 2xe^{-x}\,dx. ∫ x 2 e − x d x = − x 2 e − x + ∫ 2 x e − x d x .
Step 2. The new integral still has a product, so use parts again with u = 2 x u = 2x u = 2 x , v = e − x v = e^{-x} v = e − x .
∫ 2 x e − x d x = − 2 x e − x + ∫ 2 e − x d x = − 2 x e − x − 2 e − x . \displaystyle \int 2xe^{-x}\,dx = -2xe^{-x} + \int 2e^{-x}\,dx = -2xe^{-x} - 2e^{-x}. ∫ 2 x e − x d x = − 2 x e − x + ∫ 2 e − x d x = − 2 x e − x − 2 e − x .
Step 3. Combine and factor.
∫ x 2 e − x d x = − x 2 e − x − 2 x e − x − 2 e − x + C = − e − x ( x 2 + 2 x + 2 ) + C . \displaystyle \int x^2e^{-x}\,dx = -x^2e^{-x} - 2xe^{-x} - 2e^{-x} + C = -e^{-x}(x^2 + 2x + 2) + C. ∫ x 2 e − x d x = − x 2 e − x − 2 x e − x − 2 e − x + C = − e − x ( x 2 + 2 x + 2 ) + C .
Checking the answer#
(c) Differentiate: e − x ( x 2 + 2 x + 2 ) − e − x ( 2 x + 2 ) = x 2 e − x e^{-x}(x^2 + 2x + 2) - e^{-x}(2x + 2) = x^2e^{-x} e − x ( x 2 + 2 x + 2 ) − e − x ( 2 x + 2 ) = x 2 e − x . Correct.
Answer#
(a) − x cos 3 x 3 + sin 3 x 9 + C \displaystyle -\frac{x\cos 3x}{3} + \frac{\sin 3x}{9} + C − 3 x cos 3 x + 9 sin 3 x + C ; (b) x 2 2 log ( 2 x ) − x 2 4 + C \displaystyle \frac{x^2}{2}\log(2x) - \frac{x^2}{4} + C 2 x 2 log ( 2 x ) − 4 x 2 + C ; (c) − e − x ( x 2 + 2 x + 2 ) + C -e^{-x}(x^2 + 2x + 2) + C − e − x ( x 2 + 2 x + 2 ) + C .
Common mistake to avoid#
In (b), choosing u = x u = x u = x would force you to integrate log ( 2 x ) \log(2x) log ( 2 x ) first, which is harder. Follow ILATE.
Question 6: sin − 1 x \sin^{-1}x sin − 1 x and an e x ( f + f ′ ) e^x(f + f') e x ( f + f ′ ) integral#
The problem#
Find (a) ∫ sin − 1 x d x \displaystyle \int\sin^{-1}x\,dx ∫ sin − 1 x d x ; (b) ∫ e x ( tan x + sec 2 x ) d x \displaystyle \int e^x\left(\tan x + \sec^2 x\right)dx ∫ e x ( tan x + sec 2 x ) d x .
Understanding the problem#
(a) has only one function, but you can treat it as sin − 1 x × 1 \sin^{-1}x \times 1 sin − 1 x × 1 and use parts. (b) has the special pattern e x ( f + f ′ ) e^x(f + f') e x ( f + f ′ ) .
The idea#
(a) Parts with u = sin − 1 x u = \sin^{-1}x u = sin − 1 x , v = 1 v = 1 v = 1 . (b) Use ∫ e x ( f ( x ) + f ′ ( x ) ) d x = e x f ( x ) + C \displaystyle \int e^x\bigl(f(x) + f'(x)\bigr)dx = e^xf(x) + C ∫ e x ( f ( x ) + f ′ ( x ) ) d x = e x f ( x ) + C with f ( x ) = tan x f(x) = \tan x f ( x ) = tan x .
Step-by-step solution#
Part (a)
Step 1. Take u = sin − 1 x u = \sin^{-1}x u = sin − 1 x , v = 1 v = 1 v = 1 . Then u ′ = 1 1 − x 2 \displaystyle u' = \frac{1}{\sqrt{1 - x^2}} u ′ = 1 − x 2 1 and ∫ 1 d x = x \displaystyle \int 1\,dx = x ∫ 1 d x = x .
∫ sin − 1 x d x = x sin − 1 x − ∫ x 1 − x 2 d x . \displaystyle \int\sin^{-1}x\,dx = x\sin^{-1}x - \int\frac{x}{\sqrt{1 - x^2}}\,dx. ∫ sin − 1 x d x = x sin − 1 x − ∫ 1 − x 2 x d x .
Step 2. For the remaining integral put t = 1 − x 2 t = 1 - x^2 t = 1 − x 2 , so d t = − 2 x d x dt = -2x\,dx d t = − 2 x d x .
∫ x 1 − x 2 d x = − 1 2 ∫ t − 1 / 2 d t = − t = − 1 − x 2 . \displaystyle \int\frac{x}{\sqrt{1 - x^2}}\,dx = -\frac12\int t^{-1/2}\,dt = -\sqrt t = -\sqrt{1 - x^2}. ∫ 1 − x 2 x d x = − 2 1 ∫ t − 1/2 d t = − t = − 1 − x 2 .
Step 3. Substitute back.
∫ sin − 1 x d x = x sin − 1 x + 1 − x 2 + C . \displaystyle \int\sin^{-1}x\,dx = x\sin^{-1}x + \sqrt{1 - x^2} + C. ∫ sin − 1 x d x = x sin − 1 x + 1 − x 2 + C .
Part (b)
Step 1. Let f ( x ) = tan x f(x) = \tan x f ( x ) = tan x . Then f ′ ( x ) = sec 2 x f'(x) = \sec^2 x f ′ ( x ) = sec 2 x , so the integrand is exactly e x ( f + f ′ ) e^x(f + f') e x ( f + f ′ ) .
Step 2. Apply the rule.
∫ e x ( tan x + sec 2 x ) d x = e x tan x + C . \displaystyle \int e^x(\tan x + \sec^2 x)\,dx = e^x\tan x + C. ∫ e x ( tan x + sec 2 x ) d x = e x tan x + C .
Checking the answer#
(a) Differentiate: sin − 1 x + x 1 − x 2 − x 1 − x 2 = sin − 1 x \displaystyle \sin^{-1}x + \frac{x}{\sqrt{1 - x^2}} - \frac{x}{\sqrt{1 - x^2}} = \sin^{-1}x sin − 1 x + 1 − x 2 x − 1 − x 2 x = sin − 1 x . (b) Differentiate: e x tan x + e x sec 2 x e^x\tan x + e^x\sec^2 x e x tan x + e x sec 2 x . Both correct.
Answer#
(a) x sin − 1 x + 1 − x 2 + C x\sin^{-1}x + \sqrt{1 - x^2} + C x sin − 1 x + 1 − x 2 + C ; (b) e x tan x + C e^x\tan x + C e x tan x + C .
Question 7: 16 − x 2 \sqrt{16 - x^2} 16 − x 2 #
The problem#
Find ∫ 16 − x 2 d x \displaystyle \int\sqrt{16 - x^2}\,dx ∫ 16 − x 2 d x .
Understanding the problem#
This is the form a 2 − x 2 \sqrt{a^2 - x^2} a 2 − x 2 with a = 4 a = 4 a = 4 .
The idea#
Use the lesson's formula
∫ a 2 − x 2 d x = x 2 a 2 − x 2 + a 2 2 sin − 1 x a + C . \displaystyle \int\sqrt{a^2 - x^2}\,dx = \frac x2\sqrt{a^2 - x^2} + \frac{a^2}{2}\sin^{-1}\frac xa + C. ∫ a 2 − x 2 d x = 2 x a 2 − x 2 + 2 a 2 sin − 1 a x + C .
Step-by-step solution#
Step 1. Identify a = 4 a = 4 a = 4 , so a 2 = 16 a^2 = 16 a 2 = 16 and a 2 2 = 8 \displaystyle \frac{a^2}{2} = 8 2 a 2 = 8 .
Step 2. Substitute.
∫ 16 − x 2 d x = x 2 16 − x 2 + 8 sin − 1 x 4 + C . \displaystyle \int\sqrt{16 - x^2}\,dx = \frac x2\sqrt{16 - x^2} + 8\sin^{-1}\frac x4 + C. ∫ 16 − x 2 d x = 2 x 16 − x 2 + 8 sin − 1 4 x + C .
Checking the answer#
Over [ − 4 , 4 ] [-4, 4] [ − 4 , 4 ] this should give the area of a half-disc of radius 4 4 4 , which is 8 π 8\pi 8 π . The formula gives 8 ⋅ π 2 − 8 ⋅ ( − π 2 ) = 8 π \displaystyle 8 \cdot \frac{\pi}{2} - 8 \cdot \left(-\frac{\pi}{2}\right) = 8\pi 8 ⋅ 2 π − 8 ⋅ ( − 2 π ) = 8 π . Correct.
Answer#
x 2 16 − x 2 + 8 sin − 1 x 4 + C \displaystyle \frac x2\sqrt{16 - x^2} + 8\sin^{-1}\frac x4 + C 2 x 16 − x 2 + 8 sin − 1 4 x + C .
Question 8: e 2 x sin x e^{2x}\sin x e 2 x sin x by parts twice#
The problem#
Find ∫ e 2 x sin x d x \displaystyle \int e^{2x}\sin x\,dx ∫ e 2 x sin x d x (use parts twice).
Understanding the problem#
Neither factor disappears on differentiation: sin x \sin x sin x turns into cos x \cos x cos x and back, e 2 x e^{2x} e 2 x stays exponential. After two applications of parts the original integral reappears, and you solve for it like an unknown.
The idea#
Call the integral I I I . Apply parts twice, always keeping the trigonometric factor as u u u (T before E in ILATE). You will get an equation of the form I = ( known ) − k I I = (\text{known}) - kI I = ( known ) − k I .
Step-by-step solution#
Step 1. Let I = ∫ e 2 x sin x d x \displaystyle I = \int e^{2x}\sin x\,dx I = ∫ e 2 x sin x d x . Take u = sin x u = \sin x u = sin x , v = e 2 x v = e^{2x} v = e 2 x , so ∫ e 2 x d x = e 2 x 2 \displaystyle \int e^{2x}\,dx = \frac{e^{2x}}{2} ∫ e 2 x d x = 2 e 2 x .
I = e 2 x 2 sin x − 1 2 ∫ e 2 x cos x d x . \displaystyle I = \frac{e^{2x}}{2}\sin x - \frac12\int e^{2x}\cos x\,dx. I = 2 e 2 x sin x − 2 1 ∫ e 2 x cos x d x .
Step 2. Apply parts to ∫ e 2 x cos x d x \displaystyle \int e^{2x}\cos x\,dx ∫ e 2 x cos x d x with u = cos x u = \cos x u = cos x , u ′ = − sin x u' = -\sin x u ′ = − sin x .
∫ e 2 x cos x d x = e 2 x 2 cos x + 1 2 ∫ e 2 x sin x d x = e 2 x 2 cos x + 1 2 I . \displaystyle \int e^{2x}\cos x\,dx = \frac{e^{2x}}{2}\cos x + \frac12\int e^{2x}\sin x\,dx = \frac{e^{2x}}{2}\cos x + \frac12 I. ∫ e 2 x cos x d x = 2 e 2 x cos x + 2 1 ∫ e 2 x sin x d x = 2 e 2 x cos x + 2 1 I .
Step 3. Substitute into Step 1.
I = e 2 x 2 sin x − e 2 x 4 cos x − 1 4 I . \displaystyle I = \frac{e^{2x}}{2}\sin x - \frac{e^{2x}}{4}\cos x - \frac14 I. I = 2 e 2 x sin x − 4 e 2 x cos x − 4 1 I .
Step 4. Move 1 4 I \displaystyle \frac14 I 4 1 I to the left and solve.
5 4 I = e 2 x 4 ( 2 sin x − cos x ) I = e 2 x 5 ( 2 sin x − cos x ) + C . \displaystyle \begin{aligned}
\frac54 I &= \frac{e^{2x}}{4}(2\sin x - \cos x) \\
I &= \frac{e^{2x}}{5}(2\sin x - \cos x) + C.
\end{aligned}
4 5 I I = 4 e 2 x ( 2 sin x − cos x ) = 5 e 2 x ( 2 sin x − cos x ) + C .
Checking the answer#
Differentiate: 2 e 2 x 5 ( 2 sin x − cos x ) + e 2 x 5 ( 2 cos x + sin x ) = e 2 x 5 ( 5 sin x ) = e 2 x sin x \displaystyle \frac{2e^{2x}}{5}(2\sin x - \cos x) + \frac{e^{2x}}{5}(2\cos x + \sin x) = \frac{e^{2x}}{5}(5\sin x) = e^{2x}\sin x 5 2 e 2 x ( 2 sin x − cos x ) + 5 e 2 x ( 2 cos x + sin x ) = 5 e 2 x ( 5 sin x ) = e 2 x sin x . Correct.
Answer#
∫ e 2 x sin x d x = e 2 x 5 ( 2 sin x − cos x ) + C \displaystyle \int e^{2x}\sin x\,dx = \frac{e^{2x}}{5}(2\sin x - \cos x) + C ∫ e 2 x sin x d x = 5 e 2 x ( 2 sin x − cos x ) + C .
Common mistake to avoid#
In the second application, keep the same choice (u u u = the trigonometric factor). Switching to u = e 2 x u = e^{2x} u = e 2 x undoes the first step and gives I = I I = I I = I .