The random variable \(X\) has the probability density function on the interval \([0, 1]\):
$$f(x) = \begin{cases}
nx^{n-1} & 0 \leq x \leq 1, \\
0 & \text{elsewhere},
\end{cases}$$
where \(n\) is an integer greater than 1.
Let \(\mu = E(X)\). Find an expression for \(\mu\) in terms of \(n\), and show that the variance, \(\sigma^2\), of \(X\) is given by
$$\sigma^2 = \frac{n}{(n + 1)^2(n + 2)}.$$
In the case \(n = 2\), show without using decimal approximations that the interquartile range is less than \(2\sigma\).
Write down the first three terms and the \((k + 1)\)th term (where \(0 \leq k \leq n\)) of the binomial expansion of \((1 + x)^n\) in ascending powers of \(x\).
By setting \(x = \frac{1}{n}\), show that \(\mu\) is less than the median and greater than the lower quartile.
Note: You may assume that
$$1 + \frac{1}{1!} + \frac{1}{2!} + \frac{1}{3!} + \cdots < 4.$$