AP-CALCBC-6.11

U6.11 Integration by Parts

Master integration by parts for AP Calculus BC: learn the formula ∫u dv = uv − ∫v du, the LIATE rule for picking u, tabular method, and definite integrals.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U6.11 Integration by Parts, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Substitution reverses the chain rule, but what undoes the product rule? That is exactly the job of integration by parts, one of the most tested antidifferentiation techniques on the BC exam. Whenever you see a product of two unlike functions — say xexx e^x, x2lnxx^2 \ln x, or excosxe^x \cos x — substitution stalls and integration by parts takes over.

In this lesson you will derive the formula from the product rule, learn the LIATE heuristic for choosing uu wisely, practice the tabular shortcut for repeated applications, and see how the technique appears in both indefinite and definite integrals. By the end you will be able to recognize which integrals call for parts and execute them cleanly under exam time pressure.

The Formula and Where It Comes From

Integration by parts is the product rule run in reverse. Start with the product rule for two differentiable functions uu and vv:ddx(uv)=udvdx+vdudx.\frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx}.Integrate both sides with respect to xx:uv=udv+vdu.uv = \int u\,dv + \int v\,du.Rearranging gives the working formula you must memorize:udv=uvvdu.\int u\,dv = uv - \int v\,du.The strategy is to split the integrand into two pieces: a part you call uu (which you will differentiate) and a part you call dvdv (which you will integrate). You then compute dudu by differentiating and vv by integrating. The goal is to trade the original integral udv\int u\,dv for a new, simpler integral vdu\int v\,du.

The entire art of the method lies in choosing uu and dvdv so that the new integral is easier than the one you started with. A poor choice can make the integral harder or send you in circles. That is why a systematic guideline — LIATE — is so valuable, and why you should always check that vdu\int v\,du is genuinely simpler before committing to your split.

LIATE: Choosing u Strategically

LIATE is a mnemonic that ranks function types by how good a choice they are for uu. The function type appearing earliest in the list should be chosen as uu; whatever remains becomes dvdv.
LetterFunction typeExample
LLogarithmiclnx\ln x
IInverse trigarctanx\arctan x
AAlgebraic (polynomials)x2x^2, 3x3x
TTrigonometricsinx\sin x, cosx\cos x
EExponentialexe^x
The reasoning: functions near the top (logs, inverse trig) are hard to integrate but easy to differentiate, so they make excellent choices for uu. Functions near the bottom (exponentials, trig) integrate cleanly, so they make good dvdv choices.

For xlnxdx\int x\ln x\,dx, the logarithm outranks the algebraic term, so let u=lnxu = \ln x and dv=xdxdv = x\,dx. For xexdx\int x e^x\,dx, algebraic beats exponential, so u=xu = x and dv=exdxdv = e^x\,dx; differentiating xx gives the constant 11, collapsing the remaining integral.

A common misconception is that LIATE is an unbreakable law. It is a heuristic that works the vast majority of the time on exam problems, but the true test is whether your choice makes vdu\int v\,du simpler. If it does not, swap your choices.

Repeated Parts and the Tabular Method

Some integrals require applying integration by parts more than once. When uu is a polynomial of degree nn, you may need nn applications until the polynomial differentiates down to a constant. The tabular method organizes this efficiently.

Consider x2exdx\int x^2 e^x\,dx. Build two columns: repeatedly differentiate u=x2u = x^2 until you reach 00, and repeatedly integrate dv=exdxdv = e^x\,dx.
SignDerivatives of x2x^2Integrals of exe^x
++x2x^2exe^x
-2x2xexe^x
++22exe^x
-00exe^x
Multiply diagonally, alternating signs starting with plus:x2exdx=x2ex2xex+2ex+C.\int x^2 e^x\,dx = x^2 e^x - 2x e^x + 2e^x + C.A second special case is the cyclic integral, such as exsinxdx\int e^x\sin x\,dx. Here neither factor ever becomes a constant. After applying parts twice, the original integral reappears on the right side. Treat it as an unknown, add it to both sides, and solve algebraically. This algebraic trick is a favorite on free-response questions because it tests whether you recognize the pattern rather than integrating forever.

Definite Integrals and Exam Pitfalls

For a definite integral, apply the formula with limits attached to every term:abudv=[uv]ababvdu.\int_a^b u\,dv = \left[uv\right]_a^b - \int_a^b v\,du.Evaluate the boundary term uvuv at the limits immediately, then handle the remaining integral. A frequent error is forgetting to evaluate the uvuv term at both bounds, or applying the limits only at the very end.

Other pitfalls to watch: dropping the constant of integration on indefinite problems; sign errors from the minus sign in front of vdu\int v\,du (this is the single most common mistake); and choosing vv incorrectly by adding an unnecessary constant when you integrate dvdv (always take the simplest antiderivative).

The AP exam tests this topic in several ways. Multiple-choice items may ask you to identify the correct choice of uu and dvdv, or to complete a single application of the formula. Free-response questions often embed integration by parts inside a larger problem — for instance, finding the area under y=xlnxy = x\ln x or computing an accumulation function. The integral lnxdx=xlnxx+C\int \ln x\,dx = x\ln x - x + C deserves special memorization: choose u=lnxu = \ln x and dv=dxdv = dx, a case where dvdv is just dxdx and v=xv = x. This appears frequently and catches students who forget that lnx\ln x has no elementary antiderivative without parts.

Key terms

Integration by parts.
A technique that reverses the product rule, given by udv=uvvdu\int u\,dv = uv - \int v\,du, used to integrate products of unlike functions.
LIATE.
A mnemonic (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) ranking which factor to choose as uu; earlier in the list means better choice for uu.
u and dv.
The two parts an integrand is split into: uu is differentiated to get dudu, and dvdv is integrated to get vv.
Tabular method.
A shortcut for repeated integration by parts, using a table of successive derivatives and integrals with alternating signs, ideal when uu is a polynomial.
Cyclic integral.
An integral (like exsinxdx\int e^x\sin x\,dx) where the original integral reappears after repeated parts, solved by treating it as an unknown and using algebra.
Boundary term.
The uvuv portion of a definite integration by parts, evaluated as [uv]ab[uv]_a^b at the limits of integration.

Worked example

Evaluate xcosxdx\int x\cos x\,dx.
First identify the two factors: an algebraic term xx and a trigonometric term cosx\cos x. By LIATE, Algebraic (A) outranks Trigonometric (T), so let u=xu = x and dv=cosxdxdv = \cos x\,dx.

Next compute the pieces. Differentiate uu: du=dxdu = dx. Integrate dvdv: v=sinxv = \sin x (take the simplest antiderivative, no added constant).

Apply the formula udv=uvvdu\int u\,dv = uv - \int v\,du:xcosxdx=xsinxsinxdx.\int x\cos x\,dx = x\sin x - \int \sin x\,dx.The new integral is simpler than the original — that confirms the LIATE choice was correct. Now integrate sinxdx=cosx\int \sin x\,dx = -\cos x:xcosxdx=xsinx(cosx)+C=xsinx+cosx+C.\int x\cos x\,dx = x\sin x - (-\cos x) + C = x\sin x + \cos x + C.To check, differentiate the answer: ddx(xsinx+cosx)=sinx+xcosxsinx=xcosx\frac{d}{dx}(x\sin x + \cos x) = \sin x + x\cos x - \sin x = x\cos x, which matches the integrand. The answer is xsinx+cosx+Cx\sin x + \cos x + C.

Practice questions

For the integral x3lnxdx\int x^3\ln x\,dx, which choice of uu and dvdv follows the LIATE heuristic?
  1. u=x3u = x^3, dv=lnxdxdv = \ln x\,dx
  2. u=lnxu = \ln x, dv=x3dxdv = x^3\,dx
  3. u=x3lnxu = x^3\ln x, dv=dxdv = dx
  4. u=lnxdxu = \ln x\,dx, dv=x3dv = x^3

Answer: u=lnxu = \ln x, dv=x3dxdv = x^3\,dx

LIATE ranks Logarithmic above Algebraic, so the lnx\ln x factor should be uu. This is also practical: lnx\ln x is hard to integrate but easy to differentiate (du=1xdxdu = \frac{1}{x}dx), while x3x^3 integrates cleanly to v=x44v = \frac{x^4}{4}. The resulting integral x441xdx=x34dx\int \frac{x^4}{4}\cdot\frac{1}{x}dx = \int\frac{x^3}{4}dx is straightforward.
Evaluate the definite integral 1elnxdx\int_1^e \ln x\,dx. Show your reasoning.

Answer: 11

Use integration by parts with u=lnxu = \ln x and dv=dxdv = dx, so du=1xdxdu = \frac{1}{x}dx and v=xv = x. Then lnxdx=xlnxx1xdx=xlnxx\int \ln x\,dx = x\ln x - \int x\cdot\frac{1}{x}dx = x\ln x - x. Evaluate from 11 to ee: at x=ex = e, elnee=e1e=0e\ln e - e = e\cdot 1 - e = 0; at x=1x = 1, 1ln11=01=11\cdot\ln 1 - 1 = 0 - 1 = -1. Subtract: 0(1)=10 - (-1) = 1.
Find excosxdx\int e^x\cos x\,dx.

Answer: ex(sinx+cosx)2+C\frac{e^x(\sin x + \cos x)}{2} + C

Let u=cosxu = \cos x, dv=exdxdv = e^x dx, giving excosxdx=excosx+exsinxdx\int e^x\cos x\,dx = e^x\cos x + \int e^x\sin x\,dx. Apply parts again on the new integral with u=sinxu = \sin x, dv=exdxdv = e^x dx: exsinxdx=exsinxexcosxdx\int e^x\sin x\,dx = e^x\sin x - \int e^x\cos x\,dx. Substituting back, let I=excosxdxI = \int e^x\cos x\,dx: I=excosx+exsinxII = e^x\cos x + e^x\sin x - I. So 2I=ex(cosx+sinx)2I = e^x(\cos x + \sin x), giving I=ex(sinx+cosx)2+CI = \frac{e^x(\sin x + \cos x)}{2} + C.

FAQ

When should I use integration by parts instead of substitution?
Use substitution when the integrand contains a function and (a multiple of) its derivative, so a single uu collapses the whole expression. Use integration by parts when you have a product of two unlike functions — such as a polynomial times an exponential, or a logarithm times anything — where no substitution simplifies things. If substitution fails and you see a product, try parts.
What does LIATE stand for and is it always correct?
LIATE stands for Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential — the priority order for choosing uu. It works for nearly every AP-level problem, but it is a heuristic, not a theorem. The real test is whether your choice makes vdu\int v\,du simpler than the original. If it does not, switch which factor you call uu.
How do I integrate ln(x)?
Treat lnx\ln x as a product with dv=dxdv = dx. Set u=lnxu = \ln x and dv=dxdv = dx, so du=1xdxdu = \frac{1}{x}dx and v=xv = x. Then lnxdx=xlnxx1xdx=xlnxx+C\int \ln x\,dx = x\ln x - \int x\cdot\frac{1}{x}dx = x\ln x - x + C. This is a standard result worth memorizing.
Why does the integral sometimes reappear on the right side?
For integrands like exsinxe^x\sin x or excosxe^x\cos x, neither factor ever differentiates to zero, so repeated parts cycles back to the original integral. When that happens, set the integral equal to a variable like II, collect the II terms on one side, and solve algebraically. This is the intended method, not a mistake.

Learn this with a teacher, not a page

The Crimsora tutor teaches U6.11 Integration by Parts live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.