I'm hoping for a bit of clarification. The First FTC in Spivak says that if a function is integrable on $[a,b]$ and is also continuous on $c \in [a,b]$, then $F(x) =\int_a^xf$ is differentiable at c and $F'(c) = f(c)$.
Then the Second FTC says if the integrable function, whether continuous or not, has an antiderivative $g' = f$, then $\int_a^bf=g(b) - g(a)$, which if I'm not mistaken implies the result of the First FTC.
Initially, I thought of the 2nd FTC as a way for the result of the 1st FTC to apply to a greater variety of functions, namely those that may not be continuous. But I can't think of any such functions. The derivative of a function, if I'm correct, can't be a jump or removable discontinuity. If the function is somewhere unbounded or undefined, it won't be integrable. And I'm not sure but I don't think an everywhere discontinuous function is integrable, if there even is such a function who's derivative is everywhere discontinuous.
So either I haven't considered all the possibilities of an integrable, somewhere discontinuous function that has an antiderivative, or I've misunderstood Spivak. Any help would be greatly appreciated.