Professional Documents
Culture Documents
continuous range of values between any two real numbers say a and b.
Examples 1 and 2 are examples of discrete random variables while examples 3 to 5
are examples of continuous random variables.
It is often the case of discrete random variables to jump some values or numbers on
the real line, the continuous random variables take all values within a given range
of real numbers.
Thus the possible number of values which a discrete random variable can take is
said to be countable while that of a continuous random variable is said to be not
countable. However, the possible number of values of a discrete random variable
though countable, can either be finite or infinite. The number of values is said to be
finite if there exists a limit n to the number of values the given discrete random
variable can take. It is said to be infinite if otherwise.
Trial: It is a process or an act which generate an outcome which cannot be
predicted. Example is the tosses of a coin {T or H}.
Sample space: The set of all outcomes of a conceptualized experiment or trial.
S ={1, 2, 3, 4, 5, 6}, S={H or T}.
Random experiment: is an operation which when repeated generates a number of
outcomes which cannot be predetermined. For instance, a toss of 2 coins will yield
HH, HT, TH or TT.
Outcome: It is a possible result of a trial of a random experiment.
Event: It is the subset of the sample space and it consists of one or more possible
outcomes of an experiment and it is denoted by a upper case letters A,B, E,..
For example if we roll a die
A= {set of even number} A= {2, 4, 6}
B= {set of prime number} B= {1, 3. 5}
C= {set of number>8}
C= {}
Mutually exclusive events: Assuming 2 events A and B, they are said to be
mutually exclusive if the occurrence of A prevents the occurrence of B, that is the
two events cannot occur together = . They have nothing in common.
Mutually exhaustive event: say 1 , 2 , . , are said to be mutually
exhaustive if they constitute a sample space. . =1 = , where S is the
sample space.
Another way to describe collectively exhaustive events is that their union must
cover all the events within the entire sample space. For example, events A and B
are said to be collectively exhaustive if
.
()
()
, lim
()
= ().
(
=1 ) = (1 ) + (2 ) + = =1 ( )
Note
If all possible outcomes 1 , 2 , . . , of random experiment are mutually
exclusive and collectively exhaustive, then the sum of their probability is equal to
1, that is (1 ) + (2 ) + + ( ) = 1.
Complement of an event
The set of all sample points in the sample space that are not included in an event.
The probability of an event is equal to 1 minus the probability of its complement
that is is () = 1 ( ), () + ( ) = 1.
Addition Law of probability.
Let A and B be any events. Then the addition law of probability states that
( ) = () + () ( ).
If A and B are disjoint sets, then they do not have any points in common and are
said to be mutually exclusive, in that case, we have:
( ) = ( ) = 0.
( ) = () + ().
If there are events ( = 1, 2, . . ) which are mutually exclusive.
(1 2 3 . ) = (1 ) + (2 ) + (3 ) +
( ) = ( )
Example1
Find the probability that at least a head will appear when two coins are tossed
together.
Solution
The sample space {, , , }
Prob (no head) = P(E) =
1
Example 2.
Toss a coin 3 times. What is the probability of getting (i) 1 head (ii) 2 heads
(iii) at least 2 heads.
Solution.
The possible outcomes are HHH HHT HTH THH TTT TTH THT HTT.
(i). 3/8 (ii). 3/8 (iii). 4/8=1/2.
Example 3.
Let two events A and B be defined on the same sample. Suppose P(B) = 0.2 and
( ) = 0.75. Find P(A) such that (i) A and B are independent. (ii). A and B
() =
0.55
0.8
= 0.6875
= =
Example 5.
Ten coins are tossed together and the table below gives the distribution of the
number of heads obtained.
Number of heads
10
Frequency
24
37
10
60
101
11
Find the probability of obtaining; (a). exactly 5 heads (b). no head (c). 8 or more
heads. (d). at most 4 heads (e). at least 4 heads.
Solution.
(a). Probability of obtaining exactly 5 heads; ( = 5) =
(b). Probability of obtaining exactly no head; ( = 0) =
60
270
3
270
16
=
=
270
82
270
2
9
1
90
8
135
41
135
(e).
( 4) = 1 ( 4) = 1
41
135
94
135
Example 6.
The probability that Edward will pass the statistics course is 0.75 and the
probability that he will pass the computer course is 0.52. The probability that he
will pass both of them is 0.46.
What is the probability that he will pass at least one of the two courses?
Solution.
() = 0.75, () = 0.52, ( ) = 0.46
( ) = () + () ( ) = 0.75 + 0.52 0.46 = 0.81. Since S and
C are not mutually exclusive.
Example 7.
What is the probability of obtaining a total of 5 or 11 when a die is cast twice?
Solution.
Addition
1
2
3
4
5
6
1
2
3
4
5
6
7
2
3
4
5
6
7
8
The probability ( ) =
4
36
3
4
5
6
7
8
9
+
2
36
4
5
6
7
8
9
10
=
36
5
6
7
8
9
10
11
6
7
8
9
10
11
12
Example 8.
Suppose a fair die is rolled twice. Find the probability that the numbers on the two
faces that turned up is (i). Even (ii). Less than 5 (iii) Less than 2.
Solution.
Addition
1
2
3
4
1
2
3
4
5
2
3
4
5
6
3
4
5
6
7
4
5
6
7
8
5
6
7
8
9
6
7
8
9
10
5
6
6
7
7
8
8
9
9
10
10
11
18
36
11
12
= .
2
(ii). Let B be the event the sum is less than 5 B occur if the sum is 2, 3 or 4
() =
6
36
= .
6
0
36
=0
Example 9.
A box contains 6 balls numbered 1 to 6. A ball was drawn from the box at random.
Find the probability that the number on the ball drawn is either1, 2, or 6.
Solution.
Let 1 , 2 , 3 denote the events that the ball drawn was 1, 2 and 6 respectively.
1 2 3 denotes the event that the number on the ball drawn was either 1, 2,
or 6.
1 , 2 , 3 are mutually exclusive events.
1
Thus, (1 2 3 ) = (1 ) + (2 ) + (3 ) = + + =
20
20
= 0.065.
20
19
= 0.0526.
)+( )= .
10
9
10
9
15
)+( )= .
10
9
10
9
15
Let B represent black ball, R represent red ball, G represent green ball and Y
represent yellow ball.
(a). p(B)=
8
20
2
5
(b). p(R)=
3
20
(c), p(G) =
2
20
1
(d). p(Y)=
20
= 1 () = 1 =
20
=
1
5
17
20
4
= 1 () = 1 =
5
1
5
3
8
20
20
20
11
+
8
20
+
4
20
5
20
12
20
=
5
20
20
5
13
20
7
20
20
20
20
4
20
8
20
20
11
20
20
2
20
2
5
13
8
20
8
20
3
20
3
20
4
20
20
4
20
20
5
20
50
=
5
20
20
4
25
=
3
10
100
3
80
20
1
20
20
20
13
20
3
9
20
11
20
Example 13.
In a toss of four coins. Find the probability that: (a). 3 heads and one tail (b). 2
heads and 2 tails (c). 4 heads (d). 1 head and 3 tails (e). 4 tails turn up.
Solution.
Tossing 4 coins together is the same as tossing a coin 4 times.
Let H be the event that a Head turns up and T be the event that a Tail turns up. The
possible outcomes is 24 =16.
HHHH HHHT HHTH HHTT HTHH HTHT HTTH HTTT THHH
THHT THTH THTT TTHH TTHT TTTH TTTT
(a). (3, 1) =
4
16
4
(d). (1, 3) =
16
1
4
1
(b). (2, 2) =
(e). (4) =
6
16
(c). (4) =
1
16
16
Conditional Probability.
If A and B are any two events, if the occurrence of event A depends on the event b,
the probability of A will be the probability of A given B, and is denoted by p(A|B).
This probability is called conditional probability, also p(B|A) is read probability of
B given A. The conditional probability of an event is the probability of the event
given that one or more events have already occurred.
( ) = ()(|) = ()(|)
Ii then follows that (|) =
()
(|) =
()
()
()
provided that
() 0 () 0.
Example 14.
There are two boxes labeled I and II. Box I contains 3 green and 4 red balls. Box II
contains 9 green and 5 red balls. A box is drawn at random and then a ball is drawn
from the box chosen. What is the probability that the ball drawn is green and box
selected is II.
Solution.
Clearly, what we are required to calculate is p(of selecting box II and drawing
green ball from it.
Now let E1 = event of selecting box II and I.
Let E2 = event of drawing a green ball from the selected box.
We want to calculate (1 2 ) .
(1 ) =
1
14
So (1 2 ) = (1 )(2 |1 ) =
9
28
1
2
(2 ) =
9
14
Example 15.
There are two children in a family. If there is at least a girl in this family. What is
the conditional probability that both are girls.
Solution.
= , , ,
Let A be the event both children are girls and B be
the event at least a girl in the family
= , ,
= =
(|) =
()
()
1
4
3
4
1
3
Example 16.
The final year students of a polytechnic who completed the necessary forms for the
National Youth Service Corps postings were categorized according to gender and
marital status as shown in the following table:
Married Unmarried Subtotal
Male
50
560
610
Female 80
240
320
Subtotal
800
930
130
If a student is selected at random from this group of final year students, what is the
probability that:
(a). the student is married given that he is a male student and
(b). the student is a female student , given that she is unmarried.
Solution.
(a). Let E1 be the event that the student selected is a male student and let E2 be the
event that he is married student. We are to determine p(E2|E1).
From the table, we see that (2 |1 ) =
Or (2 |1 ) =
(1 2 )
(1 )
50
930
610
930
50
610
50
610
= 0.0820.
= 0.0820.
(b). Let U be the event that the selected student is unmarried and F be the event
that the student is a female student. We are to determine p(F|U).
From the table, we see that (|) =
Or (|) =
()
()
240
930
800
930
240
800
240
800
= 0.3.
= 0.3.
Example 17.
A coin is tossed thrice. Find the probability that there are two heads
(i). Given that the first is a tail (ii). Given that at least one is a tail.
Solution
The sample space is given as
=
{, , , , , , , }
(i). Let A = The first is tail (THH, THT, TTH, TTT), B = 2 heads appear (THH)
(|) =
()
()
(2 1 )
( )
=48=
8
1
4
(ii). Let A = At least one is a tail (HHT, HTH, THH, TTH, THT, HTT, TTT)
B = 2 heads appear (HHT, HTH, THH).
(|) =
()
()
(2 )
( )
3
8
7
8
3
7
Example 18.
In the toss of a single fair die, find the probability (i) of getting a 1, given the
occurrence of an odd number. (ii). Of getting a 2, given that a prime number has
occurred.
Solution
(i). Let A represents getting a 1 and B represents getting an odd number{1, 3, 5}
( ) = ( ) = 16, () = 36
(|) =
()
()
=36=
6
1
3
()
()
=36=
6
1
3
( ) =
40
100
35
(2 ) =
(3 ) =
100
25
100
, (| ) =
2
100
, (|2 ) =
, (| ) =
100
5
100
(1 |) =
=
(1 )(|1 )
(1 )( |1 )+(2 )( |2 )+(3 )(|3 )
40
2
100 100
40
2
35
4
25
5
+
+
80
345
16
69
(2 |) =
(2 )(|2 )
(1 )( |1 )+(2 )( |2 )+(3 )(|3 )
35
4
100 100
40
2
35
4
25
5
+
+
140
345
28
69
(3 |) =
(3 )(|3 )
(1 )( |1 )+(2 )( |2 )+(3 )(|3 )
25
5
100 100
40
2
35
4
25
5
125
345
25
69
() = (1 )(|1 ) + (2 )( |2 ) + (3 )(|3 )
=
40
100
100
35
100
100
25
100
100
345
10000
69
2000
Example 20.
In a research conducted in a firm of 65% of male and the rest are female. The
result shows that 25% of the male workers and 18% of the female workers resume
late to duty. The manager is interested in knowing the probability that a worker
observed coming late is:
(i). A male (ii) Not a male.
Solution
() = 0.65, () = 0.35, (|) = 0.25, (|) = 0.18
(i).
(|) =
(|) =
(ii).
( |) =
( |) =
()(|)
()(| )+()(|)
0.650.25
=
(0.650.25)+(0.350.18)
()(|)
()(| )+()(|)
0.350.18
=
(0.650.25)+(0.350.18)
0.72
0.28
Example 21.
Given that coloured balls are distributed in three identical boxes as follows
Red
White
Blue
Total
Box 1
2
3
5
10
Box 2
4
1
3
8
Box 3
3
4
3
10
1
3
Let also p(R|B1) denote the probability that a selected red ball is from box I =1, 2,
3. (|1 ) =
2
10
10
, (|2 ) = , (|3 ) =
(2 | ) =
=
(2 )(|2 )
(1 )( |1 )+(2 )( |2 )+(3 )(|3 )
1 4
3 8
1 2 1 4 1 3
+ +
3 10 3 8 3 10
1
2
() =
(1 )( |1 ) + (2 )( |2 ) + (3 )(|3 )
(b). The probability of selecting a white ball is
1
3
10
1
3
10
17
60
Example 22.
Suppose a college is composed of 70% male and 30& female students. It is known
that 40% of the male students and 20% of the female students smoke cigarette.
Find the probability that a student observed smoking a cigarette is a male.
Solution.
Let M, F denote Male and Female respectively and S denotes smoking.
p(M) = p(a student selected at a random is male) = 70/100=0.70
p(F) = p(a student selected at a random is female) = 30/100=0.30
p (S|M) =p(a student selected at a random smokes given that the selected student is
male) = 0.4
p (S|F) =p(a student selected at a random smokes given that the selected student is
female) = 0.2
(|) =
() (|)
()(|)+()(|)
0.70.4
= (0.70.4)+(0.30.2) =
14
17
Example 23.
In an experiment carried out on three mini-buses conveying students, bus A
contains 5 male and 3 female students, bus B contains 3 male and 5 female
students and bus C contains 4 male and 4 female students. One of the bus is
selected at random and a student is chosen from the bus, find the probability that
the student chosen is (i). a female (ii). A male (iii). From bus C given that the
student is a female (iv). From bus A given that the student is a male.
Solution
() = () = () = 13
Let M = Male and F = emale
5
3
(|) = , (|) =
8
3
8
5
8
4
8
4
(|) = , (|) =
(|) = , (|) =
(i).
() ( ) + ( ) + ( ) =
3
8
3
8
3
8
2
(ii).
() = ( ) + ( ) + ( ) =
3
8
3
8
3
8
2
(iii). (|) =
(|) =
(iv). (|) =
()( | )
3 8
1
2
1
3
()(|)
()( |)+()(|)+()(| )
(|) =
1 5
3 8
1
2
5
12