When Your Calculator Can’t Solve It, Try This Instead
You’re cruising through derivatives, feeling confident about the product rule and chain rule. Then integration hits you with ∫x·e^x dx, and suddenly nothing makes sense. Your calculator’s integration tool gives up. Your textbook example looks like hieroglyphics. And your Calc AB exam is coming up fast.
That’s where integration by parts swoops in—not as a magic spell, but as a method that turns impossible integrals into manageable ones. It’s the technique that finally lets you integrate products of functions when substitution won’t cut it.
What Is Integration by Parts?
Integration by parts is a calculus technique that helps you integrate the product of two functions. Think about it: think of it as the reverse of the product rule for differentiation. Where the product rule says (uv)' = u'v + uv', integration by parts gives you a way to integrate expressions that look like u times v'.
The formula is deceptively simple:
∫u dv = uv - ∫v du
But here’s the catch—it only works when you can split your integral into two parts: one you can differentiate (u) and one you can integrate (dv). The trick isn’t the formula itself; it’s choosing which part is u and which is dv.
The LIATE Rule: Your Decision-Making Shortcut
Most teachers use the LIATE rule to help you pick u:
- Logarithmic functions (like ln x)
- Inverse trigonometric functions (like arcsin x)
- Algebraic functions (like x² or x)
- Trigonometric functions (like sin x or cos x)
- Exponential functions (like e^x)
Pick u from the earliest category that appears in your integral. The rest becomes dv.
Why It Matters
Integration by parts isn’t just an exam topic—it’s a workhorse in physics, engineering, and advanced mathematics. Ever wonder how physicists calculate work done by variable forces? Or how engineers solve differential equations? They’re often using integration by parts behind the scenes.
In Calc AB, it shows up when you need to integrate products like:
- x·sin(x)
- x²·e^x
- ln(x)·x³
Without this technique, these integrals would be impossible using basic methods. And on the AP exam, you’ll definitely see at least one free-response question requiring it.
How It Works
Let’s break down the process with a concrete example: ∫x·e^x dx
Step 1: Choose u and dv
Using LIATE: x is algebraic, e^x is exponential. Algebraic comes before exponential, so u = x and dv = e^x dx.
Step 2: Find du and v
Differentiate u: du = dx Integrate dv: v = e^x
Step 3: Apply the Formula
∫x·e^x dx = x·e^x - ∫e^x dx
Step 4: Simplify
= x·e^x - e^x + C
That’s it. The integral of x·e^x is e^x(x - 1) + C.
When the Process Repeats
Sometimes you’ll apply integration by parts twice and end up with the same integral you started with. Because of that, don’t panic. Just move that integral to the other side and solve for it algebraically.
Here's one way to look at it: with ∫e^x cos(x) dx, you’ll eventually get something like: I = e^x cos(x) + e^x sin(x) - I
Add I to both sides and divide by 2.
Common Mistakes
Students make a few predictable errors with integration by parts:
Want to learn more? We recommend what is the tone of a story and ap calculus ab exam score calculator for further reading.
Mixing up u and dv: If you pick the wrong part as u, your integral might become more complicated instead of simpler. Always check that your choice leads to an easier integral.
Forgetting the minus sign: The formula has a minus sign between uv and ∫v du. Missing it is incredibly common and throws off your entire answer.
Not simplifying the new integral: After applying the formula, you might still have an integral to solve. Don’t stop there—finish the problem completely.
Applying it when you shouldn’t: Sometimes substitution is the better first step. If you can let w = something and dw = something else, do that first before considering integration by parts.
Practical Tips
Here’s what actually works when tackling integration by parts:
Always try substitution first: Before reaching for integration by parts, check if a simple u-substitution will work. It’s faster.
Use a table for repeated applications: When you need to apply integration by parts multiple times (like with polynomials multiplied by exponentials), set up a small table to track your u, du, v, and dv columns.
Check your answer by differentiating: Take the derivative of your result. You should get back to your original integrand. This catches sign errors and algebra mistakes.
Practice the LIATE decision-making: The harder part of integration by parts isn’t the formula—it’s choosing u and dv correctly. The more you practice this, the more intuitive it becomes.
Frequently Asked Questions
When should I use integration by parts? Use it when you have a product of two different types of functions, especially when one function gets simpler when differentiated
and the other gets simpler when integrated. Take this: polynomials paired with exponentials, trigonometric functions, or logarithms are classic candidates. If one part of the product reduces in complexity after differentiation or integration, integration by parts is likely the right tool.
How do I know when to stop applying integration by parts?
You stop when the remaining integral is straightforward to solve or when applying the method again would lead to an infinite loop. In cases where the same integral reappears (like with ( \int e^x \cos(x) , dx )), algebraic manipulation—such as solving for the integral—is necessary. Always simplify the problem at each step; if the integral becomes simpler, proceed. If it grows more complex, revisit your choice of ( u ) and ( dv ).
Can I use integration by parts for definite integrals?
Absolutely. The formula adapts to definite integrals:
[
\int_a^b u , dv = \left[ uv \right]_a^b - \int_a^b v , du
]
Evaluate ( uv ) at the bounds ( a ) and ( b ), then compute the remaining integral. As an example, ( \int_0^1 x e^x , dx ) would follow the same steps as the indefinite case but include boundary terms.
What if I choose the wrong ( u ) and ( dv )?
Picking ( u ) and ( dv ) incorrectly can lead to a more complicated integral, forcing you to backtrack. If this happens, reassess your choices. To give you an idea, if ( u = e^x ) and ( dv = x , dx ) for ( \int x e^x , dx ), the resulting integral ( \int \frac{x^2}{2} e^x , dx ) is harder to solve. Always prioritize ( u ) as the function that simplifies when differentiated (per LIATE or experience).
How do I handle integrals requiring multiple applications of integration by parts?
For integrals like ( \int x^2 e^x , dx ), apply the method iteratively. First, let ( u = x^2 ), ( dv = e^x , dx ), yielding ( du = 2x , dx ) and ( v = e^x ). This reduces the problem to ( \int 2x e^x , dx ), which requires another application of integration by parts. Organizing your work in a table (with columns for ( u ), ( du ), ( v ), and ( dv )) helps track progress and avoid errors.
Why is integration by parts useful in real-world applications?
It’s essential in physics, engineering, and probability for solving problems involving products of functions. As an example, it appears in calculating moments of inertia, solving differential equations, or evaluating expected values in probability theory. Its ability to break down complex products into manageable pieces makes it indispensable in advanced mathematics.
Final Thoughts
Integration by parts is a powerful technique rooted in the product rule for differentiation. Mastery requires practice in selecting ( u ) and ( dv ), recognizing patterns, and combining it with other methods like substitution. Always verify your result by differentiating it, and don’t hesitate to revisit your choices if the integral doesn’t simplify. With patience and strategic application, integration by parts becomes an invaluable tool in your mathematical toolkit.