I can
- use a substitution u to integrate a function times its inner derivative
- use integration by parts for a product like x e^x or x sin x
- find the constant using a given value such as F(0) = 0
Key idea
Substitution. When the integral contains a function and its derivative, let u be the inner function. For 2x(x² + 1)³, let u = x² + 1. Then du = 2x dx, so the integral becomes the integral of u³ du.
Parts. For a product, use: the integral of u dv = uv − the integral of v du. Pick u as the part that gets simpler when you differentiate it, usually x. Then dv is the rest.
After you integrate, write the answer in x again. Use the condition F(0) = 0 to find C.
Worked examples
Example 1: F(x) = ∫ 2x(x² + 1)³ dx, where F(0) = 0
Watch it: F(x) = ∫ 2x(x² + 1)³ dx with F(0) = 0, step by step:
- Substitution.
- Integrate, then put u back.
- F(0): (0 + 1)⁴/4 = 1/4.
- Take 1/4 from both sides.
- Put C back in.
- Let u = x² + 1, so du = 2x dx.
- The integral of u³ is u⁴/4, so we have (x² + 1)^4/4 + C.
- F(0) = 1/4 + C = 0, so C = −1/4.
F(x) = (x² + 1)^4/4 − 1/4
Example 2: F(x) = ∫ 4x e^(x²) dx, where F(0) = 0
Watch it: F(x) = ∫ 4x eˣ² dx with F(0) = 0, step by step:
- Substitution.
- Integrate, then put u back.
- F(0) = 2e⁰ + C = 2 + C.
- Take 2 from both sides.
- Put C back in.
- Let u = x², so du = 2x dx and 4x dx = 2 du.
- The integral of 2e^u du is 2e^u, so we have 2e^(x²) + C.
- F(0) = 2 + C = 0, so C = −2.
F(x) = 2e^(x²) − 2
Example 3: F(x) = ∫ x cos(x) dx, where F(0) = 0
Watch it: F(x) = ∫ x cos(x) dx with F(0) = 0, step by step:
- Integration by parts.
- The integral of sin x is −cos x.
- F(0) = 0 × sin 0 + cos 0 + C = 1 + C.
- Take 1 from both sides.
- Put C back in.
- Let u = x and dv = cos(x) dx. Then du = dx and v = sin(x).
- The integral is x sin(x) − the integral of sin(x) dx = x sin(x) + cos(x) + C.
- F(0) = 0 + 1 + C = 0, so C = −1.
F(x) = x sin(x) + cos(x) − 1
Try it
Show answer
(x^2+3)^3/3-9Show answer
e^(x^2)-1Show answer
-cos(x)^3/3+1/3Show answer
x e^x-e^x+1Show answer
sin(x)-x cos(x)Common mistakes
- Leaving the answer in u. Always change back to x.
- Forgetting the constant. Use the starting value to find it.
- Choosing u badly in parts. If the integral gets harder, swap u and dv.
Remember
- Substitution: let u be the inner function, and check that du matches.
- Parts: uv − the integral of v du.
- Always check by differentiating.
Practise this
Worksheets 71 to 90 of Level 17 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh