I would like to know whether the the Fundamental theorem of calculus (Part II) can be applied in the following setting.
Let $(a,b)$ be an open interval in $R^1$.
Let $u \in H^1((a,b))$ with $u(a)=0$
Then, I know by Sobolev Embedding Theorem that $u$ is in fact in $C([a,b])$
Now, what I am wondering is whether I can write
$u(b)= u(a)+\int^b_au'(x)dx=\int^b_au'(x)dx$
It seems true to me, but how do I actually prove it?