Are indefinite integrals unique up to the constant of integration?

2.6k Views Asked by At

We often write e.g. $$\int x^2 dx=\tfrac{1}{3}x^3+c$$ for any $c \in \mathbb{R}$, where $c$ is the constant of integration.

We can show (via limits) that, if $g(x)=\frac{1}{3}x^3+c$, then $\frac{dg}{dx}=x^2$ for any $c \in \mathbb{R}$. But this doesn't exclude the possibility that some function $f=f(x)$ that doesn't have the form $\tfrac{1}{3}x^3+c$ also has the derivative $\frac{df}{dx}=x^2$. So...

Q: Are indefinite integrals unique up to the constant of integration? If so, how do we know?

3

There are 3 best solutions below

2
On BEST ANSWER

Hint: consider the difference of primitives, the derivative of which vanishes. now if the domain is connected then this implies that the difference must be a constant (this follows from the mean value theorem).

To expand on git guds fitting remark above: take the domain to be $\Omega:=(-1,0)\cup(0,1)$ then the characteristic function $\chi_{(0,1)}$ is differentiable on $\Omega$ and its derivative is zero. If $g$ is a primitive of $f$ on $\Omega$, then $g+\chi_{(0,1)}$ is another primitive but the difference $\chi_{(0,1)}$ is not constant.

0
On

Let $f$ and $g$ two antiderivative of $x^2$ then we have

$$\frac{d}{dx}(f(x)-g(x))=x^2-x^2=0$$ hence $$f(x)-g(x)=\text{constant}$$

2
On

It was mentioned that the domain must be connected. Example: Sometimes people write $$ \int \frac{dx}{x} = \ln|x| + C . \tag{1}$$ But of course an antiderivative on the domain $(-\infty,0)\cup(0,+\infty)$ could have different values of $C$ on the positive part and on the negative part of the domain. Making (1) a questionable thing to write.