Integration by Parts- Equation, Steps, and Examples

What Is Integration by Parts?

Integration by parts is a technique that breaks down complicated integrals into simpler pieces. It's the reverse of the product rule for differentiation. If you have an integral that looks impossible, this method often unlocks it.

The catch? You have to pick which part goes where—and picking wrong means starting over. That's the part textbooks skip.

The Formula

Here's the equation:

∫ u dv = uv - ∫ v du

That's it. Two functions, one subtracted integral. The entire method revolves around choosing u and dv correctly.

The derivative of u gives you du. The antiderivative of dv gives you v. Then you plug into the formula and hope the new integral is easier.

When to Use Integration by Parts

Not every integral needs this method. Use it when you have:

The LIATE Rule

This helps you pick u. Higher on the list gets priority:

Example: ∫ x·ln(x) dx → u = ln(x) because L comes before A.

Step-by-Step Process

Follow this order every time:

  1. Identify the two factors in your integral
  2. Choose u using LIATE, let dv be everything else
  3. Find du by differentiating u
  4. Find v by integrating dv
  5. Apply the formula: uv - ∫v du
  6. Solve the remaining integral

Sometimes you need to apply integration by parts twice. Sometimes you end up with the original integral—which means you solve algebraically.

Examples

Example 1: ∫ x·eˣ dx

Step 1: Choose u = x (algebraic) and dv = eˣ dx (exponential)

Step 2: du = dx, v = eˣ

Step 3: Apply formula:

∫ x·eˣ dx = x·eˣ - ∫ eˣ dx

Step 4: Solve remaining integral:

= x·eˣ - eˣ + C

Step 5: Factor if possible:

= eˣ(x - 1) + C

Example 2: ∫ x²·sin(x) dx

This one needs integration by parts twice.

First pass: u = x², dv = sin(x)dx

= -x²·cos(x) + ∫ 2x·cos(x) dx

Second pass: For ∫ 2x·cos(x) dx, use u = 2x, dv = cos(x)dx

= -x²·cos(x) + 2x·sin(x) + 2cos(x) + C

Messy, but solvable.

Example 3: ∫ ln(x) dx

This looks like one function, but ln(x) is actually 1·ln(x). Set dv = dx.

u = ln(x), dv = dx

du = 1/x dx, v = x

= x·ln(x) - ∫ x·(1/x) dx

= x·ln(x) - ∫ 1 dx

= x·ln(x) - x + C

Common Mistakes to Avoid

Integration by Parts vs. Other Methods

Method Best For Difficulty
Substitution Chain rule reversed Easier
Integration by Parts Products with logs, trig, exponentials Medium
Trig Substitution Squares under radicals Harder
Partial Fractions Rational functions with distinct factors Medium

If substitution fails, try parts. If parts gets messy, maybe trig substitution or partial fractions fits better.

Practice Tips

Integration by parts is a tool. Like any tool, you get better by using it. The formula is simple—the hard part is recognizing when it applies and choosing your u and dv correctly.