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

I could not compute this integral. How can we get rid of the minimum function? $$ \int_{x=0}^{t}\int_{y=0}^{t}\min(x,y)dydx $$

Thanks a lot.

share|cite|improve this question
up vote 1 down vote accepted

Prove that $$\min \{x,y\}=\frac{x+y-\vert x-y\vert}{2}.$$

share|cite|improve this answer
Um, don't you mean to use that formula, instead of proving it? – Doug Spoonwood Feb 5 '12 at 3:45
@DougSpoonwood,actually I mean "Prove that... and use it." I think that don't make sense to use things fallen from the sky. – leo Feb 5 '12 at 3:50

To evaluate this integral, observe that $$\min\{y,x\}=\begin{cases}y, ~~\text{when}~~ y \leq x \\x, ~~\text{when} ~~x \leq y\end{cases}$$

So, $$\begin{align*}\int_o^t\int_0^t \min\{x,y\} \mathrm dy ~~\mathrm dx&=\int_0^t\left(\int_0^xy~\mathrm dy+\int_x^t x\mathrm dy\right)\mathrm d x\\&=\int_0^t\left(\dfrac{x^2}{2}+x(t-x)\right)\mathrm d x\\&=\dfrac{t^3}{6}+\dfrac{t^3}{2}-\dfrac{t^3}{3}\\&=\dfrac{t^3}{3}\end{align*}$$

share|cite|improve this answer

How about splitting the integral into two regions, one where $x\ge y$, one where $x<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.