Let $n \geq 1$ be an integer and consider a uniformly random permutation $a_1, a_2, ... , a_n$ of the set $\{1, 2, . . . , n\}$. Define the random variable X to be the number of indices $i$ for which $1 \leq i < n$ and $a_i < a_{i+1}$. Determine the expected value $E(X)$ of $X$. (Hint: Use indicator random variables.)
Not sure how to go about starting this off as I don't know how to find $E(X)$ of $X$. Thanks for all help :)