Tutorials › Calculus II › Checking Reduction Formulas by Differentiation

Reduction Formulas · Tutorial 98 of 998

Checking Reduction Formulas by Differentiation

Learn a reliable derivative test for checking reduction recurrences and diagnosing common errors in their explicit terms and coefficients.

Intermediate 10 min read

What You'll Learn

  • Test a proposed antiderivative recurrence by differentiating its right-hand side
  • Keep track of the interval and domain where the recurrence is valid
  • Check the sign and coefficient of an explicit term in a recurrence
  • Identify when a missing boundary term makes a proposed formula fail
  • Distinguish an error from the harmless choice of an integration constant

Why Differentiate a Reduction Formula?

A reduction formula expresses an integral in terms of an explicit function and a simpler integral. The explicit term, its sign, and the coefficient multiplying the simpler integral all matter: a small error in any of them can make the proposed recurrence false.

Differentiation provides a direct test. An indefinite integral represents a family of antiderivatives, and an expression is an antiderivative of an integrand precisely when its derivative equals that integrand. Thus, to check a proposed recurrence, replace the simpler integral by a primitive, differentiate the entire right-hand side, and simplify.

Key test: A proposed formula for \(\int f(x)\,dx\) is valid on an interval if the derivative of its proposed right-hand side is \(f(x)\) throughout that interval. An arbitrary additive constant may be included; its derivative is zero.

This test checks whether the formula is correct, not whether a particular method was used to derive it. It also makes errors easier to diagnose: an incorrect derivative often reveals whether the problem is a sign, a coefficient, or an omitted explicit term.

What Is Being Checked?

Suppose a proposed recurrence has the form

$$ I_n(x)=B_n(x)+c_n I_{n-2}(x), $$

where \(I_n\) is intended to be a primitive of an integrand \(f_n\), \(B_n(x)\) is an explicit term, \(c_n\) is a coefficient, and \(I_{n-2}\) is a primitive of a simpler integrand \(f_{n-2}\). To test the recurrence, differentiate both sides. The right-hand side must have derivative \(f_n(x)\):

$$ B_n'(x)+c_n f_{n-2}(x)=f_n(x). $$

