All AP Courses AP Calculus BCAP Calc BC

Unit 6 · Topic 6.11 · about 30 minutes · 7 parts · 10 scored checks, 2 of them multiple choice, plus 2 from earlier lessons

AP Calculus BC 6.11: Integrating Using Integration by Parts

Unit 6: 15 to 20% of the multiple-choice section

What you'll be able to do

  • Find indefinite integrals and evaluate definite integrals whose integrands need integration by parts, choosing u and dv so that the new integral is simpler than the first.

Key vocabulary

TermWhat it meansThe exam trap
Integration by partsA technique for finding antiderivatives, ∫udv=uv−∫vdu, that comes from the product rule.The formula only moves the work to a new integral. Before you go further, ask whether that new integral is easier than the one you started with.
AntiderivativeA function F is an antiderivative of f when F′(x)=f(x).Check any antiderivative you find by differentiating it; the result must be the integrand exactly, with nothing left over.
Indefinite integral, ∫f(x)dxThe family of all antiderivatives of f, written F(x)+C where F′(x)=f(x).Write the +C once, at the end of the final answer, on every indefinite integral.
Definite integral, ∫abf(x)dxThe number ∫abf(x)dx, the limit of Riemann sums of f on [a,b]. When F is an antiderivative of a continuous f, it equals F(b)−F(a).When a method splits the work into pieces, every piece of a definite integral is evaluated between the same two limits.
The graph of y = ln x from x = 1 to x = e squared, inside a rectangle that reaches up to y = 2. The region under the curve has area 8.389 and the region between the curve and the y-axis has area 6.389. Together they fill the rectangle, whose area is 2e squared, or 14.778.Tap to open the picture full size

Part 1 Think first Which function warms the sample?

Pick one before reading on. A committed guess, even a wrong one, makes the lesson that follows easier to remember.

Predict first

A heater is switched on under a lab sample, and t minutes later the sample's temperature is rising at r(t)=tet degrees Celsius per minute. To find the total rise you need a function whose derivative is tet. Which one is it?

In short. Integration by parts is the product rule run backward, ∫udv=uv−∫vdu, a technique for finding antiderivatives that trades one integral for another.

  • Choose dv to be a factor you can integrate, and u a factor that gets simpler when you differentiate it, so that the new integral is easier than the first.
  • Differentiate u to get du and integrate dv to get v, then apply the formula and finish the new integral. An indefinite integral ends in +C.
  • In a definite integral both pieces carry the limits: ∫abudv=[uv]ab−∫abvdu.

Part 2 Learn it Three short ideas, each checked as you go

6a. The product rule, run backward

The product rule says that for differentiable functions u and v of x,

ddx(uv)=udvdx+vdudx.

Integrate both sides. The left side gives back uv, so

uv=∫udvdxdx+∫vdudxdx.

Move the second integral across, and write dv for v′(x)dx and du for u′(x)dx:

∫udv=uv−∫vdu.

That is integration by parts. You split the integrand into a factor u, which you differentiate, and a factor dv, which you integrate. The formula does not finish the job. It trades ∫udv for ∫vdu, which you want to be easier.

Take ∫xcos⁡xdx. Let u=x and dv=cos⁡xdx, so du=dx and v=sin⁡x. Then

∫xcos⁡xdx=xsin⁡x−∫sin⁡xdx
=xsin⁡x+cos⁡x+C.

Check by differentiating: sin⁡x+xcos⁡x−sin⁡x=xcos⁡x.

The picture at the top shows the same identity as area. With u=ln⁡x and v=x, the region under the curve is ∫udv, the region beside it is ∫vdu, and together they make uv at the end minus uv at the start.

Quick check · Fill the statement

No calculator. Tap a blank, then tap an answer.

To find ∫xe3xdx, let u= and dv= dx, so that v= . Then ∫xe3xdx= .

6b. Choosing u and dv

The whole method rests on the split. Two things should be true:

  • dv is something you can integrate, because you need v.
  • ∫vdu is simpler than the integral you started with. That usually happens when u gets simpler as you differentiate it.

