Professional Documents
Culture Documents
Basics of Probability: He Shuangchi
Basics of Probability: He Shuangchi
Basics of Probability: He Shuangchi
He Shuangchi
Many events cannot be predicted with total certainty. The best we can say
is describing how likely they are to happen. For example, flipping a coin:
There are two possible outcomes, heads and tails.
We flip the coin many times, then we should have heads in around
one half of the flips.
We say that the probability of coin landing heads is 0.5.
Question
If we flip the coin 100 times, shall we get heads 50 times exactly?
number of heads
relative frequency of heads =
number of flips
Probability is the long-run relative frequency that an event happens.
1 1
relative frequency
relative frequency
0.5 0.5
2/10=0.2
0 0
0 10 20 30 40 50 0 200 400 600 800 1000
number of flips number of flips
Definition
The set of all possible outcomes of a random experiment is called the
sample space. We usually denote an outcome by ω and the sample space
by Ω.
Example:
Flip a coin once, Ω = {H, T }.
Roll a die, Ω = {1, 2, 3, 4, 5, 6}.
Flip a coin twice, Ω = {HH, TH, HT , TT }.
Definition
An event A is a subset of the sample space, i.e., A ⊂ Ω. The event A is
said to occur if the outcome ω ∈ A.
Example:
Flip a coin once, Ω = {H, T }. Then, A = {T } is an event.
Roll a die, Ω = {1, 2, 3, 4, 5, 6}. Then,
is an event.
Flip a coin twice, Ω = {HH, TH, HT , TT }. Then,
B A B A B A B
A
of (b) Shaded region (c) Shaded region (d) Shaded region (e) Mutually exclusive
B is A B is A B is A' events
A ∩ B (or AB) A∪B c
A =Ω\A A∩B =∅
Figure 2.1 Venn diagrams
A∪B =B ∪A
A∩B =B ∩A
Associative laws
(A ∪ B) ∪ C = A ∪ (B ∪ C )
(A ∩ B) ∩ C = A ∩ (B ∩ C )
Distributive laws:
(A ∪ B) ∩ C = (A ∩ C ) ∪ (B ∩ C )
(A ∩ B) ∪ C = (A ∪ C ) ∩ (B ∪ C )
Exercise
Prove DeMorgan’s law, or read the proof on page 27.
Remark:
P[A] is the probability that A occurs (or the outcome is in A).
In the rolling-a-die example, F = {∅, {1}, {2}, . . . , {1, 2}, . . . , Ω}.
Proposition
P[∅] = 0
S∞
Let A1 = Ω and A2 = A3 = · · · = ∅. Because Ω = i=1 Ai and the events
are disjoint, then
∞
X ∞
X
P[Ω] = P[Ai ] = P[Ω] + P[Ai ],
i=1 i=2
Proposition
If A1 , . . . , An are pairwise disjoint events, then
n
h[ i Xn
P Ai = P[Ai ]
i=1 i=1
Proposition
P[Ac ] = 1 − P[A]
Proposition
P[A] ≤ 1
Proposition
If A ⊂ B, then P[A] ≤ P[B].
A B
a certain residential suburb, 60% of all households get Internet service from t
al cable company, 80% get television service from that company, and 50% g
h services from that company. If a household is randomly selected, what is t
IE5004 Basics of Probability 15 / 42
Examples
Roll a fair die. Let A = {1, 3, 5}, B = {3, 6}, and C = {2, 4, 6}.
P[A] = 3/6
P[B] = 2/6
P[B c ] = 4/6
P[A ∪ B] = 4/6 and P[A ∩ B] = 1/6
P[A ∪ C ] = 6/6 and P[A ∩ C ] = 0
Then,
P[A] = 1/3.
Suppose that the die was tossed but you has not seen the outcome. You
are told “the outcome is odd.” Then, what is the probability that you has
won?
Definition
For any events A and B with P[B] > 0, the conditional probability of A
given B has occurred is defined by
P[A ∩ B]
P[A|B] = .
P[B]
Exercise
A bin contains 5 defective (that immediately fail when put in use), 10
partially defective (that fails after a couple of hours of use), and 25
acceptable transistors. A transistor is chosen at random from the bin and
put into use. If it does not immediately fail, what is the probability that it
is acceptable?
Since the transistor did not fail immediately, it is not one of the 5
defectives. So the desired probability is
Proposition
P[A ∩ B] = P[A|B]P[B].
Exercise
Ms. Lee figures that there is a 30% chance that her company will set up a
branch office in Singapore. If it does, she is 60% certain that she will be
made manager of this new operation. What is the probability that she will
be a Singapore branch office manager?
P[A∩B]=0.18
Proposition
A1 A3
A4
A2
Exercise
An insurance company believes that people can be divided into two
classes—those that are accident prone and those that are not. Their
statistics show that an accident-prone person will have an accident at
some time within a fixed 1-year period with probability 0.4, whereas this
probability decreases to 0.2 for a non-accident-prone person. If we assume
that 30 percent of the population is accident prone, what is the probability
that a new policy holder will have an accident within a year of purchasing
a policy?
P[A∩B]=0.12
P[A’∩B]=0.14
Proposition
Let A1 , . . . , Ak be disjoint events and A1 ∪ · · · ∪ Ak = Ω. Then, for any
event B with P[B] > 0 and any j = 1, . . . , k,
Exercise
A plane is missing and it is presumed that it was equally likely to have gone
down in any of three possible regions. Let 1 − αi denote the probability
the plane will be found upon a search of the ith region when the plane is,
in fact, in that region. What is the conditional probability that the plane is
in the ith region, given that a search of region 1 is unsuccessful?
For i = 2, 3,
1
P[Ri ∩ E ] P[E |Ri ]P[Ri ] 3 1
P[Ri |E ] = = P3 = α1 1 1
= .
P[E ] i=1 P[E |Ri ]P[Ri ] 3 + 3 + 3
α1 + 2
P[E∩R2]= 1/3
P[E∩R3]= 1/3
Exercise
Only 1 in 1000 adults is afflicted with a rare disease for which a diagnostic
test has been developed. When an individual has the disease, a positive
test result will occur 99% of the time, whereas an individual without the
disease will show a positive test result only 2% of the time. If a randomly
selected individual is tested and the result is positive, what is the
probability that the individual has the disease?
Since
P[A] = P[{HH, HT }] = 1/2 = P[A|B],
B “has nothing to do” with A.
Definition
Two events A and B are independent if P[A|B] = P[A].
P[A ∩ B] P[A]P[B]
P[A|B] = = = P[A].
P[B] P[B]
Proposition
Two events A and B are independent if and only if
P[A ∩ B] = P[A]P[B].
Proposition
If A and B are independent, then so are A and B c .
It follows that
Question
If A and B are independent, are Ac and B c independent?
Definition
Three events A, B, and C are said to be independent if
P[A ∩ B ∩ C ] = P[A]P[B]P[C ]
P[A ∩ B] = P[A]P[B]
P[B ∩ C ] = P[B]P[C ]
P[C ∩ A] = P[C ]P[A]
Exercise
A system composed of n separate components is said to be a parallel
system if it functions when at least one of the components functions. For
such a system, if component i, independent of other components,
functions with probability pi , i = 1, . . . , n, what is the probability the
system functions?
3.8 Independent Events 79
2
A B
3
It is sometimes the case that the probability experiment under consideration consists of
performing
IE5004 a sequence of subexperiments. For instance, if the experiment consists
Basics of Probability 39 /of
42
Solution
mesExercise
in B; A has occurred if and only if one of the outcome
ed,Prove
so the
theaboveconditional
proposition. probability of A given B is pr
proportionality constant 1/P(B) is used to ensure that t
IE5004 Basics of Probability 41 / 42
Homework
Reading assignment
Study Chapters 1.1–1.4 on your own
Read Chapters 2.1–2.5
Read Chapters 3.1–3.5
Exercise problems
1.1, 1.10, 1.19, 1.21, 1.22
2.10, 2.18, 2.20, 2.23
3.1, 3.17, 3.43, 3.49, 3.52