AP · Calculus BC · Integration by Parts and Partial Fractions

Integration by Parts

18 min readUpdated November 30, 2026FreeAP Calculus BC, Further Integration Techniques

Integration by parts turns the integral of a product into a different integral that is easier to find, using ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du. You use it when one factor gets simpler when you differentiate it, such as xx, ln⁡x\ln x or arctan⁡x\arctan x, and the other factor is easy to integrate, such as exe^x, sin⁡x\sin x or cos⁡x\cos x.

Quick check

  1. Differentiate xsin⁡xx\sin x.Show answerHide answer

    sin⁡x+xcos⁡x\sin x + x\cos x. The product rule gives the derivative of the first factor times the second, plus the first factor times the derivative of the second. See the AP® Calculus AB note on the product rule if this is not yet automatic.

  2. Find ∫e3x dx\int e^{3x}\,dx.Show answerHide answer

    13e3x+C\dfrac{1}{3}e^{3x} + C. Differentiating e3xe^{3x} gives 3e3x3e^{3x}, so you divide by 33.

  3. In ∫xe5x dx\int xe^{5x}\,dx, which factor gets simpler when you differentiate it?Show answerHide answer

    xx. Its derivative is 11, while the derivative of e5xe^{5x} is still an exponential, 5e5x5e^{5x}.

Know these already? Jump to the practice questions

What you'll be able to do

  • Explain how the integration by parts formula comes from the product rule.
  • Determine which factor to call uu so that the new integral is simpler than the original.
  • Find antiderivatives that need parts more than once, using a table for the repeats.
  • Find ∫ln⁡x dx\int \ln x\,dx and ∫arctan⁡x dx\int \arctan x\,dx by taking dv=dxdv = dx.
  • Evaluate definite integrals by parts, applying the limits to every term.

Key terms

Integration by parts

The rule ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du, where uu and vv are differentiable functions of xx, du=u′(x) dxdu = u'(x)\,dx and dv=v′(x) dxdv = v'(x)\,dx.

In plain English
You trade the integral you can't do for one you can, by differentiating one factor and integrating the other.
Don't write
∫f(x)g(x) dx=∫f(x) dx⋅∫g(x) dx\int f(x)g(x)\,dx = \int f(x)\,dx \cdot \int g(x)\,dx; the integral of a product is not the product of the integrals.

Tabular integration

A layout for repeated integration by parts: one column of successive derivatives of uu, one column of successive antiderivatives of dvdv, and row signs that alternate +,−,+,…+, -, +, \dots

In plain English
A table that does several rounds of parts at once when uu is a polynomial.
Don't write
Every product with a ++ sign; the signs alternate, starting with ++.

Where does the formula come from?

It is the product rule read backwards. For differentiable functions uu and vv of xx:

ddx(uv)=udvdx+vdudx\frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx}

Integrate both sides with respect to xx. The left side gives back uvuv, so uv=∫u dv+∫v duuv = \int u\,dv + \int v\,du. Rearranging gives the rule.

Learn this (there is no formula sheet for AP® Calculus BC):

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

To use it, split the integrand into uu, which you will differentiate, and dvdv, which you will integrate. Write down all four pieces, uu, dudu, vv and dvdv, before you substitute; that habit prevents most slips.

For ∫xex dx\int xe^x\,dx, take u=xu = x and dv=ex dxdv = e^x\,dx. Then du=dxdu = dx and v=exv = e^x, so

∫xex dx=xex−∫ex dx=xex−ex+C\int xe^x\,dx = xe^x - \int e^x\,dx = xe^x - e^x + C

You don't need a constant when you find vv: any antiderivative works, and a single + C+\,C goes on at the end.

Key idea

Integration by parts swaps ∫u dv\int u\,dv for uv−∫v duuv - \int v\,du, so it only helps when ∫v du\int v\,du is easier than the integral you started with.

Check yourself

Find ∫xcos⁡x dx\int x\cos x\,dx.
Show answerHide answer

