Tutorials › Calculus II › Product Structure as a Parts Signal

Integration Strategy · Tutorial 8 of 998

Product Structure as a Parts Signal

Use the product rule to recognize when integration by parts may help, and compare product-shaped integrands with cases better handled by substitution or algebra.

Beginner 9 min read

What You'll Learn

  • Derive the integration-by-parts formula from the product rule.
  • Identify why a product can suggest integration by parts without guaranteeing it is the best method.
  • Recognize products with an inner-function and derivative pairing that favor substitution.
  • Simplify polynomial products algebraically before integrating.
  • Check antiderivatives by differentiation and avoid treating one factor as constant.

When a Product Is a Signal

A product in an integrand can be more than a multiplication to carry out. It can show how the integrand may have been created by differentiating a product. Since the product rule describes the derivative of a product, reversing that rule gives a method for integrating some products: integration by parts.

But seeing two factors does not automatically mean integration by parts is the best choice. A product might instead contain a function and the derivative of its inner expression, making substitution simpler. Or it might be an algebraic product that is easiest to expand first. The useful question is not merely “Is this a product?” but “Which structure makes the integral simplest?”

Key idea: A product is a possible signal for integration by parts when reversing the product rule is useful. First check whether substitution or algebra gives a more direct route.

From the Product Rule to Integration by Parts

The product rule states that if \(u\) and \(v\) are differentiable functions, then

$$ \frac{d}{dx}\bigl(u(x)v(x)\bigr) = u'(x)v(x)+u(x)v'(x). $$

Rearrange the equation to isolate the product \(u(x)v'(x)\):

$$ u(x)v'(x) = \frac{d}{dx}\bigl(u(x)v(x)\bigr)-v(x)u'(x). $$

Integrating both sides gives the integration-by-parts formula. On an interval where \(u\) and \(v\) are differentiable and the integrals involved exist,

$$ \int u(x)v'(x)\,dx = u(x)v(x)-\int v(x)u'(x)\,dx+C. $$

In differential notation, this is commonly written as

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

The formula replaces one product integral with a boundary product \(uv\) and a new integral. It is useful when that new integral is simpler than the original one. Integration by parts is therefore not just a rule to apply to every product; it is a way to transform a product integral by reversing the product rule.

1
Start with the product rule.
The derivative of \(uv\) is \(u'v+uv'\).
2
Rearrange it.
Write \(uv'=(uv)'-vu'\), isolating one product term.
3
Integrate both sides.
The integral of \((uv)'\) is \(uv+C\), which yields \(\int uv'=uv-\int vu'+C\).

A Product That Calls for Integration by Parts

Consider a product in which the factors do not form an evident inner-function and derivative pair, and where the product rule gives a simpler remaining integral. For example, \(x e^x\) has the antiderivative \(e^x\) for its exponential factor, while the other factor is \(x\). Applying integration by parts transforms the integral into one involving just \(e^x\).

Worked Example: Integrating \(x e^x\)

Evaluate \(\int x e^x\,dx\). Set \(u=x\) and \(dv=e^x\,dx\). Then \(du=dx\) and \(v=e^x\), because the antiderivative of \(e^x\) is \(e^x\).

Apply the formula:

$$ \begin{aligned} \int x e^x\,dx &=x e^x-\int e^x\,dx\\ &=x e^x-e^x+C\\ &=(x-1)e^x+C. \end{aligned} $$

Check by differentiation:

$$ \frac{d}{dx}\bigl((x-1)e^x\bigr) = e^x+(x-1)e^x = x e^x. $$

The derivative agrees with the original integrand, so the antiderivative is correct.

A product can also be present even when one factor is the constant function \(1\). This is useful when a factor such as \(\ln x\) is difficult to integrate directly but becomes simpler after differentiation. The following example uses the interval \(x>0\), where \(\ln x\) is defined.

Worked Example: Integrating \(\ln x\) as a Product

Write \(\int \ln x\,dx\) as \(\int (\ln x)\cdot 1\,dx\). Choose \(u=\ln x\) and \(dv=dx\). Then \(du=\frac{1}{x}\,dx\) and \(v=x\).

Integration by parts gives

$$ \begin{aligned} \int \ln x\,dx &=x\ln x-\int x\frac{1}{x}\,dx\\ &=x\ln x-\int 1\,dx\\ &=x\ln x-x+C. \end{aligned} $$

Check the result on \(x>0\):

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

The check recovers the integrand, as required.

Products Better Handled by Substitution

Some products contain a factor that is proportional to the derivative of an expression appearing inside another factor. This is a signal for substitution, even though the integrand is visibly a product. For instance, in \(x\cdot\frac{1}{x^2+4}\), the factor \(x\) is proportional to the derivative of \(x^2+4\). Substituting the denominator expression turns the product into a basic reciprocal integral.

Worked Example: Choosing Substitution for a Product

Evaluate \(\int \frac{x}{x^2+4}\,dx\). Let \(w=x^2+4\). Then \(dw=2x\,dx\), so \(x\,dx=\frac{1}{2}\,dw\). The integral becomes

$$ \begin{aligned} \int \frac{x}{x^2+4}\,dx &=\frac{1}{2}\int \frac{1}{w}\,dw\\ &=\frac{1}{2}\ln|w|+C\\ &=\frac{1}{2}\ln(x^2+4)+C. \end{aligned} $$

Here \(x^2+4>0\) for every real \(x\), so \(\ln|x^2+4|=\ln(x^2+4)\). Check by differentiation:

$$ \frac{d}{dx}\left(\frac{1}{2}\ln(x^2+4)\right) = \frac{1}{2}\cdot\frac{2x}{x^2+4} = \frac{x}{x^2+4}. $$

The result differentiates to the original integrand. Substitution was direct because the numerator supplied the derivative of the denominator expression up to a constant factor.

In the preceding example, integration by parts could be attempted, but the product itself does not make that method preferable. The derivative pairing already visible in the integrand gives a simpler transformation. Recognizing that pairing prevents a product from becoming a distraction.

Products Better Handled by Algebra

When both factors are polynomials, expanding a simple product can turn the integrand into a sum of powers. The power rule for antiderivatives then applies term by term. This is often more direct than applying integration by parts to the unexpanded product.

Worked Example: Expanding Before Integrating

Evaluate \(\int (x+2)(x-1)\,dx\). First expand the product:

$$ (x+2)(x-1) = x^2-x+2x-2 = x^2+x-2. $$

Integrate each term:

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

Check by differentiation:

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

The derivative matches the original product. Expanding first exposed a sum of elementary terms, so integration by parts was unnecessary.

A Common Mistake: Treating a Factor as Constant

A product rule must account for the derivative of both factors. A common incorrect calculation is to integrate one factor and leave the other unchanged, as if it were constant. For example, the following is wrong:

$$ \int x e^x\,dx \ne \frac{x^2}{2}e^x+C. $$

Differentiating the proposed expression reveals the error:

$$ \frac{d}{dx}\left(\frac{x^2}{2}e^x\right) = x e^x+\frac{x^2}{2}e^x, $$

which contains an extra term and is not \(x e^x\). The factor \(e^x\) is not constant, so the product rule produces a contribution from its derivative as well. Integration by parts handles both factors through the identity \(\int u\,dv=uv-\int v\,du\); it does not permit one factor to be ignored.

A Practical Comparison

These examples illustrate three different responses to a product-shaped integrand. The pattern is a guide to method selection, not a rule that every product must be handled the same way.

Visible structureUseful first questionLikely approach
A product whose product-rule reversal gives a simpler integralCan one factor be integrated while the other is differentiated to produce a manageable new integral?Consider integration by parts.
A factor paired with the derivative of an inner expressionDoes substitution turn the factors into a basic integral?Consider substitution.
A simple product of algebraic expressionsWould expansion produce terms with familiar antiderivatives?Simplify algebraically first.

The first question is about whether integration by parts improves the integral, not simply whether the product rule can be written down. In the \(x e^x\) example, the method produced an elementary integral. In the rational example, substitution exposed a reciprocal integral immediately. In the polynomial example, expansion reduced the task to integrating powers.

Why the Product Structure Matters

Recognizing a product as a possible “parts signal” connects integration to differentiation. The product rule tells us that differentiating a product creates two terms; integration by parts uses that relationship in reverse to exchange one product integral for another. This can uncover an antiderivative that is difficult to see from the original expression.

The signal is valuable precisely because it is not conclusive. If every product were sent directly to integration by parts, simple substitutions and algebraic simplifications would be overlooked. Before choosing a method, inspect the factors and ask whether they reveal a useful derivative pairing, an easy algebraic rewrite, or a product-rule reversal that simplifies the integral. Finally, differentiate the proposed antiderivative: a successful check must reproduce the original integrand.

Check Your Understanding

Answer these questions using the structural signals discussed above.

  1. How does the product rule lead to the formula for integration by parts?
  2. Why is the presence of two factors not, by itself, enough reason to use integration by parts?
  3. For \(\int \frac{x}{x^2+4}\,dx\), what expression suggests a substitution, and what is its derivative?
  4. Why is expanding \((x+2)(x-1)\) a sensible first step before integrating?
  5. What extra term appears when differentiating \(\frac{x^2}{2}e^x\), and why does it show the proposed antiderivative is wrong?

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