We have a fair coin. Suppose that we win 2 dollars if we flip a heads on a coin toss, but lose 2 dollars if we flip tails. What is the expected value, in dollars, of our winnings after one flip?

Expected value =

Value of win * probability of winning + Cost of losing * probability of losing =

2 ( 1/2) + -2(1/2) =

0