Theorem: Expectation is linear: If are random variables defined on the same probability space and , then
Proof.
Example. We return to
Functions of Discrete Random Variables
A biased coin lands heads 2/3 of the time. I flip it repeatedly until it lands heads. You win
W = # of dollars we win
By definition, if
Theorem: If is a discrete random variable and is a function, then
Example. A biased coin lands heads 75% of the time. You flip it 4 times. If it lands heads an even number of times, I win
W = # of dollars I win.
Continuous Random Variables
Expectation of discrete r.v.
Expectation
Let
be a continuous random variable, then its expectation is defined by is the pdf
Examples.
- Let
. Calculate . - A dart hits a circular board of radius 1 uniformly at random. What is the expected distance from the point it hits to the center of the board?
distance to center