# Does there always exist a function whose integral is continuous?

Given any continuous function f(x), does there always exist a function whose integral is f(x) ?

For instance, is there a function whose integral is Weierstrass function

No, any integral function of an $L^1$ function is absolutely continuous, while there exist continuous functions that aren't absolutely continuous. For example, the Weierstrass function, being not differentiable in any point, isn't of bounded variation (any function of bounded variation is differentiable almost everywhere) and then not absolutely continuous (because absolute continuity implies bounded variation). So the Weierstrass function is a continuous function that is not an integral function of any $L^1$ function.
If, when you write “integral”, what you mean is “primitive”, then the answer is negative, of course. Because if $F$ is a primitive of $f$ then, by definition, $F'=f$. In particular, $F$ is differentiable. But the Weierstrass function isn't.
• But you wrote in your question that $f$ is continuous. – José Carlos Santos Jun 13 '18 at 8:04
• What do you by integral ($F$)? – José Carlos Santos Jun 13 '18 at 8:16
• By integral(F), I mean integrating F in a suitable interval that has same domain as $f$. – Vinay Sipani Jun 13 '18 at 8:24