Could anybody help me with solving such problem:
You are given two independent random variables $X$ and $Y$ with continuous uniform distribution. You are to find expected value $E$ of random variable $Z = \max(X,Y)$.
Could anybody help me with solving such problem:
You are given two independent random variables $X$ and $Y$ with continuous uniform distribution. You are to find expected value $E$ of random variable $Z = \max(X,Y)$.
As Shai Covo said find the distribution function for this. Notice that:
P($\max (X,Y )\leq x$)=P($X\leq x$)P($Y\leq x$) as they are equaly distributed then you already have the distribution of the max then derive for density , multiply by x and integrate and that's it
in general I got $\displaystyle E[\max (X,Y )]=xF(x)\big|_{-\infty}^{\infty}-\int_{-\infty}^{\infty} F^2(x)dx$, for X, Y independent r.v both with distribution equal to F(x) and density f(x) and $E[\min (X,Y )]=2E[X]-E[\max (X,Y )]$
Hint: First find the distribution function of $Z$, then its density function, then its expectation.