00:01
Okay, so we have a discrete random variable x with this probability mass function.
00:06
P of x is 1 over 5 for x equals 1, 2, 3, 4, 5 and 0 elsewhere.
00:13
So this just means the probability that x takes on any of these values.
00:16
It's exactly 1 5th.
00:18
We want to find the expected value of x, the expected value of x squared, and then using this, find the expected value of x plus 2 squared.
00:25
Okay, so the expected value of x, all we need to do is find the following, 1 times p of 1 plus 2 times p of 2 plus 3 times p of 3 plus 4 times p of 4 plus 5 times p of 5 so all we need to do is in general we'll only find an expectation sum up all the possible values of x and their probabilities so this is p of 1 is 1 over 5 plus 2 times 1 over 5 is 2 over 5 plus 3 over 5 plus 4 over five plus five over five putting these over a common denominator one plus two plus three plus four plus five all over five is going to give us the following so one plus two is three one plus two is three plus three is six plus four is ten plus five is fifteen so we have fifteen over five which is three the expected value is three and this makes sense because this is uniformly distributed, we'd expect the expected value to be in the middle.
01:37
So this is good.
01:38
The expected value, next, we need the expected value of x squared.
01:43
So we do a similar thing here, but instead of looking at times in by x in each of these places, we have the times by x squared...