




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































1 Probability
Complementary reading: Chapter 2 (WMS).
TERMINOLOGY : The text defines probability as a measure of one’s belief in the occurrence of a future event. It is also sometimes called “the mathematics of uncertainty.”
EVENTS : Here are some events we may wish to assign probabilities to:
ASSIGNING PROBABILITIES TO EVENTS : How do we assign probabilities to events? There are three general approaches.
TERMINOLOGY : In probability applications, it is common to perform some random experiment and then observe an outcome. The set of all possible outcomes for an experiment is called the sample space, hereafter denoted by S.
Example 1.2. The Michigan state lottery calls for a three-digit integer to be selected:
S = { 000 , 001 , 002 , ..., 998 , 999 }. §
Example 1.3. An industrial experiment consists of observing the lifetime of a certain battery. If lifetimes are measured in hours, the sample space could be any one of
S 1 = {w : w ≥ 0 } S 2 = { 0 , 1 , 2 , 3 , ..., } S 3 = {defective, not defective}. §
MORAL: Sample spaces are not unique; in fact, how we define the sample space has a direct influence on how we assign probabilities to events.
TERMINOLOGY : A countable set A is one whose elements can be put into a one-to- one correspondence with N = { 1 , 2 , ..., }, the set of natural numbers (i.e., there exists an injection with domain A and range N ). A set that is not countable is called an uncountable set.
TERMINOLOGY : Countable sets can be further divided up into two types. A count- ably infinite set has an infinite number of elements. A countably finite set has a finite number of elements.
TERMINOLOGY : Suppose that S is a nonempty set. We say that A is a subset of S, and write A ⊂ S (or A ⊆ S), if ω ∈ A ⇒ ω ∈ S.
In probability applications, S will denote a sample space, A will represent an event to which we wish to assign a probability, and ω usually denotes a possible experimental outcome. If ω ∈ A, we would say that “the event A has occurred.”
TERMINOLOGY : The null set, denoted as ∅, is the set that contains no elements.
TERMINOLOGY : The union of two sets is the set of all elements in either set or both. We denote the union of two sets A and B as A ∪ B. In ω notation,
A ∪ B = {ω : ω ∈ A or ω ∈ B}.
TERMINOLOGY : The intersection of two sets A and B is the set containing those elements which are in both sets. We denote the intersection of two sets A and B as A ∩ B. In ω notation, A ∩ B = {ω : ω ∈ A and ω ∈ B}.
EXTENSION : We can extend the notion of unions and intersections to more than two sets. Suppose that A 1 , A 2 , ..., An is a finite sequence of sets. The union of these n sets is
⋃^ n j=
Aj = A 1 ∪ A 2 ∪ · · · ∪ An = {ω : ω ∈ Aj for at least one j},
and the intersection of the n sets is ⋂^ n j=
Aj = A 1 ∩ A 2 ∩ · · · ∩ An = {ω : ω ∈ Aj for all j}.
EXTENSION : Suppose that A 1 , A 2 , ... is a countable sequence of sets. The union and intersection of this infinite collection of sets is ⋃^ ∞ j=
Aj = {ω : ω ∈ Aj for at least one j} ⋂^ ∞ j=
Aj = {ω : ω ∈ Aj for all j}.
Example 1.4. Define the sequence of sets Aj = [1, 1 + 1/j), for j = 1, 2 , ...,. Then,
⋃^ ∞ j=
Aj = [1, 2) and
j=
Aj = { 1 }. §
IMPORTANT RESULTS : The following results are important properties of the prob- ability set function P (·), and each follows from the Kolmolgorov Axioms (those just stated). All events below are assumed to be subsets of S.
Example 1.5. The probability that train 1 is on time is 0.95, and the probability that train 2 is on time is 0.93. The probability that both are on time is 0.90.
(a) What is the probability that at least one train is on time? Solution: Denote by Ai the event that train i is on time (for i = 1, 2). Then,
P (A 1 ∪ A 2 ) = P (A 1 ) + P (A 2 ) − P (A 1 ∩ A 2 ) = 0.95 + 0. 93 − 0 .90 = 0. 98. §
(b) What is the probability that neither train is on time? Solution: By DeMorgan’s Law
P (A 1 ∩ A 2 ) = P (A 1 ∪ A 2 ) = 1 − P (A 1 ∪ A 2 ) = 1 − 0 .98 = 0. 02. §
EXTENSION : The inclusion-exclusion formula can be extended to any finite sequence of sets A 1 , A 2 , ..., An. For example, if n = 3,
P (A 1 ∪ A 2 ∪ A 3 ) = P (A 1 ) + P (A 2 ) + P (A 3 ) − P (A 1 ∩ A 2 ) − P (A 1 ∩ A 3 ) − P (A 2 ∩ A 3 ) + P (A 1 ∩ A 2 ∩ A 3 ).
In general, the inclusion-exclusion formula can be written for any finite sequence:
P
( (^) ⋃n
i=
Aj
∑^ n i=
P (Ai) −
i 1 <i 2
P (Ai 1 ∩ Ai 2 ) +
i 1 <i 2 <i 3
P (Ai 1 ∩ Ai 2 ∩ Ai 3 ) − · · · + (−1)n+1P (Ai 1 ∩ Ai 2 ∩ · · · ∩ Ain ).
Of course, if the sets A 1 , A 2 , ..., An are disjoint, then we arrive back at
P
( (^) ⋃n
i=
Ai
∑^ n i=
P (Ai),
a result implied by Axiom 3.
TERMINOLOGY : If a sample space for an experiment contains a finite or countable number of sample points, we call it a discrete sample space.
RESULT : Suppose a discrete sample space S contains N < ∞ sample points, each of which are equally likely. If the event A consists of na sample points, then P (A) = na/N. Proof. Write S = E 1 ∪ E 2 ∪ · · · ∪ EN , where Ei corresponds to the ith sample point; i = 1, 2 , ..., N. Then,
1 = P (S) = P (E 1 ∪ E 2 ∪ · · · ∪ EN ) =
i=
P (Ei).
Now, as P (E 1 ) = P (E 2 ) = · · · = P (EN ), we have that
1 =
i=
P (Ei) = N P (E 1 ),
and, thus, P (E 1 ) = (^) N^1 = P (E 2 ) = · · · = P (EN ). Without loss of generality, take A = E 1 ∪ E 2 ∪ · · · ∪ Ena. Then,
P (A) = P (E 1 ∪ E 2 ∪ · · · ∪ Ena ) =
∑^ na i=
P (Ei) =
∑^ na i=
N =^ na/N.^ §
1.6.1 The multiplication rule
MULTIPLICATION RULE : Consider an experiment consisting of k ≥ 2 “stages,” where
n 1 = number of ways stage 1 can occur n 2 = number of ways stage 2 can occur ... nk = number of ways stage k can occur
Then, there are (^) k ∏ i=
ni = n 1 × n 2 × · · · × nk
different outcomes in the experiment.
Example 1.7. An experiment consists of rolling two dice. Envision stage 1 as rolling the first and stage 2 as rolling the second. Here, n 1 = 6 and n 2 = 6. By the multiplication rule, there are n 1 × n 2 = 6 × 6 = 36 different outcomes. §
Example 1.8. In a field experiment, I want to form all possible treatment combinations among the three factors:
Factor 1: Fertilizer (60 kg, 80 kg, 100kg: 3 levels) Factor 2: Insects (infected/not infected: 2 levels) Factor 3: Temperature (70F, 90F: 2 levels).
Here, n 1 = 3, n 2 = 2, and n 3 = 2. Thus, by the multiplication rule, there are n 1 ×n 2 ×n 3 = 12 different treatment combinations. §
Example 1.9. Suppose that an Iowa license plate consists of seven places; the first three are occupied by letters; the remaining four with numbers. Compute the total number of possible orderings if
(a) there are no letter/number restrictions. (b) repetition of letters is prohibited. (c) repetition of numbers is prohibited. (d) repetitions of numbers and letters are prohibited.
Answers: (a) 26 × 26 × 26 × 10 × 10 × 10 × 10 = 175, 760 , 000 (b) 26 × 25 × 24 × 10 × 10 × 10 × 10 = 156, 000 , 000 (c) 26 × 26 × 26 × 10 × 9 × 8 × 7 = 88, 583 , 040 (d) 26 × 25 × 24 × 10 × 9 × 8 × 7 = 78, 624 , 000
1.6.2 Permutations
TERMINOLOGY : A permutation is an arrangement of distinct objects in a particular order. Order is important.
PERMUTATIONS : With a collection of n distinct objects, we want to choose and per- mute r of them (r ≤ n). The number of ways to do this is
Pn,r ≡ (^) (n n−! r)!.
The symbol Pn,r is read “the permutation of n things taken r at a time.” Proof. Envision r slots. There are n ways to fill the first slot, n − 1 ways to fill the second slot, and so on, until we get to the rth slot, in which case there are n − r + 1 ways to fill it. Thus, by the multiplication rule, there are
n(n − 1) · · · (n − r + 1) = (^) (n −n! r)!
different permutations. §
Example 1.12. With a group of 5 people, I want to choose a committee with three members: a president, a vice-president, and a secretary. There are
P 5 , 3 = (^) (5 −5! 3)! =^1202 = 60
different committees possible. Here, note that order is important. For any 3 people selected, there are 3! = 6 different committees possible. §
Example 1.13. In an agricultural experiment, we are examining 10 plots of land; however, only four can be used in an experiment run to test four new (different) fertilizers. How many ways can I choose these four plots and then assign fertilizers? Solution: There are P 10 , 4 = (^) (1010! − 4)! = 5040
different permutations. Here, we are assuming fertilizer order is important.
(a) What is the probability of observing the permutation (7, 4 , 2 , 6)? (b) What is the probability of observing a permutation with only even-numbered plots?
Answers: (a) 1/5040; (b) 120/5040.
CURIOSITY : What happens if the objects to permute are not distinct?
Example 1.14. Consider the word P EP P ER. How many permutations of the letters are possible? Trick: Initially, treat all letters as distinct objects by writing, say,
P 1 E 1 P 2 P 3 E 2 R.
With P 1 E 1 P 2 P 3 E 2 R, there are 6! = 720 different orderings of these distinct objects. Now, we recognize that there are
3! ways to permute the P s 2! ways to permute the Es 1! ways to permute the Rs.
Thus, 6! is 3! × 2! × 1! times too large, so we need to divide 6! by 3! × 2! × 1!; i.e., there are 6! 3! 2! 1! = 60 possible permutations. §
MULTINOMIAL COEFFICIENTS : Suppose that in a set of n objects, there are n 1 that are similar, n 2 that are similar, ..., nk that are similar, where n 1 + n 2 + · · · + nk = n. The number of permutations (i.e., distinguishable permutations, in the sense that the objects are put into distinct groups) of the n objects is given by the multinomial coefficient ( (^) n n 1 n 2 · · · nk
≡ (^) n 1! n 2 !n !· · · nk!.
NOTE : Multinomial coefficients arise in the algebraic expansion of the multinomial ex- pression (x 1 + x 2 + · · · + xk); i.e.,
(x 1 + x 2 + · · · + xk)n^ =
D
n! n 1! n 2! · · · nk! x
n 1 1 xn 2 2 · · · xn k k,
where D =
(n 1 , n 2 , ..., nk) : ∑^ k j=
ni = n
Let na denote the number of ways that A can occur. We find na, again, by using the multiplication rule.
Stage 1 Pick adjacent slots for W 1 , W 2 , W 3 , W 4 n 1 = 6 Stage 2 With the four chosen slots, permute W 1 , W 2 , W 3 , W 4 n 2 = 4! Stage 3 With remaining 5 slots, permute B 1 , B 2 , Y 1 , Y 2 , Y 3 n 3 = 5!
Thus, na = 6 × 4! × 5! = 17280. Finally, since we have equally likely outcomes, P (A) = na/N = 17280/9! ≈ 0 .0476. §
1.6.3 Combinations
COMBINATIONS : Given n distinct objects, the number of ways to choose r of them (r ≤ n), without regard to order, is given by
Cn,r =
(n r
≡ (^) r! (nn −! r)!.
The symbol Cn,r is read “the combination of n things taken r at a time.” By convention, 0! = 1.
Proof : Choosing r objects is equivalent to breaking the n objects into two distiguishable groups:
Group 1 r chosen Group 2 (n − r) not chosen.
There are Cn,r = (^) r!(nn−!r)! ways to do this. §
REMARK : We will adopt the notation (nr^ ), read “n choose r,” as the symbol for Cn,r. The terms (nr^ )^ are often called binomial coefficients since they arise in the algebraic expansion of a binomial; viz.,
(x + y)n^ = ∑^ n r=
(n r
xn−ryr.
Example 1.17. Return to Example 1.12. Now, suppose that we only want to choose 3 committee members from 5 (without designations for president, vice-president, and secretary). Then, there are ( 5 3
different committees. §
NOTE : From Examples 1.12 and 1.17, one should note that
Pn,r = r! × Cn,r.
Recall that combinations do not regard order as important. Thus, once we have chosen our r objects (there are Cn,r ways to do this), there are then r! ways to permute those r chosen objects. Thus, we can think of a permutation as simply a combination times the number of ways to permute the r chosen objects.
Example 1.18. A company receives 20 hard drives. Five of the drives will be randomly selected and tested. If all five are satisfactory, the entire lot will be accepted. Otherwise, the entire lot is rejected. If there are really 3 defectives in the lot, what is the probability of accepting the lot?
Solution: First, the number of sample points in S is given by
N =
Let A denote the event that the lot is accepted. How many ways can A occur? Use the multiplication rule.
Stage 1 Choose 5 good drives from 17 (^175 ) Stage 2 Choose 0 bad drives from 3 (^30 )
By the multiplication rule, there are na = (^175 )^ × (^30 )^ = 6188 different ways A can occur. Assuming an equiprobability model (i.e., each outcome is equally likely), P (A) = na/N = 6188/ 15504 ≈ 0 .399. §