Blog · Calculus guides · 14 November 2026 · 4 min read
By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.
Tabular Integration: The DI Method & Practice Problems

Tabular integration is a shortcut for integration by parts when one factor is a polynomial that differentiates down to zero. Differentiate the polynomial down one column until you reach 0, integrate the other factor down a second column, then multiply diagonally with alternating signs and add. For example, .
Before you scroll
Try one now
Type the answer. Any correct form counts, and it is checked instantly. Stuck? The answer is underneath.
Problem 1
EasyIntegrate:
Stuck? Show the answer
Answer
How to start
D column: , , , . I column: , , , . Now the diagonals, with signs .
The formula
Integration by parts, repeated until the polynomial gives up. The table is only bookkeeping, but it is very good bookkeeping.
When to use it
Use it for , and , whenever is 2 or more and ordinary integration by parts would mean doing the same step two, three or four times over. It needs one factor that eventually differentiates to 0 (a polynomial) and one you can integrate again and again without it getting worse (exponentials, sines and cosines). It is the wrong tool for : is awkward to keep integrating, and in the differentiate column it never reaches zero. There, do one ordinary round of parts with .
How to do it, step by step
- Pick the columns. Put the polynomial in the D (differentiate) column and the other factor in the I (integrate) column.
- Differentiate down to zero. Keep differentiating the D column until you write a 0.
- Integrate down the same number of rows. Integrate the I column once per row, so the two columns are the same length.
- Multiply along the diagonals with alternating signs. Each D entry times the I entry one row below it, with signs from the top. Add them up and finish with .
Worked examples
Example 1: A polynomial times e^x
EasyIntegrate:
D column: , , , . I column: , , , , the easiest column in calculus.
Multiply each D entry by the I entry one row down, with its sign:
Done in one table. Ordinary integration by parts would have taken two full rounds to get here.
Answer
Example 2: A polynomial times a cosine
MediumIntegrate:
D column: , , , . I column: integrate three times and watch the thirds pile up: , then , then .
The diagonals are , then , then . Two minus signs meet in the middle term and make it positive.
Answer
Example 3: A table that loops back
HarderIntegrate:
Neither factor ever differentiates to 0, so this table never ends on its own. Stop it instead when a row repeats the original integrand, up to a constant. D column: , , . I column: all the way down.
Take the diagonals as usual. For the last row, integrate straight across instead (its D entry times its own I entry), keeping that row's sign:
The integral you wanted has come back with a minus sign. Call it : then , so . Divide by 2, add the constant, and the loop that looked endless has closed.
Answer
Tabular integration practice problems
The easy one was at the top. Here are the harder ones. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.
Problem 2
MediumIntegrate:
Stuck? Show the answer
Answer
How to start
D column: , , , . I column: , , , , each one halving the last.
Problem 3
HarderIntegrate:
Stuck? Show the answer
Answer
How to start
This table loops. D column: , , . I column: , , . The last row brings back of the original integral: move it to the left side and solve.
Want more? Asymptote has 500 more tabular integration problems, free, with no account.
Common mistakes
- Losing the alternating signs. The signs belong to the rows, , whatever signs the entries already have. Negative entries in the I column then multiply with them, as in the middle term of the cosine example.
- Multiplying straight across instead of diagonally. Each D entry pairs with the I entry one row below it. Straight across is only for the leftover integral when you stop a table early.
- Stopping before the zero. If you stop at the 2 instead of the 0, you lose the last term. The D column has to actually reach 0.
- Using it on . With in the I column you need again and again, and in the D column it never reaches zero. One round of ordinary parts with is faster.
Practice it now
Five minutes, no account
Integration by parts is the hardest rule in Sprint, waiting at difficulty 6 and 7, and four of its six shapes ( or times , or ) are made for the table; the ones are not. It is also the least-solved rule in our answer data: 63% right, with a median of 110 seconds per correct answer.
FAQ
- Is tabular integration the same as integration by parts?
- Yes. It is integration by parts applied repeatedly, with the working laid out in a table so the signs and terms do not get lost. Every answer it gives, ordinary parts would give too, just more slowly.
- When can you use tabular integration?
- When one factor differentiates to 0 in a few steps (a polynomial) and the other can be integrated over and over (, , ). For a loop like it also works, if you stop when the original integrand comes back.
- Why do the signs alternate?
- Each round of parts is . The minus in front of the leftover integral applies to everything that comes after it, so each new term flips sign again.
- What is the DI method?
- Another name for tabular integration: D for the differentiate column, I for the integrate column.
- Where can I find tabular integration practice problems?
- Right on this page: the practice problems section has three tabular integration problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 500 more tabular integration problems after that, free and with no account: try a five-minute Sprint.
Keep going
Integration by Parts: LIATE, 3 Examples & Practice Problems
Integration by parts: ∫u dv = uv − ∫v du. How to pick u with LIATE, 3 step-by-step examples and practice problems with answers, checked instantly.
U-Substitution: Choosing u, 3 Examples & Practice Problems
U-substitution undoes the chain rule: pick u so du is in the integral, swap, integrate, swap back. 3 worked examples and practice problems with answers.
Derivatives of Trig Functions: Table & Practice Problems
Derivatives of sin, cos, tan, cot, sec and csc in one table: (sin x)' = cos x, (cos x)' = −sin x. A trick for the signs, 3 examples and practice problems.