Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How could you integrate the function $f(x,y) = x^2 + y^2$ over the triangle with vertices $(0,0)$, $(0,1)$ and $(1,0)$?

I define the set $D = \{(x,y)\; |\; 0\leq x\leq 1 \text{ and } 0\leq y\leq x\}$ and then calculate

$$\int_0^1 \int_0^x x^2 + y^2 \; \mathrm{d}y \; \mathrm{d}x = \frac{1}{3},$$

but apparantly the answer is $\frac{1}{6}$.

share|cite|improve this question
The answer is definitely 1/6. The first integration will give you $\frac{2x^3}{3}$.... – Simon Hayward Dec 11 '12 at 20:29
up vote 0 down vote accepted

I think you have the limits changed and wrong. I think it must be



share|cite|improve this answer
Thanks a lot. What about if we integrate over a different domain. For example the triangle with vertices $(0,0)$, $(1,0)$, $(1,2)$. How do we define $D$? $D=\{ (x,y)\;|\; 0\leq x \leq 1 \;\;\; 0\leq y \leq 2x\}$ Is this right? – inttri Dec 11 '12 at 20:34
Yes, it is right in that case. – DonAntonio Dec 11 '12 at 20:36

You are mistaken in defining the integration domain. Correct domain is $$D = \{(x,y) |\;\; 0\leqslant x\leqslant 1, \;\; \; 0\leqslant y\leqslant 1-x\}$$

share|cite|improve this answer

Look at the graph of the region. You have described this region

However, the region in question is really this one.

Thus, your domain is $$D=\{(x,y)|0\le x \le 1 \text{ and } 0 \le y \le 1-x\}$$

I believe you can take it from here.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.