Skip to content
🎯⭐ INTERACTIVE LESSON

Integration by Parts

Learn step-by-step with interactive practice!

Integration by Parts - Complete Interactive Lesson

Part 1: The Formula

∫ Integration by Parts

Part 1 of 7 — The Formula & LIATE Rule

Integration by parts is the integration counterpart of the product rule for derivatives. It’s essential for AP Calculus BC and appears on virtually every exam.

PartTopic
1The Formula & LIATE Rule
2Tabular (Column) Method
3Cycling (Boomerang) Problems
4Definite Integrals with IBP
5Special Cases — Inverse Trig & Logarithms
6Problem-Solving Workshop
7Comprehensive Review & Assessment

The Integration by Parts Formula

Starting from the product rule: ddx[u⋅v]=udvdx+vdudx\frac{d}{dx}[u \cdot v] = u\frac{dv}{dx} + v\frac{du}{dx}

Integrating both sides and rearranging:

∫u dv=uv−∫v du\boxed{\int u\,dv = uv - \int v\,du}

Think of it as “swapping” one integral for a (hopefully) simpler one.

Key Fact: Integration by parts is the go-to technique when the integrand is a product of two different types of functions (e.g., polynomial × exponential).

The LIATE Rule for Choosing uu

The hardest part is deciding which factor to call uu and which to call dvdv. Use the LIATE priority:

PriorityTypeExamplesWhy choose as uu?
1stLogarithmicln⁡x\ln x, log⁡2x\log_2 xDifferentiates to algebraic
2ndInverse trigarctan⁡x\arctan x, arcsin⁡x\arcsin xDifferentiates to algebraic
3rdAlgebraicx2x^2, 3x+13x+1Differentiates to simpler polynomial
4thTrigonometricsin⁡x\sin x, cos⁡x\cos xStays trig but doesn’t grow
5thExponentialexe^x, 2x2^xIntegrates easily; stays the same type

AP Tip: LIATE works for ~95% of IBP problems. The idea: uu should get simpler when differentiated, while dvdv should be easy to integrate.

Worked Example — ∫xex dx\int x e^x\,dx

StepActionResult
1Choose uu and dvdvu=xu = x (A), dv=ex dxdv = e^x\,dx (E)
2Differentiate uudu=dxdu = dx
3Integrate dvdvv=exv = e^x
4Apply formulaxex−∫ex dxxe^x - \int e^x\,dx
5Evaluate remaining integralxex−ex+Cxe^x - e^x + C

∫xex dx=ex(x−1)+C\boxed{\int x e^x\,dx = e^x(x - 1) + C}

Verification: ddx[ex(x−1)]=ex(x−1)+ex=xex\frac{d}{dx}[e^x(x-1)] = e^x(x-1) + e^x = xe^x ✔

Applying the Formula

LIATE Selection Practice

Compute an IBP Integral

Key Takeaways — Part 1

ConceptDetails
IBP Formula∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du
LIATE RuleLog > Inverse trig > Algebraic > Trig > Exponential
GoalTransform a hard integral into an easier one
Key integrals∫xex dx=ex(x−1)+C\int xe^x\,dx = e^x(x-1) + C

Coming Up: Part 2 introduces the Tabular Method — a shortcut for polynomial × exponential/trig integrals that eliminates repetitive IBP steps.

Part 2: Tabular Method

∫ Integration by Parts

Part 2 of 7 — Tabular (Column) Method

The tabular method is a shortcut for integrating products of the form (polynomial) × (easy-to-integrate function). Instead of repeatedly applying IBP, you organize everything in a table.

How the Tabular Method Works

  1. Place the polynomial in the “Differentiate” column (it eventually reaches 0)
  2. Place the other factor in the “Integrate” column
  3. Alternate signs: +,−,+,−,…+, -, +, -, \ldots
  4. Multiply diagonally and sum

Example: ∫x2ex dx\int x^2 e^x\,dx

SignDifferentiateIntegrate
++x2x^2exe^x
−-2x2xexe^x
++22exe^x
−-00exe^x

Reading diagonally: +x2ex−2xex+2ex+C+x^2 e^x - 2xe^x + 2e^x + C

∫x2ex dx=ex(x2−2x+2)+C\boxed{\int x^2 e^x\,dx = e^x(x^2 - 2x + 2) + C}

