Generate a follow-up sub-lesson on any aspect of this topic
Guide complete
Integration By Parts: How And When To Use It
Generate a follow-up sub-lesson on any aspect of this topic
Integration By Parts: How And When To Use It
Learn to turn hard product integrals into easier ones by reversing the product rule. You will know what to pick for and , spot when the method simplifies, and handle repeat and loop cases without getting stuck.
You are staring at an integral like and you know how to integrate and how to handle by itself, but the product blocks you. Integration by parts is the standard move when an integrand is built from two pieces and differentiating one of them makes it simpler. The trick is to trade one derivative for one integral, so the new integral is easier than the original, not just different.
The core idea is that differentiation has a product rule, so integration gets a matching undo button. If you can spot your integrand as one function times the derivative of another, you can rearrange it into a boundary term minus a new integral.
Explore how the product rule turns into the integration-by-parts template.
A clean way to say it is this. You choose to be the part you want to differentiate, and to be the part you want to integrate. After that choice, everything is bookkeeping.
Choose to simplify
If differentiating your does not get simpler, integration by parts is usually the wrong tool.
Start with the product rule in derivative form:
Integrate both sides with respect to :
The left side collapses to . Then isolate the term you want, usually :
See the same relationship written in differential language and in integral language.
Two small translation notes keep mistakes away.
Integration by parts is most natural for products where one factor gets simpler when differentiated and the other is easy to integrate. Common green lights are:
A popular selection rule is LIATE, which ranks good candidates for .
The point is not memorization. It is a bias toward picking so that is simpler than .
Try picking and watch how the choice changes and the new integral.
Warning signs you are heading into trouble are when looks messier than , or when the new integral resembles the original without being solvable by algebra. That second case is not always bad. It is the loop case you can solve by doing parts twice and then isolating the original integral.
Pick since differentiating kills it down to a constant. Let since integrating it changes nothing.
Compute the pieces.
Apply the formula : [ \int x e^x,dx = x e^x-\int e^x,dx = x e^x-e^x+C. ] A tidy final form is .
Check yourself by differentiating. , which matches.
Work through common slip-ups and a quick derivative check on the result.
Parentheses matter
Write as one line before simplifying. Dropping a minus sign usually happens when the new integral is not clearly grouped.
Use the same strategy. Let so . Let so .
Now apply integration by parts: [ \int x\sin x,dx = uv-\int v,du = x(-\cos x)-\int(-\cos x),dx = -x\cos x+\int\cos x,dx. ] Finish the remaining integral: [ -x\cos x+\sin x+C. ]
What did simpler mean here. The original integrand was a product. After one round, the new integral was , a basic single function.
Compare the original integrand to the integrand you get after one step.
When the polynomial degree is bigger, you often need multiple rounds. For , choosing keeps shrinking when differentiated, and stays easy to integrate. After enough rounds, the polynomial part becomes and the process stops.
Doing that with full writing can feel repetitive, so people use the tabular method, which is just integration by parts organized as a table.
See the standard tabular layout and how its diagonal sums match repeated parts.
The tabular method works best when one side eventually becomes by differentiation, and the other side never gets harder by integrating.
Some products do not simplify into a basic integral. They cycle back. A classic is
If you do integration by parts once, you get a new integral involving . Do it again on that new one and shows up again. That is the moment you stop integrating and start solving algebra.
The pattern is
Work through the two-round setup and the algebra step where you isolate the original integral.