Yesterday I asked this question:
Given: $f$ is Riemann integrable on $[a,b]$ and $f(x)\geq 0$ for all $x$. Prove that if \begin{equation} \int_a^b f(x) dx=0 \end{equation} and $f$ is continuous, then $f(x)=0$ for all $x$.
Voldemort gave this helpful answer:
Use the fact that if f is continuous and non-zero at a point, then it's non zero in an interval. f must achieve its minimum value in the interval, which is >0, so the integral is non zero- contradiction.
I understand this proof intuitively. However, what would be the way to state this formally, using the epsilon-delta definition of continuity, or a well-known continuity theorem?