This equation is the practical check. It avoids needing to know a particular formula for \(I_{n-2}\), because its defining property is that \(I_{n-2}'(x)=f_{n-2}(x)\).

The check is performed on an interval where the expressions and derivatives involved are defined. For example, a recurrence involving \(\sec x\) must be checked on an interval that does not contain a point where \(\cos x=0\). A derivative identity on such an interval verifies the recurrence there; it does not automatically extend the formula through points where its terms are undefined.

Definition: On an interval \(J\), a function \(F\) is an antiderivative of \(f\) if \(F\) is differentiable on \(J\) and \(F'(x)=f(x)\) for every \(x\in J\). Indefinite-integral notation describes antiderivatives up to an additive constant on the interval.

If two differentiable expressions have the same derivative on an interval, their difference is constant there. Consequently, a derivative check verifies an indefinite-integral formula up to an additive constant. A proposed expression that differs only by a constant is not mathematically wrong; one that has the wrong derivative is.

Worked Example: Checking a Sine-Power Recurrence

Worked Example: Checking a Sine-Power Recurrence

For an integer \(n\ge 2\), consider the proposed recurrence

$$ \int \sin^n x\,dx = -\frac{\sin^{n-1}x\cos x}{n} +\frac{n-1}{n}\int \sin^{n-2}x\,dx. $$

We check it by differentiating the right-hand side. Let \(F_{n-2}\) be any antiderivative of \(\sin^{n-2}x\), so \(F_{n-2}'(x)=\sin^{n-2}x\). The proposed right-hand side is

$$ R(x)=-\frac{\sin^{n-1}x\cos x}{n} +\frac{n-1}{n}F_{n-2}(x). $$

Apply the product rule to the explicit term:

$$ \begin{aligned} \frac{d}{dx}\left(-\frac{\sin^{n-1}x\cos x}{n}\right) &=-\frac{1}{n}\left((n-1)\sin^{n-2}x\cos^2x-\sin^n x\right)\\ &=\frac{\sin^n x}{n} -\frac{n-1}{n}\sin^{n-2}x\cos^2x. \end{aligned} $$

The derivative of the remaining term is

$$ \frac{d}{dx}\left(\frac{n-1}{n}F_{n-2}(x)\right) =\frac{n-1}{n}\sin^{n-2}x. $$

Adding these derivatives and using \(1-\cos^2x=\sin^2x\) gives

$$ \begin{aligned} R'(x) &=\frac{\sin^n x}{n} +\frac{n-1}{n}\sin^{n-2}x(1-\cos^2x)\\ &=\frac{\sin^n x}{n} +\frac{n-1}{n}\sin^n x\\ &=\sin^n x. \end{aligned} $$

The derivative is the original integrand, so the recurrence passes the check wherever its terms are defined. The condition \(n\ge2\) ensures the reduced power \(n-2\) is nonnegative and the stated lower-power integral is meaningful in this recurrence.

For instance, when \(n=4\), the formula reads

$$ \int \sin^4 x\,dx = -\frac{\sin^3 x\cos x}{4} +\frac{3}{4}\int \sin^2 x\,dx. $$

If \(F_2'(x)=\sin^2x\), differentiating the right-hand side gives \(\sin^4x/4+(3/4)\sin^2x(1-\cos^2x)\), which equals \(\sin^4x/4+3\sin^4x/4=\sin^4x\). This confirms the recurrence for this specific exponent as well.

A Complete Reason the Test Works

The derivative test follows directly from the definition of an antiderivative. More explicitly, suppose \(F\) and \(G\) are differentiable on an interval \(J\), and \(F'(x)=G'(x)\) for every \(x\in J\). Then

$$ (F-G)'(x)=F'(x)-G'(x)=0. $$

By the mean value theorem, for any \(a,b\in J\) with \(a<b\), there is a point \(c\in(a,b)\) such that

$$ (F-G)(b)-(F-G)(a)=(F-G)'(c)(b-a)=0. $$

Thus \((F-G)(b)=(F-G)(a)\) for every such pair, so \(F-G\) is constant on \(J\). Conversely, if \(F-G\) is constant, then differentiating shows \(F'=G'\). Therefore, checking that a proposed right-hand side has the correct derivative is exactly what is needed to verify an indefinite-integral formula, with the usual freedom to add a constant.

Worked Example: Finding a Sign Error

Worked Example: Finding a Sign Error

For an integer \(n\ge2\), a proposed cosine-power recurrence is

$$ \int \cos^n x\,dx \overset{?}{=} -\frac{\sin x\cos^{n-1}x}{n} +\frac{n-1}{n}\int\cos^{n-2}x\,dx. $$

We test the displayed sign rather than assuming it is correct. Let \(G'(x)=\cos^{n-2}x\). The derivative of the proposed right-hand side is

$$ \begin{aligned} \frac{d}{dx}\left( -\frac{\sin x\cos^{n-1}x}{n} +\frac{n-1}{n}G(x)\right) &=-\frac{1}{n}\left(\cos^n x-(n-1)\sin^2x\cos^{n-2}x\right)\\ &\qquad+\frac{n-1}{n}\cos^{n-2}x. \end{aligned} $$

Factor \(\cos^{n-2}x\) from the terms involving it and use \(1-\sin^2x=\cos^2x\):

$$ \begin{aligned} R'(x) &=-\frac{\cos^n x}{n} +\frac{n-1}{n}\cos^{n-2}x\sin^2x +\frac{n-1}{n}\cos^{n-2}x\\ &=-\frac{\cos^n x}{n} +\frac{n-1}{n}\cos^{n-2}x(1+\sin^2x). \end{aligned} $$

This does not simplify to \(\cos^n x\). A quick specific check with \(n=2\) makes the failure especially clear: the proposed right-hand side is \(-\sin x\cos x/2+x/2\), whose derivative is

$$ -\frac{\cos^2x-\sin^2x}{2}+\frac12 =\sin^2x, $$

not \(\cos^2x\) in general. The sign is wrong. With a positive sign on the explicit term, differentiation instead gives

$$ \begin{aligned} \frac{d}{dx}\left( \frac{\sin x\cos^{n-1}x}{n} +\frac{n-1}{n}G(x)\right) &=\frac{\cos^n x-(n-1)\sin^2x\cos^{n-2}x}{n} +\frac{n-1}{n}\cos^{n-2}x\\ &=\frac{\cos^n x}{n} +\frac{n-1}{n}\cos^{n-2}x(1-\sin^2x)\\ &=\frac{\cos^n x}{n}+\frac{n-1}{n}\cos^n x\\ &=\cos^n x. \end{aligned} $$

So the corrected recurrence is valid for \(n\ge2\). The failed derivative identifies the error without requiring us to redo the recurrence's derivation.

Worked Example: Detecting a Missing Explicit Term

Worked Example: Detecting a Missing Explicit Term

On any interval where \(\cos x\ne0\), consider the proposed formula

$$ \int \sec^3 x\,dx \overset{?}{=} \frac12\int\sec x\,dx. $$

Let \(H'(x)=\sec x\). The derivative of the proposed right-hand side is simply

$$ \frac{d}{dx}\left(\frac12H(x)\right)=\frac12\sec x, $$

which is not \(\sec^3x\) in general. The formula is missing an explicit term. To see what term makes the recurrence work, test \(\frac12\sec x\tan x+\frac12H(x)\). Using the product rule and the derivatives of secant and tangent gives

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

Here we used \(\tan^2x=\sec^2x-1\). The corrected recurrence is therefore

$$ \int\sec^3x\,dx = \frac12\sec x\tan x+\frac12\int\sec x\,dx. $$

The missing term is essential: the reduced integral alone differentiates to only half of \(\sec x\), not to \(\sec^3x\).

A Practical Checking Routine

When a recurrence looks complicated, organize the check instead of differentiating from memory. Keep the target integrand visible, and identify separately the derivative of the explicit term and the contribution from the reduced integral.

1
State the target.
Write the integrand that the proposed left-hand side is supposed to represent.
2
Name the lower primitive.
If the recurrence contains an integral, call its value \(F(x)\) and record \(F'(x)\) explicitly.
3
Differentiate each term.
Use the product rule for products and the chain rule for composite functions; retain all signs and coefficients.
4
Simplify with identities.
Use an identity only after the derivative has been computed, and check that the resulting expression equals the target integrand.
5
Check the domain and constants.
Make sure every term is defined on the interval in question. An additive constant is allowed, but it cannot repair a derivative mismatch.

Common Pitfalls

A frequent mistake is to differentiate only the explicit term and forget that the reduced integral contributes its integrand. In the sine-power example, omitting that contribution would leave only the derivative of \(-\sin^{n-1}x\cos x/n\), which is not \(\sin^n x\) by itself.

Another common error is to alter a coefficient while simplifying. For example, if the coefficient \((n-1)/n\) in the verified sine recurrence were replaced by \(1/n\), the proposed formula would be \(\int\sin^n x\,dx=-\frac{\sin^{n-1}x\cos x}{n}+\frac1n\int\sin^{n-2}x\,dx\). Its derivative is

$$ \frac{\sin^n x}{n}-\frac{n-1}{n}\sin^{n-2}x\cos^2x+\frac1n\sin^{n-2}x =\frac{\sin^{n-2}x}{n}\bigl(\sin^2x+1-(n-1)\cos^2x\bigr). $$

For \(n=2\) the factor in parentheses is \(\sin^2x+1-\cos^2x=2\sin^2x\), so the derivative is \(\sin^2x\); this special case happens to pass. For \(n=3\) and \(x=\pi/4\), however, the derivative is \(\frac{\sqrt2/2}{3}\left(\frac12+1-1\right)=\frac{\sqrt2}{12}\), whereas \(\sin^3(\pi/4)=\frac{\sqrt2}{4}\). A check at a single special exponent can therefore conceal a coefficient error in a general recurrence. Verify the symbolic formula for its stated range, not just one convenient case.

Finally, do not confuse a missing constant with a missing function of \(x\). Constants disappear under differentiation, so they do not affect validity. An omitted boundary term such as \(\sec x\tan x/2\), by contrast, changes the derivative and must be included.

Why This Check Matters

Reduction formulas can contain several linked pieces: an explicit term, a numerical coefficient, and a lower-power integral. Differentiation tests all of them at once. It is particularly useful after algebraic simplification, where a sign change or an identity applied incorrectly can make a previously valid recurrence fail.

The method is also independent of how the recurrence was obtained. Whether it arose through integration by parts or algebraic rearrangement, the same question decides its validity: does the derivative of the complete proposed right-hand side recover the original integrand on the stated interval?

Check Your Understanding

For each question, focus on what the derivative test establishes and which details must be checked.

  1. What equation should result when you differentiate both sides of a proposed recurrence \(I_n(x)=B_n(x)+c_nI_{n-2}(x)\)?
  2. Why can two different-looking antiderivative formulas both be valid if they differ by a constant?
  3. In the cosine-power example, what derivative mismatch reveals that the proposed negative sign is wrong?
  4. Why must a recurrence involving \(\sec x\) be checked on an interval where \(\cos x\ne0\)?
  5. How can you distinguish a missing additive constant from a missing explicit term that depends on \(x\)?

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