Uniqueness of Integrals

Excuse me if this is a silly question, but this has never been proven to me and I cannot at the moment see a way to prove this to myself.

So the question is, Are integrals unique, beyond an integration constant? That is, is it true that if

$\int f(x)dx = F(x) + c$ and $\int f(x)dx = G(x) +c$

Then we have $F(x) = G(x)$, for all $x$?

• Subtract the two equations and see what you get? – Chee Han Oct 12 '17 at 4:18
• Actually yeah,thats very simple,I should just have sat down and had a look, thanks – Jandré Snyman Oct 12 '17 at 4:32
• What do you mean? – Jandré Snyman Oct 12 '17 at 5:09
• In this case I Am referring to indefinite integrals – Jandré Snyman Oct 12 '17 at 5:10

Yes, this is a restatement of the fact $$f^{\prime}=0\implies f=\text{const.}$$ Which is a straightforward consequence of the mean value theorem.
If $\int f(x)dx = F(x)+c$ and $\int f(x)dx = G(x)+c$ then we simply subtract the two equations to find
$\int f(x)dx -\int f(x)dx =F(x)+c-G(x)-c\\ \implies 0 =F(x)+c-G(x)-c\\ \implies F(X) = G(x)$