Let $f:[0,1]^2\rightarrow \Bbb R$ be defined by
$$f(x,y)=1/y^2 \text{ if }0\leq x <y<1$$ $$f(x,y)=-1/x^2\text{ if }0\leq y <x \leq 1$$ $$f(x,y)=0 \text{ otherwise}$$ If can show that $$\int_{0}^{1}\int_{0}^{1}f(x,y)dxdy \neq \int_{0}^{1}\int_{0}^{1}f(x,y)dydx$$ In my course, it is written that the last equation does not contradict fubini's theorem since $\mid f\mid$ is not integrable on $[0,1]^2$. I don't know why and I can't compute the integral of $\mid f \mid$ on $[0,1]^2$. Any help would be appreciated