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?”
From the Product Rule to Integration by Parts
The product rule states that if \(u\) and \(v\) are differentiable functions, then
Rearrange the equation to isolate the product \(u(x)v'(x)\):
Integrating both sides gives the integration-by-parts formula. On an interval where \(u\) and \(v\) are differentiable and the integrals involved exist,
In differential notation, this is commonly written as
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.
The derivative of \(uv\) is \(u'v+uv'\).
Write \(uv'=(uv)'-vu'\), isolating one product term.
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:
Check by differentiation:
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
Check the result on \(x>0\):
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
Here \(x^2+4>0\) for every real \(x\), so \(\ln|x^2+4|=\ln(x^2+4)\). Check by differentiation:
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:
Integrate each term:
Check by differentiation:
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:
Differentiating the proposed expression reveals the error:
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 structure | Useful first question | Likely approach |
|---|---|---|
| A product whose product-rule reversal gives a simpler integral | Can 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 expression | Does substitution turn the factors into a basic integral? | Consider substitution. |
| A simple product of algebraic expressions | Would 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.
- How does the product rule lead to the formula for integration by parts?
- Why is the presence of two factors not, by itself, enough reason to use integration by parts?
- For \(\int \frac{x}{x^2+4}\,dx\), what expression suggests a substitution, and what is its derivative?
- Why is expanding \((x+2)(x-1)\) a sensible first step before integrating?
- What extra term appears when differentiating \(\frac{x^2}{2}e^x\), and why does it show the proposed antiderivative is wrong?