Let $f$ a function defined in $Q=[0,1]\times[0,1]$,
$ f(x,y)=\left\{ \begin{array}{c} 1&;&x=y\\ 0&;&x\neq y \end{array} \right. $
I have tried to demonstrate the existence of $\displaystyle\iint_Q f$ and also that it is equal to zero. I tried to see that the set of discontinuity points of the function has a null measure, but it doesn't work. Are there any idea?
Observe that $f$ is bounded. Moreover $f$ is Riemann integrable, since the discontinuity point set is Lebesgue measurable and has zero Lebesgue measure.
The calculation of the integral is simple, you could try to solve it.