Why Use a Tabular Layout?
Integration by parts is useful when an integrand is a product and differentiating one factor makes it simpler. In a short problem, the choices and signs are easy to keep track of in a line of working. When the process repeats, however, it is easy to lose a minus sign or pair a derivative with the wrong antiderivative.
A tabular layout organizes that repeated work into two columns. One column records successive derivatives of a chosen factor; the other records successive antiderivatives of the remaining factor. Products formed along matching diagonals are then added with alternating signs. If the derivative column reaches zero, the tabular sum is complete. If it does not, the remaining integral must be included.
The Layout and Its Signs
To build the table, first write the integrand as \(u\,dv\). Choose \(u\) to differentiate and \(dv\) to integrate. Then fill the derivative column downward and the antiderivative column downward. Each antiderivative entry must differentiate to the entry directly above it.
For example, the general shape begins as follows. The first two diagonal products are \(u v_1\) and \(-u'v_2\), where \(v_1\) is an antiderivative of \(dv\), and \(v_2\) is an antiderivative of \(v_1\).
Read the products diagonally: \(u\) pairs with \(v_1\), \(u'\) pairs with \(v_2\), and \(u''\) pairs with \(v_3\). The sign changes each time: plus, minus, plus, minus. The table is not just a way to list terms. It is a record of repeated applications of the integration-by-parts identity, so the pairing and signs must stay in the same order.
Why the Alternating Signs Appear
The sign pattern begins with the ordinary integration-by-parts formula. If \(v\) is an antiderivative of \(dv\), the product rule gives \((uv)'=u'v+uv'\). Rearranging and integrating yields the identity below. In this form, \(u'\,v\) becomes the new product inside the remaining integral, and the minus sign is the source of the next alternating sign.
This identity also explains why the diagonal is offset: the first antiderivative \(v\) pairs with the original \(u\), while the next antiderivative is paired with \(u'\) after the remaining integral is handled. Each new application introduces one more minus sign. This product-rule argument justifies the first step and the sign change; it does not remove the need to account for any integral left when the table stops.
Worked Example: A Table That Terminates
Worked Example: Integrating \(x^2\ln x\)
Find an antiderivative of \(x^2\ln x\) for \(x>0\). Choose \(u=x^2\) and \(dv=\ln x\,dx\). The logarithm is integrable, and the polynomial factor eventually differentiates to zero.
First, calculate the derivative column:
Now calculate the antiderivative column. The first entry is found by integration by parts, or by differentiating the proposed expression:
For the next entry, integrate \(v_2\):
The table pairs entries along the diagonals. Since the derivative column reaches zero, no remainder integral is needed:
Read the diagonal products with their signs:
Check by differentiating:
The derivative matches the integrand, so the antiderivative is correct for \(x>0\).
Worked Example: Stop and Keep the Remainder
Worked Example: Integrating \(x\ln x\) with One Diagonal
Use \(u=\ln x\) and \(dv=x\,dx\), with \(x>0\). The first derivative of \(u\) is \(1/x\), so this derivative column has not terminated after one step. We will form one diagonal product and explicitly evaluate what remains.
The entries needed are:
The first diagonal contributes \(\frac{x^2}{2}\ln x\). Applying integration by parts once gives the remainder with a minus sign:
Evaluate the remaining integral:
Check by differentiation:
The remainder was not zero; it became the integral of \(x/2\), which was then evaluated. Omitting that integral would leave an incomplete answer.
Worked Example: A Second Terminating Table
Worked Example: Integrating \(x\arctan x\)
For \(x\in\mathbb R\), choose \(u=x\) and \(dv=\arctan x\,dx\). The derivative column ends after \(1\), so two diagonal products will complete the result. First compute the antiderivatives required for the right column.
Integration by parts gives the first antiderivative:
Integrate \(v_1\) to obtain the next entry. For its first term, integration by parts gives \(\int x\arctan x\,dx=\frac{x^2+1}{2}\arctan x-\frac{x}{2}\). Also, \(\int\ln(1+x^2)\,dx=x\ln(1+x^2)-2x+2\arctan x\), as can be verified by differentiation. Therefore:
Now assemble the table and its diagonal products:
Check by differentiation. Since \(\frac{d}{dx}\arctan x=1/(1+x^2)\),
This check confirms both the final expression and the signs in the table.
A Common Mistake: Dropping the Last Integral
A frequent error is to write down the first diagonal product and treat it as the full answer, even though the derivative column has not reached zero. For example, with \(u=\ln x\) and \(dv=x\,dx\), keeping only the first product gives the incorrect claim
Differentiating this proposed answer exposes the error:
which is not \(x\ln x\). The missing term must cancel \(x/2\). The table supplies it through the remaining integral, \(-\int x/2\,dx=-x^2/4\). Thus the corrected antiderivative is \(\frac{x^2}{2}\ln x-\frac{x^2}{4}+C\).
How to Use the Table Reliably
Write the integrand as \(u\,dv\). Confirm that the chosen \(dv\) has an antiderivative you can obtain.
Differentiate downward on the left and integrate downward on the right. Check each entry by differentiation or by taking the derivative of the entry above.
Match each derivative entry with the antiderivative entry one row below it, and assign signs in the order \(+,-,+,-,\ldots\).
If the derivative column reaches zero, the diagonal sum is complete. Otherwise, include the remaining integral produced at the stopping point.
Differentiate the proposed antiderivative and confirm that it equals the original integrand on the relevant domain.
Check Your Understanding
For each question, pay attention to the column entries, diagonal pairings, and whether a remainder is present.
- If the derivative column begins \(u,u',u''\), what are the first three signs attached to the diagonal products?
- In a tabular layout, which antiderivative entry pairs with \(u'\)?
- What must be done if the derivative column has not reached zero when you stop forming diagonal products?
- For \(\int x\ln x\,dx\), what integral remains after forming the first diagonal product with \(u=\ln x\) and \(dv=x\,dx\)?
- Why is differentiating the final expression a useful check on a tabular calculation?