Key Fact: The tabular method works whenever one factor differentiates to zero (polynomials). It saves enormous time on the AP exam.

Tabular Method with Trig

Example: ∫x3cos⁡x dx\int x^3 \cos x\,dx

SignDifferentiateIntegrate
++x3x^3cos⁡x\cos x
−-3x23x^2sin⁡x\sin x
++6x6x−cos⁡x-\cos x
−-66−sin⁡x-\sin x
++00cos⁡x\cos x

∫x3cos⁡x dx=x3sin⁡x+3x2cos⁡x−6xsin⁡x−6cos⁡x+C\int x^3\cos x\,dx = x^3\sin x + 3x^2\cos x - 6x\sin x - 6\cos x + C

When Does Tabular NOT Work?

Works ✔Doesn’t work ✘
∫xneax dx\int x^n e^{ax}\,dx∫exsin⁡x dx\int e^x \sin x\,dx (neither goes to 0)
∫xnsin⁡(ax) dx\int x^n \sin(ax)\,dx∫ln⁡x⋅arctan⁡x dx\int \ln x \cdot \arctan x\,dx
∫xncos⁡(ax) dx\int x^n \cos(ax)\,dx∫ln⁡xx2 dx\int \frac{\ln x}{x^2}\,dx (use standard IBP)

Tabular Method Practice

Identify the Method

Tabular Computation

Key Takeaways — Part 2

ConceptDetails
Tabular methodOrganize IBP in columns: Sign, Differentiate, Integrate
When to usePolynomial × exponential or polynomial × trig
Sign pattern+,−,+,−,…+, -, +, -, \ldots alternating
ReadingMultiply diagonally across columns, then sum

Coming Up: Part 3 covers cycling problems — what happens when IBP brings the original integral back (the boomerang technique).

Part 3: Cycling (Boomerang) Problems

∫ Integration by Parts

Part 3 of 7 — Cycling (Boomerang) Problems

Some IBP integrals don’t simplify — instead, after two applications the original integral reappears. When this happens, you solve algebraically for the unknown integral.

The Boomerang Technique

When does cycling occur? When both factors regenerate under repeated differentiation and integration:

  • eax⋅sin⁡(bx)e^{ax} \cdot \sin(bx) or eax⋅cos⁡(bx)e^{ax} \cdot \cos(bx)

Full Worked Example: ∫exsin⁡x dx\int e^x \sin x\,dx

Let I=∫exsin⁡x dxI = \int e^x \sin x\,dx

IBP #1: u=sin⁡xu = \sin x, dv=ex dxdv = e^x\,dx I=exsin⁡x−∫excos⁡x dxI = e^x \sin x - \int e^x \cos x\,dx

IBP #2: u=cos⁡xu = \cos x, dv=ex dxdv = e^x\,dx I=exsin⁡x−[excos⁡x−∫ex(−sin⁡x) dx]I = e^x \sin x - \left[e^x \cos x - \int e^x(-\sin x)\,dx\right] I=exsin⁡x−excos⁡x−∫exsin⁡x dxI = e^x \sin x - e^x \cos x - \int e^x \sin x\,dx I=exsin⁡x−excos⁡x−II = e^x \sin x - e^x \cos x - I

Solve for II: 2I=ex(sin⁡x−cos⁡x)2I = e^x(\sin x - \cos x)

∫exsin⁡x dx=ex(sin⁡x−cos⁡x)2+C\boxed{\int e^x \sin x\,dx = \frac{e^x(\sin x - \cos x)}{2} + C}

Key Fact: You MUST use the same type of choice for uu in both applications (both times pick trig, or both times pick exponential). Mixing causes an infinite loop.

General Formula for eaxe^{ax} × Trig

∫eaxsin⁡(bx) dx=eax(asin⁡(bx)−bcos⁡(bx))a2+b2+C\boxed{\int e^{ax}\sin(bx)\,dx = \frac{e^{ax}(a\sin(bx) - b\cos(bx))}{a^2 + b^2} + C}

∫eaxcos⁡(bx) dx=eax(acos⁡(bx)+bsin⁡(bx))a2+b2+C\boxed{\int e^{ax}\cos(bx)\,dx = \frac{e^{ax}(a\cos(bx) + b\sin(bx))}{a^2 + b^2} + C}

