Given the function
$f: \Bbb R^2 \rightarrow \Bbb R$,
$f(x, y) :=$ $1 \over y^2$, $0 < x < y < 1$,
$f(x, y) :=$ $- 1 \over x^2$, $0 < y < x < 1$,
$f(x, y) := 0$, otherwise,
I would like to calculate
$\int_0^1 \int_0^1 f(x, y) d\lambda(x) d\lambda(y)$.
I know that I can apply the theorem of Fubini in this case. Futhermore, since $[0, 1]$ is compact, we can treat the Lebesgue-integral as an Riemann-integral. I guess we need to do a case analysis, so let's assume that $x < y$ first. We receive:
$\int_0^1 \int_0^1 f(x, y) d\lambda(x) d\lambda(y)$ $= \int_0^1$ $(\int_0^1$ $1 \over y^2$ $dx) \ dy$ $= \int_0^1$ $1 \over y^2$ $dy =$ [$-1 \over y$]$_0^1$.
The problem is that I am not allowed to divide by zero, so I guess I have to write the integral differently from the very beginning. But how do I need to do that?