I have the following function
$f(x) = \begin{cases} 2 & \text{if } 1 \leq x \leq 2, \\ 3 & \text{if } 2 < x \leq 4,\\ 1 & \text{if } 4 < x \leq 7. \end{cases}$
How do I determine if the function is Riemann integrable within $[1, 7]$?
I think I have to check if the lower and upper integrals of $f(x)$ match but I’m unsure how to approach.
Any bounded function with countably many discontinuities is Riemann Integrable. Your function has only 3 discontinuity points and is thus Riemann integrable. In addition, this function is bounded. One them computes the Riemann integral in a piecewise fashion.