Tutorials › Calculus II › Layering Methods For Mixed Integrands

Integration Strategy · Tutorial 18 of 998

Layering Methods For Mixed Integrands

Plan an efficient sequence of algebraic rewrites and integration methods for integrands with several interacting features.

Beginner 9 min read

What You'll Learn

  • Identify which feature of a mixed integrand should be handled first.
  • Rewrite a rational expression before choosing an integration method.
  • Use substitution when a composite function and its derivative appear together.
  • Split a numerator to match different standard antiderivative forms.
  • Check that algebraic rewrites preserve the integrand on its domain.
  • Verify an antiderivative by differentiating it.

Why Mixed Integrands Need a Plan

An integrand may contain several recognizable features at once: a product, a rational expression, a trigonometric function, or a composite function. Spotting a familiar pattern is useful, but it does not automatically tell you which method to apply first. A small algebraic rewrite can make the right method much clearer.

The goal is to arrange the work so that each step prepares the next one. For example, simplify a rational expression before trying substitution, or split a numerator into terms that match different standard antiderivatives. The aim is not to use as many methods as possible. It is to use only the methods that make the integral manageable.

Key idea: For a mixed integrand, first look for a simple rewrite that exposes a useful structure. Then apply an integration method to the rewritten expression, one layer at a time.

A Practical Order of Decisions

Begin by checking whether the expression can be simplified without changing its value on the domain of the integrand. Look for factoring, expansion, cancellation, or division of polynomials. Next, check whether a numerator or factor is the derivative of an expression appearing inside a composite function. If so, substitution may be appropriate. Trigonometric identities can also reveal a derivative pairing or reduce powers. If a product remains and one factor becomes simpler when differentiated while the other has a manageable antiderivative, integration by parts may be a candidate.

