Uploaded by Cikgu Ariff

08 Probability

advertisement
Mathematics QS 025
Chapter 8: Probability
LECTURE 1 OF 5
TOPIC
:
8.0
PROBABILITY
SUBTOPIC
:
8.1
Events and Probability
LEARNING OUTCOMES :At the end of the lesson students should be able to:
(a)
understand the concept of experiments, outcomes, events, sample spaces and
random selections
SET INDUCTION
Suppose that there are a blue pen, a red pen and a black pen. What is the chance of choosing
a black pen?
Answer: 1/3 (this is known as probability)
CONTENTS
Experiment, outcomes, sample space and event
Suppose that a process that could lead to two or more different outcomes is to be observed
and there is certainty beforehand as to which outcome will occur. Below are some examples.
1.
A coin is tossed.
2.
A die is rolled.
3.
A card is drawn from pack of 52 cards.
4.
A ball is taken out from a box containing 20 balls with different colour.
Each of these examples involves a random experiment.
Definition
An experiment is a situation involving chance or probability that leads to results called
outcomes.
If a coin is thrown, the result will be either a “head” or a “tail”.
If a die is rolled, the result will be one of the numbers 1,2,3,4,5 or 6.
In each case, the different possible outcomes are called basic outcomes.
The set of all these outcomes which exhausts all the possibilities is called the sample space of
the random experiment.
Definition
The possible outcomes of a random experiment are called the basic outcomes, and the set
of all basic outcomes is called the sample space.
Notice that basic outcomes are defined in such a way that no two outcomes can occur
simultaneously; moreover, the random experiment must necessarily lead to the occurrence of
one of the basic outcomes. The symbol S will be used to denote the sample space.
211
Mathematics QS 025
Chapter 8: Probability
Example 1
A die is rolled.
The sample space, S = { 1, 2, 3, 4, 5, 6 }, n(S) = 6
Example 2
Two coins are tossed.
The sample space,
S = { HH, HT, TH, TT}, n(S) = 4
Definition
An event is a set of basic outcomes from the sample space, and is said to occur if the
random experiment gives rise to one of its constituent basic outcomes.
Example 3 (refer example 1)
S = { 1, 2, 3, 4, 5, 6 }, n(S) = 6
Let
A be the event getting value greater than three
B be the event getting an odd value
Example 4 (refer example 2)
S = { HH,HT,TH,TT }, n(S) = 4
Let
X be the event getting one head
Y be the event getting at least one head
212
Mathematics QS 025
Chapter 8: Probability
PROBABILITY
Definition
If we have a number of equiprobable events, the probability of a particular outcome is
define as
the number of equiprobable favourable outcome
the total number of equiprobable outcome
The probability that an event, A, occur is defined as the number of ways in which A can
happen expressed as a fraction of the number of ways in which all equally likely events,
including A, occur.
The probability of an event A occurring is denoted by P(A), where
P(A) =
number of successful outcomes
total number of all possible outcomes
P(A) =
Or
No. of members of A
n( A)
=
No. of members of possibility space n( S )
Probability Of An Event
P(A) =
The Number Of Ways Event A Can Occur
The total number Of Possible Outcomes
As A is subset of S or {possibility space}, the numerator of this fraction is always less than,
or equal to, the denominator, so for any event A,
0  P A  1
If P(A) = 1 ,this means that the event is an absolute certainty.
If P(A) = 0 this means that the event is an absolute impossibility.
For example, if one ball is taken from a bag containing only red balls:
P(ball is red) = 1
and
P(ball is blue) = 0.
A probability is a number from 0 to 1. If we assign a probability of 0 to an event, this
indicates that this event never will occur. A probability of 1 attached to a particular event
indicates that this event always will occur. What if we assign a probability of .5? This means
that it is just as likely for the event to occur as for the event to not occur.
THE PROBABILITY SCALE
+
+
0
.5
event never
event and "not event"
will occur
event are likely to occur
213
+
1
always
will occur
Mathematics QS 025
Chapter 8: Probability
Example 5
Find the probability of getting a head when you flip a coin.
Solution
Example 6
Find the probability of obtaining a number greater than 4 on a single toss of a die.
Solution
VENN DIAGRAMS, TREE DIAGRAM AND CONTIGENCY TABLE
Example 7
In a certain group of 100 students, 54 studied calculus, 69 studied physics and 35 studied
both. If one of these students is selected at random, find the probability that
a) The student took calculus or physics
b) The student did not take either of two subjects.
c) The student took physics but not calculus.
Solution
214
Mathematics QS 025
Chapter 8: Probability
Example 8
A coin is tossed twice. Find the probability of getting at least one head.
Solution
Example 9
Two dice are tossed. Find the probability of
a) the sum of two numbers are 8.
b) The sum of two numbers are prime numbers.
Solution
215
Mathematics QS 025
Chapter 8: Probability
LECTURE 2 OF 5
TOPIC
:
8.0
PROBABILITY
SUBTOPIC
:
8.1
Events and Probability
LEARNING OUTCOMES :At the end of the lesson students should be able to:
a) State the basic laws of probability
b) Find the probability of an event
c) Determine probabilities of the intersections and union of two events.
VENN DIAGRAMS
BS
A
A  B'
A'B
A B
________
A'B' OR A  B
A B
A
B
S
A happens
A
A
B
S
A’
A does not happen
A
B
S
B happens
B
A
B
S
B’
AB
B does not happen
A
B
216
S
A and B happen simultaneously
( both A and B happen )
Mathematics QS 025
Chapter 8: Probability
A
S
B
A happens but B does not
happen( only A happens )
A  B’
A
B
A
B
S
B happens but A does not happen
( only B happens)
A’  B
S
A happen or B happen or both
happen ( at least one happen )
AB
A
B
S
A’  B’
Both A and B do not happen
A
B
( A  B’ )  ( A’  B )
S
Only one happen ( either A or B
but not both )
Example 1
A
B S
12
8
Find
P A , P A' , PB  , PB  , P A  B  , P A  B  ,
7
73
P A  B' , P A'B  , P A  B'   A'B 
Solution
217
Mathematics QS 025
Chapter 8: Probability
Important Result in Probability
A
S
i)
ii)
iii)
P(S) = 1
0≤P(A)≤1
P ( A’ ) = 1- P ( A ) or PA  1  P A
A‟ is the complement of an event A
b) (i) Probability of two events A or B occurring
P(A or B or both) = P(A) + P(B) – P(A and B), can be
denoted as P(A  B),
B
A
P(A  B) = P(A) + P(B) – P(A  B)
Prove n A  B  n A  nB  n A  B
n A  B 
P A  B  
nS 
n A  nB   n A  B 

nS 
n A nB  n A  B 



nS  nS 
nS 
 P A  PB  P A  B
De Morgan Rule
A
P( A ' B ')  P( A  B) '
B
P( A ' B ')  P( A  B) '
P A  B'  P( A)  P( A  B)
Example 2
Given A and B are 2 events where P(A) =
(a)
(b)
(c)
(d)
P(A  B)
P(A  B ' )
P( A ' B ' )
P( A ' B ' )
1
5
1
, P(B) = and P(A  B) = . Find
3
9
6
218
S
Mathematics QS 025
Chapter 8: Probability
Solution
Example 3
If P(A) = 0.3, P(B) = 0.4 and P(A  B) = 0.1, find
(a) P(A  B)
(b) P( A  B )
(c) P(A  B )
(d) P( A  B)
Solution
219
Mathematics QS 025
Chapter 8: Probability
Example 4
Records showed that 80% of the drivers who are summoned for various traffic offences are
man drivers. While 17% of all drivers are below 30 years old, 13% are man drivers who are
below 30 years. If a driver who is summoned is randomly selected, what is the probability
that the driver is a man or below 30 years old?
Solution
Example 5
A survey is conducted on a group of workers comprising production operators, administrative
officers and security guards. The survey is to determine the total working hours in a week.
Production operator
Administrative
Security guard
Total
(A)
officer (B)
(C)
<40 hrs (D)
63
21
4
88
50–70 hrs (E)
46
14
10
70
>70 hrs (F)
87
8
17
112
196
43
31
One of the workers in the survey is randomly selected. Based on the information provided,
calculate the probability
(a)
The workers being a production operator.
(b)
The workers who work between 50–70 hours.
(c)
The workers being an administrative officer and working greater than 70 hours.
(d)
The workers being a security guard working less than 40 hours.
Solution
220
Mathematics QS 025
Chapter 8: Probability
LECTURE 3 OF 5
TOPIC
:
8.0
PROBABILITY
SUBTOPIC
:
8.1
Events and Probability
LEARNING OUTCOMES :At the end of the lesson students should be able to:
a) Find the probability of an event
b) Determine probabilities of the intersection and union of two events
PROBABILITY OF MUTUALLY EXCLUSIVE EVENTS
 Two or more events are said to be mutually exclusive if they cannot occur at the same
time.
 In other words, events that have no outcomes in common are said to be mutually
exclusive events or disjoint events.
Examples of Mutually Exclusive

A six-sided die is rolled once.
Event A : rolling an odd number
Event B : rolling an even number
Events A and B are mutually exclusive, because they cannot both happen.
 If two events A and B are mutually exclusive, then the probability of the occurrence of A