A power of x gets simpler: x becomes 1, and x3 becomes 3x2. That is why u=x worked for ∫xcos⁡xdx. Swap the roles, u=cos⁡x and dv=xdx, and the formula gives

∫xcos⁡xdx=x22cos⁡x+∫x22sin⁡xdx,

which is true but harder than where you began.

A logarithm turns the usual choice around. ln⁡x is the factor you cannot easily integrate, but its derivative, 1x, is a power of x. In ∫x3ln⁡xdx, let u=ln⁡x and dv=x3dx. Then du=1xdx and v=x44, so

∫x3ln⁡xdx=x44ln⁡x−∫x34dx
=x44ln⁡x−x416+C.

Even ln⁡x alone works this way, with dv=dx and v=x: ∫ln⁡xdx=xln⁡x−x+C.

If your first split leaves a harder integral, go back and swap.

Quick check · Sort it

No calculator. For each integrand, which choice of u makes the new integral, ∫vdu, simpler? Tap a card, then a bin.

Let u be the power of x

Let u be the other factor

6c. Definite integrals: limits on both pieces

For a definite integral the formula carries its limits on both pieces:

∫abudv=[uv]ab−∫abvdu.

The first piece, [uv]ab, means u(b)v(b)−u(a)v(a). It is a number, and it is the piece students drop, because in an indefinite integral it simply stays in the answer.

Take ∫0π/2xcos⁡xdx, with u=x and dv=cos⁡xdx as before:

∫0π/2xcos⁡xdx=[xsin⁡x]0π/2−∫0π/2sin⁡xdx.

The first piece is π2⋅1−0⋅0=π2. The second is [−cos⁡x]0π/2=0−(−1)=1. So the integral is π2−1.

You can also find the whole antiderivative first, xsin⁡x+cos⁡x, and evaluate it once: (π2+0)−(0+1)=π2−1. Both routes give the same value. What never works is putting the limits on one piece and not the other.

Quick check · Calculate

No calculator. Evaluate ∫1eln⁡xdx.

Part 3 Watch it done A definite integral with a logarithm

Watch each step, then finish the last one yourself.

Evaluate ∫1ex2ln⁡xdx.

  1. Step 1 · Choose u and dv

    Let u=ln⁡x and dv=x2dx.

  2. Why this step?

    Why let u=ln⁡x rather than u=x2?

    Differentiating ln⁡x gives 1x, which cancels a power of x, so the new integral is a plain power of x. With u=x2 you would need v, an antiderivative of ln⁡x, and the new integral would still hold a logarithm.

  3. Step 2 · Find du and v

    du=1xdx and v=x33.

  4. Step 3 · Apply the formula with the limits on both pieces

    ∫1ex2ln⁡xdx=[x33ln⁡x]1e−∫1ex33⋅1xdx=(e33⋅1−13⋅0)−∫1ex23dx.

  5. Your step · Multiple choice

    No calculator. Finish it. The integral is now e33−∫1ex23dx, and an antiderivative of x23 is x39. What is the value of ∫1ex2ln⁡xdx?

Part 4 Try it A choice to judge and a constant to find

Try it · Decide and justify

No calculator. To find ∫xln⁡xdx, a classmate lets u=x and dv=ln⁡xdx. Is u=x the better choice of u here?

Which reason supports your answer?

Try it · Calculate

No calculator. For some constant k, ∫xcos⁡(2x)dx=x2sin⁡(2x)+kcos⁡(2x)+C. What is k?

Part 5 Explain it Write it out by hand

Free response on the exam is handwritten, so do this one on paper. Nothing you type here leaves this page. When you are done, open the model answer and score yourself point by point.

Free response is 50% of the exam score. This one is shaped like Question 3, from free-response Part B (calculator not permitted).

Free-response practice · Question 3 style

No calculator. A medication enters a patient's bloodstream at a rate of r(t)=8te−t milligrams per hour, where t is the time in hours after the dose is taken.

