Tutorials › Calculus II › Choosing Factors For One-Step Integration By Parts

Integration by Parts I · Tutorial 29 of 998

Choosing Factors For One-Step Integration By Parts

Use the effect of differentiation and antidifferentiation to choose factors that make integration by parts reduce an integral rather than complicate it.

Beginner 10 min read

What You'll Learn

  • State the indefinite integration by parts formula and its conditions.
  • Compare candidate choices by checking how their derivatives and antiderivatives change.
  • Choose factors in products involving logarithms, exponentials, polynomials, and inverse trigonometric functions.
  • Recognize when a plausible choice leaves a harder integral.
  • Verify a completed antiderivative by differentiation.

Why the Choice of Factors Matters

Integration by parts is useful when an integrand is a product, but the formula does not prescribe which factor to differentiate and which to integrate. A good choice makes the remaining integral simpler or more familiar. A poor choice can make the calculation longer, or leave an integral that is harder than the one you started with.

The central comparison is between two changes: differentiating a proposed factor \(u\), and finding an antiderivative \(v\) of the proposed factor \(dv\). For example, differentiating a polynomial lowers its degree, while taking an antiderivative of an exponential leaves it exponential. Differentiating a logarithm or inverse trigonometric function often produces an algebraic or rational expression. These tendencies guide the choice, but the resulting integral must still be checked.

Key principle: Choose \(u\) so that \(du\) is simpler than \(u\), and choose \(dv\) so that an antiderivative \(v\) is straightforward to find. Then check whether the product \(v\,du\) leads to a simpler remaining integral.

The Formula and What a Choice Means

For differentiable functions \(u\) and \(v\), the product rule gives \((uv)'=u'v+uv'\). Rearranging gives \(uv'= (uv)'-u'v\). Integrating both sides on an interval where the functions and integrals are defined gives the indefinite integration by parts formula:

$$ \int u\,dv=uv-\int v\,du+C. $$