Feature to inspectUseful first move
A rational expression with numerator degree at least the denominator degreeConsider polynomial division or an algebraic rewrite.
A function of \(g(x)\) multiplied by a factor involving \(g'(x)\)Test the substitution \(u=g(x)\).
A trigonometric expression with a recognizable identity or derivative pairingRewrite it using an appropriate trigonometric identity.
A product that remains difficult after simplificationCheck whether integration by parts is a candidate.
A denominator that resembles a standard form after completing the squareRewrite the quadratic before choosing a standard antiderivative.

These are prompts, not automatic rules. A product does not always call for integration by parts, and a visible composite function does not guarantee that substitution will help. The proposed first move should make the remaining integrand simpler or better matched to a known form.

Definition: A layered integration strategy is a sequence of equivalent rewrites and integration steps in which each step prepares the expression for the next. Each rewrite must preserve the integrand wherever the original expression is defined.

Worked Example: Divide Before Integrating

Worked Example: Simplifying a Rational Integrand First

Evaluate \(\int \frac{x^3}{x^2+1}\,dx\).

The numerator has degree \(3\), while the denominator has degree \(2\). Rewrite the numerator to separate a polynomial term:

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

Therefore, since \(x^2+1\ne 0\) for real \(x\),

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

Integrate the two terms. For the second term, \(x^2+1\) has derivative \(2x\), so a factor of \(\frac12\) is required:

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

Check by differentiating. Since \(x^2+1>0\), the logarithm is defined for every real \(x\):

$$ \begin{aligned} \frac{d}{dx}\left(\frac{x^2}{2}-\frac12\ln(x^2+1)\right) &=x-\frac12\cdot\frac{2x}{x^2+1}\\ &=x-\frac{x}{x^2+1}\\ &=\frac{x(x^2+1)-x}{x^2+1}\\ &=\frac{x^3}{x^2+1}. \end{aligned} $$

The rewrite made the integral a sum of two standard forms. Trying to treat the original fraction as a single pattern would hide that simple structure.

Worked Example: Use the Composite Structure After Simplifying

Worked Example: A Trigonometric Product Over a Composite Denominator

Evaluate \(\int \frac{\sin x\cos x}{2+\sin^2 x}\,dx\).

The denominator is a function of \(\sin^2 x\), and the numerator contains \(\sin x\cos x\). The derivative of \(2+\sin^2 x\) is \(2\sin x\cos x\), so make the substitution

$$ u=2+\sin^2 x, \qquad du=2\sin x\cos x\,dx. $$

Thus \(\sin x\cos x\,dx=\frac12\,du\), and the integral becomes

$$ \int \frac{\sin x\cos x}{2+\sin^2 x}\,dx = \frac12\int \frac{1}{u}\,du = \frac12\ln|u|+C. $$

For real \(x\), \(2+\sin^2x\ge 2\), so the absolute value can be removed when returning to \(x\):

$$ \int \frac{\sin x\cos x}{2+\sin^2 x}\,dx = \frac12\ln(2+\sin^2 x)+C. $$

Check by differentiating:

$$ \frac{d}{dx}\left(\frac12\ln(2+\sin^2 x)\right) = \frac12\cdot\frac{2\sin x\cos x}{2+\sin^2 x} = \frac{\sin x\cos x}{2+\sin^2 x}. $$

Here the product and denominator are not separate obstacles. Together, they reveal a composite function and its derivative.

Worked Example: Split the Numerator to Match Two Forms

Worked Example: A Shifted Quadratic Denominator

Evaluate \(\int \frac{2x+3}{(x+1)^2+4}\,dx\).

The denominator contains \(x+1\), and the numerator can be split into a multiple of \(x+1\) plus a constant:

$$ 2x+3=2(x+1)+1. $$

Consequently,

$$ \frac{2x+3}{(x+1)^2+4} = \frac{2(x+1)}{(x+1)^2+4} + \frac{1}{(x+1)^2+4}. $$

The first term has a numerator equal to the derivative of the quadratic denominator. The second has the form of an arctangent antiderivative. Integrate each:

$$ \begin{aligned} \int \frac{2x+3}{(x+1)^2+4}\,dx &=\ln\big((x+1)^2+4\big) +\frac12\arctan\left(\frac{x+1}{2}\right)+C. \end{aligned} $$

For the logarithm term, its argument is positive for every real \(x\). To check the result, differentiate each term:

$$ \begin{aligned} \frac{d}{dx}\ln\big((x+1)^2+4\big) &=\frac{2(x+1)}{(x+1)^2+4},\\ \frac{d}{dx}\left[\frac12\arctan\left(\frac{x+1}{2}\right)\right] &=\frac{1}{(x+1)^2+4}. \end{aligned} $$

Adding these derivatives gives

$$ \frac{2(x+1)+1}{(x+1)^2+4} = \frac{2x+3}{(x+1)^2+4}, $$

which is the original integrand.

Why Layering Works

The method rests on two basic facts. First, an algebraic identity allows an integrand to be replaced by an equal expression on its domain. Second, integration is linear: if \(f\) and \(g\) have antiderivatives on an interval, then a sum or difference can be integrated term by term. Substitution works when the differential in the integral matches the derivative of the chosen inner function.

Justification: Suppose \(F'(u)=f(u)\), and let \(u=g(x)\) be differentiable. By the chain rule, \(\frac{d}{dx}F(g(x))=f(g(x))g'(x)\). Thus, whenever the integrand can be written as \(f(g(x))g'(x)\), an antiderivative is \(F(g(x))\). If an algebraic rewrite expresses the original integrand as a sum of such terms and standard forms, linearity permits integrating those terms separately. Differentiating the resulting sum recovers the rewritten integrand, and the algebraic identity ensures that it equals the original wherever the original is defined.

This argument explains why the order matters. A rewrite is useful when it makes the chain-rule factor visible, separates terms that match known forms, or removes unnecessary algebra. A rewrite that does none of those things may add work without helping.

A Common Mistake: Losing a Constant Factor

Consider the second term in the first example. A common incorrect step is

$$ \int \frac{x}{x^2+1}\,dx \overset{\text{wrong}}{=} \ln(x^2+1)+C. $$

Differentiating the proposed answer exposes the error:

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

which is twice the required integrand. Since \(d(x^2+1)=2x\,dx\), the correct result is

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

When a substitution or reverse chain-rule pattern appears, check the exact derivative factor, not just the shape of the inner function.

Choosing the Next Layer

After each rewrite, inspect the new integrand again. A first step may reveal that no second method is needed, as in the trigonometric example. In other cases, the rewrite produces a sum whose terms call for different standard forms, as in the shifted quadratic example. If a product remains and no direct substitution or identity resolves it, the product may be a signal to consider integration by parts. The appropriate method depends on the expression that remains, not only on how the original integrand first looked.

Also keep track of the domain. An algebraic cancellation is valid only where the cancelled factor is nonzero, and a logarithm requires a nonzero argument (or a positive argument when written without absolute values). An antiderivative must be considered on intervals where the original integrand is defined.

Takeaway: Simplify, match, then integrate. After each step, check whether the remaining expression has become a standard form or a clearer signal for another method.

Check Your Understanding

For each question, identify the useful first step and explain why it helps.

  1. For \(\int \frac{x^5}{x^2+1}\,dx\), what algebraic operation could expose simpler terms?
  2. For \(\int \frac{3x^2}{1+x^3}\,dx\), which inner function would you test for substitution?
  3. In \(\int \frac{2x+1}{(x+1)^2+9}\,dx\), how might you split the numerator to reveal separate forms?
  4. Why must you check the domain when cancelling a factor in a rational integrand?
  5. How can differentiating a proposed antiderivative detect a missing constant factor?

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