Canadian flagMath101 · Independent Ontario learning libraryCreated and edited by Kamran
Calculus IIUniversity3 min read

Integration by Parts

A rigorous, example-driven guide to integration by parts, including hypotheses, method choice, verification, and practice.

Cheat sheet

The central idea

The product rule rearranges to integration by parts: $\int u\,dv=uv-\int v\,du$. For definite integrals, evaluate $uv$ at both bounds and subtract the remaining definite integral. The method is useful when differentiating one factor simplifies it while the other factor is readily integrated.

Definitions, hypotheses, and notation

A useful preference list—logarithmic, inverse trigonometric, algebraic, trigonometric, exponential—can suggest $u$, but it is a heuristic, not a theorem. The real test is whether $du$ simplifies and $dv$ integrates. For polynomial times exponential or sine, repeated integration by parts eventually differentiates the polynomial to zero.

For integrals such as $\int e^x\cos xdx$, applying parts twice reproduces the original integral. Collecting that term algebraically then solves the equation. Constants of integration should be added only after the indefinite equation is resolved.

Conceptual meaning

Integration by parts transfers a derivative from one factor to another. It does not eliminate complexity automatically; the choices of $u$ and $dv$ should make the new integral simpler or create an equation involving the original integral.

A dependable method and decision rule

  1. Factor the integrand conceptually into a choice of $u$ and $dv$.
  2. Prefer a $u$ that simplifies under differentiation and a $dv$ with known antiderivative.
  3. Compute $du$ and $v$ explicitly.
  4. Substitute into $uv-\int vdu$ with the minus sign visible.
  5. Repeat, solve algebraically, or apply bounds as the resulting structure requires.

Fully worked example

Graphical or geometric meaning

The formula balances two product-rule contributions. The product differential is $d(uv)=u\,dv+v\,du$; moving the second accumulated contribution to the other side creates the subtraction in integration by parts.

Common mistakes and why they fail

Verification and reasonableness checks

  • Differentiate the final antiderivative.
  • Compare complexity before and after the transfer.
  • For definite integrals, estimate sign and apply all bounds consistently.

Keep the product differential visible

The identity follows from $d(uv)=u\,dv+v\,du$, so $\int u\,dv=uv-\int v\,du$. For definite integrals, write $[uv]_a^b-\int_a^b v\,du$ so the boundary term remains visible. A mnemonic may suggest $u$, but the real criterion is whether differentiating $u$ and integrating $dv$ make the new integral simpler. Polynomial factors work well because repeated differentiation eventually reaches zero. Cyclic examples such as $\int e^x\cos x\,dx$ require applying the rule twice and solving algebraically for the original integral. Differentiate the final result to check the minus sign, product term, and constant factors together. Add the integration constant only after resolving any equation involving the original integral.

Practice

  1. Evaluate $\int x\cos x dx$.
  2. Evaluate $\int\ln x dx$.
  3. Which factor is a natural $u$ in $\int x^2e^x dx$?
Answers and brief solutions
  1. $x\sin x+\cos x+C$.
  2. $x\ln x-x+C$.
  3. $x^2$.

Connections and next steps

Check your understanding

Try it yourself

Hints are part of learning. Open one whenever it makes the next step feel possible.

1 practice question
Question 1Apply integration by parts · Standard

Which antiderivative equals ∫x e^x dx?

End of lesson

Nice work making it this far.

Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.

Lesson complete

That one is yours now.

Integration by Parts is saved to My Learning. Take the win—you earned it.

1Your Math101 collectionlesson completed
Search 464 published lessons, 123 answer guides, courses, and learning tools.
Your experience

Settings

Ontario math tutoringWork with KamranBook ↗