Integration by parts is a method for integrals that contain a product of two functions, and it comes straight from the product rule. You use it in Calculus 2 when a direct antiderivative gets awkward, like with x e^x, x ln x, or x sin x. The formula is =b? No. The real point is this: you rewrite one hard integral as a new, simpler one by splitting the product into u and dv. That sounds mechanical, but the logic matters. If you understand why the formula works, you stop guessing and start choosing better parts. A lot of students memorize the steps and still get stuck on the first choice, which is why the method feels slippery on a timed exam. The trick usually lives in the setup, not the algebra. You will also see this method in a Calculus 2 course on many college syllabi because it handles mixed products that substitution does not touch cleanly. Think of it as a tool for cases where one factor gets easier after you differentiate it, while the other factor gets easier after you integrate it. That pattern shows up over and over, and the same habit helps whether you study online, earn college credit, or work through a full semester of transferable credit.
Why Does Integration By Parts Work?
Integration by parts works because the product rule says the derivative of uv equals u\,dv + v\,du, and you just rearrange that 1 formula to solve for an integral. That reversal gives you \int u\,dv = uv - \int v\,du, which is the whole trick.
Start with a product like x e^x. If you let u=x and dv=e^x dx, then du=dx and v=e^x, so the leftover integral becomes \int e^x dx, which is easier than the original product. That is why the method matters in Calculus 2: it turns a mixed problem into one piece you can actually finish.
Reality check: The method does not create magic; it just moves the work to a friendlier place. A logarithm, a polynomial, or a trig function often gets simpler after one derivative, while an exponential keeps its shape after 1 antiderivative, so the split can save a full page of algebra.
The formula also tells you what to expect before you memorize anything. If the product has two factors that both get worse when you differentiate them, integration by parts will feel clumsy. If one factor gets cleaner and the other one is easy to integrate, the method usually pays off fast. That judgment call matters more than reciting the line from memory.
One sharp detail: the minus sign comes from the rearrangement, not from a random rule. Miss that sign once on a test, and a 4-point problem can turn into a zero very fast.
How Do You Use Integration By Parts?
The method works best when you slow down for 30 seconds and set up the pieces in order. Most mistakes happen before the first integral gets written, not during the final arithmetic.
- Pick u and dv from the product. Choose the part that gets simpler after differentiation as u, and the part you can integrate right away as dv.
- Differentiate u to get du and integrate dv to get v. If v takes 2 steps or more, you picked a bad dv for a standard Calculus 2 problem.
- Plug into \int u\,dv = uv - \int v\,du. Write the full formula before you simplify anything, because the minus sign matters immediately.
- Finish the new integral. For x e^x, you get e^x x - \int e^x dx, which collapses in 1 more step.
- Check the result by differentiating your answer. A 10-second derivative check catches missing constants and sign slips faster than staring at the page.
- If the same kind of integral returns again, repeat the method once more. That happens in problems like x^2 e^x, where one round is not enough.
What this means: You are not solving the original product directly; you are trading it for a cleaner integral, and that trade only works if the new piece gets easier.
A quick habit helps here: after you finish, glance at the derivative of your answer and see whether it matches the original integrand exactly. That one check can save a 15-point homework set.
Learn Calculus 2 Online for College Credit
This is one topic inside the full Calculus 2 course on UPI Study — a self-paced, online class that earns real college credit. Credits are ACE and NCCRS evaluated and transfer to partner colleges across the US and Canada. Courses start at $250 with no deadlines and lifetime access.
Browse Calculus 2 Course →Which Functions Should You Choose As u?
Pick u so differentiation helps you, not hurts you. A common LIATE-style order works well in Calculus 2: logarithms, inverse trig, algebraic polynomials, trig functions, then exponentials, and it fits a lot of textbook problems in 1 pass.
- Choose a polynomial like x or x^2 as u before you choose e^x. A polynomial drops to 1 or 0 after a few derivatives, while e^x stays the same.
- Use logs early. ln x gets simpler after one derivative, and that makes x ln x a classic 1-step integration by parts problem.
- Inverse trig functions such as arctan x or arcsin x usually belong in u. Their derivatives look messy, but the original form often stays readable for a 2-line solution.
- Let dv be the easy antiderivative. For x sin x, take dv = sin x dx because \int sin x dx = -cos x in 1 step.
- Do not pick dv that turns into a headache. If you need a table of 3 steps just to find v, the setup is probably wrong for a standard exam question.
- Exponentials and trig functions often pair with polynomials. That mix shows up so often in Calculus 2 that it feels like a template, not a surprise.
- Worth knowing: If two choices look equal, pick the one that simplifies faster after 1 derivative, because that usually saves time on a 50-minute test.
What Integration By Parts Examples Should You Practice?
Practice the pairs that show up again and again: x e^x, x ln x, and x sin x. Those 3 problems force you to make different u choices, and they cover the main patterns you will see in a Calculus 2 set worth 5 to 10 points each. One example can hide a bad choice, but three examples show the method's habits fast. Bottom line: If you can handle those, you can handle most standard homework and exam questions without panic.
- x e^x: choose u=x, dv=e^x dx, and the result collapses cleanly after 1 integration.
- x ln x: choose u=ln x, dv=x dx only if you rewrite it carefully; most students do better with u=ln x and dv=dx? No, that setup fails. The standard move is u=ln x and dv= x? Wait: the correct product is x\cdot ln x, so u=ln x and dv=x dx is not the best split. Use u=ln x and dv=dx after rewriting x ln x as ln x \cdot x, then the algebra stays manageable.
- x sin x: choose u=x and dv=sin x dx, then integrate by parts once and stop when the new integral is simple.
- x^2 e^x: expect 2 rounds, not 1. The polynomial takes 2 derivatives to vanish, so the method repeats.
- \ln x alone often needs integration by parts too. Treat it as \ln x \cdot 1, which feels odd but works in 1 clean pass.
One honest warning: students often rush the setup and lose 2 or 3 points before they even integrate. That is a bad trade.
What Common Integration By Parts Mistakes Happen?
The biggest mistakes come from the setup, not the calculus. Students pick u and dv backward, drop the minus sign from \int u\,dv = uv - \int v\,du, or forget that a constant factor like 3 or 1/2 must stay attached through the whole problem.
A second trap shows up with repeated integration by parts. If x^2 e^x still leaves a product after the first pass, you need another round, not a guess and a shrug. That matters on a 20-point test problem, because stopping one line too early usually means the answer never fully closes.
Another problem: students use integration by parts when substitution would work faster. If you see a function inside a function with a matching derivative, integration by parts probably does not belong there. If you see a product of 2 unlike pieces, especially x with e^x, x with ln x, or x with sin x, the method makes more sense.
One clean habit helps a lot: write the formula first, then fill in u, dv, du, and v. That tiny pause saves more points than grinding harder, and it keeps the algebra from turning into a mess after 1 missed sign.
Frequently Asked Questions about Integration By Parts
This applies to you if your calculus 2 course covers product integrals like x e^x, x sin x, or ln x, and it doesn't fit problems that need only basic u-substitution or simple power rules. In many U.S. colleges, this shows up after limits and derivatives, usually in the first half of Calculus 2.
Start by choosing u and dv from the product, then compute du and v before you write the formula ∫u dv = uv - ∫v du. Pick u from the part that gets simpler when you differentiate, like ln x or x, and pick dv from the part you can integrate fast, like e^x or sin x.
A standard calculus 2 course often includes integration by parts as a core unit, and a strong exam score can support transferable credit at cooperating colleges. ACE and NCCRS-backed online course options often use this topic in graded problem sets and proctored finals.
The biggest mistake is thinking you can choose u and dv at random and still get a clean integral. That fails fast with products like x cos x, because a bad choice turns one problem into a mess with no simpler next step.
Most students grab the first thing they see as u, but what actually works is using the LIATE idea: logarithms, inverse trig, algebraic, trig, and exponential, in that order. That usually makes du simpler and keeps v easy to find in one line.
Integration by parts is a formula from the product rule, so you know you're using it right when the new integral looks easier than the original one. If you're stuck with ∫x e^x dx, set u = x and dv = e^x dx, then you'll get x e^x - ∫e^x dx.
You can lose the whole problem, even if your algebra stays clean, because one bad u choice can make the second integral harder than the first. That hurts on timed tests, especially when the same page also includes trig integrals and partial fractions.
What surprises most students is that you sometimes use integration by parts twice on the same problem, like with ∫e^x cos x dx. You finish the algebra by getting the original integral back on both sides, then solve a simple equation.
Yes: for ∫x e^x dx, choose u = x and dv = e^x dx, so du = dx and v = e^x. Then ∫x e^x dx = x e^x - ∫e^x dx = x e^x - e^x + C.
Yes: for ∫x sin x dx, choose u = x and dv = sin x dx, so du = dx and v = -cos x. Then ∫x sin x dx = -x cos x + ∫cos x dx = -x cos x + sin x + C.
Yes: for ∫ln x dx, rewrite it as ∫1·ln x dx, choose u = ln x and dv = dx, and get du = 1/x dx and v = x. Then ∫ln x dx = x ln x - ∫1 dx = x ln x - x + C.
The most common traps are bad u choices, sign errors with trig, and forgetting the + C after the final integral. Keep a 3-step check: pick u, find du and v, then rewrite the formula exactly as uv - ∫v du, because one flipped sign can wreck the answer.
Final Thoughts on Integration By Parts
Integration by parts looks scary at first because the formula hides a simple idea: you trade a hard product for an easier integral by using the product rule backward. Once you see that connection, the method stops feeling random and starts feeling like a tool you can aim. The best habit is to slow down at the start. Pick u with care. Pick dv with care. Then check whether the new integral actually got easier. That one decision matters more than neat handwriting or speed, and it shows up on almost every standard Calculus 2 homework set. x e^x, x ln x, x sin x, and x^2 e^x cover a lot of ground. If you can handle those without guessing, you already understand the method at the level most classes expect. The rest is practice, not mystery. Do one more thing before your next quiz: write the formula from memory, solve 2 fresh problems, and check each answer by differentiating it. That habit pays off fast.
The way this actually clicks
Skip step 3 and the whole thing is wasted.
Ready to Earn College Credit?
ACE & NCCRS approved · Self-paced · Transfer to colleges · $250/course or $99/month