Let $f:[a,b]\longrightarrow \mathbb R$ a derivable function. Is it true that for all $t\in [a,b]$ we have that $$f(t)=f(a)+\int_a^t f'(x)dx \ \ ?$$
The thing is since $f'$ is not supposed continuous, there is no reason for me for $f'$ to be Riemann integrable. So my questions are the followings one :
Q1) In Riemann sense, is the formula correct (if we don't have other hypothesis on $f'$). If no, do you have a counter example ?
Q2) If we assume $f'$ Riemann integrable, is the formula correct (in Riemann sense). If no, do you have a counter example ?
Q3) In Lebesgue sense, is the formula correct (if we don't have other hypothesis on $f'$). If no, do you have a counter example ?
Q4) If we assume $f'$ Lebesgue integrable, is the formula correct (in Lebesgue sense). If no, do you have a counter example ?