00:01
On this problem, we want to use the technique established by theorem 3 .7, and the fact that e of y times y minus 1 times y minus 2 equals e of y cubed minus 3, e of y squared, plus 2, e of y of y of y, in order to find a formula for the expected value of y cubed.
00:30
Now first, let's work off of this left -hand side.
00:33
E of y times y minus 1 times y minus 2 is equal.
00:40
To the sum from x equals 0 to n of y times y minus 1 times y minus 2 this over down here should be y normally we use that they use way as well okay y times y minus 1 times y minus 2 times n factorial over y factorial times n minus y factorial times p to the y times q to the n minus y.
01:21
Now in order to simplify this, y, y, minus one, y minus two, we'll cancel out with part of y factorial here.
01:31
And this will give us the sum from y equals zero to n of n factorial over y minus three factorial because with the y factorial y, y, minus one, y minus two cancel it out times n minus y factorial times p to the y times to the n minus y.
02:01
Now the first three terms of this will be zero.
02:05
That's when y is zero.
02:07
That's when y is one.
02:09
And that's when y is two.
02:10
And so we can get rid of those and rewrite this then as the following.
02:18
So this is the same as the sum from y equals three to n of n factorial over y minus three factorial times n minus y.
02:35
Times p to the y times q to the n minus y.
02:45
Now again, the sum in the last expression looked very much like the binomial probabilities.
02:50
And so let's factor something out of each term here in the sum.
02:56
And so let's factor.
03:02
Let's factor out an n, an n minus 1, and an n minus 2, and a p to the third.
03:18
Now when we do this, we're left over with n minus 3 factorial over y minus 3 factorial, n minus y factorial, n minus y factorial times p to the y minus 3 times q to the n minus y.
03:41
Now from here, let's let z be y minus 3.
03:47
We're going to change our summation here...