I prepare for my exam and I have this exercise and its solution.
$\forall (x, y) \in \mathbb{R} \times \mathbb{R}$, define the function $f(x,y) = xy \mathbb{1}_S$, where $\mathbb{1}_S$ is an indicator for the set $S = \{ (x,y) \in (0,\infty) \times (0,\infty): x^2 \leq y, y^2 \leq x\}$.
I know this is an easy exercise but seeing $x^2 \leq y, y^2 \leq x\}$ is confusing. The solution is
We have $0 \leq x \leq 1$, $0 \leq y \leq 1$ and $x^2 \leq y \leq \sqrt{x}$ then
$\int \int f(x,y) dxdy = \int_0^1 \int_{x^2}^{\sqrt{x}} ydy~ xdx= \dots= 1/12.$
I don't understand from where we got $0 \leq x \leq 1$, $0 \leq y \leq 1$ and $x^2 \leq y \leq \sqrt{x}$ ?
and after why we used for the integrals $\int_0^1 \int_{x^2}^{\sqrt{x}}$?