If a dice is thrown until we get an even number, what is the expected no. of throws?

Would this be the same as finding the expected value

Printable View

- August 2nd 2010, 08:33 PMacevipaExpected value for dice
If a dice is thrown until we get an even number, what is the expected no. of throws?

Would this be the same as finding the expected value - August 2nd 2010, 09:27 PMundefined
Yes, same as expected value. I feel like I've encountered this infinite sum recently, but don't remember how to solve now, although numerically it's not hard to find the value is 2.

There may be a way to solve without infinite sum as well.

I intentionally omitted the sum, so that you can work it out on your own, or say where you got stuck..

Edit: I was able to evaluate the sum by calling the sum L and then computing L + 2L which can be manipulated to 2 + 2L .... but it seems a bit messy. - August 2nd 2010, 09:35 PMacevipa
- August 2nd 2010, 09:38 PMundefined
- August 2nd 2010, 09:49 PMacevipa
- August 2nd 2010, 09:54 PMundefined
I don't know what you mean, but in fact P(X=2) = 1/4. This is because in order to end at 2 throws, we must throw odd then even, so (1/2)(1/2) = 1/4. Similarly, to end at three throws we must throw odd then odd then even, and P(X=3) = 1/8.

We get the sum E(X) = 1/2 + 2/4 + 3/8 + 4/16 + 5/32 + ...

Above I mention a method of evaluating the sum, after which we will get E(X) = 2. Like I wrote above, the way I found seems kind of messy, but maybe that's a standard way, don't really know. If you want me to show you I can. - August 2nd 2010, 10:02 PMacevipa
- August 2nd 2010, 10:09 PMundefined