How do you integrate by parts?
Integration by parts, explained step by step
Integration by parts turns a difficult product into a simpler integral. It comes from the product rule: ∫u dv = uv − ∫v du. Choose u to become simpler when differentiated, and choose dv to be something you can integrate.
What you should know first
- Basic antiderivatives and + C
- Derivatives of powers, exponentials and logarithms
- Integrating simple products by substitution
The explanation
Choose u and dv before integrating
A useful guide is LIATE: logarithmic, inverse trigonometric, algebraic, trigonometric, exponential. The earlier family is often a good u. For x e^x, choose u = x and dv = e^x dx, so du = dx and v = e^x.
Substitute into the whole formula
Calculate du by differentiating u and v by integrating dv. Then write uv − ∫v du, including the minus sign. The goal is not merely to rewrite the integral: the new integral must be easier than the original.
Repeat when necessary
For x²e^x, one application reduces x² to 2x and a second reduces 2x to 2. For a single ln(x), choose u = ln(x) and dv = dx. For definite integrals, evaluate the uv term at the bounds as well as the remaining integral.
What this covers
- Selecting u and dv with LIATE
- Applying ∫u dv = uv − ∫v du
- Repeated integration by parts
- Definite integrals and inverse functions
Worked examples
Evaluate ∫x e^x dx
- 1Choose partsLet u = x and dv = e^x dx. Then du = dx and v = e^x.
- 2Apply the formula∫x e^x dx = xe^x − ∫e^x dx.
- 3Finish the simpler integral∫e^x dx = e^x, so the antiderivative is xe^x − e^x + C.
- 4Check by differentiatingd/dx(xe^x − e^x + C) = e^x + xe^x − e^x = xe^x.
Evaluate ∫ln(x) dx
- 1Create a productWrite ln(x) as ln(x) · 1. Let u = ln(x) and dv = dx.
- 2Differentiate and integratedu = (1/x)dx and v = x.
- 3Apply the formula∫ln(x)dx = x ln(x) − ∫x · (1/x)dx = x ln(x) − ∫1 dx.
- 4FinishThe remaining integral is x, so include the constant of integration.
Mistakes that cost marks
- Choosing dv = x dx for ∫x e^x dx, which makes the new integral harder.
- Forgetting the minus sign before ∫v du.
- Differentiating dv instead of integrating it.
- Omitting + C from an indefinite integral.
- Forgetting to evaluate the uv boundary term in a definite integral.
10 practice questions with step-by-step answers
Pick an answer to see if you're right and why.
1. 1. For ∫x e^x dx, which choice is best?
2. 2. Evaluate ∫x cos(x) dx.
3. 3. Evaluate ∫x e^(2x) dx.
4. 4. What is the standard antiderivative of ln(x)?
5. 5. Evaluate ∫x ln(x) dx.
6. 6. Evaluate ∫x²e^x dx.
7. 7. Evaluate ∫arctan(x) dx.
8. 8. Evaluate the definite integral ∫₀¹ xe^x dx.
9. 9. What goes wrong if you choose u = e^x and dv = x dx for ∫xe^x dx?
10. 10. Which statement about indefinite integration by parts is correct?
Questions students ask
When should I use integration by parts?
Try it for products involving a logarithm, inverse trigonometric function, or a power multiplied by an exponential or trigonometric function, especially when substitution does not simplify the expression.
What does LIATE mean?
LIATE orders function families as logarithmic, inverse trigonometric, algebraic, trigonometric, exponential. The earliest present is usually a useful choice for u, although it is a guide rather than an absolute rule.
How do I check an integration-by-parts answer?
Differentiate your antiderivative. If you recover the original integrand exactly, the answer is correct. Include the constant only after the integration is complete.
Continue with a personalized 14-day study plan
Take the free adaptive diagnostic to find your weakest calculus concept, get your first learning step, and preview a plan built from your answers. No card is needed.