Skip to main content

Unit 6 · Topic 6.11

BC only

6.11 Integrating Using Integration by Parts

BC only. Integration by parts reverses the product rule: ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du. It handles products like x·eˣ, x·sin x and x²·cos x, and single functions like ln x and arctan x.

Key terms

  • integration by parts
  • product rule
  • u and dv
  • uv − ∫ v du

Where the formula comes from

This topic is tested only on the BC exam.

The product rule says (uv)′ = u′v + uv′. Integrate both sides and rearrange: ∫uv′ dx=uv−∫vu′ dx\int u v'\,dx = uv - \int v u'\,dx. In shorthand, with dv = v′ dx and du = u′ dx:

∫u dv=uv−∫v du.\int u\,dv = uv - \int v\,du.

The goal is to trade the integral you can't do for one you can. You choose which part of the integrand is u (you'll differentiate it) and which part, along with dx, is dv (you'll integrate it).

Choosing u

Pick u to be the factor that gets simpler when you differentiate it, and dv to be something you can integrate. A common guide is LIATE: choose u from the first type that appears in this list.

  • L: logarithms (ln x)
  • I: inverse trig (arctan x, arcsin x)
  • A: algebraic (x, x², polynomials)
  • T: trig (sin x, cos x)
  • E: exponentials (eˣ, e²ˣ)

Repeated parts and the tabular shortcut

For x²·cos x, one round of parts leaves ∫2xsin⁡x dx\int 2x\sin x\,dx, which needs parts again. When u is a polynomial and dv is easy to integrate again and again (eˣ, sin, cos), you can use a table: list derivatives of u down one column until you hit 0, list repeated antiderivatives of dv down another, then multiply diagonally with alternating signs +, −, +, …

For ∫x2cos⁡x dx\int x^2\cos x\,dx: derivatives x², 2x, 2, 0; antiderivatives cos x, sin x, −cos x, −sin x. Diagonal products: +x² sin x, −2x(−cos x), +2(−sin x). Result: x² sin x + 2x cos x − 2 sin x + C.

Special cases

  • A lone ln x or arctan x: let u = ln x and dv = dx. Then ∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+C\int \ln x\,dx = x\ln x - \int x \cdot \frac{1}{x}\,dx = x\ln x - x + C.
  • Integrals like ∫exsin⁡x dx\int e^x \sin x\,dx cycle back to the original after two rounds. Call the original I, write the equation I = (stuff) − I, and solve for I. This shows up less often, but it's fair game.
  • For definite integrals: ∫abu dv=[uv]ab−∫abv du\int_a^b u\,dv = \left[uv\right]_a^b - \int_a^b v\,du. Evaluate the uv part at both limits too.

Worked examples

Try each one yourself first, then open the solution.

  1. Example 1

    One round of parts

    Find ∫xe2x dx\int x e^{2x}\,dx.

    Show the solution
    1. Step 1: Choose u = x (algebraic; gets simpler) and dv=e2x dxdv = e^{2x}\,dx.
    2. Step 2: Then du = dx and v=12e2xv = \frac{1}{2}e^{2x}.
    3. Step 3: ∫u dv=uv−∫v du=12xe2x−∫12e2x dx=12xe2x−14e2x+C\int u\,dv = uv - \int v\,du = \frac{1}{2}xe^{2x} - \int \frac{1}{2}e^{2x}\,dx = \frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x} + C.
    4. Step 4: Check: ddx[12xe2x−14e2x]=12e2x+xe2x−12e2x=xe2x\frac{d}{dx}\left[\frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x}\right] = \frac{1}{2}e^{2x} + xe^{2x} - \frac{1}{2}e^{2x} = xe^{2x}.

    Answer: 12xe2x−14e2x+C\frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x} + C

  2. Example 2

    Definite integral of ln x

    Evaluate ∫1eln⁡x dx\int_1^e \ln x\,dx.

    Show the solution
    1. Step 1: u = ln x, dv = dx, so du=1x dxdu = \frac{1}{x}\,dx and v = x.
    2. Step 2: ∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x\int \ln x\,dx = x\ln x - \int x \cdot \frac{1}{x}\,dx = x\ln x - x.
    3. Step 3: At x = e: e·1 − e = 0. At x = 1: 1·0 − 1 = −1.
    4. Step 4: Subtract: 0 − (−1) = 1.

    Answer: 1

  3. Example 3

    Trap: a bad choice of u

    Find ∫x2cos⁡x dx\int x^2\cos x\,dx, and explain why u = cos x is a bad choice.

    Show the solution
    1. Step 1: If u = cos x and dv = x² dx, then v=x33v = \frac{x^3}{3} and the new integral is ∫x33sin⁡x dx\int \frac{x^3}{3}\sin x\,dx, which is worse: the power went up.
    2. Step 2: Choose u = x² (algebraic) and dv = cos x dx: du = 2x dx, v = sin x. So ∫x2cos⁡x dx=x2sin⁡x−∫2xsin⁡x dx\int x^2\cos x\,dx = x^2\sin x - \int 2x\sin x\,dx.
    3. Step 3: Parts again on ∫2xsin⁡x dx\int 2x\sin x\,dx with u = 2x, dv = sin x dx: =−2xcos⁡x+∫2cos⁡x dx=−2xcos⁡x+2sin⁡x= -2x\cos x + \int 2\cos x\,dx = -2x\cos x + 2\sin x.
    4. Step 4: Combine: x² sin x − (−2x cos x + 2 sin x) = x² sin x + 2x cos x − 2 sin x.

    Answer: x² sin x + 2x cos x − 2 sin x + C

Common mistakes

  • Losing a negative sign in the second round. Put the whole second integral's result in parentheses before subtracting.
  • Choosing u so that the new integral is harder. If the power of x goes up, switch your choice.
  • Forgetting to evaluate the uv part at the limits in a definite integral.
  • Using parts when a simple substitution works, as in ∫xex2 dx\int xe^{x^2}\,dx, where u = x² is all you need.

On the exam

  • BC multiple-choice questions often test one round of parts, such as ∫xcos⁡x dx\int x\cos x\,dx or ∫xex dx\int xe^x\,dx, or a definite version. Differentiating each answer choice is a quick check.
  • On free response, write u, dv, du and v clearly. Integration by parts also appears inside improper integrals (6.13) and in finding antiderivatives for motion questions.

Connected topics

Videos

Check yourself: 6.11 Integrating Using Integration by Parts

4 questions on 6.11 Integrating Using Integration by Parts. Pick an answer to see if you got it, and why.

Question 1 of 4

∫1exln⁡x dx=\int_1^e x\ln x\,dx =

Question 2 of 4

∫xcos⁡(2x) dx=\int x\cos(2x)\,dx =

Question 3 of 4

The function f is differentiable, with f′ continuous. It is known that f(0) = 4, f(2) = 3, and ∫02f(x) dx=5\int_0^2 f(x)\,dx = 5. What is the value of ∫02x⋅f′(x) dx\int_0^2 x \cdot f'(x)\,dx?

Let f be the function defined by f(x)=x⋅e−x/2f(x) = x \cdot e^{-x/2} for x ≥ 0.

Described function

Question 4 of 4

Which of the following is equal to ∫x⋅e−x/2 dx\int x \cdot e^{-x/2}\,dx ?

0 of 4 answered

Something wrong or out of date here?

Something wrong with this page?

What's wrong?

Please don't include personal details.