IntegralaabbDenominator a2+b2a^2+b^2
∫exsin⁡x dx\int e^x \sin x\,dx112
∫e2xcos⁡(3x) dx\int e^{2x} \cos(3x)\,dx2313
∫e−xsin⁡(2x) dx\int e^{-x} \sin(2x)\,dx−1-125

AP Tip: Memorizing the general formula can save 3–4 minutes on a free-response question. But you should know how to derive it via IBP cycling.

Cycling IBP Practice

Identify the Technique

Cycling Computation

Key Takeaways — Part 3

ConceptDetails
Cycling occursWhen both factors regenerate (eaxe^{ax} × trig)
StrategyApply IBP twice, then solve for II algebraically
General sine formulaeax(asin⁡bx−bcos⁡bx)a2+b2+C\frac{e^{ax}(a\sin bx - b\cos bx)}{a^2+b^2} + C
General cosine formulaeax(acos⁡bx+bsin⁡bx)a2+b2+C\frac{e^{ax}(a\cos bx + b\sin bx)}{a^2+b^2} + C
Critical ruleUse the SAME uu-type both times

Coming Up: Part 4 applies IBP to definite integrals — including evaluating bounds correctly.

Part 4: Definite Integrals with IBP

∫ Integration by Parts

Part 4 of 7 — Definite Integrals with IBP

On the AP exam, many IBP problems involve definite integrals. You can either find the antiderivative first, then evaluate at the bounds, or carry the bounds through the entire process.

Definite Integral IBP Formula

∫abu dv=[uv]ab−∫abv du\boxed{\int_a^b u\,dv = [uv]_a^b - \int_a^b v\,du}

Strategy Options

ApproachWhen to Use
Find antiderivative, then plug in boundsSimpler integrals; cleaner algebra
Carry bounds through every stepAvoids needing the general antiderivative

AP Tip: On free-response questions, show each step clearly. Write the [uv]ab[uv]_a^b term explicitly before evaluating.

Worked Example 1: ∫01xex dx\int_0^1 xe^x\,dx

StepWork
u=xu = x, dv=ex dxdv = e^x\,dxdu=dxdu = dx, v=exv = e^x
Apply formula[xex]01−∫01ex dx[xe^x]_0^1 - \int_0^1 e^x\,dx
Evaluate [uv][uv](1⋅e)−(0⋅1)=e(1 \cdot e) - (0 \cdot 1) = e
Remaining integral[ex]01=e−1[e^x]_0^1 = e - 1
Final answere−(e−1)=1e - (e-1) = 1

∫01xex dx=1\boxed{\int_0^1 xe^x\,dx = 1}

Worked Example 2: ∫1e(ln⁡x)2 dx\int_1^e (\ln x)^2\,dx

StepWork
u=(ln⁡x)2u = (\ln x)^2, dv=dxdv = dxdu=2ln⁡xx dxdu = \frac{2\ln x}{x}\,dx, v=xv = x
Apply formula[x(ln⁡x)2]1e−∫1e2ln⁡x dx[x(\ln x)^2]_1^e - \int_1^e 2\ln x\,dx
Evaluate [uv][uv]e(1)2−1(0)2=ee(1)^2 - 1(0)^2 = e
Second IBP on ∫ln⁡x dx\int \ln x\,dxxln⁡x−x+Cx\ln x - x + C
Evaluatee−2[xln⁡x−x]1e=e−2[(e−e)−(0−1)]e - 2[x\ln x - x]_1^e = e - 2[(e-e)-(0-1)]
Simplifye−2(1)=e−2e - 2(1) = e - 2

∫1e(ln⁡x)2 dx=e−2\boxed{\int_1^e (\ln x)^2\,dx = e - 2}

Definite IBP Practice

Step-by-Step Evaluation

Exact Computation

Key Takeaways — Part 4

IntegralValue
∫01xex dx\int_0^1 xe^x\,dx11
∫1eln⁡x dx\int_1^e \ln x\,dx11
∫0πxsin⁡x dx\int_0^{\pi} x\sin x\,dxπ\pi
∫1e(ln⁡x)2 dx\int_1^e (\ln x)^2\,dxe−2e - 2

Key Fact: Many definite IBP integrals yield surprisingly clean answers. Always simplify fully before reporting your answer.

Coming Up: Part 5 covers special cases including inverse trig and logarithmic IBP integrals.

Part 5: Special Cases

