I want to show that if $f\in C([0,1])$ and the distributional derivative $f'$ on $(0,1)$ is in $L^1((0,1))$, then $$f(1) - f(0) = \int_0^1 f'(x)\,dx$$
I am having a lot of trouble getting started. Seems like a combination of using smooth functions and convolutions is probably how I need to go about this, but I'm having trouble coming up with a proof.
Given $f'\in L^1([0,1])$ let us define a function $$g(x) = \int_0^x f'(t) dt.$$ Now for each $\phi\in \mathcal{D}([0,1])$, if we have $$\int_0^1 [f(x)-g(x)] \phi'(x) dx = 0,$$ this implies that $f - g$ is an a.e. constant function (it is a classic result).
Since $f-g$ is continuous, when we plug in the point $0$ into $f-g$, we see that the constant function is $f(0)$ thus $f(x) = g(x) + f(0)$.