Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Integration by Parts & Partial Fractions

Two integration techniques worked out one step at a time. Choose integration by parts or partial fractions, select an example, and follow the reasoning to the final antiderivative. A numeric area check confirms each result. Everything runs in your browser.

Choose a technique

Numeric check

Pick an interval [a, b], then compare the area under the integrand (Simpson's rule) against the antiderivative evaluated at the bounds. They should match when the interval avoids any singularities.

Simpson's rule (numeric)1.000000
F(b) − F(a) from the antiderivative1.000000
The two values agree, confirming the antiderivative.

Worked solution

LIATE picks the Algebraic factor x as u and the exponential eˣ dx as dv.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Final antiderivative

Reference Guide

Integration by parts

Integration by parts reverses the product rule. It turns a hard integral into a product term plus an easier integral.

The formula
udv=uvvdu\int u\,dv = uv - \int v\,du

You split the integrand into a part to differentiate (uu) and a part to integrate (dvdv), then assemble uvvduuv - \int v\,du.

Choosing u with LIATE

LIATE orders function types by how good a choice they are for uu. Pick the one that appears earliest in the list.

  • L. Logarithmic, like ln(x).
  • I. Inverse trig, like arctan(x).
  • A. Algebraic, like x or x².
  • T. Trigonometric, like sin(x).
  • E. Exponential, like eˣ.

When the algebraic factor is a power of x, each pass of parts drops that power by one. Repeat parts until the remaining integral is elementary, as with x2exdx\int x^{2} e^{x}\,dx.

Partial fraction decomposition

A rational function with distinct linear factors in the denominator splits into a sum of simpler fractions.

Distinct linear factors
p(x)(xa)(xb)=Axa+Bxb\frac{p(x)}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}

Clear the denominators to get a polynomial identity, then solve for the constants. The fastest route is to substitute the root of each factor, which zeroes out the other terms.

Integrating the pieces

Once decomposed, each piece integrates to a logarithm or an arctangent.

Linear factor to a log
Axadx=Alnxa+C\int \frac{A}{x-a}\,dx = A\ln|x-a| + C
Irreducible quadratic to an arctan
1x2+a2dx=1aarctan ⁣xa+C\int \frac{1}{x^{2}+a^{2}}\,dx = \frac{1}{a}\arctan\!\frac{x}{a} + C

This tool verifies each antiderivative numerically with Simpson's rule, so you can watch the worked answer match the area under the curve.