Let $f$ be bounded and Riemann-integrable on $[a,b]$. Prove that $f$ is continuous at some point $x \in [a,b]$ and is also continuous on a dense subset $D$ of $[a,b].$
Let $\epsilon >0$. Since $f$ is Riemann-integrable, there exists a partition $P$ such that $U(P,f,\alpha) - L(P,f,\alpha) < \epsilon$, where $\alpha$ is an increasing function. Are we able to conclude the first part of the proof that wants us to show that $f$ is continuous at some point $x \in [a,b]$ by taking the partition $P$ to be $[a,b]$? If not, how should we proceed/conclude?
Some definitions:
A set $E$ is dense in $X$ if every point of $X$ is a limit point of $E$, or is a point of $E$ (or both).
Let $A \subset \mathbb{R}$, let $f:A \to \mathbb{R}$, and let $c \in A$. $f$ is continuous at $c$ if for any $\epsilon >0$ there exists $\delta >0$ such that $x \in A$ implies that if $|x-c| < \delta$ then $|f(x)-f(c)| < \epsilon$.
A function is Riemann-integrable if $\inf U(P,f,\alpha) = \sup L(P,f,\alpha)$, where the inf and sup are taken over all partitions.
EDIT:
For any real function $f$ bounded on $[a,b]$ denote
$\displaystyle U(P,f,\alpha ) = \sum_{i=1}^n M_i \Delta \alpha _i$ and
$\displaystyle L(P,f,\alpha ) = \sum_{i=1}^n m_i \Delta \alpha _i$, where
$M_i = \sup \{ f(t): x_{i-1} \leq t \leq x_i \}$ and
$m_i = \inf \{ f(t): x_{i-1} \leq t \leq x_i \}$.
A function is Riemann-integrable if $\inf U(P,f,\alpha) = \sup L(P,f,\alpha)$, where the inf and sup are taken over all partitions. (This is Rudin's definition of Riemann-integrable. $\alpha$ is an increasing function so that $\Delta \alpha _ i = \alpha (x_i) - \alpha (x_{i-1})$. For example, if $\alpha = x$, we get the definition of $\Delta x$.)