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

Simplify the following expression

$$ \iint_{-\infty}^{c+x}xf(x)f(y) \,dy\,dx+\iint_{c+x}^{\infty}yf(x)f(y) \,dy\,dx $$

where $x$ and $y$ are iid random variables; $c$ is a constant; and $f$ is the probability density function. You may call the CDF as $F(\cdot)$.

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

This is $\mathbb E(Z)$, where $$ Z=X\cdot\mathbf 1_{Y\leqslant c+X}+Y\cdot\mathbf 1_{Y\geqslant c+X}. $$ Since $X$ and $Y$ are identically distributed, this is also $\mathbb E(T)$, where $$ T=X\cdot(\mathbf 1_{Y\leqslant X+c}+\mathbf 1_{Y\leqslant X-c}). $$ And finally, this is also $$ \mathbb E(\max\{X,Y\})-\mathbb E(Y-X\,;\,0\leqslant Y-X\leqslant c). $$

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.