Here \(du=u'(x)\,dx\), and \(dv\) is the part of the integrand whose antiderivative is \(v\). The notation is a way of organizing the product; it does not mean that \(du\) and \(dv\) are independent quantities. To use the formula, the indicated antiderivative \(v\) must exist in a form we can work with, and the remaining integral must be defined on the interval under consideration.

The choice is effective when \(\int v\,du\) is easier than the original integral. It is not enough for \(u\) to become simpler if \(v\) becomes complicated, or if multiplying \(v\) by \(du\) creates a worse integrand.

A Practical Comparison

For products involving the functions in this lesson, some useful tendencies are:

Factor typeWhat differentiation tends to doWhat antidifferentiation tends to do
PolynomialLowers the degree; a constant eventually differentiates to zero.Raises the degree by one.
ExponentialKeeps the same exponential form, up to a constant factor.Keeps the same exponential form, up to a constant factor.
LogarithmOften produces a simpler rational expression.May not have an immediately useful elementary antiderivative in the product at hand.
Inverse trigonometric functionOften produces an algebraic expression involving a square root or rational function.May be inconvenient to integrate directly when it is part of a product.

This comparison explains several common choices. In a polynomial times exponential product, differentiating the polynomial tends to simplify it, while the exponential is usually straightforward to integrate. In a polynomial times logarithm or inverse trigonometric product, differentiating the logarithm or inverse trigonometric factor often replaces it with a more manageable expression; the polynomial is then integrated. These are starting points, not automatic rules. The final test is the complexity of the remaining integral.

A mnemonic such as LIATE (logarithmic, inverse trigonometric, algebraic, trigonometric, exponential) can help suggest a factor for \(u\). It is only a memory aid. It does not compare the actual resulting integrals, and it does not override the need to check whether \(v\,du\) is simpler.

Worked Example: A Logarithm Paired with an Exponential

Worked Example: A Logarithm Paired with an Exponential

Evaluate \(\int e^x\ln(1+e^x)\,dx\). The logarithmic factor is a good choice for \(u\): its derivative is manageable. The exponential factor is a good choice for \(dv\), since its antiderivative is itself.

$$ u=\ln(1+e^x), \qquad dv=e^x\,dx. $$

Differentiate \(u\) and integrate \(dv\):

$$ du=\frac{e^x}{1+e^x}\,dx, \qquad v=e^x. $$

Apply integration by parts. Calling the original integral \(I\),

$$ I=e^x\ln(1+e^x)-\int\frac{e^{2x}}{1+e^x}\,dx. $$

To evaluate the remaining integral, set \(t=1+e^x\). Then \(dt=e^x\,dx\) and \(e^x=t-1\), so

$$ \int\frac{e^{2x}}{1+e^x}\,dx =\int\frac{(t-1)^2}{t}\frac{dt}{t-1} =\int\frac{t-1}{t}\,dt =\int\left(1-\frac{1}{t}\right)\,dt =t-\ln t+C. $$

Substituting \(t=1+e^x\) gives \(e^x+1-\ln(1+e^x)\). Therefore, absorbing the constant term into \(C\),

$$ \int e^x\ln(1+e^x)\,dx =(1+e^x)\ln(1+e^x)-e^x+C. $$

Differentiate the result to check it:

$$ \frac{d}{dx}\left((1+e^x)\ln(1+e^x)-e^x\right) =e^x\ln(1+e^x)+(1+e^x)\frac{e^x}{1+e^x}-e^x =e^x\ln(1+e^x). $$

The derivative is the original integrand. The choice was effective because the logarithm differentiated into a manageable factor and the exponential had an immediate antiderivative.

Worked Example: A Polynomial Paired with an Inverse Sine

Worked Example: A Polynomial Paired with an Inverse Sine

Evaluate \(\int x^2\arcsin x\,dx\) for \(-1<x<1\). Choose \(u=\arcsin x\), because its derivative is a standard algebraic expression, and choose \(dv=x^2\,dx\), because it has a simple antiderivative.

$$ u=\arcsin x, \qquad du=\frac{1}{\sqrt{1-x^2}}\,dx, \qquad dv=x^2\,dx, \qquad v=\frac{x^3}{3}. $$

Integration by parts gives

$$ \int x^2\arcsin x\,dx =\frac{x^3}{3}\arcsin x-\frac{1}{3}\int\frac{x^3}{\sqrt{1-x^2}}\,dx. $$

For the remaining integral, set \(w=1-x^2\). Then \(dw=-2x\,dx\), and \(x^2=1-w\). Thus

$$ \int\frac{x^3}{\sqrt{1-x^2}}\,dx =-\frac{1}{2}\int (1-w)w^{-1/2}\,dw =-\frac{1}{2}\left(2w^{1/2}-\frac{2}{3}w^{3/2}\right) =-\sqrt{w}+\frac{1}{3}w^{3/2}. $$

Substitute \(w=1-x^2\) and then return to the integration-by-parts expression:

$$ \int x^2\arcsin x\,dx =\frac{x^3}{3}\arcsin x +\frac{1}{3}\sqrt{1-x^2} -\frac{1}{9}(1-x^2)^{3/2}+C. $$

To verify, differentiate the right-hand side. The derivative of its first term is \(x^2\arcsin x+\frac{x^3}{3\sqrt{1-x^2}}\). The derivatives of the other two nonconstant terms are \(-\frac{x}{3\sqrt{1-x^2}}\) and \(\frac{x}{3}\sqrt{1-x^2}\). Their sum beyond \(x^2\arcsin x\) is

$$ \frac{x^3-x}{3\sqrt{1-x^2}}+\frac{x\sqrt{1-x^2}}{3} =-\frac{x\sqrt{1-x^2}}{3}+\frac{x\sqrt{1-x^2}}{3} =0. $$

The derivative is \(x^2\arcsin x\), as required. The inverse sine was a good \(u\) because differentiating it exposed a square-root expression that could be handled by substitution.

Worked Example: A Logarithm of a Polynomial

Worked Example: A Logarithm of a Polynomial

Evaluate \(\int x^2\ln(1+x^3)\,dx\) on \(x>-1\), where the logarithm is defined. Take the logarithmic factor as \(u\), and integrate the polynomial factor as \(dv\):

$$ u=\ln(1+x^3), \qquad du=\frac{3x^2}{1+x^3}\,dx, \qquad dv=x^2\,dx, \qquad v=\frac{x^3}{3}. $$

Then

$$ \int x^2\ln(1+x^3)\,dx =\frac{x^3}{3}\ln(1+x^3)-\int\frac{x^5}{1+x^3}\,dx. $$

Divide the numerator by the denominator in the remaining rational expression:

$$ \frac{x^5}{1+x^3}=x^2-\frac{x^2}{1+x^3}. $$

Indeed, \(x^2(1+x^3)-x^2=x^5\). Therefore, using \(d(1+x^3)=3x^2\,dx\),

$$ \int\frac{x^5}{1+x^3}\,dx =\int x^2\,dx-\int\frac{x^2}{1+x^3}\,dx =\frac{x^3}{3}-\frac{1}{3}\ln(1+x^3)+C. $$

Substitution into the integration-by-parts expression gives

$$ \int x^2\ln(1+x^3)\,dx =\frac{x^3}{3}\ln(1+x^3)-\frac{x^3}{3} +\frac{1}{3}\ln(1+x^3)+C. $$

For a check, differentiate. The derivative of the first term is \(x^2\ln(1+x^3)+\frac{x^5}{1+x^3}\); the derivatives of the next two terms are \(-x^2\) and \(\frac{x^2}{1+x^3}\). Hence the derivative is

$$ x^2\ln(1+x^3) +\frac{x^5+x^2}{1+x^3}-x^2 =x^2\ln(1+x^3)+x^2-x^2 =x^2\ln(1+x^3). $$

This choice works because differentiating the logarithm creates a denominator that combines effectively with the integrated polynomial. The polynomial division then reduces the remaining integral to familiar forms.

A Concrete Pitfall: Choosing Factors by Appearance Alone

In the previous example, one might try to set \(u=x^2\) and \(dv=\ln(1+x^3)\,dx\). That choice is not an algebraic error, but it is not useful unless the antiderivative \(v\) can be found conveniently. In particular, the tempting assignment \(v=x\ln(1+x^3)\) is wrong: differentiating it gives

$$ \frac{d}{dx}\left(x\ln(1+x^3)\right) =\ln(1+x^3)+\frac{3x^3}{1+x^3}, $$

which is not just \(\ln(1+x^3)\). It therefore cannot serve as an antiderivative for the proposed \(dv\). The better choice avoids this problem: integrate \(x^2\) directly and differentiate the logarithm, producing the manageable factor \(\frac{3x^2}{1+x^3}\).

There is a second, more general warning: do not decide only from the factor that looks complicated. Decide by examining the whole proposed next integral \(v\,du\). A factor that differentiates simply may still be a poor \(u\) if the other factor has no useful antiderivative.

A Reliable Selection Process

1
Identify the factors.
Write the integrand as a product, and list plausible choices for \(u\) and \(dv\).
2
Check both operations.
Differentiate each candidate for \(u\), and confirm that each candidate for \(dv\) has a usable antiderivative \(v\).
3
Inspect the new integrand.
Form \(v\,du\) and ask whether its integral is simpler or more familiar than the original one.
4
Proceed and verify.
Apply the formula, evaluate the remaining integral, and differentiate the final answer to check it.

Why This Strategy Matters

Integration by parts rearranges a product integral; it does not guarantee a reduction. Choosing the factors well is what makes the method productive. A polynomial often belongs in \(dv\) when paired with a logarithm or inverse trigonometric function, because it is easy to integrate and the other factor often simplifies upon differentiation. With an exponential, antidifferentiation is also straightforward, so the choice depends on whether the other factor becomes simpler and whether the resulting product can be integrated.

When two choices seem plausible, compare the actual remaining integrals rather than relying on a mnemonic. If neither choice produces a manageable next step, integration by parts may not be the right method in that form. When it does apply, the final derivative check catches both an incorrect choice that was not carried through consistently and errors in the calculation.

Check Your Understanding

For each question, explain how differentiation and antidifferentiation affect the proposed factors.

  1. For a product of a polynomial and an exponential, which factor is often a useful choice for \(u\), and why?
  2. In \(\int x^2\ln(1+x^3)\,dx\), identify \(u\) and \(dv\), then write \(du\) and \(v\).
  3. Why is a proposed choice for \(dv\) unsuitable if its antiderivative cannot be found in a useful form?
  4. What must be examined after choosing \(u\) and \(dv\), before deciding that the choice is effective?
  5. Why is LIATE a mnemonic rather than a rule that always determines the correct choice?

Test yourself: Calculus II final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon