Here is Prob. 7, Chap. 6, in the book Principles of Mathematical Analysis by Walter Rudin, 3rd edition:
Suppose $f$ is a real function on $(0, 1]$ and $f \in \mathscr{R}$ on $[c, 1]$ for every $c > 0$. Define $$ \int_0^1 f(x) \ \mathrm{d} x = \lim_{c \to 0} \int_c^1 f(x) \ \mathrm{d} x $$ if this limit exists (and is finite).
(a) If $f \in \mathscr{R}$ on $[0, 1]$, show that this definition of the integral agrees with the old one.
(b) Construct a function $f$ such that the above limit exists, although it fails to exist with $\lvert f \rvert$ in place of $f$.
Here I'll only attempt Part (a):
My Attempt:
Here is the link to a post of mine here on Math SE where I've copied the definition of the Riemann and Riemann-Stieltjes integral that Rudin uses (i.e. Definitions 6.1 and 6.2 in Baby Rudin, 3rd edition):
As $f \in \mathscr{R}$ on $[0, 1]$, so $\int_0^1 f(x) \ \mathrm{d} x$ exists in $\mathbb{R}$.
According to the statement of the problem, we only need to show that $$ \lim_{c \to 0+} \int_c^1 f(x) \ \mathrm{d} x = \int_0^1 f(x) \ \mathrm{d} x. \tag{0}$$
Let $\varepsilon > 0$ be given. We need to find a real number $\delta> 0$ such that $$ \left\lvert \int_c^1 f(x) \ \mathrm{d} x \ - \ \int_0^1 f(x) \ \mathrm{d} x \right\rvert < \varepsilon \tag{1} $$ for any real number $c$ such that $0 < c < \delta$.
Now let's choose a real number $\delta_0 \in (0, 1)$, and let us choose $c$ such that $0 < c < \delta_0$.
Then as $f \in \mathscr{R}$ on $[0, 1]$ and as $c \in (0, 1)$, so by Theorem 6.12 (c) in Baby Rudin $f \in \mathscr{R}$ on $[0, c]$ and on $[c, 1]$, and $$ \int_0^c f(x) \ \mathrm{d} x \ + \ \int_c^1 f(x) \ \mathrm{d} x = \int_0^1 f(x) \ \mathrm{d} x. \tag{2} $$
Here is the link to my Math SE post on Theorem 6.12 (c) in Baby Rudin, 3rd edition:
In the light of (1) and (2), we can conclude that we now only need to show that there exists a real number $\delta > 0$ such that $$ \left\lvert \int_0^c f(x) \ \mathrm{d} x \right\rvert < \varepsilon \tag{3} $$ for any real number $c$ such that $0 < c < \delta$, and we now also know that $ 0 < c < \delta_0 < 1$.
As $f \in \mathscr{R}$ on $[0, 1]$, so $f$ is also bounded on $[0, 1]$ and hence also on $[0, c]$. Let $M \colon= \sup \{ \ f(x) \ \colon \ 0 \leq x \leq c \ \}$.
Then by Theorem 6.12 (d) in Baby Rudin, we have $$ \left\lvert \int_0^c f(x) \ \mathrm{d} x \right\rvert \leq M c. \tag{4} $$
Here is the link to my Math SE post on Theorem 6.12 (d) in Baby Rudin, 3rd edition:
So if we choose our $\delta$ such that $$0 < \delta < \min \left\{ \ \delta_0, \frac{\varepsilon}{M+1} \ \right\}, $$ then, for any real number $c$ such that $0 < c < \delta$, we have $0 < c < \delta_0$ so that $c \in (0, 1)$ and from (4) we also have $$ \left\lvert \int_0^c f(x) \ \mathrm{d} x \right\rvert \leq M c \leq \frac{M \varepsilon}{M+1} < \varepsilon, $$ which by virtue of (3) implies that (1) holds.
Since $\varepsilon > 0$ was arbitrary, therefore (0) holds as well, as required.
Is this proof correct and rigorous enough for Rudin? If not, then where is it lacking?
Is this proof the same as the proof asked for by Rudin?