xsin⁡x+cos⁡x+Cx\sin x + \cos x + C. With u=xu = x and dv=cos⁡x dxdv = \cos x\,dx, you get du=dxdu = dx and v=sin⁡xv = \sin x, so the integral is xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+Cx\sin x - \int \sin x\,dx = x\sin x + \cos x + C.

How do you choose uu and dvdv?

Pick uu so that its derivative is simpler, and dvdv so that you can integrate it. This order of preference for uu works for most integrands:

Prefer as uuExamplesReason
Logarithmsln⁡x\ln xYou can differentiate them, but not integrate them directly
Inverse trig functionsarctan⁡x\arctan x, arcsin⁡x\arcsin xTheir derivatives are algebraic fractions
Polynomialsxx, x2+1x^2 + 1Each derivative lowers the power
Exponentials and sine or cosinee3xe^{3x}, sin⁡2x\sin 2xThey are easy to integrate, so they belong in dvdv

The real test is what happens to the new integral. In ∫xex dx\int xe^x\,dx, the choice u=xu = x leaves ∫ex dx\int e^x\,dx, which is simpler. The opposite choice, u=exu = e^x and dv=x dxdv = x\,dx, gives

x22ex−∫x22ex dx\frac{x^2}{2}e^x - \int \frac{x^2}{2}e^x\,dx

and the power of xx has gone up, so the new integral is harder. When that happens, stop and swap.

Check yourself

For ∫x2ln⁡x dx\int x^2\ln x\,dx, which factor should be uu?
Show answerHide answer

u=ln⁡xu = \ln x. Its derivative 1x\frac{1}{x} cancels with a power of xx, whereas dv=ln⁡x dxdv = \ln x\,dx would need ∫ln⁡x dx\int \ln x\,dx before you even start.

What if one round of parts isn't enough?

If uu is x2x^2, one round leaves a new integral that still contains xx, so you use parts a second time. For ∫x2ex dx\int x^2e^x\,dx:

  • First round, with u=x2u = x^2 and dv=ex dxdv = e^x\,dx: ∫x2ex dx=x2ex−∫2xex dx\int x^2e^x\,dx = x^2e^x - \int 2xe^x\,dx.
  • Second round, with u=2xu = 2x: ∫2xex dx=2xex−2ex\int 2xe^x\,dx = 2xe^x - 2e^x.

So ∫x2ex dx=x2ex−2xex+2ex+C\int x^2e^x\,dx = x^2e^x - 2xe^x + 2e^x + C.

When uu is a polynomial and dvdv can be integrated again and again, tabular integration does the same work faster. Differentiate uu down the middle column until you reach 00, integrate dvdv down the right column, and give the rows the signs +,−,+,…+, -, +, \dots

SignDifferentiate uuIntegrate dvdv
++x2x^2exe^x
−-2x2xexe^x
++22exe^x
00exe^x

Multiply each entry in the middle column by the right-column entry one row lower, with its row's sign: +x2ex−2xex+2ex+x^2e^x - 2xe^x + 2e^x, the same result.

Examiner's eye

Marks are lost when one sign in a repeated integration is dropped. Differentiate your final answer: it must give back the integrand.

Check yourself

Use a table to find ∫x3ex dx\int x^3e^x\,dx.
Show answerHide answer

ex(x3−3x2+6x−6)+Ce^x(x^3 - 3x^2 + 6x - 6) + C. The middle column is x3,3x2,6x,6,0x^3, 3x^2, 6x, 6, 0, every right-column entry is exe^x, and the signs run +,−,+,−+, -, +, -.

How do you handle ln⁡x\ln x, arctan⁡x\arctan x and limits?

For a single function that you can differentiate but not integrate, treat it as a product with 11: take uu as the function and dv=dxdv = dx, so 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

The same idea gives ∫arctan⁡x dx=xarctan⁡x−∫x1+x2 dx\int \arctan x\,dx = x\arctan x - \int \dfrac{x}{1 + x^2}\,dx, and that last integral is a u-substitution (see the AP® Calculus AB note on u-substitution).

For a definite integral, the limits apply to both parts. Learn this:

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

For example, with u=xu = x and dv=sin⁡x dxdv = \sin x\,dx, so that v=−cos⁡xv = -\cos x:

