u = A function of x that you choose to differentiate
dv = The remaining part of the integrand, which you choose to integrate
du = The derivative of u (times dx)
v = The antiderivative of dv
Worked Example
Problem: Evaluate ∫ x·eˣ dx.
Step 1: Choose u and dv. Let u = x because its derivative simplifies, and let dv = eˣ dx because it is easy to integrate.
u=x,dv=exdx
Step 2: Differentiate u and integrate dv to find du and v.
du=dx,v=ex
Step 3: Substitute into the integration by parts formula: ∫ u dv = uv − ∫ v du.
∫xexdx=xex−∫exdx
Step 4: Evaluate the remaining integral, which is now straightforward.
=xex−ex+C
Step 5: Factor the result for a clean final form.
=ex(x−1)+C
Answer:∫xexdx=ex(x−1)+C
Another Example
This example shows how to use integration by parts when the integrand appears to be a single function rather than an obvious product. By setting dv = dx, you create the 'second function' needed for the formula.
Problem: Evaluate ∫ ln(x) dx.
Step 1: This integral has only one obvious function, ln(x). The trick is to set dv = dx so that you can still apply integration by parts.
u=lnx,dv=dx
Step 2: Differentiate u and integrate dv.
du=x1dx,v=x
Step 3: Apply the formula: ∫ u dv = uv − ∫ v du.
∫lnxdx=xlnx−∫x⋅x1dx
Step 4: Simplify and evaluate the remaining integral.
=xlnx−∫1dx=xlnx−x+C
Answer:∫lnxdx=xlnx−x+C
Frequently Asked Questions
How do you choose u and dv in integration by parts?
A common guideline is the LIATE rule: prioritize choosing u in this order — Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential. The idea is that u should be the function that becomes simpler when differentiated, while dv should be something you can readily integrate. For example, in ∫ x·eˣ dx, you pick u = x (algebraic) because its derivative is just 1, and dv = eˣ dx because eˣ integrates easily.
When do you need to apply integration by parts more than once?
You apply it multiple times when the first application produces a new integral that is still a product of two functions. A classic case is ∫ x²·eˣ dx, where the first round reduces x² to 2x, and a second round reduces 2x to 2. Another special case is ∫ eˣ·sin x dx, where applying the formula twice brings back the original integral, letting you solve for it algebraically.
What is the difference between integration by parts and u-substitution?
U-substitution reverses the chain rule and works best when the integrand contains a function and its derivative (a composite structure). Integration by parts reverses the product rule and is designed for integrands that are products of two unrelated functions. If the integrand looks like f(g(x))·g'(x), try u-substitution first. If it looks like f(x)·g(x) with no clear chain-rule pattern, integration by parts is usually the right approach.
Integration by Parts vs. U-Substitution
Integration by Parts
U-Substitution
Reverses which rule
Product rule
Chain rule
Formula
∫ u dv = uv − ∫ v du
∫ f(g(x))·g'(x) dx = ∫ f(u) du
Best used when
Integrand is a product of two different types of functions
Integrand contains a composite function and its inner derivative
Typical examples
∫ x·eˣ dx, ∫ x·sin x dx, ∫ ln x dx
∫ 2x·eˣ² dx, ∫ cos(3x) dx
Complexity
May need to be applied multiple times
Usually applied once
Why It Matters
Integration by parts is one of the most frequently used techniques in any calculus course and appears on nearly every AP Calculus BC and university calculus exam. It is essential for integrating logarithmic, inverse trigonometric, and many product-type functions that no other elementary method can handle. Beyond coursework, it underlies results in physics (such as deriving equations of motion), probability (computing expected values), and engineering (solving differential equations).
Common Mistakes
Mistake: Choosing u and dv in the wrong order, making the integral harder instead of simpler.
Correction: Use the LIATE mnemonic (Logarithmic → Inverse trig → Algebraic → Trigonometric → Exponential) to pick u. The function earlier in this list should generally be u because it simplifies when differentiated. If your new integral is more complex than the original, switch your choices.
Mistake: Forgetting the negative sign in the formula, writing ∫ u dv = uv + ∫ v du instead of uv − ∫ v du.
Correction: The formula comes from the product rule d(uv) = u dv + v du, rearranged to u dv = d(uv) − v du. Integrating both sides gives the minus sign. Always double-check that you have subtracted the second integral.
Related Terms
Integration — The general process that this technique supports