Consider the floor function:
$$f(x) = \lfloor x \rfloor$$
The indefinite integral of f is:
$$\int_0^x f(x) dx = x\lfloor x \rfloor - \frac {\lfloor x \rfloor^2 + \lfloor x \rfloor} 2$$
This should be an antiderivative of floor, right?
Nope! If you take the derivative of the integral you find that sharp corners cause the derivative to not exist.
So then this would mean that the integral of floor is not an antiderivative right?
Therefore, I have found a case where the antiderivative does not equal the indefinite integral.
In that case I must be flawed as that violates the first fundamental theorem of calculus.
Where is the mistake in my logic and why does it appear to disprove the first fundamental theorem's relationship between integral and derivative?
This isn't part of the above question per se, but I noticed interesting enough, that the derivative of the integral above is:
$$\lfloor x \rfloor \frac {x - \lfloor x \rfloor}{x - \lfloor x \rfloor}$$
I wonder what sort of properties would be altered within integration/differentiation if one were to IDK... redefine the derivative by canceling the terms in that fraction? Or for that matter, canceling all fractions of that nature?
The fundamental theorem of calculus has a crucial hypothesis: $$F(x)=\int_{a}^x f(t)dt\Rightarrow F'(a)=f(a) $$
Whenever and wherever $f$ is continuous, here we are assuming $f$ is continuous at the point $a$. The floor function is very much not continuous. When you see theorems, it is very important that you check what the hypotheses are.