∫0πxsin⁡x dx=[−xcos⁡x]0π+∫0πcos⁡x dx=π+0=π\int_0^{\pi} x\sin x\,dx = \Big[-x\cos x\Big]_0^{\pi} + \int_0^{\pi}\cos x\,dx = \pi + 0 = \pi

The bracket is −πcos⁡π−0=π-\pi\cos\pi - 0 = \pi, and ∫0πcos⁡x dx=sin⁡π−sin⁡0=0\int_0^{\pi}\cos x\,dx = \sin\pi - \sin 0 = 0.

Check yourself

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

11. The antiderivative is xln⁡x−xx\ln x - x, and (eln⁡e−e)−(1ln⁡1−1)=0−(−1)=1(e\ln e - e) - (1\ln 1 - 1) = 0 - (-1) = 1.

Which method fits the integrand?

What you seeMethod
A factor times the derivative of an inside function, such as xcos⁡(x2)x\cos(x^2)u-substitution, from AP® Calculus AB
A polynomial times ekxe^{kx}, sin⁡kx\sin kx or cos⁡kx\cos kxParts, with uu as the polynomial
ln⁡x\ln x or arctan⁡x\arctan x, alone or times a power of xxParts, with uu as the log or inverse trig function
A polynomial uu of degree 2 or moreParts more than once, or a table
A rational function whose denominator factorsPartial fractions: see the note on integration using partial fractions

Worked example 1: A polynomial times a cosine

Question: Find ∫xcos⁡(3x) dx\int x\cos(3x)\,dx.

What tells you the method

The integrand is a product of xx, which differentiates to 11, and cos⁡(3x)\cos(3x), which you can integrate. The factor xx is not a constant multiple of the derivative of the inside function 3x3x, so u-substitution won't work.

  1. Step 1: Choose and list the pieces.

    u=xu = x and dv=cos⁡(3x) dxdv = \cos(3x)\,dx, so du=dxdu = dx and v=13sin⁡(3x)v = \dfrac{1}{3}\sin(3x).

    Why

    Differentiating xx removes it, and cos⁡(3x)\cos(3x) integrates to 13sin⁡(3x)\frac{1}{3}\sin(3x) because the chain rule brings out a factor of 33.

  2. Step 2: Apply the formula.

    ∫xcos⁡(3x) dx=x3sin⁡(3x)−∫13sin⁡(3x) dx\int x\cos(3x)\,dx = \dfrac{x}{3}\sin(3x) - \displaystyle\int \dfrac{1}{3}\sin(3x)\,dx.

    Why

    This is uv−∫v duuv - \int v\,du.

  3. Step 3: Finish the new integral.

    ∫13sin⁡(3x) dx=−19cos⁡(3x)\displaystyle\int \dfrac{1}{3}\sin(3x)\,dx = -\dfrac{1}{9}\cos(3x), so the result is x3sin⁡(3x)+19cos⁡(3x)+C\dfrac{x}{3}\sin(3x) + \dfrac{1}{9}\cos(3x) + C.

    Why

    Subtracting −19cos⁡(3x)-\frac{1}{9}\cos(3x) gives +19cos⁡(3x)+\frac{1}{9}\cos(3x).

Check it

Differentiating gives 13sin⁡(3x)+xcos⁡(3x)−13sin⁡(3x)=xcos⁡(3x)\frac{1}{3}\sin(3x) + x\cos(3x) - \frac{1}{3}\sin(3x) = x\cos(3x), the integrand.

Answer

x3sin⁡(3x)+19cos⁡(3x)+C\dfrac{x}{3}\sin(3x) + \dfrac{1}{9}\cos(3x) + C

Worked example 2: A logarithm with limits

Question: Evaluate ∫1ex2ln⁡x dx\displaystyle\int_1^e x^2\ln x\,dx. Give the exact value and a decimal to three places.

What tells you the method

