Find $E[\max (R_1, R_2)]$ when $R_1$ and $R_2$ are independent and uniformly distributed in $[-1,1]$.
So first I was thinking something along the lines of
$$P(R_1 = n, R_2 \leq R_1)$$ would be the the expected value of getting $n$, but this is the continuous case so maybe $$ P(R_1 \leq n, R_2 \leq R_1) $$ or something? I'm suppose to be using one as a function of the other, but can't think of how to create $R_2$ such that when $R_1 < R_2$, it picks $R_2$. Any help would be great...
For every i.i.d. nonnegative random variables $X$ and $X_i$, $$E(\max(X_1,X_2))=\int_0^\infty P(\max(X_1,X_2)\gt x)\,\mathrm dx=\int_0^\infty\left(1-P(X\lt x)^2\right)\,\mathrm dx.$$ For $X=R+1$ and $X_i=R_i+1$, this yields $$E(\max(R_1,R_2))+1=\int_0^2\left(1-P(R\leqslant x-1)^2\right)\,\mathrm dx=\int_0^2\left(1-\left(\frac{x}2\right)^2\right)\,\mathrm dx=\ldots$$ Likewise, for every $n\geqslant1$, $$E(\max(R_1,R_2,\ldots,R_n))=\frac{n-1}{n+1}.$$