or B is the sum of their individual probabilities. Two events A and B are called mutually
exclusive if they cannot occur at the same time.
Additional Probability Rules for two mutually exclusive events,
P(A  B) = P(A) + P(B)
A
B
Figure: Mutually exclusive event.
Since neither event A nor event B can occur simultaneously thus the probability of A and B
occurring at the same time is zero. This can be denoted as P(A  B) = 0.
Example 1
C and D are two events where P(C) = 0.1, P(D) = 0.2 and P(C  D) = 0.3.
(a) Determine whether C and D are two mutually exclusive events.
(b) Find PC ' and PC 'D'
221
Mathematics QS 025
Chapter 8: Probability
Solution
Example 2
A bag contains 4 red marbles, 2 white marbles and 8 black marbles. What is the probability
that a marble picked from the bag at random is either red or white?
Solution
Example 3
The following is the information that is received from the final exam result in one college for
Mathematics and Account course. According to the analysis that is done, the result is:
600 students passed the Account course.
300 students passed the Mathematics course.
175 students passed both course.
50 students failed both course.
From the information above,
(a)
How many of the college students took the Mathematics and Account courses?
(b)
Calculate the probability of students who passed both courses.
(c)
Find the probability of students who did not pass in Mathematics.
222
Mathematics QS 025
Chapter 8: Probability
Solution
Definition:
If n events X1, X2, X3, …, Xn are mutually exclusive, then
P X 1  X 2  ...  X n   P X 1   P X 2   ...P X n 
Outcomes are exhausted if they are combined to be the entire sample space, or equivalently,
if at least one of the outcomes must occur whenever the experiments performed.
Definition:
If BI  B2  ...  Bn  Sn, the entire sample space, then the events BI , B2 ,..., Bn are referred
to as exhaustive events.
B1
B2
B6
B5
B3
B4
All events are mutually exclusive
PBI  B2  B3  B4  B5  B6   PS   1
Example 4
A selection committee held a meeting to choose a student leader. Those who attended the
meeting were 20 first semester students, 30 second semester students, 10 third semester
students and 20 fourth semester students. Find the probability of the semester from which the
student leader would be chosen if first semester students are not qualified to be a student
leader.
Solution
223
Mathematics QS 025
Chapter 8: Probability
Solving Problem Involving Events and Probability
Example 5
One student feels that the probability he will get a grade D in a statistics course is
probability he will fail in that course is
1
and the
8
1
. What is the probability he will get a grade better
16
than D?
Solution
Example 6
4 letters are chosen randomly from the word COMPUTER. Find the probability
(a) all the four letters chosen are consonant
(b) the letter C must be chosen
(c) the letters M and P must be chosen simultaneously
Solution
224
Mathematics QS 025
Chapter 8: Probability
Example 7
Three red marbles, four yellow marbles and two green marbles are arranged in one row on a
table. Find the probability
(a) all the four yellow marbles must be next to each other
(b) all the four yellow marbles must not be arranged next to each other
(c) the green marbles must be in the first and last position of the row
Solution
225
Mathematics QS 025
Chapter 8: Probability
LECTURE 4 OF 5
TOPIC
:
8.0
PROBABILITY
SUBTOPIC
:
8.2
Conditional Probability
LEARNING OUTCOMES : At the end of the lesson students should be able to:
a) Determine the conditional probability and identify independent events.
CONDITIONAL PROBABILITY
Definition:
For events A and B in an arbitrary sample space S, we define the conditional probability A
given B by:
P A  B 
; P B   0
P A | B  
P B 
P A  B 
; P A  0
PB | A 
P  A
P (A / B ) is read “the probability of A, given B”
Example 1
Given that P(A) =
1
1
5
; P(B) = ; P(A  B)=
4
3
12
Find: a) P(A  B)
Solution
b) P(B/A)
226
Mathematics QS 025
Chapter 8: Probability
Example 2
1
1
1
, P(B) =
and P(A  B)=
2
4
3
Find : a) P(A/B)
b) P(B/A)
c) P(A  B‟)
d) P(A/B‟)
Given that P(A) =
Solution
Example 3
In a college, 12% of the students are left-handed, 15% of the students wear glasses and 3%
are both left-handed and wear glasses.
a) Given that a student wears glasses, find the probability that the student is left-handed.
b) What is the probability that a left-handed student also wears glasses?
Solution
227
Mathematics QS 025
Chapter 8: Probability
Example 4
Thirty Mathematics professors out of 100 who are examined were found to be over weight
(W). Ten of them had high blood pressure (H). Only four of the professors who were not
over weight had high blood pressure.
Find the probability that a Mathematics professor will not have high blood pressure if he is
not overweight.
Solution
Independent Events
A is the event of the „result of spinning a fair coin‟ and B is the event of the „number obtained
when a pair dice is rolled‟. These events are unrelated. Obtaining a head on the coin will not
influence the outcome on the die. Such events are said to be independent.
From Conditional Event;
P(A  B)
P(B)
 P(A  B) = P(B) . P(A|B)
