- Foundation
- About 18 min
- 5 practice questions
Integration by parts
Integrate products such as x eˣ, x sin x and x² eˣ with the by-parts formula, choose the first function with the ILATE order, and integrate ln x and tan⁻¹ x by taking 1 as the second function.
If something looks wrong, please tell us.
Substitution handles a function multiplied by its own derivative. Many products are not like that: x eˣ, x sin x, x ln x. For these we use integration by parts, which is the product rule of differentiation run backwards. It turns one hard integral into an easier one.
The formula
From the product rule, d/dx(uv) = u v′ + v u′. Integrating and rearranging gives ∫ u v′ dx = uv − ∫ v u′ dx. In the form most Indian textbooks use, with u the first function and v the second:
∫ u v dx = u ∫ v dx − ∫ (u′ · ∫ v dx) dx. Choose the first function u by ILATE: Inverse trigonometric, Logarithmic, Algebraic, Trigonometric, Exponential, whichever comes first.
In words: first function times the integral of the second, minus the integral of (derivative of the first times the integral of the second). The aim is to pick u so that it becomes simpler when differentiated, and v so that it is easy to integrate. ILATE is a reliable rule of thumb: a polynomial (Algebraic) differentiates down to a constant, while eˣ and sin x integrate without getting worse.
Worked example 1: x eˣ
u = x (Algebraic), v = eˣ (Exponential). ∫ v dx = eˣ and u′ = 1. So ∫ x eˣ dx = x eˣ − ∫ 1 · eˣ dx = x eˣ − eˣ + C. Check: d/dx(x eˣ − eˣ) = eˣ + x eˣ − eˣ = x eˣ.
Worked example 2: x sin x
u = x, v = sin x, so ∫ v dx = −cos x. Then ∫ x sin x dx = x(−cos x) − ∫ 1 · (−cos x) dx = −x cos x + ∫ cos x dx = −x cos x + sin x + C. Keep the brackets: the minus signs are where most errors happen.
Worked example 3: ln x on its own
There is no product in sight, but we can write ln x = ln x · 1. Logarithmic comes before Algebraic, so u = ln x and v = 1. Then ∫ ln x dx = ln x · x − ∫ (1/x) · x dx = x ln x − ∫ 1 dx = x ln x − x + C.
The same trick gives ∫ tan⁻¹ x dx: u = tan⁻¹ x, v = 1, so the integral is x tan⁻¹ x − ∫ x/(1 + x²) dx = x tan⁻¹ x − (1/2) ln(1 + x²) + C, using the f′/f shortcut from the last lesson for the second part.
Worked example 4: applying the rule twice
∫ x² eˣ dx. u = x², v = eˣ: the integral is x² eˣ − ∫ 2x eˣ dx. The new integral is still a product, so use parts again: ∫ 2x eˣ dx = 2(x eˣ − eˣ). Altogether: x² eˣ − 2x eˣ + 2eˣ = (x² − 2x + 2)eˣ + C. Each round lowers the power of x by one, so xⁿ needs n rounds.
What goes wrong with the wrong choice
Try ∫ x eˣ dx with u = eˣ and v = x instead. The formula gives eˣ · x²/2 − ∫ eˣ · x²/2 dx, and the new integral has x² in it: harder than before. If the integral grows worse, swap the roles of u and v.
Key takeaways: by parts is the reverse of the product rule. Pick u by ILATE, integrate v, and apply the formula with brackets around every term. For ln x and inverse trigonometric functions alone, take 1 as the second function. A power xⁿ times eˣ or a sine or cosine needs the rule n times.
Check your understanding
-
1. Find ∫ x cos x dx.
- x sin x + cos x + C
- x sin x − cos x + C
- −x sin x + cos x + C
- (x²/2) sin x + C
Show answer
Answer: A. u = x, v = cos x, ∫ v dx = sin x. So x sin x − ∫ sin x dx = x sin x − (−cos x) = x sin x + cos x + C.
-
2. Find ∫ x e^(2x) dx.
- (x/2)e^(2x) − (1/4)e^(2x) + C
- (x/2)e^(2x) + (1/4)e^(2x) + C
- x e^(2x) − e^(2x) + C
- (x²/2)e^(2x) + C
Show answer
Answer: A. u = x, ∫ e^(2x) dx = e^(2x)/2. So x · e^(2x)/2 − ∫ e^(2x)/2 dx = (x/2)e^(2x) − e^(2x)/4 + C.
-
3. Find ∫ x ln x dx.
- (x²/2) ln x − x²/2 + C
- (x²/2) ln x − x²/4 + C
- (x²/2) ln x + x²/4 + C
- x ln x − x + C
Show answer
Answer: B. ILATE puts ln x first: u = ln x, v = x, ∫ v dx = x²/2. So (x²/2) ln x − ∫ (1/x)(x²/2) dx = (x²/2) ln x − ∫ (x/2) dx = (x²/2) ln x − x²/4 + C.
-
4. For ∫ x² tan⁻¹ x dx by parts, which function should be taken as the first function u?
- x²
- Either; the choice never matters
- dx
- tan⁻¹ x
Show answer
Answer: D. In ILATE, Inverse trigonometric comes before Algebraic, so u = tan⁻¹ x. Its derivative 1/(1 + x²) is simpler, and x² is easy to integrate. Taking u = x² would need the integral of tan⁻¹ x as v, which is harder.
-
5. Find ∫ sin⁻¹ x dx.
- x sin⁻¹ x − √(1 − x²) + C
- x sin⁻¹ x + C
- x sin⁻¹ x + √(1 − x²) + C
- 1/√(1 − x²) + C
Show answer
Answer: C. Take u = sin⁻¹ x and v = 1. The integral is x sin⁻¹ x − ∫ x/√(1 − x²) dx. With w = 1 − x², ∫ x/√(1 − x²) dx = −√(1 − x²). So the answer is x sin⁻¹ x + √(1 − x²) + C.
Sign in to keep track of the lessons you finish.