Professional Documents
Culture Documents
3- The probability of event A is the sum of the probabilities of all the sample
points in event A.
Thus, if event A were very unlikely to occur, then P(A) would be close to 0. And if
event A were very likely to occur, then P(A) would be close to 1.
Example: 260 bolts are examined as they are produced. Five of them are found to
be defective. On the basis of this information, estimate the probability that a bolt
will be defective
1
Chance is a necessary part of any process to be described by probability or
statistics. Sometimes that element of chance is due partly or even perhaps entirely
to our lack of knowledge of the details of the process.
Axioms of Probability
2
The first axiom says that the outcome of an experiment is always in the sample
space. This is obvious, because by definition the sample space contains all the
possible outcomes of the experiment. The second axiom says that the long-run
frequency of any event is always between 0 and 100%. For an example illustrating
the third axiom, we previously discussed a process that manufactures steel pins, in
which the probability that a pin is too short is 0.02 and the probability that a pin is
too long is 0.03. The third axiom says that the probability that the pin is either too
short or too long is 0.02 + 0.03 = 0.05 Last Equation says that the probability that
an event does not occur is equal to 1 minus the probability that it does occur. For
example, if there is a 40% chance of rain, there is a 60% chance that it does not
rain. Equation two says that it is impossible for an experiment to have no outcome.
Example: The following table presents probabilities for the number of times that a
certain computer system will crash in the course of a week. Let A be the event that
there are more than two crashes during the week, and let B be the event that the
system crashes at least once. Find a sample space. Then find the subsets of the
sample space that correspond to the events A and B. Then find P(A) and P(B).
3
The events ―3 crashes happen‖ and ―4 crashes happen‖ are mutually exclusive.
Therefore, using Axiom 3, we conclude that
P(A) = P(3 crashes happen or 4 crashes happen) = P(3 crashes happen) + P(4
crashes happen) = 0.04 + 0.01 = 0.05
We will compute P(B) in two ways. First, note that Bc is the event that no crashes
happen. Therefore, P(B) = 1- P(Bc)
For a second way to compute P(B), note that B is the event that 1 crash happens or
2 crashes happen or 3 crashes happen or 4 crashes happen. These events are
mutually exclusive. Therefore, using Axiom 3, we conclude that
P(B) = P(1 crash) + P(2 crashes) + P(3 crashes) + P(4 crashes) = 0.30 + 0.05 + 0.04
+ 0.01 = 0.40− P(Bc) = 1 − P(0 crashes happen) = 1 − 0.60 = 0.40
4
Example: An extrusion die is used to produce aluminum rods. Specifications are
given for the length and the diameter of the rods. For each rod, the length is
classified as too short, too long, or OK, and the diameter is classified as too thin,
too thick, or OK. In a population of 1000 rods, the number of rods in each class is
as follows, A rod is sampled at random from this population. What is the
probability that it is
too short?
Solution
We can think of each of the 1000 rods as an outcome in a sample space. Each of
the 1000 outcomes is equally likely. We’ll solve the problem by counting the
number of outcomes that correspond to the event. The number of rods that are too
short is 10 + 3 + 5 = 18. Since the total number of rods is 1000,
Addition Rule: this can be divided into two parts, depending upon whether there is
overlap between the events being combined.
(a) If the events are mutually exclusive, there is no overlap: if one event occurs,
other events cannot occur. In that case the probability of occurrence of one or
5
another of more than one event is the sum of the
probabilities of the separate events. The Addition Rule
corresponds to a logical or and gives a sum of separate
probabilities
(b) If the events are not mutually exclusive, there can be
overlap between them.
This can be visualized using a Venn diagram. The probability of overlap
must be subtracted from the sum of probabilities of the separate events (i.e.,
we must not count the same area on the Venn Diagram twice) The circle
marked A represents the probability
(or frequency) of event A, the circle marked B
represents the probability (or frequency) of event B,
and the whole rectangle represents all possibilities,
so a probability of one or the total frequency. The set consisting of all possible
outcomes of a particular experiment is called the sample space of that
experiment. Thus, the rectangle on the Venn diagram corresponds to the sample
space. An event, such as A or B, is any subset of a sample space
Example
A sample of four electronic components is taken from the output of a production
line. The probabilities of the various outcomes are calculated to be: Pr [0
defectives] = 0.6561, Pr [1 defective] = 0.2916, Pr [2 defectives] = 0.0486, Pr [3
defectives] = 0.0036, Pr [4 defectives] = 0.0001. What is the probability of at least
one defective?
Answer: It would be perfectly correct to calculate as follows:
Pr [at least one defective] = Pr [1 defective] + Pr [2 defectives] + Pr [3
defectives] + Pr [4 defectives] = 0.2916 + 0.0486 + 0.0036 + 0.0001 = 0.3439.
6
but it is easier to calculate instead: Pr [at least one defective] = 1 – Pr [0
defectives] = 1 – 0.6561 = 0.3439 or 0.344.
If the events are not mutually exclusive, there can be overlap between them.
This can be visualized using a diagram. The probability of overlap must be
subtracted from the sum of probabilities of the separate events the circle marked
A represents the probability (or frequency) of event A, the circle marked B
represents the probability (or frequency) of event B, and the whole rectangle
represents all possibilities, so a probability of one or the total frequency. The set
consisting of all possible outcomes of a particular experiment is called the
sample space of that experiment. Thus, the rectangle on the diagram
corresponds to the sample space. An event, such as A or B, is any subset of a
sample space. In solving a problem we must be very clear just what total group
of events we are concerned with—that is, just what is the relevant sample space.
7
If the events being considered are not mutually exclusive, and so there may be
overlap between them, the Addition Rule becomes
Pr [A ∪ B) = Pr [A] + Pr [B] – Pr [A ∩ B]
Multiplication Rule
(a) The basic idea for calculating the number of choices can be described as
follows: Say there are n1 possible results from one operation. For each one of
these, there are n2 possible results from a second operation. Then there are (n1 ×
n2) possible outcomes of the two operations together. In general, the numbers of
possible results are given by products of the number of choices at each step.
Probabilities can be found by taking ratios of possible results
Example
In one case a byte is defined as a sequence of 8 bits. Each bit can be either zero or
one. How many different bytes are possible?
Answer: We have 2 choices for each bit and a sequence of 8 bits. Then the number
of possible results is (2)8 = 256
8
Probability of occurrence of another event. In that case the probability of
occurrence of more than one event together is the product of the probabilities of
the separate events. (This is consistent with the basic idea of counting stated
above.) If A and B are two separate events that are independent of one another, the
Probability of occurrence of both A and B together is given by:
Pr [A ∩ B] = Pr [A] × Pr [B]
Counting Methods
The fundamental principle of counting states that this reasoning can be extended to
any number of operations
Example: When ordering a certain type of computer, there are 3 choices of hard
drive, 4 choices for the amount of memory, 2 choices of video card, and 3 choices
of monitor. In how many ways can a computer be ordered?
9
Permutations
This is the product of the integers from 1 to n. This product can be written with the
symbol n!, read n factorial
10
Example: Five people stand in line at a movie theater. Into how many different
orders can they be arranged?
Example: Five lifeguards are available for duty one Saturday afternoon. There
are three lifeguard stations. In how many ways can three lifeguards be chosen
and ordered among the stations?
Solution
We use the fundamental principle of counting. There are 5 ways to choose a
lifeguard to occupy the first station, then 4 ways to choose a lifeguard to occupy
the second station, and finally 3 ways to choose a lifeguard to occupy the third
station. The total number of permutations of three lifeguards chosen from 5 is
therefore (5)(4)(3) = 60.
11
Example: find the the quartiles Q1, Q2, and Q3 of the following data .
12
Example: find the quartiles Q1, Q2, and Q3 of the following data 20, 30, 25, 23,
22, 32, 36, 18
Solution:
Arrangement q1 = (1/4) x n
= (1/4) x 8 = 2
Q1 = (20+22)x(1/2) = 21
q2 = (2/4) x n
= (2/4) x 8 = 4
Q2 = (23+25)x(1/2) = 24
q3 = (3/4) x n
= (3/4) x 8 = 6
Q3 = (30+32)x(1/2) = 31
13