Tutorials › Calculus I › Differentiating a Candidate Antiderivative to Check It

Integral Evaluation Strategies · Tutorial 1186 of 1495

Differentiating a Candidate Antiderivative to Check It

Differentiate a proposed antiderivative to verify it, and use the mismatch to locate common errors.

Advanced 10 min read

What You'll Learn

  • State what it means for a function to be an antiderivative on an interval.
  • Verify a candidate by differentiating and comparing with the integrand.
  • Check substitution-based expressions using the chain rule.
  • Diagnose missing multiplicative factors and incorrect signs.
  • Understand why an additive constant does not affect the derivative.
  • Distinguish a valid antiderivative from a candidate that matches only up to a nonconstant error.

Why Differentiate a Candidate Antiderivative?

An integration result is easy to misread or mistype: a constant factor may be missing, a sign may have changed, or a chain-rule factor may have been overlooked. A direct way to check a proposed antiderivative is to differentiate it and compare the result with the integrand.

This check is especially useful when a proposed expression comes from substitution. The substitution may make the integration look simple, but when the result is written back in terms of \(x\), the derivative of the inner function must still be accounted for.

Key test: A differentiable function \(F\) is an antiderivative of \(f\) on an interval \(I\) if \(F'(x)=f(x)\) for every \(x\) in \(I\). To check a candidate, compute its derivative and compare it with \(f\).

The Verification Process

A good check makes the comparison explicit rather than relying on a quick glance. First identify the candidate \(F(x)\) and the target integrand \(f(x)\). Then differentiate \(F\), simplify the result, and check whether it agrees with \(f\) throughout the relevant interval.

1
Record the target.
Write down the integrand \(f(x)\) that the candidate is supposed to differentiate to.
2
Differentiate the whole candidate.
Use the product, quotient, or chain rule whenever the expression requires it.
3
Simplify before comparing.
Rewrite the derivative in a form that can be compared directly with \(f(x)\).
4
State the conclusion.
If the expressions agree on the interval, the candidate is verified there. If they do not, identify the discrepancy.

The interval matters because a formula may be defined or differentiable only on part of the real line. For example, logarithms and square roots impose domain restrictions. A candidate is verified on an interval only when it is differentiable there and its derivative equals the integrand there.

Worked Example: Checking a Power of a Composite Function

Worked Example: Checking a Power of a Composite Function

Check whether \(F(x)=\frac{1}{3}(x^2+1)^{3/2}\) is an antiderivative of \(f(x)=x\sqrt{x^2+1}\) for all real \(x\).

The inner function \(x^2+1\) is positive for all real \(x\), so the candidate is differentiable on \(\mathbb{R}\). Apply the constant multiple rule and then the chain rule:

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

This is exactly \(f(x)\). Therefore \(F\) is an antiderivative of \(f\) on \(\mathbb{R}\). The final equality checks the candidate against the original integrand, not just against an intermediate expression.

Why Substitution-Based Candidates Need a Chain-Rule Check

Suppose a candidate has the form \(F(x)=H(g(x))\), where \(g\) is an inner function. The chain rule gives

$$ F'(x)=H'(g(x))g'(x). $$

Thus, if \(H'(u)=h(u)\), differentiating the composed candidate gives \(h(g(x))g'(x)\), not merely \(h(g(x))\). The extra factor \(g'(x)\) is precisely what must be present in the integrand for this candidate to work.

Chain-rule check: If \(F(x)=H(g(x))\), verify it by computing \(H'(g(x))g'(x)\) and comparing the full product with the target integrand.

This also explains why substitution-based integration results can fail a check by a constant factor: a factor associated with the inner derivative may have been dropped or handled incorrectly.

Worked Example: Finding a Missing Factor

Worked Example: Finding a Missing Factor

A proposed antiderivative of \(f(x)=\frac{e^{3x}}{1+e^{3x}}\) is \(F(x)=\ln(1+e^{3x})\). Check it and correct it if necessary.

The logarithm's argument is positive for every real \(x\), so we may differentiate on \(\mathbb{R}\). For the proposed candidate, use the chain rule:

$$ \begin{aligned} F'(x) &=\frac{1}{1+e^{3x}}\cdot \frac{d}{dx}(1+e^{3x})\\ &=\frac{1}{1+e^{3x}}\cdot 3e^{3x}\\ &=\frac{3e^{3x}}{1+e^{3x}}\\ &=3f(x). \end{aligned} $$

The proposed derivative is three times the target integrand, so the candidate is not correct. Multiplying the candidate by \(\frac{1}{3}\) corrects the discrepancy. Let \(G(x)=\frac{1}{3}\ln(1+e^{3x})\). Then

$$ \begin{aligned} G'(x) &=\frac{1}{3}\cdot\frac{3e^{3x}}{1+e^{3x}}\\ &=\frac{e^{3x}}{1+e^{3x}}\\ &=f(x). \end{aligned} $$

The corrected candidate passes the check. The missing factor was the reciprocal of the \(3\) produced by differentiating the inner function \(3x\).

Signs, Constants, and What the Derivative Cannot Detect

A sign error is visible in the same way as a factor error: differentiate the candidate and compare the result. An additive constant is different. The derivative of a constant is zero, so adding or removing a constant does not change whether a candidate is an antiderivative.

Important distinction: A missing multiplicative factor can change the derivative. A missing additive constant cannot. Every antiderivative of a given function on an interval differs from any other by a constant.

Here is why the last statement holds. Suppose \(F\) and \(G\) are differentiable on an interval \(I\) and both have derivative \(f\) there. Their difference \(D=F-G\) satisfies \(D'(x)=F'(x)-G'(x)=0\). For any \(a,b\in I\) with \(a<b\), the mean value theorem applies to \(D\) on \([a,b]\): \(D\) is continuous on that closed interval and differentiable in its interior. Therefore some \(c\in(a,b)\) satisfies

$$ D(b)-D(a)=D'(c)(b-a)=0. $$

So \(D(b)=D(a)\) for any two points in \(I\); hence \(D\) is constant on \(I\). This is why checking by differentiation cannot determine the additive constant.

Worked Example: Checking a Logarithmic Candidate

Worked Example: Checking a Logarithmic Candidate

Check whether \(F(x)=\ln(x^2+4)\) is an antiderivative of \(f(x)=\frac{2x}{x^2+4}\), and compare it with \(G(x)=\frac{1}{2}\ln(x^2+4)\).

Since \(x^2+4>0\) for every real \(x\), both candidates are differentiable on \(\mathbb{R}\). Differentiate \(F\):

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

Thus \(F\) is verified. For the second candidate,

$$ \begin{aligned} G'(x) &=\frac{1}{2}\cdot\frac{1}{x^2+4}\cdot 2x\\ &=\frac{x}{x^2+4}\\ &=\frac{1}{2}f(x). \end{aligned} $$

The second candidate has an incorrect multiplicative factor and is not an antiderivative of \(f\). By contrast, \(F(x)+7\) is valid because

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

The constant changes the candidate's values but not its derivative.

Worked Example: Checking a Candidate with a Square-Root Inner Function

Worked Example: Checking a Candidate with a Square-Root Inner Function

For \(x>0\), check whether \(F(x)=-2\cos(\sqrt{x})\) is an antiderivative of \(f(x)=\frac{\sin(\sqrt{x})}{\sqrt{x}}\).

The condition \(x>0\) ensures that \(\sqrt{x}\) is differentiable and the target integrand is defined. Applying the chain rule gives

$$ \begin{aligned} F'(x) &=-2\bigl(-\sin(\sqrt{x})\bigr)\cdot\frac{d}{dx}(\sqrt{x})\\ &=2\sin(\sqrt{x})\cdot\frac{1}{2\sqrt{x}}\\ &=\frac{\sin(\sqrt{x})}{\sqrt{x}}\\ &=f(x). \end{aligned} $$

The two factors of \(2\) cancel, and the candidate is verified on \((0,\infty)\). Omitting the derivative \(\frac{1}{2\sqrt{x}}\) of the inner function would miss the denominator in the target integrand.

Common Pitfall: Checking Only the Outer Function

A frequent error is to differentiate a composite expression as though its inner function were simply \(x\). For instance, the incorrect calculation

$$ \frac{d}{dx}\sin(x^2)=\cos(x^2) $$

omits the derivative of \(x^2\). The chain rule instead gives

$$ \frac{d}{dx}\sin(x^2)=\cos(x^2)\cdot 2x=2x\cos(x^2). $$

Consequently, if the target integrand is \(x\cos(x^2)\), the candidate \(\sin(x^2)\) is not correct: its derivative has twice the required value. The corrected candidate is \(\frac{1}{2}\sin(x^2)\), since

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

The practical correction is simple: when an expression contains an inner function, write its derivative explicitly before simplifying. This makes omitted chain-rule factors and incorrect signs easier to spot.

What a Successful Check Establishes

If a candidate is differentiable on an interval and its derivative agrees with the integrand at every point of that interval, it is an antiderivative there. A few matching sample values are not enough: the equality of derivatives must hold throughout the stated interval. Conversely, if the derivatives do not agree, the candidate is not an antiderivative of that integrand on that interval.

A check can also help locate the type of error. A constant ratio between the computed derivative and the target often signals a missing factor; an opposite sign signals a sign error; a missing or extra variable factor may point to a chain-rule mistake. These are diagnostic clues, but the decisive test remains direct differentiation and comparison.

Check Your Understanding

For each question, differentiate the proposed expression before deciding whether it passes the check.

  1. Is \(F(x)=\frac{1}{4}(x^2+1)^2\) an antiderivative of \(x(x^2+1)\) on \(\mathbb{R}\)?
  2. For \(x>0\), does \(F(x)=\ln(x^2)\) differentiate to \(\frac{2}{x}\)?
  3. If \(F'(x)=f(x)\), does \(F(x)-12\) also have derivative \(f(x)\)? Explain why.
  4. What chain-rule factor is missing if someone writes \(\frac{d}{dx}\cos(5x)= -\sin(5x)\)?
  5. For \(x>0\), check whether \(F(x)=\frac{2}{3}x^{3/2}\) is an antiderivative of \(f(x)=\sqrt{x}\).

Test yourself: Calculus I 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