Week One Notes
Week One Notes
WEEK 1
1.1 INTRODUCTION
These two subjects go hand in hand and thus one cannot study one without
studying the other.
1
Relative frequency approach.
Suppose that we roll a die 1000 times and record the number of times we observe
a “5”. Let A denote this event. The relative frequency approach says that
number of times A occurs n( A)
P ( A) where n( A) denotes the
number of trials performed n
frequency of the event and n denotes the number of trials performed. The
n( A)
proportion is called relative frequency. The P ( A) is shorthand for “the
n
probability that A occurs”.
Now suppose n( A) 158 when a die is rolled 1000 times. We would then estimate
158
P ( A) by P( A) 0.158 . If we performed the experiment of rolling the die
1000
n( A)
repeatedly, the relative frequency approach says that P ( A) as n . Of
n
n( A) 1
course, if the die is fair, the P ( A) .
n 6
Axiomatic approach
In Axiomatic approach, the first axiom states that the probability of an event
must be between 0 and 1, where 0 represents an event that will never happen
and 1 represents an event that will definitely happen. Thus 0 p( A) 1 .
The second axiom says that if you add all the probabilities of each possible
n
outcome, they will add up to 1 i.e. p( A ) 1
i 1
i and the third axiom is that the
A sample space is the set of all possible outcomes for an experiment and is
denoted by S . For instance, when a die is rolled the sample space is
S {1, 2,3, 4,5, 6} .
2
1.1.2 Discrete probability models and events
We may use the symbol Ei to denote the i th sample point (i.e., the i th simple
P ( A)
i:Ei A
P ( Ei )
na
points, then P( A) .
N
Proof
3
Write S E1 E2 ... EN , where Ei corresponds to the i th sample point;
i 1, 2,..., N . Then
N
1 P ( S ) P ( E1 E2 ... E N ) P ( Ei ) .
i 1
N
1 P ( Ei ) NP ( Ei ) , and thus,
i 1
1
P ( E1 ) P ( E2 ) ...P( EN ) .
N
na na
1 na
P( A) P( E1 E2 ... Ena ) P( Ei )
i 1 i 1 N N
Suppose that to each point of a sample space we assign a number. Then we have
a function defined in the sample space. This function is called a random variable
equivalently two coins are tossed once simultaneously. Then the sample space
is S={HH, HT, TH, TT}. If we let X be a function that represents the number of
heads that can come up, then HH i.e. two heads means X=2, HT or TH i.e. one
head means X=1, and TT i.e. zero heads means X=0. It follows that X is a random
4
Table1.1 Tossing a coin
Sample point HH HT TH TT
X 2 1 1 0
Therefore the set X= {0, 1, 2} is a random variable with a support of the integers
0, 1 and 2.
It should be noted that many other random variables could also be defined on
the above sample space e.g. the square of the number of head or the number of
number of values.
Let X be a discrete random variable and suppose that the possible values it can
assume are given by x1, x2, x3, …, xn arranged in some order. Suppose also that
P(X=x) = f(x).
5
For x=xi, the probability distribution reduces to p(X=xi) =f(xi), while for other
(i)f(x)≥0
(ii)f(x)=1
Example 1.1
A coin is tossed twice. Let X be the random variable that gives the number of
Solution
Assuming that the coin is fair, we have p(HH)= ¼ , p(HT)= ¼ , p(TH)= ¼ , p(TT)=
¼.
Then
p(x = 0) = p(TT) = ¼
p(x = 2) = p(HH) = ¼
6
X 0 1 2
f(x) ¼ ½ ¼
Example 1.2
A die is thrown twice. Let the random variable X denote the sum of its points.
Solution.
1 2 3 4 5 6
7
The random variable X is the sum of the coordinates for each point. Thus for
(1,1) we have x = 2, for (3,2) x=5 and so on. The table below summarizes the
1 2 3 4 5 6
1 2 3 4 5 6 7
2 3 4 5 6 7 8
3 4 5 6 7 8 9
4 5 6 7 8 9 10
5 6 7 8 9 10 11
6 7 8 9 10 11 12
Using the fact that all 36 sample points are equally probable, so that each sample
associated probability of 4
36 . So the probability function is:-
8
Table1.5: Probability function of sum of points of a die tossed twice
X 2 3 4 5 6 7 8 9 10 11 12
f(x) 1
36
2
36
3
36
4
36
5
36
6
36
5
36
4
36
3
36
2
36
1
36
Example 1.3
Find the probability distribution of boys and girls in families with 3 children,
Solution.
In a family of 3 children, the sample points for the sex of the children are:
Let X be the random variable that gives the number of boys in the family. Then
X= {0,1,2,3}
p(x=0) = p(GGG) = 1
8
p(x=3) = p(BBB) = 1
8
9
Table1.6: Probability function of boys in a family
X 0 1 2 3
f(x) 1
8
3
8
3
8
1
8
10