Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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

Evaluate: $$\int_{[0,1]×[0,1]} \max\{x, y\} dxdy$$

I am totally stuck on it. How can I solve this?

share|cite|improve this question

$$ \begin{align*} \int_0^1 \int_0^1 \max(x, y) dx dy &= \int_0^1 \int_0^y y dx dy + \int_0^1 \int_y^1 x dx dy \\ &= \int_0^1 y^2 dy + \int_0^1\frac{1 - y^2}{2} dy \\ &= \frac{1}{2}\int_0^1 (y^2 + 1) dy \\ &= \frac{1}{2}\left( \frac{1}{3} + 1\right) = \frac{2}{3} \end{align*}$$

share|cite|improve this answer

In general, the integral $$I_n = \int_{[0,1]^n} \max\{x_1,x_2,\ldots,x_n\} dx_1 dx_2 \ldots dx_n$$can be written as $$I_n = n \int_{x_1=0}^1 \int_{0\leq x_2,x_3,\ldots,x_n \leq x_1} x_1 dx_1 dx_2 \cdots dx_n = n \int_{x_1=0}^1 x_1^n dx_1 = \dfrac{n}{n+1}$$ since $$\max\{x_1,x_2,\ldots,x_n\} = \begin{cases} x_1; & x_k \leq x_1\\ x_2; & x_k \leq x_2\\ \vdots& \vdots\\ x_n; & x_k \leq x_n\end{cases}$$ and this divides $[0,1]^n$ into $n$ regions.

share|cite|improve this answer

Hint: break it into two parts, one where $x > y$ and the other $x \le y$.

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.