(a) Use integration by parts to find ∫te−tdt. State your choice of u and dv.

(b) Find ∫02r(t)dt. Using correct units, interpret the meaning of this value in the context of the problem.

(c) A classmate starts part (a) with u=e−t and dv=tdt. Write the expression this choice gives after one use of integration by parts, and explain why this choice does not help.

Model answer

(a) Let u=t and dv=e−tdt. Then du=dt and v=−e−t, so ∫te−tdt=−te−t−∫(−e−t)dt=−te−t−e−t+C.

(b) ∫02r(t)dt=8[−te−t−e−t]02=8[(−2e−2−e−2)−(0−1)]=8−24e−2. From t=0 to t=2 hours, 8−24e−2 milligrams of the medication entered the patient's bloodstream.

(c) With du=−e−tdt and v=t22, the formula gives ∫te−tdt=t22e−t+∫t22e−tdt. The new integral has t2 where the original had t, so it is harder than the one we started with. Differentiating e−t never makes it simpler, while differentiating t does.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself A function known only from a table

Both case questions use this table. Read every value you need from it.

The function f is twice differentiable for all real numbers, and f′′ is continuous. The table gives some values of f and f′, and ∫14f(x)dx=14.

Values of f and its derivative
xf(x)f′(x)
123
251
46−2

Case question 1 · Calculate

No calculator. What is the value of ∫14xf′(x)dx?

Case question 2 · Multiple choice

No calculator. What is the value of ∫14xf′′(x)dx?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student finds ∫xsin⁡xdx by parts. Tap the first line with a mistake.

Check yourself · Match

No calculator. Tap an integral, then its antiderivative.

Part 7 Keep it Bring back earlier ideas

Integration by parts is built on the product rule and finishes with the basic antiderivatives and substitution. Pulling those back up is what keeps them.

From 6.9 Integrating Using Substitution · Calculate

No calculator. Evaluate ∫1e2ln⁡xxdx.

From 2.8 The Product Rule · Multiple choice

No calculator. Let f(x)=x2cos⁡x. Which expression is f′(x)?

In three lines

  • Integration by parts reverses the product rule: the integral of u dv equals uv minus the integral of v du.
  • Choose dv as a factor you can integrate and u as one that gets simpler when differentiated; a logarithm usually goes in u.
  • In a definite integral evaluate uv between the limits too; an indefinite integral ends in + C.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

On a free-response question, write u, dv, du and v on their own line before you apply the formula, so a reader can follow the choice. Keep the minus sign and parentheses in front of ∫vdu until it is integrated, put +C on every indefinite integral, and in a definite integral show [uv]ab evaluated at both limits.

Questions students ask

How do I decide which factor is u?

Pick dv as a factor you can integrate and u as a factor that gets simpler when you differentiate it, so that ∫vdu is easier than the integral you started with. A power of x usually goes in u, except next to a logarithm, where ln⁡x goes in u.

What happens if I choose badly?

Nothing wrong mathematically: the formula is still true. You just get a new integral that is harder than the first, like a higher power of x. When that happens, go back and swap the roles of u and dv.

Do I need a + C when I find v?

No. Any antiderivative of dv works as v, so use the simplest one. Put a single +C on the final answer of an indefinite integral.

What if the new integral still needs integration by parts?

Use it again on the new integral. In ∫x2exdx, for example, u=x2 leaves ∫2xexdx, and a second round with u=2x finishes it. Keep the minus sign in front of the whole second round.

How is this different from substitution?

Substitution undoes the chain rule, so it fits when one factor is the derivative of an inside function, as in ∫xex2dx. Integration by parts undoes the product rule, so it fits a product of two unrelated factors, as in ∫xexdx.

Course alignment, for teachers

AP Calculus BC topic 6.11, Unit 6: Integration and Accumulation of Change.

  • Skill 1.E: Apply appropriate mathematical rules or procedures, with and without technology.

This lesson maps the one essential knowledge statement of the topic to the part that teaches each one: 1 is checked by a scored question. The map is in the lesson file.