Integration
By Parts
Master the technique of turning complex integrals into simpler ones by strategically splitting the integrand into two factors.
Why Do We Need Integration By Parts?
Many integrals involve products of functions that don't yield to basic techniques like substitution. For example, how would you evaluate \(\int x \, e^x \, dx\)?
There is no product rule for integration. But we can reverse the product rule for derivatives to create a powerful method called Integration By Parts.
From the Product Rule to IBP
Recall the product rule for derivatives:
Now integrate both sides with respect to \(x\):
Rearranging gives us the Integration By Parts formula. This algebraic rearrangement is the entire derivation: nothing more, nothing less.
The IBP Formula
The key insight: you trade one integral (\(\int u\,dv\)) for another (\(\int v\,du\)). The method succeeds when the new integral is easier than the original.
Choosing \(u\): The LIATE Rule
The hardest part of IBP is choosing which factor to call \(u\). The LIATE mnemonic ranks function types: pick \(u\) from higher on the list.
IBP vs U-Substitution
| Integration By Parts | U-Substitution | |
|---|---|---|
| Reverses | Product rule | Chain rule |
| Best for | Products of different types | Compositions \(f(g(x))\,g'(x)\) |
| You choose | \(u\) and \(dv\) | \(u = g(x)\) |
| Goal | Simpler resulting integral | Eliminate inner function |
| Example | \(\int x\,\cos x\,dx\) | \(\int 2x\,\cos(x^2)\,dx\) |
How to Apply IBP Step-by-Step
The IBP Flow
Example 1: \(\int x\,e^x\,dx\)
Example 2: \(\int x^2\,\sin x\,dx\)
This requires applying IBP twice because the algebraic factor has degree 2.
\(\Rightarrow x^2(-\cos x) - \int (-\cos x)(2x)\,dx = -x^2\cos x + 2\!\int x\cos x\,dx\)
\(\Rightarrow x\sin x - \int \sin x\,dx = x\sin x + \cos x\)
Example 3: \(\int \ln x\,dx\)
This integral has only one factor, but we can set \(dv = dx\) to make IBP work. This is a classic trick.
The Cyclic (Boomerang) Case
Sometimes IBP leads back to the original integral. This isn't failure: it's a feature! You can solve for the integral algebraically.
Example: \(\displaystyle\int e^x \sin x\,dx\)
The Tabular Method (Quick IBP)
When \(u\) is a polynomial, repeated IBP follows a predictable pattern. The tabular method organizes this into a table.
Example: \(\int x^3 e^{2x}\,dx\). Let \(u = x^3\) and \(dv = g(x)\,dx = e^{2x}\,dx\):
| Sign | Derivatives of \(u\) | \(g(x)\) & its Integrals |
|---|---|---|
| + | \(x^3\) | \(e^{2x}\) |
| − | \(3x^2\) | \(\tfrac{1}{2}e^{2x}\) |
| + | \(6x\) | \(\tfrac{1}{4}e^{2x}\) |
| − | \(6\) | \(\tfrac{1}{8}e^{2x}\) |
| + | \(0\) | \(\tfrac{1}{16}e^{2x}\) |
IBP with Definite Integrals
For definite integrals, apply the bounds to the \(uv\) term and the remaining integral:
Example: Evaluate \(\displaystyle\int_0^1 x\,e^x\,dx\).
Common Mistakes to Avoid
Summary: When and How
| Integral Type | Choose \(u\) | Choose \(dv\) | Notes |
|---|---|---|---|
| \(\int x^n e^{ax}\,dx\) | \(x^n\) | \(e^{ax}\,dx\) | Tabular if \(n \geq 2\) |
| \(\int x^n \sin x\,dx\) | \(x^n\) | \(\sin x\,dx\) | Repeat \(n\) times |
| \(\int \ln x\,dx\) | \(\ln x\) | \(dx\) | Classic trick |
| \(\int e^x \sin x\,dx\) | Either | Either | Cyclic: solve for \(I\) |
| \(\int \arctan x\,dx\) | \(\arctan x\) | \(dx\) | Inverse trig = \(u\) |
Question 1 of 5
Evaluate \(\displaystyle\int x\cos x\,dx\).
Question 2 of 5
When evaluating \(\displaystyle\int x^2 e^x\,dx\) by parts, what should you choose for \(u\)?
Question 3 of 5
Evaluate \(\displaystyle\int_0^1 x\,e^x\,dx\).
Question 4 of 5
Which integral requires the cyclic (boomerang) technique when solved by parts?
Question 5 of 5
Evaluate \(\displaystyle\int \ln x\,dx\).