Hey guys I don't know if this is a stupid question, but I can't see an error in my work right now.
So let $f(x)$ be a differentiable function in $[a, b]$, and let's subdivide the interval using the following equally spaced points $\nu_0 = a, \nu_1, \nu_2, \cdots, \nu_n = b$. This means that as $n \to \infty$ then the length of the sub-intervals approaches $0$. Furthermore, assume that $f^{'}(x) < M$ for $x\in[a,b]$.
Focusing on the sub-interval $[\nu_{n-1}, \nu_n]$, we can write the following expression using the mean value theorem: