Why the Constant Is the Only Difference
When a function has an antiderivative, reverse differentiation does not usually produce just one function. If \(F'(x)=f(x)\), then adding a constant to \(F\) leaves its derivative unchanged:
So every function \(F+C\), where \(C\) is constant, is also an antiderivative of \(f\). But is this the whole story? Could there be two antiderivatives that differ by something more complicated than a constant?
On an interval, the answer is no. The reason is a basic fact about derivatives: if a differentiable function has derivative zero everywhere on an interval, then it is constant there. Subtracting two antiderivatives produces exactly such a function.
Antiderivatives on an Interval
The interval is the domain on which we compare the functions. The definition says that the derivative of \(F\) agrees with \(f\) throughout that domain. The same definition applies to another function \(G\).
If \(F\) and \(G\) are both antiderivatives of \(f\), their derivatives are equal. Subtraction then gives
To conclude that \(F-G\) is constant, we need the zero-derivative property. Its proof uses the Mean Value Theorem.
The Zero-Derivative Property
Here is why the theorem holds. Choose any two points \(a\) and \(b\) in the interval with \(a<b\). The segment \([a,b]\) lies in the interval. The Mean Value Theorem says that if \(H\) is continuous on \([a,b]\) and differentiable on \((a,b)\), then for some \(c\in(a,b)\),
Since \(H'(c)=0\), the right-hand side is zero, so \(H(b)=H(a)\). The two points were arbitrary; therefore, \(H\) takes the same value at every pair of points in the interval and is constant there. If the interval has endpoints, continuity at those endpoints is included in the hypotheses of the Mean Value Theorem.
Why Antiderivatives Differ by a Constant
The conclusion follows by applying the zero-derivative property to their difference. Because \(F\) and \(G\) are differentiable, \(H=F-G\) is differentiable, hence continuous. At every interior point of \(I\), both derivatives equal \(f\), so \(H'(x)=0\). The zero-derivative property then says that \(H\) is constant.
Let \(F'(x)=f(x)\) and \(G'(x)=f(x)\) on the interval.
Define \(H(x)=F(x)-G(x)\). Then \(H'(x)=F'(x)-G'(x)=f(x)-f(x)=0\).
Since \(H\) has zero derivative throughout the interval, it is constant there. Thus \(F(x)-G(x)=C\), or \(F(x)=G(x)+C\).
The converse is also important. If \(G\) is an antiderivative of \(f\), then \(G+C\) is another one for every constant \(C\), because the derivative of a constant is zero. Together, the two directions say that all antiderivatives on an interval have the form one antiderivative plus a constant.
Worked Examples
Worked Example: Compare Two Polynomial Antiderivatives
Consider \(F(x)=x^2+x\) and \(G(x)=x^2+x-4\) on \(\mathbb{R}\). First differentiate each function:
Thus both are antiderivatives of \(f(x)=2x+1\). Subtract the functions:
They differ by the constant \(4\), as the theorem predicts. Check the result by differentiating their difference: \(\frac{d}{dx}(F-G)=\frac{d}{dx}(4)=0\). The shared derivative is \(2x+1\), so both functions are indeed antiderivatives of the same function.
Worked Example: Find the Constant Difference
Suppose \(F(x)=2x^3-2x^2+7\) and \(G(x)=2x^3-2x^2-5\) on the interval \((-2,3)\). Find the constant \(C\) such that \(F=G+C\).
Differentiate each function:
Both are antiderivatives of \(f(x)=6x^2-4x\). Subtract:
Therefore \(C=12\), so \(F(x)=G(x)+12\) throughout the interval. As a check at \(x=1\), \(F(1)=2-2+7=7\) and \(G(1)=2-2-5=-5\); their difference is \(7-(-5)=12\). Differentiating \(G+12\) also gives \(6x^2-4x\), confirming that adding this constant preserves the antiderivative.
Worked Example: Use the Theorem to Describe Every Antiderivative
Let \(F(x)=x^4-3x^2\) on \(\mathbb{R}\). Suppose \(G\) is any other antiderivative of \(f(x)=4x^3-6x\) on \(\mathbb{R}\). Determine the possible form of \(G\).
First verify that \(F\) is an antiderivative:
By the theorem, \(G\) and \(F\) differ by a constant. Therefore there is some constant \(C\) for which
Check this entire family by differentiation:
Thus every function of the displayed form is an antiderivative, and the theorem ensures there are no others on \(\mathbb{R}\).
Why the Interval Condition Matters
The theorem does not say that antiderivatives must differ by one constant on every possible domain. The domain being an interval matters because the Mean Value Theorem applies on the segment between any two points in an interval.
For example, let the domain be \(D=(-\infty,0)\cup(0,\infty)\), which is not an interval. Define \(F(x)=0\) for every \(x\in D\), and define \(G(x)=0\) when \(x<0\) and \(G(x)=1\) when \(x>0\). On each part of \(D\), both derivatives are zero. But \(F-G\) equals \(0\) on the negative part and \(-1\) on the positive part, so there is no single constant difference across all of \(D\).
This does not contradict the theorem: \(D\) is not an interval, and there is no segment within \(D\) joining a negative point to a positive point. On each separate interval, the functions differ by a constant. The theorem guarantees one constant across an interval, not across a domain with separated pieces.
A Common Mistake
A frequent error is to claim that because \(H'(x)=0\) at every point, \(H\) must have value zero. Zero derivative means constant, not necessarily the zero function. For example, if \(H(x)=5\), then \(H'(x)=0\) everywhere, but \(H(x)\) is not zero.
The same distinction matters when subtracting antiderivatives. From \((F-G)'=0\), the valid conclusion is \(F-G=C\), where \(C\) may be any real constant. The conclusion \(F-G=0\) would require additional information that the two functions have the same value at some point.
Check Your Understanding
Use the definition of antiderivative and the zero-derivative property to answer these questions.
- If \(F'(x)=f(x)\) and \(G'(x)=f(x)\) on an interval, what is the derivative of \(F-G\)?
- Why does a zero derivative imply that a function is constant on an interval?
- If \(F(x)=x^2+3\) and \(G(x)=x^2-2\), what is \(F(x)-G(x)\), and what derivative do \(F\) and \(G\) share?
- Does a zero derivative imply that a function itself is zero? Give a counterexample.
- Why might two antiderivatives on a domain that is not an interval fail to differ by one constant over the whole domain?