1. Probability_slides
1. Probability_slides
Probability
February 6, 2021
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 1 / 27
Outline
1 Probability
2 Counting Tools
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 2 / 27
Porbability
Definition
The term probability is a measure of one’s belief in the occurrence of a
future event. Random events cannot be predicted with certainty, but the
relative frequency with which they occur in a long series of trials is often
remarkably stable.
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 3 / 27
Sets Notation
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 4 / 27
Sets Notation
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 5 / 27
Example 1
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 6 / 27
Example 2
At a wedding,
the guests may have ice cream
Figure:
or custard with their dessert. The
Venn diagram shows information
about the choices the guests made.
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 7 / 27
Example 2
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 8 / 27
Probabilistic Model for an Experiment
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 9 / 27
Calculating the Probability of an Event
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 10 / 27
Example 3
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 11 / 27
Example 4
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 12 / 27
Axioms of Probability
1- 0 ≤ P ≤ 1.
2 - P(S) = 1.
3 - If A1 , A2 , · · · , An are disjoint sets then
Pn
P(A1 ∪ A2 ∪ A3 · · · An ) = i=1 P(Ai ).
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 13 / 27
Counting Tools
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 14 / 27
Tools for counting sample points
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 15 / 27
Tools for counting sample points
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 16 / 27
Example 5
Five different books are on a shelf. In how many different ways could you
arrange them?
Solution
The five books can be arranged in 5 · 4 · 3 · 2 · 1 = 5! = 120 ways.
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 17 / 27
Example 6
How many ways can two slices of pizza be chosen from a plate containing
one slice each of pepperoni, sausage, mushroom, and cheese pizza.
Solution
In choosing the slices of pizza, order is not important. This arrangement is
4!
a combination. Thus, we need to find C24 = 2!(4−2)! = 6 ways.
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 18 / 27
Example 7
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 19 / 27
Example 7: Solution
1 First note that the order of the children in the committee does not
matter. From 12 girls we can choose C312 different groups of three
girls. From the 10 boys we can choose C210 different groups. Thus, the
total number of committee is
= C312 × C210
= 9900
2 The total number of committees of 5 is C522 = 26334. Using part (a),
the probability that a committee of five will consist of 3 girls and 2
C 12 ×C 10 9900
boys to be 3 C 22 2 = 26334 = 0.3759
5
3 The number of ways to choose 5 girls from the 12 girls in the class is
C010 × C512 = C512 ) = 792
4 The probability that a committee of five consists only of girls is
C512
C 22
= 0.03
5
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 20 / 27
Conditional Probability and Independence of Events
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 21 / 27
Example 8
A bag contains 6 green balls and 4 blue balls. A ball is chosen at random
from the bag and not replaced. This process is repeated 3 times.
Find the probability that
1 the 3 balls chosen are all green.
2 not all the same colour.
Solution:
1 P(all green)=P(first is green and second is green and third is
green)=P(first is green).P(second is green | first is green). P(third is
green | first and second are green)=6/10*5/9*4/8=0.167
2 P(not all the same color)=1- P(all of the same color)=1-(P(all
green)+P(all
blue))=1-(0.167+4/10*3/9*2/8))=1-(0.167+0.033)=0.8 . Another
Anyof
way other solution?
solving it??
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 22 / 27
Two Laws of Probability
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 23 / 27
Total Probability Law
B B
k-1 k
Figure:
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 24 / 27
Bayes Rule
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 25 / 27
Example 9
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 26 / 27
Example 9: Solution
Maram Salem & Noha Youssef MACT3211: Applied Probability February 6, 2021 27 / 27