Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Use Tabular Integration

When integration by parts has to be repeated, a polynomial times an exponential or a trig function, lay the repeated steps out in a table: differentiate down one column, integrate down the other, multiply diagonally with alternating signs.

Recognize the task

A polynomial times ekxe^{kx}, sin⁡kx\sin kx or cos⁡kx\cos kx: x3e2xx^3 e^{2x}, x2sin⁡xx^2\sin x, (x2+1)cos⁡3x(x^2 + 1)\cos 3x. Parts would be needed as many times as the degree of the polynomial. Test: does one factor differentiate down to zero while the other can be integrated again and again?
Each row of the table is one use of integration by parts; the single-step method is integration by parts.

Steps

StepOn ∫x2ex dx\int x^2 e^x\,dx
1Set up two columns: D (differentiate) and I (integrate). The polynomial goes in D, the exponential or trig factor in I.D: x2x^2 \quad I: exe^x
2Differentiate down D until you reach 0; integrate down I the same number of times. The I column uses the exponential or trig antiderivatives repeatedly.Exponential and reciprocal antiderivatives ↗D: x2, 2x, 2, 0x^2,\ 2x,\ 2,\ 0 \quad I: ex, ex, ex, exe^x,\ e^x,\ e^x,\ e^x
3Attach alternating signs to the D column. +, −, +, −, …+,\ -,\ +,\ -,\ \ldots starting with ++.+x2, −2x, +2+x^2,\ -2x,\ +2
4Multiply each D entry by the I entry one row lower, and add. The row with 00 contributes nothing, which is why the table ends there.x2ex−2xex+2ex+C=ex(x2−2x+2)+Cx^2 e^x - 2x e^x + 2e^x + C = e^x(x^2 - 2x + 2) + C

Worked examples

Example 1 · quadratic times exponential

basic
∫x2ex dx\int x^2 e^x\,dx
D: x2,2x,2,0x^2, 2x, 2, 0; I: ex,ex,ex,exe^x, e^x, e^x, e^x
=x2ex−2xex+2ex+C= x^2 e^x - 2x e^x + 2 e^x + C
diagonals with signs +,−,++, -, +
=ex(x2−2x+2)+C= e^x(x^2 - 2x + 2) + C
factor

Example 2 · cubic times sine

four rows
∫x3sin⁡x dx\int x^3\sin x\,dx
D: x3,3x2,6x,6,0x^3, 3x^2, 6x, 6, 0
I: sin⁡x, −cos⁡x, −sin⁡x, cos⁡x, sin⁡x\sin x,\ -\cos x,\ -\sin x,\ \cos x,\ \sin x
integrate sine four times
=−x3cos⁡x+3x2sin⁡x+6xcos⁡x−6sin⁡x+C= -x^3\cos x + 3x^2\sin x + 6x\cos x - 6\sin x + C
signs +,−,+,−+, -, +, - on the D column

Example 3 · linear times e to the 2x

constants in I
∫xe2x dx\int x e^{2x}\,dx
D: x,1,0x, 1, 0; I: e2x,12e2x,14e2xe^{2x}, \tfrac{1}{2}e^{2x}, \tfrac{1}{4}e^{2x}
=x2e2x−14e2x+C= \tfrac{x}{2}e^{2x} - \tfrac{1}{4}e^{2x} + C
each integration brings a factor 12\frac{1}{2}

See it happen

Each row of the table is one application of parts: the diagonal product is the uvuv term and the next row is the leftover integral. Writing them all at once saves rewriting the same integral three times, and the alternating signs are the minus sign of the formula applied over and over.

Common mistakes

Signs not alternating

✗ x2ex+2xex+2exx^2 e^x + 2x e^x + 2 e^x
✓ x2ex−2xex+2exx^2 e^x - 2x e^x + 2 e^x

Stopping one row early

✗ x2ex−2xex+Cx^2 e^x - 2x e^x + C
✓ continue until the D column reaches 00; the +2ex+2e^x term is missing

Differentiating the wrong column

✗ differentiating exe^x and integrating x2x^2
✓ the polynomial is differentiated so that it dies out

Using the table when nothing dies out

✗ ∫excos⁡x dx\int e^x\cos x\,dx by table
✓ no column reaches 00; use parts twice and solve