Introduction To Probability
Introduction To Probability
Probability - an index which measures the chance or likelihood that an event resulting
from a statistical experiment will occur.
* Classical examples include the rolling of a die and the tossing of a coin.
Sample Space (S) - a list of all possible outcomes of an experiment defined in such a
way that exactly one of the elements will occur
Sample Point (x) - refers to each possible outcome or element in the sample space
1. Listing/Roster Method - done by enumerating all the elements of the sample space
2. Defining Property Method - done by choosing a property or characteristic common to
all sample points and then using this common characteristic to define the sample
space
3. Tree Diagram - uses a “tree” to express the sequence of events of an experiment in
chronological order.
Note: The way by which the sample space is defined is not unique for an experiment. It
depends on how an individual defines the sample points of the experiment.
Examples:
1. Define the sample space of the following experiments:
a. Toss a coin two times
b. Toss a coin, roll a die, then toss a coin
c. A product comes out of a production line either as defective or non defective.
Two products are inspected, one at a time.
Page 1 of 12
2. Two ordinary dice are tossed and we define the sample points (denoted by x) to be the
sum of the numbers turning up. Use the defining property method to define the
sample space. Define the sample space if sample points are defined as the difference
between the numbers turning up
Example:
Roll a die and observe the number appearing on the upper face. The following are some
of the possible events:
Events A & B are known as compound events while events C to H are simple events.
Note: If two events cannot happen at the same time, then they are said to be mutually
exclusive events or disjoint events.
3. The complement of A, A’, is the set of all elements not found in A. A’ represents the
event that A will not happen.
Page 2 of 12
4. If we let S be the sample space, then the complement of S (S’) is known as the
impossible event/empty set/null set.
S’ = ; S = S
To be discussed in class:
Venn Diagram representations of the union bet. 2 events, intersection bet. 2 events,
mutually exclusive events, and the complement of an event
Counting Theory - a set of techniques used for identifying the total number of
possibilities of a statistical experiment without enumerating the elements
of the sample space
nT = n1 x n2 x n3 x ...... x nk
Addition Rule - If k outcomes are mutually exclusive, and outcome 1 can be performed
in m1 ways, outcome 2 can be performed in m2 ways, and so on for k
outcomes, then the total number of outcomes is given by:
mT = m1 + m2 + ...... + mk
Examples:
1. Five chips numbered 1 to 5 are in a container. You are asked to get 3 chips from the
container, one at a time. In how many ways can this experiment be performed or how
many possible outcomes are there if sampling is done without replacement? with
replacement?
2. Consider the same problem as in # 1 above but this time, you are to get only one chip
from the container. If the number on the chip is even, you have to roll a die. On the
other hand, if the number on the chip is odd, you have to toss a coin. How many
possible outcomes are there in this experiment?
3. Three boys and three girls are to sit in 6 chairs arranged in a straight line. How many
seating arrangements are possible if:
a. there are no constraints?
b. two girls quarrelling over one guy refuse to sit beside each other?
c. if boys and girls are to alternate?
d. The 3 boys and 3 girls actually form 3 couples. How many seating arrangements
are possible if couples should sit beside each other?
e. How many arrangements are possible if 3 people prefer to be seated together?
Page 3 of 12
b. How many of these 3 digit numbers are even? How many are odd?
c. How many of these numbers are greater than 342?
d. How many of the numbers greater than 342 are even?
e. How many 3 digit numbers can be formed with repetition?
Formula: n
nPr = --------
(n-r)!
Example:
In how many ways can you arrange the 5 letters A, B, C, D and E if you take:
a. 2 letters at a time?
b. 3 letters at a time?
c. 4 letters at a time?
d. all letters at the same time?
Symbol: nCr
Formula: n!
C
n r = -----------
r! (n-r)!
Example:
Consider 3 letters A, B and C. How many combinations of 2 letters are possible?
Examples:
1. In how many ways can we arrange four boys in a round table?
Page 4 of 12
Ans.: (4-1)! = 6 ways
2. In how many ways can we arrange 3 boys and 3 girls in a circular table if:
a. 2 boys hate each other and would not want to sit beside each other? Ans.: 72
b. boys and girls are to alternate? Ans.: 12
c. the 3 boys and 3 girls form 3 couples and they are to sit beside each other?Ans.:16
Formula: n = n!
n1, n2, ..., nk ---------------------
n1! n2! ...... nk!
Examples:
1. In how many ways can we arrange 5 objects, 3 of which are A and 2 are B?
In this problem, we have n=5; n1=3 and n2=2
Enumerating the total number of ways, we have the following:
AAABB BABAA
ABABA BBAAA 5!
AABAB BAAAB Ans. = 10 ways or ---------- = 10 ways
AABBA BAABA 3! 2!
ABBAA ABAAB
2. Given a true-false exam, if you know that 6 of the items have true as answer and 4
have false as answer, in how many ways could you answer the exam?
10!
Ans. = ---------- = 210 ways
6! 4!
Formula: n = n!
n1, n2, ..., nk ---------------------
n1! n2! ...... nk!
Page 5 of 12
Example:
In how many ways can 4 people occupy 2 rooms if 2 people are to occupy each
room?
4!
Ans. = ------- = 6 ways
2! 2!
What if there are no constraints?
Room 1 Room 2
Case 1: 1 3 4!/1!3! = 4 ways
Case 2: 2 2 4!/2!2! = 6 ways
Case 3: 3 1 4!/3!1! = 4 ways
Ans. = 14 ways
Probability - an index which measures the likelihood or chance that an event resulting
from a statistical experiment will occur
Axiom 2: PA = 1 is the certain event or the probability of the entire sample space.
Axiom 4: If the probabilities of events in the sample space are added, the result should
be unity.
n
P (Ei) = 1
i=1
1. Classical Concept - the probabilities of events can be known even w/o data gathering
- used in classical experiments such as the rolling of a die or the
tossing of a coin
n(A) where:
P(A) = -------- n(A) - subset of the sample space pertaining to event A
N N - total sample space
Example:
A coin is tossed 5 times. What is the probability that:
a. exactly 3 heads will occur?
b. at least 2 heads will occur?
Page 6 of 12
2. Relative Frequency - makes use of historical data or survey results to determine
probabilities
fA where:
P(A) = ------- fA - frequency of occurrence of A
fT fT - total number of observations
Probability Rules
3. P(A’) = 1 - P(A)
- probability that event A will not happen
From the Venn Diagram, the probability of the entire sample space can actually be
expressed as:
P(Sample Space) = P(AB’) + P(A’B) + P(AB) + P(A’B’)
Example:
In an office, there are 2 secretaries. The probability that secretary 1 is present in any
given day is 92% while the probability that secretary 2 is present in any given day is
Page 7 of 12
98%. The probability that both will be present in a given day is 91%. In a given day,
what is the probability that:
a. either secretary 1 or secretary 2 is present
b. neither secretary 1 nor secretary 2 is present
c. only secretary 1 is present
d. a secretary is not available to do a job
e. exactly one secretary is absent
Conditional Probability - probability that an event will occur given that some other
event has already occurred
- serves to limit or reduce the sample space
Formula: P(AB)
P(A/B) = --------------
P(B)
Example:
Roll a die twice.
a. What is the probability of getting a 4?
b. What is the probability of getting a 4 given that the other die shows a 5?
P(AB)
P(B/A) = -------------- P(AB) = P(A) * P(B/A)
P(A)
P(AB) = P(A) * P(B) if 2 events are independent of each other, meaning, the
probability of occurrence of event B is not affected by the probability of occurrence of
event A and vice-versa.
Bayes’ Theorem
Instead of being concerned with deducing the consequences arising from a given
hypothesis, Reverend Thomas Bayes concentrated on making hypotheses from the
observation of the consequences. Normally, we are always interested in finding the
P(effect/cause). Bayes’ theorem, on the other hand, tries to find the P(cause/effect).
Page 8 of 12
Example:
There are 3 bins containing red and green pens. Bin 1 contains 4 red pens and 2 green
pens. Bin 2 has 2 red pens and 3 green pens while bin 3 has 6 red pens and 1 green pen.
A red pen was obtained. What is the probability that the red pen obtained was from bin
2? Tool: Use Tree Diagram
Problem Set
1. An experiment consists of rolling a die and then flipping a coin if the number on the
uppermost face of the die is even. If the number is odd, the experiment is stopped.
List the elements of the sample space S.
2. Given: S = ( A, B, C, D, E, F, G, H, I, J) A = (A, C, E, G, I)
B = (B, D, F, H, J) C = (A, B, E, F)
D = (B, H, I, J)
Find:
a. A U D b. A B c. D’ d. (C U D) A’ e. (A U D)’ f. A C D’
3. A service company presently uses 2-ply rated tires and averages 20,000 miles per tire.
XYZ Company sends the service firm two tires to test. Let 0 represent the event that
“a tire lasted 20,000 miles or less” and 1 represent the event that “a tire lasted more
than 20,000 miles.” We define four elementary events as:
A = (0, 0) B = (1, 0) C = (0, 1) D = (1, 1)
and the sample space as S = (0, 0), (1, 0), (0, 1), (1, 1)
The first digit in each element represents the outcome for the first tire and the second
digit represents the outcome for the second tire.
Express the following statements verbally:
a. B U C U D b. (A D)’ c. A U D d. B U C
e. A U D’ f. A’ U D’ g. A D h. A U D’
5. A committee consists of five union and four non-union men. In how many ways can
a subcommittee of six be formed a.) consisting of four union and two non-union men?
b.) consisting of at least three union members?
7. An instructor has written 20 problems. Five of these are so important that she assigns
them to every student. In addition, each student is assigned five other problems. In
how many ways can she assign problems to a student?
Page 9 of 12
8. There are 12 men under consideration for the 5-man Board of Directors of the newly
formed Crunch Candy Corporation. Three of these men are known to be sworn
mutual enemies and if any one of them is on the board, the other two must not be.
a. In how many ways can the Board of Directors be chosen?
b. After its selection, the Board of Directors will elect from its membership a
president and a vice-president, how many possible outcomes are there for such an
election?
9. Staggering into his club’s cloakroom after a hard evening, Tit saw 6 hats on the shelf.
A little later, Tat came into the cloakroom and took a hat that he thought was his. The
next day, each man discovered that he had someone else’s hat. In how many ways
could both Tit and Tat have gotten the wrong hats?
10. Six people are going on a picnic in two cars that will hold 5 and 4 passengers
respectively. How many ways is it possible to transport the six people to the picnic
grounds?
11. A group of 5 boys took their girlfriends with them to a seaside picnic right after their
quiz in QUAMETH.
a. They arrived at the resort late in the afternoon and decided to rent a large cottage
having three rooms with the following maximum allowable number of occupants
per room: 5 persons in the Royal Suite; 4 persons in the De Luxe Suite; and 3
persons in the Standard Suite. Following their parents’ strict advice, the girls did
not sleep in the same room where the boys did. How many possible ways can the
vacationists sleep for the night?
b. The following morning, they went to the kitchen hall and gathered around a
circular table to eat their breakfast. How many ways can they sit around the table
if the couples are to be sitting together?
c. They formed a committee of four persons to prepare lunch. One of the
vacationists was a good cook and it was decided that she should be on the
committee. Two other girls, however, who are always quarreling, should not be
on the committee both at the same time. How many possible committees are
there?
d. Late in the afternoon, to liven up their merienda, they decided to put up a contest.
They have 1st, 2nd and 3rd prizes at stake. How many ways can these prizes be
won?
e. They had to leave before dark so they started to pack up their things. To bid each
other farewell, they shook hands with each other. Of course, the boys did not
shook hands with their own girlfriends; instead they kissed them goodbye. How
many handshakes were there assuming that two persons shook hands with each
other only once?
12. The Slaughter Meat Company has 60 employees. Fifteen are member of the United
Slicers Union, 35 are members of the Brotherhood of Slicers and the remainder are
non-union. In the past week, one member from each union and three non-union men
worked overtime. What is the probability of this particular selection?
Page 10 of 12
13. A box of ten items contains 7 good and 3 defective items. If a sample of two items is
selected, what is the probability that:
a. Both will be good?
b. Both will be defective?
c. At least one will be good?
14. The probability that machine A will break down on a particular day is P(A) = 1/50;
similarly, for machine B, P(B) = 1/100. Assuming independence, on a particular day,
a. What is the probability that both will break down?
b. What is the probability that at most one will break down?
c. What is the probability that neither will break down?
d. What is the probability that one or the other will break down?
e. What is the probability that exactly one will break down?
15. The Guessight Employee Agency administers a Verbal Comprehension test and a
Verbal Reasoning test to each of its applicants. On the Verbal Comprehension test, a
score of above 14 is considered passing and on the Verbal Reasoning test, a score of
19 is considered passing. From the agency’s records, it has been determined that 10%
of the applicants fail the Verbal Comprehension test, 12% fail the verbal reasoning
test and 20% fail at least one of the tests.
a. What is the probability that a randomly selected applicant passes both tests?
b. What is the probability that an applicant will fail in only one of the tests?
c. If an applicant randomly selected passed the Verbal Reasoning test, what is the
probability that he also passed the Verbal Comprehension test?
16. A candidate runs for two political offices, A and B. He assigns 0.30 as the probability
of being elected to both, 0.6 as the probability of being elected to A if he is elected to
B and 0.8 as the probability of being elected to B if he is elected to A.
a. What is the probability of being elected to A?
b. What is the probability of being elected to B?
c. What is the probability of being elected to neither?
d. What is the probability of being elected to at least one of the offices?
e. What is the probability of being elected to exactly one office?
17. Graduation exercises are to be held outdoors on Thursday if it does not rain. If it
rains on Thursday, the exercises will be postponed until Friday and held outdoors if it
does not rain and indoors if it rains. The probability that it would rain on Thursday is
0.4 and the probability it will not rain on Friday if it rains on Thursday is 0.6. Find
the probability that the exercises will be held outdoors.
18. Job candidates are screened by means of preliminary interview. The probability is 0.7
that a screened candidate will be a good worker. Screened candidates are given a test.
If the candidate is one who will prove to be a good worker, the probability of his
passing the test is 0.8. If the candidate is one who will prove to be a poor worker, the
probability of his passing the test is 0.3.
Page 11 of 12
a. What is the probability that a screened candidate will be a good worker and pass
the test?
b. What is the probability that a screened candidate will not be a good worker and
will pass the test?
19. A lathe operator needs a certain size fitting to complete a job, but he does not know
its stock number. There are 15 fittings in the stock room of which 8 are the correct
size. The lathe operator orders 5 fittings to be picked at random from the stock room.
a. What is the probability that at least one of the five will be the correct size?
b. What is the probability that exactly two are of the correct size?
20. An ordinary die is tossed once. If a 1 appears, a ball is drawn from Urn 1. If a 2, 3 or
4 appears, a ball is drawn from Urn 2; otherwise, a ball is drawn from Urn 3. Urn 1
contains 5 white, 3 green and 2 red balls. Urn 2 contains 1 white, 6 green and 3 red
balls. Urn 3 contains 3 white, 1 green and 6 red balls.
a. What is the probability that a red ball is drawn?
b. What is the probability that Urn 2 is selected if a red ball is drawn?
21. The Wash White Company has 3 machines (A, B and C) that produces the same part.
Machine A produces 60% of the total volume and produces 80% acceptable parts and
20% rejects. Machine B and C each produce 20% of the total volume. Machine B
produces 60% acceptable parts and 40% rejects. Machine C produces 50%
acceptable parts and 50% rejects. Three elements were sampled from a production lot
and all were found to be acceptable. What is the probability that the samples were
produced by Machine A?
22. The probability that an airplane accident which is due to structural failure is
diagnosed correctly is 0.9 and the probability that an airplane accident which is not
due to structural failure is diagnosed incorrectly as being due to structural failure is
0.4. If 25% of all airplane accidents are due to structural failures, find the probability
that an accident is due to structural failure, given that it has been diagnosed as being
due to structural failure.
23. In a study of past records, it has been found that 10% of all shirts manufactured had
an imperfection in them. Two persons are hired to inspect the shirts before they are
shipped from the factory. The probability that an inspector will misclassify a shirt is
5%. Consider the decision of the inspectors as independent.
a. If it is decided to class as imperfect any shirt which either or both inspectors
rejects, what is the probability that if a shirt is classified as good, it is actually
imperfect?
b. If it is decided to class as imperfect only the shirts that both inspectors reject,
what is the probability that a shirt classified as imperfect is actually imperfect?
c. Assuming the criterion in a., what is the probability that a shirt which was
classified by inspector 1 as imperfect is actually imperfect?
Page 12 of 12