Tutorials › AP Calculus › Checking Antiderivatives by Differentiation

Antiderivatives and Substitution · Tutorial 506 of 999

Checking Antiderivatives by Differentiation

Differentiate a proposed antiderivative to check whether it produces the original integrand, and use the result to diagnose common errors.

Intermediate 10 min read

What You'll Learn

  • State the derivative test for a proposed antiderivative.
  • Check polynomial antiderivatives term by term.
  • Use the chain rule to identify missing factors in composite functions.
  • Detect and correct sign errors in trigonometric antiderivatives.
  • Spot exponent errors by differentiating the proposed result.
  • Verify a corrected answer by differentiating it again.

Why Check an Antiderivative?

An indefinite integral asks for a function whose derivative is a given integrand. The result can be easy to misremember: a chain-rule factor may be missing, a negative sign may be wrong, or a power may have been increased or decreased incorrectly. Differentiation provides a direct check. Instead of relying on how an answer looks, test whether its derivative is exactly the original integrand.

This check is useful both after completing an integral and while diagnosing a suspected error. If the derivative does not match, comparing the two expressions often shows precisely what needs to change.

Definition: A function \(F\) is an antiderivative of \(f\) on an interval if \(F\) is differentiable there and \(F'(x)=f(x)\) at every point of the interval. Thus a proposed antiderivative is verified by differentiating it and comparing the result with the integrand.

The Derivative Test

Suppose an indefinite integral is written as \(\int f(x)\,dx\), and \(F(x)+C\) is proposed as its value. To check the function part, compute \(\frac{d}{dx}F(x)\). If the result simplifies to \(f(x)\), then \(F\) is an antiderivative of the integrand on the domain being considered. The constant \(C\) does not affect the check, because the derivative of a constant is zero.

$$ \frac{d}{dx}\bigl(F(x)+C\bigr)=F'(x)+0=F'(x). $$

The comparison must be exact, not merely similar. A factor of \(5\), a minus sign, or a different power means the candidate does not pass the test unless algebraic simplification shows the expressions are equal.

1
Differentiate the proposed function.
Apply the relevant derivative rules, including the chain rule for composite functions.
2
Simplify the derivative.
Rewrite it in a form that can be compared directly with the original integrand.
3
Compare with the integrand.
If the expressions agree on the interval, the proposed function is verified. If they differ, identify the factor, sign, or power responsible.
4
Correct and check again.
Make the needed change, then differentiate the corrected candidate to confirm the result.

Why the Chain Rule Exposes Missing Factors

Many integration errors involve a composite function. The chain rule explains why checking by differentiation is especially effective in these cases. If a candidate has the form \(G(g(x))\), then differentiating it produces the derivative of the outer function, evaluated at the inner function, multiplied by the derivative of that inner function.

$$ \frac{d}{dx}G(g(x))=G'(g(x))g'(x). $$

For an antiderivative candidate to be correct, this entire product must equal the integrand. A missing numerical factor in the candidate remains visible after differentiation, while an omitted inner-function derivative usually appears as a missing factor of \(g'(x)\). This is the reverse-chain-rule idea behind many substitution integrals, now used as a verification method.

Chain-rule check: For a candidate containing a composite function, differentiate the outer function and multiply by the derivative of the inner function. Then compare the complete product with the integrand; do not compare only the outer-function derivative.

Worked Checks

Worked Example: Checking a Polynomial Antiderivative

Check whether \(F(x)=x^3-2x^2+2x\) is an antiderivative of \(f(x)=3x^2-4x+2\).

Differentiate each term using the power rule:

$$ \begin{aligned} F'(x) &=\frac{d}{dx}(x^3)-2\frac{d}{dx}(x^2)+2\frac{d}{dx}(x)\\ &=3x^2-2(2x)+2(1)\\ &=3x^2-4x+2. \end{aligned} $$

The derivative equals the original integrand \(3x^2-4x+2\). Therefore \(F\) passes the derivative test and is an antiderivative of \(f\). If the proposed indefinite integral includes \(+C\), differentiating that term gives zero, so the check is unchanged.

Check: Substituting the derivative into the comparison gives \(F'(x)=3x^2-4x+2=f(x)\), as required.

Worked Example: Finding a Missing Chain-Rule Factor

A proposed answer to \(\int e^{5x}\,dx\) is \(F(x)=e^{5x}\). Check it, then correct it if necessary.

Differentiate the proposed function. The inner function is \(5x\), whose derivative is \(5\):

$$ F'(x)=e^{5x}\cdot\frac{d}{dx}(5x)=e^{5x}\cdot 5=5e^{5x}. $$

The integrand is \(e^{5x}\), not \(5e^{5x}\). The proposed answer has an extra factor of \(5\) in its derivative, so it fails the test. To correct it, multiply the candidate by \(\frac{1}{5}\):

$$ \widetilde F(x)=\frac{1}{5}e^{5x}. $$

Now differentiate the corrected candidate:

$$ \widetilde F'(x)=\frac{1}{5}\left(e^{5x}\cdot 5\right) =\frac{5}{5}e^{5x} =e^{5x}. $$

Check: The corrected derivative is exactly the original integrand, so \(\frac{1}{5}e^{5x}\) is verified.

Worked Example: Detecting an Exponent Error

Check the proposed antiderivative \(F(x)=(x^2+1)^2\) for the integrand \(f(x)=6x(x^2+1)^2\), then find a correct candidate.

Differentiate the proposed function with the chain rule. The outer power is \(2\), and the derivative of the inner function \(x^2+1\) is \(2x\):

$$ \begin{aligned} F'(x) &=2(x^2+1)^{2-1}(2x)\\ &=4x(x^2+1). \end{aligned} $$

This is not \(6x(x^2+1)^2\): the coefficient is different, and the power of \(x^2+1\) is also different. Thus the proposed exponent is wrong for this integrand. Try instead \(G(x)=(x^2+1)^3\). Differentiating gives

$$ \begin{aligned} G'(x) &=3(x^2+1)^{3-1}(2x)\\ &=3(x^2+1)^2(2x)\\ &=6x(x^2+1)^2. \end{aligned} $$

Check: The final derivative matches \(f(x)\) exactly, so \(G(x)=(x^2+1)^3\) is a correct antiderivative.

Worked Example: Correcting a Sign Error

Check the proposed antiderivative \(F(x)=\frac{1}{3}\cos(3x)\) for the integrand \(f(x)=\sin(3x)\).

Differentiate. The derivative of cosine introduces a negative sign, and the inner function \(3x\) contributes a factor of \(3\):

$$ \begin{aligned} F'(x) &=\frac{1}{3}\bigl(-\sin(3x)\bigr)(3)\\ &=-\sin(3x). \end{aligned} $$

The derivative has the opposite sign from the integrand, so the proposed function is not an antiderivative of \(\sin(3x)\). Change the sign of the candidate and check again:

$$ \begin{aligned} \widetilde F(x)&=-\frac{1}{3}\cos(3x),\\ \widetilde F'(x) &=-\frac{1}{3}\bigl(-\sin(3x)\bigr)(3)\\ &=\sin(3x). \end{aligned} $$

Check: The corrected derivative equals the given integrand, including its positive sign. The corrected candidate is verified.

Reading the Difference

When a candidate fails, the form of its derivative often points directly to the error. Compare the derivative with the integrand term by term or factor by factor. For a composite function, look for an inner derivative that is absent or incorrectly scaled. For trigonometric functions, check the derivative's sign as well as its argument. For powers, verify that differentiating the proposed exponent produces the power and coefficient required by the integrand.

What the derivative showsLikely issue to inspect
The derivative has an extra numerical factor.A reciprocal factor may be missing from the candidate.
The derivative differs by a negative sign.The sign of the candidate may need to change.
The derivative has the wrong power of a composite expression.Recheck the proposed exponent using the power rule and chain rule.
The derivative contains an unexpected inner-function factor.Check whether the chain-rule factor was accounted for.

A Common Mistake

A common mistake is to differentiate only the outside of a composite function. For example, someone might check \(e^{5x}\) by writing that the derivative of \(e^u\) is \(e^u\), and conclude that the derivative is \(e^{5x}\). That omits the derivative of the inner function \(u=5x\).

$$ \text{Incorrect: }\frac{d}{dx}e^{5x}=e^{5x} \qquad \text{Correct: }\frac{d}{dx}e^{5x}=e^{5x}\cdot 5=5e^{5x}. $$

The correction is to apply the chain rule to the whole composite expression. A reliable check writes the inner derivative explicitly before simplifying. This prevents a missing factor from being hidden by a familiar-looking outer derivative.

Why Verification Matters

Differentiating a proposed antiderivative does more than confirm a final answer. It checks that the answer reverses the differentiation rules correctly, including the chain rule. It can also turn an uncertain memory into a concrete test: rather than deciding whether a formula looks plausible, you establish whether its derivative is the required function.

For AP Calculus work, make the comparison visible. Show the derivative, simplify it, and state whether it agrees with the integrand. If it does not, name the mismatch and verify the correction. A compact check is most useful when it includes all factors and signs rather than skipping the part most likely to contain the error.

Takeaway: A proposed antiderivative is correct on an interval when differentiating it produces the original integrand throughout that interval. For composite functions, apply the chain rule completely before comparing.

Check Your Understanding

For each question, use differentiation to test the proposed function or explain what must be corrected.

  1. Is \(F(x)=2x^3-5x\) an antiderivative of \(6x^2-5\)? Show the derivative.
  2. A proposed antiderivative of \(e^{4x}\) is \(e^{4x}\). What does differentiation reveal, and what coefficient corrects the candidate?
  3. Check whether \(F(x)=\frac{1}{2}\sin(2x)\) is an antiderivative of \(\cos(2x)\).
  4. Differentiate \(F(x)=(x^2+3)^4\). What power and factors appear in its derivative?
  5. A candidate differentiates to \(-\sin(5x)\), but the integrand is \(\sin(5x)\). What change to the candidate would correct the sign?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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