∫ Integration by Parts

Part 5 of 7 — Special Cases: Inverse Trig & Logarithms

Some functions don’t have obvious antiderivatives, but they DO have known derivatives. For these, we set the tricky function as uu and let dv=dxdv = dx.

The “dv=dxdv = dx” Strategy

When the integrand has no obvious product structure, set:

  • u=u = the function (so you can differentiate it)
  • dv=dxdv = dx (so v=xv = x)

This works beautifully for:

Functionuududu
ln⁡x\ln xln⁡x\ln x1x dx\frac{1}{x}\,dx
arctan⁡x\arctan xarctan⁡x\arctan x11+x2 dx\frac{1}{1+x^2}\,dx
arcsin⁡x\arcsin xarcsin⁡x\arcsin x11−x2 dx\frac{1}{\sqrt{1-x^2}}\,dx
(ln⁡x)2(\ln x)^2(ln⁡x)2(\ln x)^22ln⁡xx dx\frac{2\ln x}{x}\,dx

Key Fact: L and I in LIATE always become uu. Their derivatives produce algebraic expressions that pair nicely with v=xv = x.

Essential Results

1. ∫ln⁡x dx\int \ln x\,dx

u=ln⁡xu = \ln x, dv=dx⇒du=1x dxdv = dx \Rightarrow du = \frac{1}{x}\,dx, v=xv = x

∫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

∫ln⁡x dx=x(ln⁡x−1)+C\boxed{\int \ln x\,dx = x(\ln x - 1) + C}


2. ∫arctan⁡x dx\int \arctan x\,dx

u=arctan⁡xu = \arctan x, dv=dx⇒du=11+x2 dxdv = dx \Rightarrow du = \frac{1}{1+x^2}\,dx, v=xv = x

∫arctan⁡x dx=xarctan⁡x−∫x1+x2 dx\int \arctan x\,dx = x\arctan x - \int \frac{x}{1+x^2}\,dx

The remaining integral: let w=1+x2w = 1+x^2, dw=2x dxdw = 2x\,dx:

∫arctan⁡x dx=xarctan⁡x−12ln⁡(1+x2)+C\boxed{\int \arctan x\,dx = x\arctan x - \frac{1}{2}\ln(1+x^2) + C}


3. ∫arcsin⁡x dx\int \arcsin x\,dx

u=arcsin⁡xu = \arcsin x, dv=dx⇒du=11−x2 dxdv = dx \Rightarrow du = \frac{1}{\sqrt{1-x^2}}\,dx, v=xv = x

∫arcsin⁡x dx=xarcsin⁡x−∫x1−x2 dx\int \arcsin x\,dx = x\arcsin x - \int \frac{x}{\sqrt{1-x^2}}\,dx

Let w=1−x2w = 1 - x^2: remaining integral =1−x2= \sqrt{1-x^2}

∫arcsin⁡x dx=xarcsin⁡x+1−x2+C\boxed{\int \arcsin x\,dx = x\arcsin x + \sqrt{1-x^2} + C}

Higher Powers of ln⁡x\ln x

∫(ln⁡x)2 dx\int (\ln x)^2\,dx

u=(ln⁡x)2u = (\ln x)^2, dv=dxdv = dx

=x(ln⁡x)2−2∫ln⁡x dx=x(ln⁡x)2−2(xln⁡x−x)+C= x(\ln x)^2 - 2\int \ln x\,dx = x(\ln x)^2 - 2(x\ln x - x) + C

∫(ln⁡x)2 dx=x[(ln⁡x)2−2ln⁡x+2]+C\boxed{\int (\ln x)^2\,dx = x[(\ln x)^2 - 2\ln x + 2] + C}

Reduction formula (for reference): ∫(ln⁡x)n dx=x(ln⁡x)n−n∫(ln⁡x)n−1 dx\int (\ln x)^n\,dx = x(\ln x)^n - n\int (\ln x)^{n-1}\,dx

Special Cases Practice

Identify the Setup

Numerical Evaluation

Key Takeaways — Part 5

