The random variable X has mean μ and variance σ2, and the function V is defined, for −∞<x<∞, by
V(x)=E((X−x)2). Express V(x) in terms of x, μ and σ.
The random variable Y is defined by Y=V(X). Show that
E(Y)=2σ2.(∗) Now suppose that X is uniformly distributed on the interval 0⩽x⩽1. Find V(x). Find also the probability density function of Y and use it to verify that (∗) holds in this case.