Skip to main content
United StatesCalculusSyllabus dot point

How does integration by parts reverse the product rule to integrate a product of functions?

Topic 6.11 Integrating Using Integration by Parts: integrate products of functions by reversing the product rule, choosing the parts and applying the formula, including repeated use (BC).

A focused answer to AP Calculus BC Topic 6.11, integrating products of functions by reversing the product rule, choosing u and dv with LIATE, and applying integration by parts including repeated use, with worked examples.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The formula and where it comes from
  3. Choosing the parts: LIATE
  4. A worked single application
  5. When the natural choice of dv is just dx
  6. Repeated integration by parts
  7. A worked repeated application

What this topic is asking

The College Board (Topic 6.11, BC only) introduces integration by parts, the integration technique that reverses the product rule. When an integrand is a product of two functions of different kinds (for example a polynomial times an exponential, or a variable times a trigonometric function), substitution usually fails, and integration by parts is the tool that breaks the product apart.

The formula and where it comes from

Choosing the parts: LIATE

The whole skill is choosing uu so that the new integral vdu\int v\,du is easier than the one you started with. The mnemonic LIATE orders the function types by how good a choice they are for uu: Logarithmic, Inverse trig, Algebraic (polynomial), Trigonometric, Exponential. Pick uu to be whichever factor comes first in that list. The logic is that logarithms and inverse trig functions are hard to integrate but easy to differentiate, so they make good uu; exponentials and trig functions are easy to integrate, so they make good dvdv. Polynomials are good uu because each differentiation lowers the degree, eventually reaching a constant.

A worked single application

When the natural choice of dv is just dx

Some integrands look like a single function with nothing obvious to integrate, but parts still works by taking dv=dxdv = dx. The standard case is lnxdx\int \ln x\,dx: choose u=lnxu = \ln x and dv=dxdv = dx, so du=1xdxdu = \frac{1}{x}\,dx and v=xv = x. Then

lnxdx=xlnxx1xdx=xlnx1dx=xlnxx+C.\int \ln x\,dx = x\ln x - \int x\cdot\frac{1}{x}\,dx = x\ln x - \int 1\,dx = x\ln x - x + C.

The same trick handles arctanxdx\int \arctan x\,dx and arcsinxdx\int \arcsin x\,dx, where the inverse function is uu and dv=dxdv = dx. Recognizing that dv=dxdv = dx is allowed is what makes these single-function integrals tractable.

Repeated integration by parts

When uu is a higher-degree polynomial, one application leaves an integral that still contains a product, so you apply parts again. For x2exdx\int x^2 e^x\,dx, the first pass with u=x2u = x^2 leaves 2xexdx\int 2x e^x\,dx, which is the worked example above scaled by 2. Each pass lowers the polynomial degree by one until it disappears. A second family needs parts twice for a different reason: exsinxdx\int e^x\sin x\,dx returns to a multiple of the original integral after two applications, and you solve for it algebraically. Writing I=exsinxdxI = \int e^x\sin x\,dx, two applications give I=exsinxexcosxII = e^x\sin x - e^x\cos x - I, so 2I=exsinxexcosx2I = e^x\sin x - e^x\cos x and I=12ex(sinxcosx)+CI = \frac{1}{2}e^x(\sin x - \cos x) + C.

A worked repeated application

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2021 (BC, style)1 marksSection I (multiple choice, no calculator). xcosxdx=\int x\cos x\,dx = (A) xsinx+cosx+Cx\sin x + \cos x + C (B) xsinxcosx+Cx\sin x - \cos x + C (C) xsinx+cosx+C-x\sin x + \cos x + C (D) x22sinx+C\frac{x^2}{2}\sin x + C
Show worked answer →

The correct answer is (A), xsinx+cosx+Cx\sin x + \cos x + C.

Let u=xu = x and dv=cosxdxdv = \cos x\,dx, so du=dxdu = dx and v=sinxv = \sin x. Then xcosxdx=xsinxsinxdx=xsinx(cosx)+C=xsinx+cosx+C\int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x - (-\cos x) + C = x\sin x + \cos x + C.

AP 2023 (BC, style)4 marksSection II (free response, no calculator). Evaluate 01xe2xdx\int_0^1 x e^{2x}\,dx using integration by parts, showing the choice of parts.
Show worked answer →

A 4-point integration-by-parts problem.

(2 points) Choose u=xu = x, dv=e2xdxdv = e^{2x}\,dx, so du=dxdu = dx and v=12e2xv = \frac{1}{2}e^{2x}. Then xe2xdx=12xe2x12e2xdx=12xe2x14e2x+C\int x e^{2x}\,dx = \frac{1}{2}xe^{2x} - \int \frac{1}{2}e^{2x}\,dx = \frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x} + C.
(2 points) Evaluate on [0,1][0,1]: [12xe2x14e2x]01=(12e214e2)(014)=14e2+14\left[\frac{1}{2}xe^{2x} - \frac{1}{4}e^{2x}\right]_0^1 = \left(\frac{1}{2}e^2 - \frac{1}{4}e^2\right) - \left(0 - \frac{1}{4}\right) = \frac{1}{4}e^2 + \frac{1}{4}.

Related dot points

Sources & how we know this