AP Calculus BC only · Unit 6 · Topic 6.11

    6.11 Integrating Using Integration by Parts

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    Integration by parts reverses the product rule: ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du. It turns an integral you cannot do into one you can, provided you choose uu to become simpler when differentiated and dvdv to be something you can integrate. It handles products such as xexxe^x, xcos⁡xx\cos x and xln⁡xx\ln x, and even single functions like ln⁡x\ln x.

    What you need to know

    • Derive the integration by parts formula from the product rule.
    • Choose u and dv so that the new integral is simpler.
    • Apply integration by parts more than once, including the tabular method.
    • Evaluate definite integrals using integration by parts.

    Where the formula comes from

    The product rule says ddx(uv)=udvdx+vdudx\frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx}. Integrating both sides gives uv=∫u dv+∫v duuv = \int u\,dv + \int v\,du, and rearranging gives the formula you will use:

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

    Example. Find ∫xex dx\int xe^x\,dx. Let 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. Check by differentiating: ex+xex−ex=xexe^x + xe^x - e^x = xe^x.

    The method works because differentiating xx turns it into 1, leaving an integral that is easy. If you had chosen u=exu = e^x and dv=x dxdv = x\,dx, the new integral would be ∫x22ex dx\int \frac{x^2}{2}e^x\,dx, which is harder than the one you started with.

    Choosing u and dv

    A common guide is LIATE: choose uu from the first type in the list that appears in the integrand, Logarithmic, Inverse trigonometric, Algebraic (polynomials), Trigonometric, Exponential. Everything else, including dxdx, becomes dvdv. It is a rule of thumb, not a law, but it works for nearly every AP question.

    Example. ∫xcos⁡x dx\int x\cos x\,dx: u=xu = x, dv=cos⁡x dxdv = \cos x\,dx, so v=sin⁡xv = \sin x and 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.

    Example. ∫ln⁡x dx\int \ln x\,dx looks like a single function, but write it as ∫ln⁡x⋅1 dx\int \ln x \cdot 1\,dx with u=ln⁡xu = \ln x and dv=dxdv = dx. Then du=1x dxdu = \frac{1}{x}\,dx, v=xv = x, and the integral is xln⁡x−∫1 dx=xln⁡x−x+Cx\ln x - \int 1\,dx = x\ln x - x + C.

    Using parts more than once

    For ∫x2ex dx\int x^2e^x\,dx, one application with u=x2u = x^2 leaves ∫2xex dx\int 2xe^x\,dx, which needs parts again. The result is x2ex−2xex+2ex+Cx^2e^x - 2xe^x + 2e^x + C. When uu is a polynomial and dvdv is easy to integrate repeatedly, a table speeds this up: differentiate uu down to zero in one column, integrate dvdv in the other, and multiply along the diagonals with alternating signs.

    Tabular method for ∫x²eˣ dx
    SignDerivatives of uIntegrals of dv
    +x2x^2exe^x
    −2x2xexe^x
    +2exe^x
    0exe^x

    Some integrals cycle back to themselves. For ∫exsin⁡x dx\int e^x\sin x\,dx, applying parts twice returns −∫exsin⁡x dx-\int e^x\sin x\,dx on the right. Calling the integral II, you get I=exsin⁡x−excos⁡x−II = e^x\sin x - e^x\cos x - I, so I=12ex(sin⁡x−cos⁡x)+CI = \frac{1}{2}e^x(\sin x - \cos x) + C. This is uncommon on the exam but worth recognising.

    Definite integrals and the exam

    With limits, evaluate the uvuv part at both ends too: ∫abu dv=[uv]ab−∫abv du\int_a^b u\,dv = \big[uv\big]_a^b - \int_a^b v\,du. For example, ∫01xex dx=[xex−ex]01=(e−e)−(0−1)=1\int_0^1 xe^x\,dx = \big[xe^x - e^x\big]_0^1 = (e - e) - (0 - 1) = 1.

    A favourite BC question gives a table of values of ff and f′f' and asks for something like ∫01xf′′(x) dx\int_0^1 xf''(x)\,dx. With u=xu = x and dv=f′′(x) dxdv = f''(x)\,dx, v=f′(x)v = f'(x), so the integral is [xf′(x)]01−∫01f′(x) dx=f′(1)−(f(1)−f(0))\big[xf'(x)\big]_0^1 - \int_0^1 f'(x)\,dx = f'(1) - \big(f(1) - f(0)\big). No formula for ff is needed, only the table.

    Key terms

    Integration by parts
    ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du, the product rule in reverse.
    LIATE
    An order for choosing u: logarithmic, inverse trig, algebraic, trigonometric, exponential.
    Tabular method
    A table that organises repeated integration by parts when u is a polynomial.
    Cyclic integral
    An integral that reappears after two applications of parts and is solved algebraically.

    Common mistakes

    • Writing uv + ∫v du.

      The formula has a minus sign: uv − ∫v du.

    • Choosing u so that ∫v du is harder.

      Pick u to simplify when differentiated, such as a polynomial or ln x.

    • Forgetting to evaluate uv at both limits in a definite integral.

      Apply the limits to every term.

    How this topic is tested

    • Write u, dv, du and v in a small box before using the formula.
    • Check an indefinite answer by differentiating it.
    • For table questions, use parts to turn ∫x f″(x) dx into values of f and f′.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      Which is ∫xe2x dx\int xe^{2x}\,dx?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      Which is ∫ln⁡x dx\int \ln x\,dx?

    3. Question 3 · MP 3 · Justification

      For ∫x2sin⁡x dx\int x^2\sin x\,dx, which choice of uu is best?

    4. Question 4 · MP 1 · Implementing Mathematical Processes

      What is ∫0πxsin⁡x dx\int_0^\pi x\sin x\,dx?

    5. Question 5 · MP 2 · Connecting Representations

      f(0)=1f(0) = 1, f(1)=2f(1) = 2, f′(1)=3f'(1) = 3, and f′′f'' is continuous. What is ∫01xf′′(x) dx\int_0^1 xf''(x)\,dx?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    This question uses integration by parts.

    1. (a) Find ∫xln⁡x dx\int x\ln x\,dx.
    2. (b) Evaluate ∫1exln⁡x dx\int_1^e x\ln x\,dx.
    3. (c) Find ∫xe−x dx\int xe^{-x}\,dx.

    Connected topics

    Frequently asked questions

    Is integration by parts on the AB exam?

    No. It is a BC-only topic (6.11).

    Do I have to use LIATE?

    No. Any choice that makes the new integral simpler is fine; LIATE is just a reliable guide.

    Will I need the tabular method?

    It is never required, but it saves time when u is a polynomial of degree 2 or more.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the BC exam is laid out.

    Free Unit 6 cheat sheet

    Every topic in Unit 6: Integration and Accumulation of Change on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus BC practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus BC practice examsUnit 6 is one of 10 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Related lessons in other AP courses

    All topics in Unit 6: Integration and Accumulation of Change

    1. 6.11 Integrating Using Integration by Parts
    2. 6.12 Integrating Using Linear Partial Fractions
    3. 6.13 Evaluating Improper Integrals

    Other units in AP Calculus BC

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.