- Practice
- About 16 min
- 5 practice questions
Integration by parts: exam patterns and the tabular method
Handle the by-parts patterns that exams repeat: polynomial times exponential or trigonometric, x times an inverse trigonometric function, a logarithm over a power, and the tabular method for repeated parts.
If something looks wrong, please tell us.
By parts is the one integration method that most students understand in class and then lose marks on under time pressure. The loss comes from three causes: choosing the wrong first function, making a sign slip in the second round, and missing a pattern that makes the work short. This lesson sets out the patterns that appear again and again, and a layout (the tabular method) that keeps the signs under control.
The patterns
| Integrand | Choose as u (to differentiate) | Notes |
|---|---|---|
| xⁿ eˣ or xⁿ sin x | xⁿ | repeat n times, or use the table |
| xⁿ ln x | ln x | integrate xⁿ and differentiate ln x |
| xⁿ tan⁻¹x or xⁿ sin⁻¹x | the inverse function | the new integrand is algebraic |
| ln x on its own | ln x, with 1 as the other factor | also sin⁻¹x, tan⁻¹x on their own |
| eˣ sin x or eˣ cos x | either | the integral returns: solve for it |
∫ u v dx = u ∫ v dx − ∫ u′ (∫ v dx) dx. Tabular method: differentiate u down one column until it reaches 0, integrate v down the other, and multiply along the diagonals with signs +, −, +, −.
Worked example 1: x² eˣ with the table
| Differentiate u | Integrate v (repeatedly) | Sign |
|---|---|---|
| x² | eˣ | + |
| 2x | eˣ | − |
| 2 | eˣ | + |
| 0 | eˣ |
Multiply each entry of the left column by the entry one row below it in the middle column (the diagonals): +x² eˣ, −2x eˣ, +2 eˣ. So ∫ x² eˣ dx = eˣ(x² − 2x + 2) + C. Check by differentiating: eˣ(x² − 2x + 2) + eˣ(2x − 2) = x² eˣ. Over [0, 1] the integral equals e(1 − 2 + 2) − (2) = e − 2.
Worked example 2: x times an inverse tangent
Find ∫ x tan⁻¹x dx. Take u = tan⁻¹x and v = x. Then ∫ v dx = x²/2 and u′ = 1/(1 + x²). So the integral is (x²/2) tan⁻¹x − ∫ x²/(2(1 + x²)) dx. Now x²/(1 + x²) = 1 − 1/(1 + x²), so the remaining integral is (1/2)[x − tan⁻¹x]. The result is (x²/2) tan⁻¹x − x/2 + (1/2) tan⁻¹x + C = ((x² + 1)/2) tan⁻¹x − x/2 + C. Evaluated from 0 to 1, this gives π/4 − 1/2.
Worked example 3: a logarithm over a power
Find ∫ (ln x)/x² dx. Take u = ln x and v = 1/x², so ∫ v dx = −1/x. The integral is −(ln x)/x + ∫ (1/x)(1/x) dx = −(ln x)/x − 1/x + C = −(ln x + 1)/x + C. The sign of the −1/x is a common slip: ∫ x⁻² dx is −x⁻¹, not +x⁻¹.
Worked example 4: an inverse function alone
Find ∫ sin⁻¹x dx. Write it as ∫ 1 · sin⁻¹x dx with u = sin⁻¹x and v = 1. Then ∫ v dx = x and u′ = 1/√(1 − x²), so the integral is x sin⁻¹x − ∫ x/√(1 − x²) dx. In the remaining integral, substitute w = 1 − x², dw = −2x dx, to get −√(1 − x²). Hence the result is x sin⁻¹x + √(1 − x²) + C.
Worked example 5: the integral that returns
Let I = ∫ eˣ cos x dx. By parts, with u = cos x: I = eˣ cos x + ∫ eˣ sin x dx. Apply parts again to the new integral, with u = sin x: ∫ eˣ sin x dx = eˣ sin x − I. So I = eˣ cos x + eˣ sin x − I, which gives 2I = eˣ(sin x + cos x) and I = eˣ(sin x + cos x)/2 + C. Choose the same type of function as u in both rounds, or you undo your own work.
Traps
- Putting the polynomial as u when the other factor is ln x or an inverse function. Those cannot be integrated easily, so they must go in u.
- Dropping the minus sign in the second term, especially when the integral of v is negative.
- Stopping early: for xⁿ eˣ the process takes n rounds.
- Forgetting + C, and forgetting to simplify an algebraic fraction left over after the first round.
Key takeaways: choose u by ILATE; use the table for repeated parts; treat a lone logarithm or inverse function as 1 times it; when the integral returns, solve for it. Differentiate your answer to check.
Check your understanding
-
1. What is ∫ x² eˣ dx?
- eˣ(x² + 2x + 2) + C
- eˣ(x² − 2x + 2) + C
- eˣ(x² − 2x) + C
- eˣ(x² − 2x − 2) + C
Show answer
Answer: B. Using the table with signs +, −, +: x² eˣ − 2x eˣ + 2 eˣ = eˣ(x² − 2x + 2).
-
2. What is ∫ (ln x)/x² dx?
- (ln x + 1)/x + C
- −(ln x − 1)/x + C
- −ln x/x + C
- −(ln x + 1)/x + C
Show answer
Answer: D. With u = ln x and v = 1/x²: −(ln x)/x + ∫ x⁻² dx = −(ln x)/x − 1/x = −(ln x + 1)/x.
-
3. What is ∫ from 0 to 1 of x eˣ dx?
- 1
- e
- e − 1
- 2
Show answer
Answer: A. ∫ x eˣ dx = x eˣ − eˣ. At 1 this is e − e = 0, and at 0 it is 0 − 1 = −1. The difference is 0 − (−1) = 1.
-
4. What is ∫ sin⁻¹x dx?
- x sin⁻¹x − √(1 − x²) + C
- x sin⁻¹x + 1/√(1 − x²) + C
- x sin⁻¹x + √(1 − x²) + C
- sin⁻¹x/√(1 − x²) + C
Show answer
Answer: C. By parts with v = 1: x sin⁻¹x − ∫ x/√(1 − x²) dx = x sin⁻¹x + √(1 − x²). Differentiating: sin⁻¹x + x/√(1 − x²) − x/√(1 − x²) = sin⁻¹x.
-
5. What is ∫ eˣ cos x dx?
- eˣ(sin x − cos x)/2 + C
- eˣ(sin x + cos x) + C
- eˣ cos x + C
- eˣ(sin x + cos x)/2 + C
Show answer
Answer: D. Parts twice gives I = eˣ(cos x + sin x) − I, so 2I = eˣ(sin x + cos x) and I = eˣ(sin x + cos x)/2. Differentiating confirms it.
Sign in to keep track of the lessons you finish.