ln⁡x\ln x can't be integrated directly, but it differentiates to 1x\frac{1}{x}, which cancels with a power of xx.

  1. Step 1: Choose and list the pieces.

    u=ln⁡xu = \ln x and dv=x2 dxdv = x^2\,dx, so du=1x dxdu = \dfrac{1}{x}\,dx and v=x33v = \dfrac{x^3}{3}.

    Why

    Logarithms come first as uu.

  2. Step 2: Apply the formula with limits.

    ∫1ex2ln⁡x dx=[x33ln⁡x]1e−∫1ex23 dx\displaystyle\int_1^e x^2\ln x\,dx = \Big[\dfrac{x^3}{3}\ln x\Big]_1^e - \int_1^e \dfrac{x^2}{3}\,dx.

    Why

    v du=x33⋅1x dx=x23 dxv\,du = \dfrac{x^3}{3}\cdot\dfrac{1}{x}\,dx = \dfrac{x^2}{3}\,dx.

  3. Step 3: Evaluate each part.

    The bracket is e33−0\dfrac{e^3}{3} - 0, and ∫1ex23 dx=e3−19\displaystyle\int_1^e \dfrac{x^2}{3}\,dx = \dfrac{e^3 - 1}{9}.

    Why

    ln⁡e=1\ln e = 1 and ln⁡1=0\ln 1 = 0.

  4. Step 4: Combine.

    e33−e3−19=3e3−e3+19=2e3+19\dfrac{e^3}{3} - \dfrac{e^3 - 1}{9} = \dfrac{3e^3 - e^3 + 1}{9} = \dfrac{2e^3 + 1}{9}.

    Why

    Write both over the common denominator 99.

Check it

The integrand rises from 00 at x=1x = 1 to e2≈7.39e^2 \approx 7.39 at x=ex = e. A trapezoid with those heights has area about 6.356.35, and the graph bends upward, so the true value is less than that; 4.5754.575 fits.

Answer

2e3+19≈4.575\dfrac{2e^3 + 1}{9} \approx 4.575

Worked example 3: Parts twice in a free-response setting

Question: The function ff satisfies f′(x)=x2e−xf'(x) = x^2e^{-x} for all xx, and f(0)=1f(0) = 1. (a) Find f(x)f(x). (b) Find f(2)f(2), correct to three decimal places.

What tells you the method

ff is an antiderivative of a polynomial times an exponential, and the polynomial is x2x^2, so you need parts twice; a table is quickest.

  1. Step 1: Set up the table.

    Differentiate down from x2x^2: x2,2x,2,0x^2, 2x, 2, 0. Integrate down from e−xe^{-x}: e−x,−e−x,e−x,−e−xe^{-x}, -e^{-x}, e^{-x}, -e^{-x}. The row signs are +,−,++, -, +.

    Why

    x2x^2 reaches 00 after three derivatives, and each antiderivative of e−xe^{-x} flips the sign.

  2. Step 2: Multiply along the diagonals.

    +x2(−e−x)−2x(e−x)+2(−e−x)=−e−x(x2+2x+2)+x^2(-e^{-x}) - 2x(e^{-x}) + 2(-e^{-x}) = -e^{-x}(x^2 + 2x + 2).

    Why

    Each derivative pairs with the antiderivative one row lower, carrying its row's sign.

  3. Step 3: Use the initial condition.

    f(x)=−e−x(x2+2x+2)+Cf(x) = -e^{-x}(x^2 + 2x + 2) + C, and f(0)=−2+C=1f(0) = -2 + C = 1, so C=3C = 3.

    Why

    The condition fixes the one constant.

  4. Step 4: Evaluate at x=2x = 2.

    f(2)=3−e−2(4+4+2)=3−10e−2f(2) = 3 - e^{-2}(4 + 4 + 2) = 3 - 10e^{-2}.

    Why

    Keep e−2e^{-2} exact until the final rounding.

Check it

f′(x)=e−x(x2+2x+2)−e−x(2x+2)=x2e−xf'(x) = e^{-x}(x^2 + 2x + 2) - e^{-x}(2x + 2) = x^2e^{-x}, the given derivative, and f(0)=3−2=1f(0) = 3 - 2 = 1.

Answer

(a) f(x)=3−e−x(x2+2x+2)f(x) = 3 - e^{-x}(x^2 + 2x + 2). (b) f(2)=3−10e−2≈1.647f(2) = 3 - 10e^{-2} \approx 1.647.

