..Given that random variable , its mean value , its variance , and the mean value , which is , prove that .

Letting X be the values and ,

I'm pretty lost how to get this step Mr F says: Just expand!

and the rest. Mr F says: By definition: , and .

I should have taken a picture of the book. That was a ton of code to write, even though it doesn't look like much at all.