Suppose I have to integrate $$\int_T f(x, y) \text{d}x\text{d}y$$
where $T$ is a triangle, and the vertexes are given. How do you construct the bounds for the integral? I find myself stuck every time due to some lack of clarity.
For example, say $T$ is the triangle with vertices $(0, 0)$, $(0, 1)$ and $(1, 1)$.
For sure, I would draw a picture on the cartesian plane, otherwise I would find it like impossible to understand the bonds mentally. Yet after having drawn them, I would still have doubts.
I know, in the case above, that $x$ runs from $0$ to $1$. In the same way, I understand that $y$ follows the $y = x$ paths, but here to say what are the correct bonds for $y$?
I find two possibilities: $y \in (1, x)$ or $y\in (x, 1)$, because when $x = 0$ then $y = 1$ (it's a vertex) but also when $x = 1$ we have $y = 1$.
I'm so confused!
Is there a general way to reason about those problems in order to understand well the path and the order of the bounds?
Thank you!