I'm not sure how to prove the first equality. It's intuitively obvious, but I don't know how to go about proving itProve that .

I've assumed the first equality to be true. This suggests that the region of integration is a square, so the integrals can be switched around pretty easily:

The problem with the step above is that it becomes: which looks hopelessly wrong.

Can anyone point me in the right direction?