Integration by parts: choosing u, repeated parts

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus BC (AP-aligned) › Integration by parts and partial fractions

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Integration by parts: choosing u, repeated parts

Integration by parts and partial fractions.

Warm-up

Three quick questions from earlier lessons.

  1. Find FF with F′(x)=1xexF'(x) = 1x e^x and F(0)=0F(0) = 0.
  2. Evaluate ∫0π/22xcos⁡x dx\displaystyle\int_0^{\pi/2} 2x\cos x\,dx.
  3. Evaluate ∫1e3ln⁡x dx\displaystyle\int_1^{e^{ 3 } } \ln x\,dx.

Discover

For ∫xln⁡x dx\displaystyle\int x\ln x\,dx you could take u=xu = x or u=ln⁡xu = \ln x. With u=xu = x you need v=∫ln⁡x dxv = \displaystyle\int \ln x\,dx first. Which choice is easier?

  1. u=ln⁡xu = \ln x
  2. u=xu = x

Key idea

Let uu be the factor that simplifies when differentiated.

Good uu choices, in order: Logarithms, Inverse trig, Algebraic (powers of xx), Trig, Exponentials (LIATE). With xnx^n times exe^x or sin⁡x\sin x, apply parts nn times.

Worked example

∫x2ex dx\displaystyle\int x^2 e^x\,dx.

x2ex−∫2xex dxx^2 e^x - \displaystyle\int 2x e^x\,dx
u = x², v = eˣ.
x2ex−(2xex−2ex)x^2 e^x - (2xe^x - 2e^x)
Parts again on ∫2xeˣ: 2xeˣ − 2eˣ.
(x2−2x+2)ex+C(x^2 - 2x + 2)e^x + C
Tidy.

Your turn, guided

Your turn: ∫xln⁡x dx\displaystyle\int x\ln x\,dx with u=ln⁡xu = \ln x, v=x22v = \tfrac{x^2}{2}.

x22ln⁡x−x24+C\tfrac{x^2}{2}\ln x - \tfrac{x^2}{4} + C
(x²/2) ln x − ∫x/2 dx.

Practice ★

  1. To integrate ∫x1ln⁡x dx\displaystyle\int x^{ 1 } \ln x\,dx by parts, which choice works?
    1. u=ln⁡xu = \ln x, dv=x1 dxdv = x^{ 1 }\,dx
    2. u=x1u = x^{ 1 }, dv=ln⁡x dxdv = \ln x\,dx
    3. u=x1ln⁡xu = x^{ 1 }\ln x, dv=dxdv = dx
  2. To integrate ∫x2ln⁡x dx\displaystyle\int x^{ 2 } \ln x\,dx by parts, which choice works?
    1. u=ln⁡xu = \ln x, dv=x2 dxdv = x^{ 2 }\,dx
    2. u=x2u = x^{ 2 }, dv=ln⁡x dxdv = \ln x\,dx
    3. u=x2ln⁡xu = x^{ 2 }\ln x, dv=dxdv = dx
  1. Evaluate ∫01xe2x dx\displaystyle\int_0^1 x e^{ 2x}\,dx.
  2. Evaluate ∫01xe5x dx\displaystyle\int_0^1 x e^{ 5x}\,dx.

Watch out!

Practice ★★

  1. Find FF with F′(x)=5x2exF'(x) = 5x^2 e^x and F(0)=0F(0) = 0.
  2. Find FF with F′(x)=4x2exF'(x) = 4x^2 e^x and F(0)=0F(0) = 0.

Exit ticket

Three questions to check you have got it.

  1. Evaluate ∫01xe2x dx\displaystyle\int_0^1 x e^{ 2x}\,dx.
  2. Evaluate ∫01xe5x dx\displaystyle\int_0^1 x e^{ 5x}\,dx.
  3. Evaluate ∫01xe3x dx\displaystyle\int_0^1 x e^{ 3x}\,dx.

Summary card

Choosing uu

  • LIATE: logs, inverse trig, powers, trig, exponentials.
  • xnexx^n e^x: parts nn times.

Watch out: if the new integral is harder, swap uu and dvdv.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Evaluate ∫1e6xln⁡x dx\displaystyle\int_1^{e} 6x\ln x\,dx (exact).
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits