Let $X_j$ be a random variable that is $1$ with probability $x_j^*$, and $0$ with probability $1-x_j^*$. The random variables $X_j$ are independent and $j$ belongs to $\{1,\ldots,n\}$ for some positive integer $n$. I would like to calculate the mean value of $\max\limits_{j}X_j$. That is,
$$\mathbb{E}\left[\max\limits_{j}X_j\right]$$
My try is: since $X_j$ is a binary random variable, than the maximum would be $1$. Therefore, $$\mathbb{E}\left[\max\limits_{j}X_j\right]=\Pr\left[X_j=1\right]=x_j^*,$$ but I do not know if this is the right argument.