Random Variables and Expectation: Mr. Mark Anthony Garcia, M.S. Mathematics Department de La Salle University
Random Variables and Expectation: Mr. Mark Anthony Garcia, M.S. Mathematics Department de La Salle University
Mathematics Department
De La Salle University
CHAPTER 6:
RANDOM VARIABLES
AND EXPECTATION
Situation: Random Variable
Consider the experiment of tossing three
coins.
Then the sample space S will contain
the elements HHH, HHT, HTH, THH,
TTH, THT, HTT and TTT.
Let X be a variable representing the
number of heads that occur in each
outcome.
Situation: Random Variable
The following table shows the assignment
of values to each outcome.
Outcome X Outcome X
HHH 3 TTT 0
HHT 2 TTH 1
HTH 2 THT 1
THH 2 HTT 1
Situation: Random Variable
x 0 1 2 3
P(X=x) 1/8 3/8 3/8 1/8
Example 1: Probability Distribution
HT HH TT TH
TT HT TH TT
HH HH HH HT
TH TT HT TT
Situation
Let X be the random variable representing
the number heads per toss.
HT 1 HH 2 TT 0 TH 1
TT 0 HT 1 TH 1 TT 0
HH 2 HH 2 HH 2 HT 1
TH 1 TT 0 HT 1 HH 2
Situation
What is the average number of heads
per toss of the two coins?
Situation
x 0 1 2
P(X=x) 4/16 7/16 5/16
Mathematical Expectation
Let
X be a random variable with probability
distribution . The mean or expected value
of X is given by .
Example 3: Expectation
x Php100 -Php50
P(X=x) 1/4 3/4
Example 4: Expectation
Suppose that in a game, you win
PhP50.00 when you draw a heart card and
you lose PhP30.00 otherwise. What is
your expected gain?
x Php50 -Php30
P(X=x) 13/52 39/52
Example 4: Expectation
The expected gain (loss) of the player is
given by .
So, .
Example 5: Expectation
By investing in a particular stock, a
person can make a profit in one year of
$4000 with probability 0.3 or take a loss
of $1000 with probability 0.7. What is
this person’s expected gain?
Exercises