Say we want to indefinitely integrate the function $f(x) = x^2$.
The usual way I would do it would be indefinite integration:
$ \int{dxf(x)} =\int{dx^2} =\frac{1}{3}x^3 + C $
However, I've seen a few people do it a different (interesting) way, using definite integration, which is:
$ \int_{0}^{x}{dtf(t)} =\int_{0}^{x}{dtt^2} =[\frac{1}{3}t^3 + C]^{x}_{0} =(\frac{1}{3}(x)^3 + C) - (\frac{1}{3}(0)^3 + C) =\frac{1}{3}x^3 $
Abstractly, the second method sort of makes sense to work. The problem I have here is that the integration constant has been lost in the second method. Where have I made an incorrect assumption with the second method?