(The sample variance) Let $X_1, \ldots, X_n$ be an id sequence of random variables for which the mean and variance are unknown. The sample variance is defined as follows:
$$
V_n^2=\frac{1}{n-1} \sum_{j=1}^n\left(X_j-M_n\right)^2
$$
where $M_n$ is the sample mean.
(a) Show that
$$
\sum_{j=1}^n\left(X_j-\mu\right)^2=\sum_{j=1}^n\left(X_j-M_n\right)^2+n\left(M_n-\mu\right)^2
$$
(b) Use the result in part a to show that
$$
E\left[k \sum_{j=1}^n\left(X_j-M_n\right)^2\right]=k(n-1) \sigma^2
$$
(c) Use part b to show that $E\left[V_n^2\right]=\sigma^2$. Thus $V_n^2$ is an unbiased estimator for the variance.
(d) Find the expected value of the sample variance if $n-1$ is replaced by $n$. Note that this is a biased estimator for the variance.