(Baby Rudin Chapter 6 Exercise 7a)
Suppose $f$ is a real function on $(0, 1]$ and $f \in \mathscr{R}$ on $[c, 1]$ for every $c>0$. Define \begin{equation}\tag{1} \int_0^1 f(x) \, dx = \lim_{c \to 0} \int_{c}^1 f(x) \, dx \end{equation} if this limit exists (and is finite). If $f \in \mathscr{R}$ on $[0, 1]$, show that this definition of the integral agrees with the old one.
I wrote a proof for this question for $0<c<1$ and I am wondering how to deal with the cases when $c=0$ or $c=1$. Firstly, is either (or both) of these cases even realized? I am guessing that $c=0$ is never realized.
If $c=1$, then I think that $f \in \mathscr{R}$ on $\{1\}$ and consequently, $\int_1^1 f(x) \, dx =0$. Moreover, $\lim_{c \to 0} \int_{c}^1 f(x) \, dx = \lim_{c \to 0} \int_{1}^1 f(x) \, dx =0$ and $(1)$ is trivial. Is this argument correct?
Edit: The (only) answer to this question seems to assume that $0<c<1$.