# bounding the the expected value of the maximum of two random variables

Consider two standardized random variables $x$ and $y$, and define a function

$g(x,y)=E[max(x,y)]$

where $E$ is the expected value operator.

My question is finding the upper and lower bounds of $g(x,y)$?

-
Note that the RHS is a constant hence the LHS should NOT be written as g(x,y), which is a random variable. – Did Oct 18 '12 at 7:25

For nonnegative random variables $X$ and $Y$, obvious bounds are $$\max\{\mathbb E(X),\mathbb E(Y)\}\leqslant\mathbb E(\max\{X,Y\})\leqslant\mathbb E(X)+\mathbb E(Y).$$ Without some further hypothesis, I see no reason to expect refined inequalities.

Edit: It appears that the question the OP is really interested in is:

Let $X$ and $Y$ denote two i.i.d. standard normal random variables (mean zero, variance one) and $Z=\max\{X,Y\}$, compute $\mathbb E(Z)$.

Let $\varphi(x)=\frac1{\sqrt{2\pi}}\mathrm e^{-x^2/2}$ denote the standard normal PDF and $\Phi(x)=\int\limits_{-\infty}^x\varphi(t)\mathrm dt$ the standard normal CDF, then $\mathbb E(Z)=2\,\mathbb E(X\mathbf 1_{Y\leqslant X})=2\,\mathbb E(X\Phi(X))$.

Now, $x\varphi(x)=-\varphi'(x)$ and $\Phi'(x)=\varphi(x)$ hence an integration by parts leads to $$\mathbb E(X\Phi(X))=\int_{-\infty}^{+\infty}x\varphi(x)\Phi(x)\mathrm dx=-\left[\varphi(x)\Phi(x)\right]_{-\infty}^{+\infty}+\int_{-\infty}^{+\infty}\varphi^2(x)\mathrm dx$$ Since $\varphi^2(x)=\varphi(\sqrt2x)/\sqrt{2\pi}$, the last integral is $1/(2\sqrt\pi)$ and $\mathbb E(Z)=1/\sqrt\pi$. More generally:

Let $X$ and $Y$ denote two i.i.d. centered normal random variables with variance $\sigma^2$ and $Z=\max\{X,Y\}$, then $\mathbb E(Z)=\sigma/\sqrt\pi$.

-
the random variables $x$ and $y$ are normally distributed with mean zero, so they are not nonnegative. – Daniel Lårs Oct 18 '12 at 7:03
Are they independent? Which variances? – Did Oct 18 '12 at 7:04
they are independent – Daniel Lårs Oct 18 '12 at 7:04
Which variances? – Did Oct 18 '12 at 7:05
the variance $\sigma^2=1$ – Daniel Lårs Oct 18 '12 at 7:06