Your turn

Question: Evaluate ∫01arctan⁡x dx\displaystyle\int_0^1 \arctan x\,dx. Give the exact value and a decimal to three places.

  1. Step 1:

    arctan⁡x\arctan x can't be integrated directly, so take u=arctan⁡xu = \arctan x and dv=dxdv = dx. Then du=11+x2 dxdu = \dfrac{1}{1 + x^2}\,dx and v=xv = x.

  2. Step 2:

    The formula gives [xarctan⁡x]01−∫01x1+x2 dx\Big[x\arctan x\Big]_0^1 - \displaystyle\int_0^1 \dfrac{x}{1 + x^2}\,dx.

  3. Step 3: Your go: evaluate both parts.

    Use arctan⁡1=π4\arctan 1 = \frac{\pi}{4}, and find the last integral with the substitution w=1+x2w = 1 + x^2.

Show the full solutionHide the solution

The bracket is 1⋅π4−0=π41 \cdot \dfrac{\pi}{4} - 0 = \dfrac{\pi}{4}.

With w=1+x2w = 1 + x^2, dw=2x dxdw = 2x\,dx, so ∫01x1+x2 dx=12[ln⁡(1+x2)]01=12ln⁡2\displaystyle\int_0^1 \dfrac{x}{1 + x^2}\,dx = \dfrac{1}{2}\Big[\ln(1 + x^2)\Big]_0^1 = \dfrac{1}{2}\ln 2.

Answer: π4−12ln⁡2≈0.439\dfrac{\pi}{4} - \dfrac{1}{2}\ln 2 \approx 0.439

Traps

Trap

Taking u=exu = e^x and dv=x dxdv = x\,dx in ∫xex dx\int xe^x\,dx.

It seems right because exe^x is its own derivative, so it looks harmless as uu. But uu must be the factor that gets simpler: this choice leaves ∫x22ex dx\int \frac{x^2}{2}e^x\,dx, which is harder. Take u=xu = x, so the new integral is ∫ex dx\int e^x\,dx.

Check yourself

In ∫xsin⁡x dx\int x\sin x\,dx, does u=xu = x or u=sin⁡xu = \sin x give the simpler new integral?
Show answerHide answer

u=xu = x. It leaves ∫(−cos⁡x) dx\int (-\cos x)\,dx, while u=sin⁡xu = \sin x with dv=x dxdv = x\,dx leaves ∫x22cos⁡x dx\int \frac{x^2}{2}\cos x\,dx, with a higher power of xx.

Trap

Putting the limits on the new integral only, as in ∫02xex dx=xex−∫02ex dx\int_0^2 xe^x\,dx = xe^x - \int_0^2 e^x\,dx.

It seems right because the limits sit on the integral sign. But the uvuv term must be evaluated at the limits too: [xex]02−∫02ex dx=2e2−(e2−1)=e2+1\Big[xe^x\Big]_0^2 - \int_0^2 e^x\,dx = 2e^2 - (e^2 - 1) = e^2 + 1.

Check yourself

Evaluate ∫12ln⁡x dx\int_1^2 \ln x\,dx.
Show answerHide answer

2ln⁡2−12\ln 2 - 1. The bracket [xln⁡x]12=2ln⁡2\Big[x\ln x\Big]_1^2 = 2\ln 2, and you subtract ∫121 dx=1\int_1^2 1\,dx = 1.

Trap

Giving every row of a table a ++ sign.

It seems right because each row looks like a fresh product. But each row is one more round of uv−∫v duuv - \int v\,du, and the minus sign in front of ∫v du\int v\,du flips the sign each time, so the signs run +,−,+,−,…+, -, +, -, \dots

Check yourself

In the table for ∫x2sin⁡x dx\int x^2\sin x\,dx, the second row pairs 2x2x with −sin⁡x-\sin x. What term does it give?
Show answerHide answer

+2xsin⁡x+2x\sin x. The second row has a minus sign, so the term is −2x(−sin⁡x)-2x(-\sin x). The full result is −x2cos⁡x+2xsin⁡x+2cos⁡x+C-x^2\cos x + 2x\sin x + 2\cos x + C.

What's examined

Integration by parts is part of Unit 6 (Further Integration Techniques) of the AP® Calculus BC exam. It can appear in multiple choice, where options can differ by a single sign or a missing term, so differentiate your answer to check it. In free response it sits inside questions that need an antiderivative: finding ff from f′f', an area, a volume or an accumulated amount. Expect to do it by hand, so write uu, dvdv, dudu and vv, then each stage of the working. When a graphing calculator is allowed, write the definite integral with its limits before giving its value.

Practice questions

  1. Recall Which choice of uu and dvdv leads most directly to ∫xln⁡x dx\int x\ln x\,dx?
  • A) u=xu = x, dv=ln⁡x dxdv = \ln x\,dx
  • B) u=xln⁡xu = x\ln x, dv=dxdv = dx
  • C) u=ln⁡xu = \ln x, dv=x dxdv = x\,dx
  • D) u=1u = 1, dv=xln⁡x dxdv = x\ln x\,dx
Show answer

Answer: C, u=ln⁡xu = \ln x and dv=x dxdv = x\,dx.

Marking points:

  • du=1x dxdu = \frac{1}{x}\,dx and v=x22v = \frac{x^2}{2}, so the new integral is ∫x2 dx\int \frac{x}{2}\,dx, which is easy.
  • A needs ∫ln⁡x dx\int \ln x\,dx before you start; B gives du=(ln⁡x+1) dxdu = (\ln x + 1)\,dx, which brings the original integral back; D leaves the original integral untouched.
  1. Apply Find ∫(2x+1)ex dx\int (2x + 1)e^x\,dx.
Show answer

Answer: (2x−1)ex+C(2x - 1)e^x + C

Marking points:

  • u=2x+1u = 2x + 1 and dv=ex dxdv = e^x\,dx, so du=2 dxdu = 2\,dx and v=exv = e^x.
  • (2x+1)ex−∫2ex dx=(2x+1)ex−2ex+C=(2x−1)ex+C(2x + 1)e^x - \int 2e^x\,dx = (2x + 1)e^x - 2e^x + C = (2x - 1)e^x + C.
  1. Apply What is the value of ∫01xex dx\int_0^1 xe^x\,dx?
  • A) 11
  • B) e2\dfrac{e}{2}
  • C) ee
  • D) 2e−12e - 1
Show answer

Answer: A, 11.

Marking points:

  • u=xu = x and dv=ex dxdv = e^x\,dx: [xex]01−∫01ex dx=e−(e−1)=1\Big[xe^x\Big]_0^1 - \int_0^1 e^x\,dx = e - (e - 1) = 1.
  • B comes from taking u=exu = e^x and dropping the new integral; C drops ∫v du\int v\,du; D adds ∫v du\int v\,du instead of subtracting it.
  1. Apply Find ∫x3ln⁡x dx\int x^3\ln x\,dx.
Show answer

Answer: x44ln⁡x−x416+C\dfrac{x^4}{4}\ln x - \dfrac{x^4}{16} + C

Marking points:

  • u=ln⁡xu = \ln x and dv=x3 dxdv = x^3\,dx, so du=1x dxdu = \frac{1}{x}\,dx and v=x44v = \frac{x^4}{4}.
  • x44ln⁡x−∫x34 dx=x44ln⁡x−x416+C\frac{x^4}{4}\ln x - \int \frac{x^3}{4}\,dx = \frac{x^4}{4}\ln x - \frac{x^4}{16} + C.
  1. Exam-style Which of the following is ∫x2cos⁡x dx\int x^2\cos x\,dx?
  • A) x2sin⁡x−2xcos⁡x−2sin⁡x+Cx^2\sin x - 2x\cos x - 2\sin x + C
  • B) −x2sin⁡x+2xcos⁡x+2sin⁡x+C-x^2\sin x + 2x\cos x + 2\sin x + C
  • C) x2sin⁡x+2xcos⁡x+Cx^2\sin x + 2x\cos x + C
  • D) x2sin⁡x+2xcos⁡x−2sin⁡x+Cx^2\sin x + 2x\cos x - 2\sin x + C
