Fiveable

♾️AP Calculus AB/BC Unit 6 Review

QR code for AP Calculus AB/BC practice questions

6.11 Integrating Using Integration by Parts

6.11 Integrating Using Integration by Parts

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
♾️AP Calculus AB/BC
Unit & Topic Study Guides

AP Cram Sessions 2021

Pep mascot

Integration by parts is a BC-only technique for integrating a product of two functions. You rewrite the integral using the formula udv=uvvdu\int u\,dv = uv - \int v\,du, picking uu and dvdv so the new integral is easier than the one you started with. For AP Calculus BC, track the minus sign and your choice of uu and dvdv carefully.

Why This Matters for the AP Calculus Exam

Integration by parts shows up only on the AP Calculus BC exam, not AB. It is one of several antidifferentiation tools you are expected to recognize and apply, and BC questions often mix techniques so you have to decide which one fits an integrand. This skill supports both finding indefinite integrals and evaluating definite integrals, and it connects to later BC topics like improper integrals.

On both multiple-choice and free-response work, you will need to recognize when a product of an algebraic factor and a transcendental factor (like xexx e^x or x2cosxx^2\cos x) calls for integration by parts, set it up cleanly, and carry signs correctly through repeated steps.

Key Takeaways

  • The formula is udv=uvvdu\int u\,dv = uv - \int v\,du, and it comes from reversing the product rule.
  • Choose uu and dvdv so the new integral vdu\int v\,du is simpler than the original.
  • Use LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) to pick uu.
  • Some integrals need integration by parts more than once; track signs carefully each time.
  • For cyclic integrals (like excosxdx\int e^x\cos x\,dx), apply the method twice, get the original integral back, then solve algebraically.
  • Include +C+C for indefinite integrals, and for definite integrals evaluate the uvuv boundary term at the limits too.

Integration by Parts Basics

Take a look at the following integral:

x2sin(x)dx\int x^2 \sin(x)\,dx

You cannot finish this with the tools you already have: substitution fails, and you only know how to integrate x2x^2 and sin(x)\sin(x) separately. Integration by parts is built for exactly this situation.

The method comes from reversing the product rule for differentiation. Here is the product rule, with uu and vv as two functions:

ddxuv=uv+vu\frac{d}{dx} uv = \textcolor{blue}{u}\cdot \textcolor{pink}{v'} +\textcolor{red}{ v}\cdot \textcolor{teal}{u'}

If you integrate both sides, you get:

uv=uv+vu uv = \int\textcolor{blue}{u}\cdot \textcolor{pink}{v'} +\int\textcolor{red}{ v}\cdot \textcolor{teal}{u'}

Rearranging gives the integration by parts formula:

udv=uvvdu\int \textcolor{blue}{u} \, \textcolor{pink}{dv} = uv - \int \textcolor{red}{v} \, \textcolor{teal}{du}

Where:

  • u\textcolor{blue}{u} and dv\textcolor{pink}{dv} are selected parts of the integrand.
  • du\textcolor{teal}{du} is the derivative of u\textcolor{blue}{u} with respect to the variable of integration.
  • v\textcolor{red}{v} is the antiderivative of dv\textcolor{pink}{dv}.

Application and Strategy

To apply integration by parts, follow these steps:

  1. Select uu and dvdv carefully. Choose them so the resulting integral is easier to handle. The LIATE mnemonic helps you pick uu quickly.
  2. Differentiate and integrate. Compute dudu from uu and vv from dvdv.
  3. Apply the formula. Plug uu, dvdv, vv, and dudu into the integration by parts formula.
  4. Evaluate the new integral. The integral on the right may still need work. Repeat integration by parts if necessary.
  5. Solve for the original integral. If the same integral shows up on both sides, use algebra to solve for it.

LIATE Mnemonic for choosing uu:

  • Logarithmic functions
  • Inverse trigonometric functions
  • Algebraic functions
  • Trigonometric functions
  • Exponential functions

Whatever appears earlier in LIATE usually becomes uu, and the rest becomes dvdv.

Integration by Parts Practice Problems

Example 1

Evaluate using integration by parts:

xexdx\int xe^x \, dx

Go through LIATE to choose uu. Algebraic comes before Exponential, so set u=xu = x and dv=exdxdv = e^x\,dx.

Now collect the parts:

  • u=xu = x
  • du=dxdu = dx
  • v=exv = e^x
  • dv=exdxdv = e^x \,dx

Apply the formula:

xexdx=xexexdx\int x \cdot e^x \, dx = x \cdot e^x - \int e^x \, dx

Evaluate the new integral:

xexdx=xexex+C\int x \cdot e^x \, dx = x \cdot e^x - e^x + C

Therefore,

xexdx=xexex+C\int xe^x \, dx = x e^x - e^x + C

Example 2

Evaluate:

ln(x)dx\int \ln(x)\,dx

This does not look like a product at first. Rewrite the integrand as 1ln(x)1 \cdot \ln(x) so you have two functions, then use LIATE.

Logarithmic ranks ahead of Algebraic, so set u=ln(x)u = \ln(x) and dv=1dxdv = 1\,dx.

  • u=ln(x)u = \ln(x)
  • du=1xdxdu = \frac{1}{x} \,dx
  • v=xv = x
  • dv=1dxdv = 1 \,dx

Apply integration by parts:

ln(x)dx=xln(x)x1xdx\int \ln(x)\,dx = x\ln(x)- \int x\cdot \frac{1}{x}\,dx

The integral on the right simplifies:

xln(x)dxx\ln(x)- \int dx

Since dx=x\int dx = x,

ln(x)dx=xln(x)x+C\int \ln(x)\,dx = x\ln(x)- x + C

