Professional Documents
Culture Documents
Chapter 4
Chapter 4
Chapter 4
4.1 INTRODUCTION
Definition: Probability is likelihood @ chance
that a particular event will occur.
Basis of inferential statistics
Eg: - Prediction - Hypothesis testing etc.
Set notation
Number of outcomes A n( A)
P ( A) = =
Number of outcomes S n(S )
Example 2:
Flash cards with numbers 1 to 20 are put into a bag.
A card is chosen at random from the bag. Find the
probability of getting
a) an odd number b) multiples of 3
Example 3:
A fair dice is thrown, what is the probability of
getting: a) An even number
b) A number bigger than 4
Answer:
S = {1, 2, 3, 4, 5, 6}
E = an event of getting an even no
E = {2, 4, 6}
n(E) = 3
P(E) = n(E)/n(S) = 3/6 = ½
Answer: S ={1, 2, 3, 4, 5, 6}
A = An event of getting 8
A = {φ } because it is impossible to get a 8
P(A) = P(getting a 8) = 0 equivalent P(φ ) = 0
Example 5:
When a single die is rolled, find the probability of
getting a number less than 9.
Answer:
S ={1, 2, 3, 4, 5, 6}
E = An event of getting a number less than 9
E ={1, 2, 3, 4, 5, 6}
6
P(E) = P(getting a number < 9) = = 1
6
Example 6:
A ball is chosen at random a box containing 7 balls,
which 2 of the balls are green in colour. What the
probability of getting a ball that not green in colour.
Answer:
G = An event of getting a ball that green in colour
P(G) = 2/7
G’= An event of getting a ball that not green in
colour
P(G’) = 1-P(G) = 1 – 2/7 = 5/7
The probability,
n( A ∪ B ) n( A ) + n( B )
P( A or B ) = P( A ∩ B ) = =
n(S ) n(S )
= P ( A) + P ( B )
Multiplication rule 1:
1 1 1
∴ P(T 1∩ T 2) = P(T 1) ⋅ P(T 2) = ⋅ =
2 2 4
Example 8 :
A coin is flipped and a dice is rolled. Find the
probability of getting a head on the coin and a 4 on
the dice
Answer:
P( A ∩ B )
P( A B ) =
P(B )
a) P( A ∩ B ) b) P( B ) c) P( A ∪ B )
Example 12 :
Example 13 :
3
The events A and B are such that P( A) = ,
5
1 4
P( A′ B ) = , P( A ∪ B ) = . Find:
2 5
i) P( A′ ∩ B ) ii) P(B ) iii) P( A ∩ B )
iv) State whether events A and B are
a) Mutually exclusive
b) Independent
Example 14:
probability of
i) L and B
ii) L and not B
iii) not L and not B
i) Independents trees
ii) Dependent trees
Example 15: (Text book Eg.28)
Solution:
Let W = event that a white marble is drawn
B = event that a black marble is drawn
8 2 2 8 32 8
P(1W and 1B) = . + . = =
10 10 10 10 100 25
b) Sampling without replacement
8 2 2 8 32 16
P(1 W and 1B) = . + . = =
10 9 10 9 90 45
P( B Ai ).P( Ai )
P( Ai B ) =
P( B A1 ).P( A1 ) + P( B A2 ).P( A2 ) + ....P( B An )P( An )
= 0.273
ii) P(late taxi)
= P( L ∩ A ) + P( L ∩ B ) + P( L ∩ C )
= P( L A )P( A ) + P( L B )P( B ) + P( L C )P( C )
= ( 0.09 × 0.30 ) + ( 0.06 × 0.50 ) + ( 0.20 × 0.20 )
= 0.097
Major
Gender Computer Actuarial Business Total
Science Science Computing
Male 53 11 26 90
Female 54 29 47 130
Total 107 40 73 220
What is the probability of selecting a
i) Male student
ii) Computer science or business computing
major
iii) Female or an actuarial science major
iv) A business computing major given that the
person selected is a female.
Answer:
90
i) P (M ) = = 0.409
220
107 + 73
ii) P(CS ∩ BC ) = = 0.818
220
iii) P(F ∪ AS ) = P(F ) + P( AS ) − P(F ∩ AS )
130 + 40 − 29
= = 0.641
220
47
P( BC ∩ F ) 220 = 0.362
iv) P(BC F ) = =
P(F ) 130
220
Example 22:
The following table shows 1000 college applicants
classified according to scores made on a college
entrance examination and the quality of high school
from which they graduated, as rated by a group of
educators.
Quality of high school
Score Total
Poor Average Superior
Low 105 60 55 220
Medium 70 175 145 390
High 25 65 300 390
Total 200 300 500 1000
a) Calculate the probability that applicant picked
at random from this group:
i) Obtained a low score on the examination
ii) Graduated from a superior high school
iii) Obtained a low score on the examination
and graduated from a superior high school
iv) Obtained a high score or graduated from a
superior high school
b) If it is known that the applicant comes from a
superior high school, what is the probability
that he or she will obtain a high score?
Answer:
QUESTION 1
QUESTION 2
QUESTION 3
4.5 Basic Counting Principles
4.5.1 Permutation
Example 23:
How many different ways can 7 floral arrangements
be arranged in a row on a single display shelf?
Example 24:
A store manager wishes to display 5 different
brands of shampoo in a row. How many ways can
this be done?
n(letters) = 6
n(different arrangements) = 6!
= 720
Case 2: There are some similar items in n items
given
n!
Number of arrangement =
n1! n2 !...nr !
Example 27:
How many distinct arrangements are possible if
arrangements were to be made from the letters of
the word:
i) STATISTICS ii) CORPORATION
Solution:
5!
n = 5 r = 3 n(3-digit no) = 5P3 = = 60
2!
4.5.2 Combination
n n!
Cr = .
( n − r )! r!
Answer: 126
Example 30:
How many ways can 3 cards are selected from
standard decks of 50 cards?
Answer:19600
4.5.3 Addition Principle Counting
n(select a blouse) = 5
n(select a skirt) = 4
= 80
Example 34: (Text book Eg.15)
Riang Ria Café offers 6 kinds of burgers and 5 kinds
of drinks in 3 different sizes, small, medium and
large. How many ways can a customer plan a meal
consisting of 1 burger and 1 drink?
Solution:
n(possible kinds of burgers) = 6
n(possible kinds of drinks) = 5
n(possible different sizes of drinks) = 3
n(different meal selections) = 6C1×5 C1×3 C1
= 6 × 5 × 3 = 90
Solution:
n (2 women) = 4C2 = 6
Example 36:
The digits of 0, 1, 2, 3 and 4 are to be used in a four-
digit ID card. How many different cards are possible
if:
i) Repetitions are allowed?
Answer : 5C1×5 C1×5 C1×5 C1 = 5 × 5 × 5 × 5 = 625
ii) Repetitions are not allowed?
Answer: 5C1× 4 C1×3 C1×2 C1 = 5 × 4 × 3 × 2 = 120
5
or P4 = 120
15
n(possible partitions) = C 3 ×12 C 2 ×10 C 4 × 6 C 6
= 455 × 66 × 210 × 1
= 6306300
Example 38:
Four married couples have bought eight seats in a
row to watch a musical theatre at Istana Budaya. In
how many different ways can they be seated if
a) each husband sits to the left of his wife
Example 39:
How many words of four alphabets can be formed
from the word "TRADING" if each word
a) does not end with letter "G" and repetition is
allowed?
not allowed?
Example 40:
A team of 7 is chosen from 5 girls and 8 boys. Find
the probability that the team consists of only one
girl?
Solution:
n(S) = n(all possible teams of 4) = 13C7 = 1716
M = event of choosing only one girl
5
n(choose 1 out of 5 girls) = C1 = 5
n(choose 6 out of 8 boys) = 8C6 = 28
5 8
n(M) = C1× C6 = 5 × 28 = 140
Probability:
n( M ) 140
∴ P( M ) = =
n( S ) 1716
Example 41:
A non-profit organization offers six scholarships to
eligible students. This year, 5 female and 7 male
students who are qualified apply for the
scholarship. If the scholarships are to be awarded
to 2 female and 4 male students, determine:
Answer: 0.4419
Example 44:
Example 45:
The eleven letters of the word BOOKSHELVES are
arranged in a line.
a) How many distinct arrangements could be done?