I want to show that if $f$ is integrable on the interval $[0,1]$ then $\lim_{n\to\infty} \frac{1}{n}\sum_{k=1}^n f\left(\frac{k}{n}\right)=\int_0^1f$.
I am using the definition of integrability in the sense of Riemann-Stieltjes:
$$\forall\epsilon>0:\exists P:\forall Q\geq P:\left|S(Q_n,f,I)-\int_0^1f\right|<\epsilon$$
Where $P$ and $Q$ are partitions of $[0,1]$.
I thought about using the definition for the partitions:
$$Q_n=\left(0,\frac1n,\frac2n,\cdots,\frac{n-1}n,1\right)$$ $$c_k=\frac kn$$
Then we have:
$$\left|S(Q_n,f,I)-\int_0^1f\right|=\left|\frac1n\sum_{k=1}^nf\left(\frac kn\right)-\int_0^1f\right|$$
The problem is that I don't know how I can show that this tends to zero since a $P$ appears in the definition of integral and I don't know what to do with it.
I fixed it.
– Pentachito Dec 09 '20 at 14:07