Example 3

Evaluate:

x2cos(x)dx\int x^2 \cos(x) \, dx

Pick uu and dvdv with LIATE, then find dudu and vv.

  • u=x2u = x^2
  • du=2xdxdu = 2x\,dx
  • v=sinxv = \sin x
  • dv=cosxdxdv = \cos x\,dx

Apply the formula:

x2cos(x)dx=x2sin(x)2xsin(x)dx\int x^2 \cos(x) \, dx = x^2 \cdot \sin(x) - \int 2x \cdot \sin(x) \, dx

The remaining integral 2xsin(x)dx\int 2x \cdot \sin(x) \, dx needs integration by parts again. Choose:

  • u=2xu = 2x
  • du=2dxdu = 2\,dx
  • v=cosxv = -\cos x
  • dv=sinxdxdv = \sin x\,dx

So:

2xsin(x)dx=2xcos(x)(2)cos(x)dx=2xcos(x)+2cos(x)dx\int 2x \cdot \sin(x) \, dx = -2x \cdot \cos(x) - \int (-2) \cdot \cos(x) \, dx = -2x\cos(x) + 2\int \cos(x)\,dx

Now substitute back. Watch the sign: you are subtracting the whole expression above.

x2cos(x)dx=x2sin(x)(2xcos(x)+2cos(x)dx)=x2sin(x)+2xcos(x)2cos(x)dx\int x^2 \cos(x) \, dx = x^2 \sin(x) - \left(-2x\cos(x) + 2\int \cos(x)\,dx\right) = x^2 \sin(x) + 2x\cos(x) - 2\int \cos(x)\,dx

Finally, cos(x)dx=sin(x)\int \cos(x)\,dx = \sin(x), so:

x2cos(x)dx=x2sin(x)+2xcos(x)2sin(x)+C\int x^2 \cos(x) \, dx = x^2 \sin(x) + 2x \cos(x) - 2 \sin(x) + C

Challenge Question

Evaluate:

excosxdx\int e^x \cos x\,dx

Try it before checking the answer below.

Hint: Use integration by parts twice, keeping exe^x in the same role both times.

excosxdx=exsinx+excosx2+C\int e^x \cos x\,dx = \frac{e^x\sin x + e^x\cos x}{2} + C

When you apply integration by parts twice without switching which factor is uu, you get the original integral back on the right side. Move both copies of the integral to the same side and divide by two to finish.

How to Use This on the AP Calculus Exam

Problem Solving

  • Scan the integrand for a product of an algebraic factor and a transcendental factor (exponential, trig, log, or inverse trig). That pattern signals integration by parts.
  • Use LIATE to pick uu so that dudu gets simpler. With polynomials times exe^x, sinx\sin x, or cosx\cos x, the polynomial is usually uu because its derivative eventually drops to a constant.
  • Write out uu, dudu, vv, and dvdv before plugging in. This keeps signs and terms organized when you repeat the process.

Common Trap

  • For repeated integration by parts, the most common error is a dropped or flipped sign on the uvuv term or the integral being subtracted. Carry the full minus sign through every step.
  • For cyclic integrals like exsinxdx\int e^x\sin x\,dx or excosxdx\int e^x\cos x\,dx, do not switch roles between the two rounds. If you do, you just undo your first step.

Free Response

  • For a definite integral, evaluate the uvuv boundary term at the upper and lower limits, not just the leftover integral.
  • Show a clear antiderivative and include +C+C for indefinite integrals. Avoid stringing together equal signs between expressions that are not actually equal. Clean notation makes your work easier to follow.

Common Misconceptions

  • Integration by parts is not just "reverse product rule applied directly." You are reorganizing the product rule into a usable formula, then choosing uu and dvdv strategically. Picking them poorly can make the integral harder.
  • LIATE chooses uu, not dvdv. The function earlier in LIATE becomes uu; everything else (including dxdx) becomes dvdv.
  • Signs matter when you repeat the method. When you substitute a second integration by parts result back in, you are subtracting the entire expression, so distribute the minus sign across every term.
  • You still need +C+C. Indefinite integrals require a constant of integration even after multiple steps.
  • Cyclic integrals are solved with algebra, not endless repetition. Once the original integral reappears, stop and solve for it instead of applying the method again.
  • This is BC-only material. Integration by parts is assessed on the AP Calculus BC exam, so AB students will not see it tested.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

antiderivative

Functions whose derivative equals a given function; the reverse process of differentiation.

definite integral

The integral of a function over a specific interval [a, b], representing the net signed area between the curve and the x-axis.

indefinite integral

Antiderivatives of a function, represented as ∫f(x)dx = F(x) + C, where C is an arbitrary constant.

integrands

The function being integrated in an integral expression.

integration by parts

A technique for finding antiderivatives of products of functions, based on the product rule for derivatives.

Frequently Asked Questions

What is integration by parts?

Integration by parts is a Calculus BC integration technique for products of functions. It rewrites an integral using the reverse of the product rule.

What is the integration by parts formula?

The formula is integral u dv equals uv minus integral v du. You choose u and dv from the original integrand.

How do I choose u for integration by parts?

Use LIATE as a guide: logarithmic, inverse trigonometric, algebraic, trigonometric, exponential. The earlier type usually works best as u.

When do I need integration by parts more than once?

Use it more than once when the new integral is still a product that can be simplified by repeating the method, such as powers of x times trig or exponential functions.

What is a cyclic integration by parts problem?

A cyclic problem is one where applying integration by parts twice brings back the original integral, so you solve algebraically for that original integral.

Is integration by parts on AP Calculus AB?

No. Integration by parts is tested on AP Calculus BC, not AP Calculus AB.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot