01 / 21

Integration by
Parts

Master the technique for integrating products of functions by strategically choosing parts to simplify complex integrals.

Calculus 2

The Big Idea

Some integrals involve products of two different types of functions: a polynomial times an exponential, a logarithm times a power, or a trig function times a polynomial. Basic substitution won't work on these.

It is the integration counterpart of the Product Rule for differentiation. If you know the Product Rule, you already have the intuition for this technique.

Derived from the Product Rule

Recall the Product Rule for derivatives:

Integrate both sides with respect to \(x\):

Rearranging gives us the Integration by Parts formula. The next slide presents it in its standard form.

The IBP Formula

\(u\)
A function you choose to differentiate. Pick the part that gets simpler when differentiated.
\(dv\)
The remaining factor, including \(dx\). You must be able to integrate this part.

How the Parts Connect

\(\int u\,dv\)
=
\(u \cdot v\)
−
\(\int v\,du\)
Direct evaluation Simpler integral
\(u\) → differentiate → \(du\)
\(dv\) → integrate → \(v\)

Choosing \(u\): the LIATE Rule

The hardest part of IBP is choosing which factor to call \(u\). The LIATE mnemonic ranks function types by priority: choose \(u\) from the highest-priority type in your integrand.

L
Logarithmic: \(\ln x,\;\log x\)
I
Inverse trig: \(\arctan x,\;\arcsin x\)
A
Algebraic: \(x^n,\;x^2+1\)
T
Trigonometric: \(\sin x,\;\cos x\)
E
Exponential: \(e^x,\;2^x\)

IBP vs. U-Substitution

Integration by Parts U-Substitution
Best for Products of different types Compositions: \(f(g(x))\cdot g'(x)\)
Key idea Split into \(u\) and \(dv\) Replace inner function with \(u\)
Based on Product Rule Chain Rule
Example \(\int x\,e^x\,dx\) \(\int 2x\,e^{x^2}\,dx\)
May need Multiple applications One substitution usually enough

Step-by-Step Procedure

1
Identify the product. Confirm the integrand is a product of two different function types.
2
Choose \(u\) and \(dv\). Use LIATE: the higher-priority function becomes \(u\). Everything else (including \(dx\)) is \(dv\).
3
Compute \(du\) and \(v\). Differentiate \(u\) to find \(du\). Integrate \(dv\) to find \(v\).
4
Substitute into the formula: \(\int u\,dv = u\,v - \int v\,du\).
5
Evaluate the remaining integral. If it is still complex, apply IBP again or use another technique.

Example 1: \(\int x\,e^x\,dx\)

\(u = x\)
\(du = dx\)
\(dv = e^x\,dx\)
\(v = e^x\)

The algebraic factor \(x\) simplified to a constant upon differentiation, making the remaining integral trivial.

Example 2: \(\int x^2\,\ln x\,dx\)

By LIATE, logarithmic beats algebraic, so \(u = \ln x\).

\(u = \ln x\)
\(du = \frac{1}{x}\,dx\)
\(dv = x^2\,dx\)
\(v = \frac{x^3}{3}\)

Example 3: \(\int x^2\,e^x\,dx\)

The first application of IBP with \(u=x^2\), \(dv=e^x\,dx\) gives:

The new integral \(\int 2x\,e^x\,dx\) still has a product: apply IBP again with \(u = 2x\), \(dv = e^x\,dx\):

The Cycling Trick

Some integrals, like \(\int e^x \sin x\,dx\), don't simplify with one or two applications of IBP: the integral cycles back to the original form. The trick is to solve for it algebraically.

Watch for this pattern whenever both factors reproduce themselves under differentiation and integration (exponentials with trig).

Definite Integrals with IBP

Evaluate \(u \cdot v\) at the bounds before subtracting the remaining integral. Let's compute \(\int_0^1 x\,e^x\,dx\):

1
Same setup: \(u = x\), \(dv = e^x\,dx\), so \(du = dx\), \(v = e^x\).
2
\(\bigl[x\,e^x\bigr]_0^1 - \int_0^1 e^x\,dx = (1\cdot e - 0) - \bigl[e^x\bigr]_0^1\)
3
\(= e - (e - 1) = \boxed{1}\)

The Tabular Method

When \(u\) is a polynomial (which eventually differentiates to 0), the tabular method speeds up repeated IBP. Build a table of alternating signs, derivatives of \(u\), and integrals of \(dv\).

Sign Derivatives of \(u\) Integrals of \(dv\)
+ \(x^2\) \(e^x\)
− \(2x\) \(e^x\)
+ \(2\) \(e^x\)
− \(0\) \(e^x\)

Common Mistakes

Wrong choice of \(u\)
Choosing \(u = e^x\) in \(\int x\,e^x\,dx\) makes the integral harder, not simpler. Follow LIATE.
Forgetting the minus sign
The formula has \(uv - \int v\,du\). Dropping the negative flips the entire result.
Missing \(+C\)
For indefinite integrals, always include the constant of integration. It is easy to forget after multiple IBP steps.

Summary Table

Scenario Choose \(u\) Choose \(dv\)
\(\int x^n e^x\,dx\) \(x^n\) \(e^x\,dx\)
\(\int x^n \sin x\,dx\) \(x^n\) \(\sin x\,dx\)
\(\int x^n \ln x\,dx\) \(\ln x\) \(x^n\,dx\)
\(\int e^x \sin x\,dx\) either; use cycling trick the other factor
\(\int \ln x\,dx\) \(\ln x\) \(dx\)
\(\int \arctan x\,dx\) \(\arctan x\) \(dx\)

Question 1 of 5

Using integration by parts, what is \(\int x\cos x\,dx\)?

Question 2 of 5

In the LIATE rule, which function type should be chosen as \(u\) first (highest priority)?

Question 3 of 5

What is \(\int \ln x\,dx\)?

Question 4 of 5

When evaluating \(\int e^x \sin x\,dx\), what special technique is needed?

Question 5 of 5

Evaluate \(\int_0^1 x\,e^x\,dx\).