Show answer

Answer: D, x2sin⁡x+2xcos⁡x−2sin⁡x+Cx^2\sin x + 2x\cos x - 2\sin x + C.

Marking points:

  • Table: derivatives x2,2x,2,0x^2, 2x, 2, 0; antiderivatives of cos⁡x\cos x: sin⁡x,−cos⁡x,−sin⁡x\sin x, -\cos x, -\sin x; signs +,−,++, -, +.
  • +x2sin⁡x−2x(−cos⁡x)+2(−sin⁡x)=x2sin⁡x+2xcos⁡x−2sin⁡x+x^2\sin x - 2x(-\cos x) + 2(-\sin x) = x^2\sin x + 2x\cos x - 2\sin x.
  • A gives every row a ++ sign; B integrates cos⁡x\cos x as −sin⁡x-\sin x; C stops one row early.
  1. Apply What is the value of ∫0π/2xcos⁡x dx\int_0^{\pi/2} x\cos x\,dx?
  • A) π2+1\dfrac{\pi}{2} + 1
  • B) π2−1\dfrac{\pi}{2} - 1
  • C) π2\dfrac{\pi}{2}
  • D) 1−π21 - \dfrac{\pi}{2}
Show answer

Answer: B, π2−1\dfrac{\pi}{2} - 1.

Marking points:

  • u=xu = x and dv=cos⁡x dxdv = \cos x\,dx: [xsin⁡x]0π/2−∫0π/2sin⁡x dx=π2−1\Big[x\sin x\Big]_0^{\pi/2} - \int_0^{\pi/2}\sin x\,dx = \frac{\pi}{2} - 1.
  • A integrates sin⁡x\sin x as cos⁡x\cos x; C drops ∫v du\int v\,du; D uses v=−sin⁡xv = -\sin x.
  1. Exam-style Let RR be the region in the first quadrant bounded by the graph of y=xe−xy = xe^{-x}, the xx-axis and the line x=2x = 2. (a) Find the area of RR, exact and to three decimal places. (b) Find the volume of the solid generated when RR is revolved about the xx-axis, correct to three decimal places.
Show answer

Answer: (a) 1−3e−2≈0.5941 - 3e^{-2} \approx 0.594. (b) π4(1−13e−4)≈0.598\dfrac{\pi}{4}\left(1 - 13e^{-4}\right) \approx 0.598.

Marking points:

  • Area =∫02xe−x dx= \int_0^2 xe^{-x}\,dx; parts with u=xu = x gives [−(x+1)e−x]02=1−3e−2\Big[-(x + 1)e^{-x}\Big]_0^2 = 1 - 3e^{-2}.
  • Volume =π∫02x2e−2x dx= \pi\int_0^2 x^2e^{-2x}\,dx by disks (see the AP® Calculus AB note on volumes of revolution).
  • A table gives the antiderivative −e−2x(x22+x2+14)-e^{-2x}\left(\frac{x^2}{2} + \frac{x}{2} + \frac{1}{4}\right), which runs from −14-\frac{1}{4} at x=0x = 0 to −134e−4-\frac{13}{4}e^{-4} at x=2x = 2.
  • So the volume is π(14−134e−4)≈0.598\pi\left(\frac{1}{4} - \frac{13}{4}e^{-4}\right) \approx 0.598.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du is the product rule integrated and rearranged; learn it, because there is no formula sheet.
  • Choose uu to get simpler when differentiated (logs, inverse trig, then polynomials) and dvdv to be something you can integrate.
  • A polynomial uu of degree nn needs nn rounds of parts; a table with alternating signs sets them all out at once.
  • For ln⁡x\ln x or arctan⁡x\arctan x on its own, take dv=dxdv = dx so that v=xv = x.
  • With limits, evaluate [uv]ab\Big[uv\Big]_a^b as well as the new integral.

Keep learning

Explore AP Calculus BC tutoring →

View the full Calculus BC syllabus →

More in this unit

Further Integration Techniques

All Integration by Parts and Partial Fractions notes

Part of Novark's AP Calculus BC notes