P(A|B) =
If events A and B are independent, it means that the outcome of one event does not affect the
outcome of the other, then
P(A|B) = P(A) and P(B|A) = P(B)
So, we arrive at the ‘and’ rule for the independent events
P(A and B) = P(A) . P(B)
P(A  B) = P(A) . P(B)
228
Mathematics QS 025
Chapter 8: Probability
Example 1
A, B and C are three events such that A and B are independent whereas A and C are mutually
exclusive. Given P(A) = 0.4 and P(B) = 0.2 , P(C) = 0.3 and P(B  C) = 0.1.
Find a) P(A  B)
b) P(C | B)
c) P(C | A‟)
Solution
Example 2
Probability that Siti is still alive in 20 years is 0.7, and probability that Lan will be alive in 20
years is 0.9. If we assume independence for both, what is the probability that neither will be
alive in 20 years?
Solution
229
Mathematics QS 025
Chapter 8: Probability
Example 3
A Mathematics puzzle is given to 3 students, Amin, Bernard and Chong. From past
experience, it is found that the probabilities that Amin, Bernard and Chong will get the
correct solution are 0.65 , 0.6 and 0.55 respectively.
If three of them attempt to solve the puzzle without consulting each other, find the probability
that:
a) The puzzle will be solved correctly by all of them
b) Only one of them will get the correct solution
Solution
Example 4
There are 60 students in the sixth form of a certain school. Mathematics is studied by 27 of
them, Biology by 20 and 22 students study neither Mathematics nor Biology.
a) Find the probability that a randomly selected student studies both Mathematics and
Biology.
b) Find the probability that a randomly selected student studies Mathematics but does
not study Biology.
A student is selected at random,
c) Determine whether the event „studying mathematics‟ is statistically independent of
the event „studying Biology‟.
Solution
230
Mathematics QS 025
Chapter 8: Probability
LECTURE 5 OF 5
TOPIC
:
8.0
PROBABILITY
SUBTOPIC
:
8.2
Conditional Probability
LEARNING OUTCOMES :At the end of the lesson students should be able to:
a) Use of Venn diagrams, tree diagrams and table of outcomes to solve probability
problems.
Tree diagrams
A tree diagram consists of a number of branches that illustrate all the possible outcomes of a
sequence of experiments or events where each event can occur in a finite numbers of ways.
P(B|A)
P(A)
A
P(B’|A)
P(A’)
B
B’
P(B|A’)
B
P(B’|A’)
B’
A’
P(A) x P(B|A)  P( A  B)
11
Note :To find the probabilities , you must multiply along the branches and add between the
branches.
Example 1
A bag contains 8 balls, 5 yellow and 3 red. A ball is drawn at random without replacement.
Another draw is made. What is the probability :
(a)
that both balls are red?
(b)
that the balls are not of the same colour?
Solution
231
Mathematics QS 025
Chapter 8: Probability
Example 2
There are 12 red balls and 8 green balls in a bucket. Two balls are taken out in sequence
without replacement. By using a tree diagram, find the probability that
(a)
the first ball is red
(b)
the second one is red if the first is red
(c)
the second one is red if the first is green
(d)
the second one is red
(e)
the first one is red if the second is red
Solution
232
Mathematics QS 025
Chapter 8: Probability
TABLE
Example 3
A survey was made among 200 persons whether or not to impose the death penalty on
peddlers of pornographic VCD. The table below summarizes the responses.
Man
Lady
Total
Favour
70
30
100
Oppose
30
10
40
Neutral
50
10
60
Find the probability that a person selected at random from these 200 persons is
a) A man or is in favour to impose the death penalty
b) In favour to impose the death penalty or neutral
c) A lady and is opposed to impose the death penalty
Solution
233
Total
150
50
200
Mathematics QS 025
Chapter 8: Probability
Example 4
500 persons (male and female) were asked if they are in favour of or against capital
punishment. Of the 300 males, 125 are in favour, whereas 145 females are against. If a person
is selected at random from these 500 persons, find the following probabilities.
a) In favour
c) Male against
b) In favour given female
d) In favour or female
Are the events „male‟ and „in favour‟ independent? Are they mutually exclusive? Give
explanations.
Solution
234
Mathematics QS 025
Chapter 8: Probability
Example 5
If
a)
b) P( X  Y )'
e)
f)
c)
g)
d)
h)
Solution
235
Download