3
$\begingroup$

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.

$\endgroup$

3 Answers 3

14
$\begingroup$

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*}$$

$\endgroup$
1
  • $\begingroup$ this should be the real answer to the question $\endgroup$
    – baibo
    Apr 11, 2020 at 15:06
7
$\begingroup$

How about splitting the integral into two regions, one where $x\ge y$, one where $x<y$?

$$\int_{x=0}^{t}\int_{y=0}^{t}\min(x,y)\,dy\,dx=\int_{x=0}^{t}\int_{y=0}^{x}y\,dy\,dx+\int_{x=0}^{t}\int_{y=x}^{t}x\,dy\,dx$$

$\endgroup$
3
$\begingroup$

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

$\endgroup$
2
  • $\begingroup$ Um, don't you mean to use that formula, instead of proving it? $\endgroup$ Feb 5, 2012 at 3:45
  • 2
    $\begingroup$ @DougSpoonwood,actually I mean "Prove that... and use it." I think that don't make sense to use things fallen from the sky. $\endgroup$
    – leo
    Feb 5, 2012 at 3:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .