Unfortunately, this function has so many discontinuities that its Riemann integral is not defined. However, if we use the Lebesgue integral instead, the function is integrable as hoped, and has the expected value <math>0</math>. | Unfortunately, this function has so many discontinuities that its Riemann integral is not defined. However, if we use the Lebesgue integral instead, the function is integrable as hoped, and has the expected value <math>0</math>. |