IntegralResult
∫ln⁡x dx\int \ln x\,dxx(ln⁡x−1)+Cx(\ln x - 1) + C
∫arctan⁡x dx\int \arctan x\,dxxarctan⁡x−12ln⁡(1+x2)+Cx\arctan x - \frac{1}{2}\ln(1+x^2) + C
∫arcsin⁡x dx\int \arcsin x\,dxxarcsin⁡x+1−x2+Cx\arcsin x + \sqrt{1-x^2} + C
∫(ln⁡x)2 dx\int (\ln x)^2\,dxx[(ln⁡x)2−2ln⁡x+2]+Cx[(\ln x)^2 - 2\ln x + 2] + C

AP Tip: These results are worth memorizing — they appear frequently in free-response questions and save substantial time.

Coming Up: Part 6 is a problem-solving workshop with mixed IBP challenges.

Part 6: Practice Workshop

∫ Integration by Parts

Part 6 of 7 — Problem-Solving Workshop

This part is a mixed-practice workshop. Every problem requires identifying the correct IBP approach, then executing it. Think before you compute!

Decision Flowchart

Integrand TypeMethod
Polynomial × eaxe^{ax} or trigTabular method
eaxe^{ax} × trigCycling (boomerang)
ln⁡x\ln x, arctan⁡x\arctan x, arcsin⁡x\arcsin x alonedv=dxdv = dx strategy
Polynomial × ln⁡x\ln xStandard IBP (u=ln⁡xu = \ln x)
Anything else with a productStandard IBP with LIATE

Mixed IBP Practice — Round 1

Mixed IBP Practice — Round 2

Method Identification

Definite Integral Challenge

Key Takeaways — Part 6

Problem TypeMethodTime on AP Exam
Poly × exp/trigTabular~2 min
eaxe^{ax} × trigCycling~3 min
Inverse trig or log alonedv=dxdv = dx~2 min
Mixed productLIATE + standard~3 min

AP Tip: If you get stuck, try a different uu/dvdv split. There’s often more than one path to the answer.

Coming Up: Part 7 is the comprehensive review and assessment covering all IBP techniques.

Part 7: Final Assessment

∫ Integration by Parts — Review

Part 7 of 7 — Comprehensive Review & Assessment

This final part tests your mastery of all IBP techniques: the basic formula, LIATE, tabular method, cycling, definite integrals, and special cases.

Complete Reference Table

IntegralAntiderivative
∫xex dx\int xe^x\,dxex(x−1)+Ce^x(x-1) + C
∫xcos⁡x dx\int x\cos x\,dxxsin⁡x+cos⁡x+Cx\sin x + \cos x + C
∫xsin⁡x dx\int x\sin x\,dx−xcos⁡x+sin⁡x+C-x\cos x + \sin x + C
∫x2ex dx\int x^2 e^x\,dxex(x2−2x+2)+Ce^x(x^2 - 2x + 2) + C
∫exsin⁡x dx\int e^x\sin x\,dxex(sin⁡x−cos⁡x)2+C\frac{e^x(\sin x - \cos x)}{2} + C
∫excos⁡x dx\int e^x\cos x\,dxex(sin⁡x+cos⁡x)2+C\frac{e^x(\sin x + \cos x)}{2} + C
∫ln⁡x dx\int \ln x\,dxx(ln⁡x−1)+Cx(\ln x - 1) + C
∫arctan⁡x dx\int \arctan x\,dxxarctan⁡x−12ln⁡(1+x2)+Cx\arctan x - \frac{1}{2}\ln(1+x^2) + C
∫arcsin⁡x dx\int \arcsin x\,dxxarcsin⁡x+1−x2+Cx\arcsin x + \sqrt{1-x^2} + C

Assessment — Conceptual

Assessment — Computational

Method Selection Review

Final Calculation

Integration by Parts — Complete! ✅

You’ve mastered:

  1. ✔ The IBP formula and LIATE rule
  2. ✔ Tabular method for polynomial × exp/trig
  3. ✔ Cycling technique for eaxe^{ax} × trig
  4. ✔ Definite integrals with IBP
  5. ✔ Special cases (inverse trig, logs)
  6. ✔ Mixed problem identification

AP Exam Frequency

IBP TypeLikelihood on AP BC Exam
Basic IBP or tabularAlmost certain (MC + FRQ)
Cycling (eaxe^{ax} × trig)Common in MC
Special cases (ln⁡\ln, inverse trig)Frequent in FRQ
Definite IBPVery common

Key Fact: Integration by parts appears on every AP Calculus BC exam. Master all five approaches and you’ll handle any IBP problem confidently.