

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In my class of Applied Discrete Mathematics, I take lecture note from these slides, hope these lecture slides help other student.The key point in these slides are:Discrete Probability, Complementary Events, Sample Space, Principle of Inclusion-Exclusion, Probability of Event, Possible Outcomes, Positive Integer, Subset of Sample Space, Floor and Ceiling Functions
Typology: Slides
1 / 3
This page cannot be seen from the preview
Don't miss anything!


March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 1
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 2
Everything you have learned about counting constitutes the basis for computing the probability of events to happen. In the following, we will use the notion experiment for a procedure that yields one of a given set of possible outcomes. This set of possible outcomes is called the sample space of the experiment. An event is a subset of the sample space.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 3
If all outcomes in the sample space are equally likely, the following definition of probability applies:
The probability of an event E, which is a subset of a finite sample space S of equally likely outcomes, is given by p(E) = |E|/|S|.
Probability values range from 0 (for an event that will never happen) to 1 (for an event that will always happen whenever the experiment is carried out).
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 4
Example I: An urn contains four blue balls and five red balls. What is the probability that a ball chosen from the urn is blue? Solution: There are nine possible outcomes, and the event “blue ball is chosen” comprises four of these outcomes. Therefore, the probability of this event is 4/9 or approximately 44.44%.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 5
Example II:
What is the probability of winning the lottery 6/49, that is, picking the correct set of six numbers out of 49?
Solution:
There are C(49, 6) possible outcomes. Only one of these outcomes will actually make us win the lottery.
p(E) = 1/C(49, 6) = 1/13,983,
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 6
Let E be an event in a sample space S. The probability of an event –E, the complementary event of E, is given by p(-E) = 1 – p(E). This can easily be shown: p(-E) = (|S| - |E|)/|S| = 1 - |E|/|S| = 1 – p(E). This rule is useful if it is easier to determine the probability of the complementary event than the probability of the event itself.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 7
Complementary Events
Example I: A sequence of 10 bits is randomly generated. What is the probability that at least one of these bits is zero?
Solution: There are 2^10 = 1024 possible outcomes of generating such a sequence. The event –E, “none of the bits is zero” , includes only one of these outcomes, namely the sequence 1111111111.
Therefore, p(-E) = 1/1024.
Now p(E) can easily be computed as p(E) = 1 – p(-E) = 1 – 1/1024 = 1023/1024.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 8
Complementary Events
Example II: What is the probability that at least two out of 36 people have the same birthday? Solution: The sample space S encompasses all possibilities for the birthdays of the 36 people, so |S| = 365^36. Let us consider the event –E (“no two people out of 36 have the same birthday”). –E includes P(365, 36) outcomes (365 possibilities for the first person’s birthday, 364 for the second, and so on). Then p(-E) = P(365, 36)/365^36 = 0.168, so p(E) = 0.832 or 83.2%
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 9
Discrete Probability
Let E 1 and E 2 be events in the sample space S. Then we have:
p(E 1 ∪ E 2 ) = p(E 1 ) + p(E 2 ) - p(E 1 ∩ E 2 )
Does this remind you of something?
Of course, the principle of inclusion-exclusion.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 10
Discrete Probability
Example: What is the probability of a positive integer selected at random from the set of positive integers not exceeding 100 to be divisible by 2 or 5?
Solution: E 2 : “integer is divisible by 2” E 5 : “integer is divisible by 5” E 2 = {2, 4, 6, , 100} |E 2 | = 50 p(E 2 ) = 0.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 11
Discrete Probability
E 5 = {5, 10, 15, , 100} |E 5 | = 20 p(E 5 ) = 0.
E 2 ∩ E 5 = {10, 20, 30, , 100} |E 2 ∩ E 5 | = 10 p(E 2 ∩ E 5 ) = 0.
p(E 2 ∪ E 5 ) = p(E 2 ) + p(E 5 ) – p(E 2 ∩ E 5 ) p(E 2 ∪ E 5 ) = 0.5 + 0.2 – 0.1 = 0.
March 12, 2013 Applied Discrete Mathematics Week 7: Probability Theory 12
Discrete Probability What happens if the outcomes of an experiment are not equally likely? In that case, we assign a probability p(s) to each outcome s∈S, where S is the sample space. Two conditions have to be met: (1): 0 ≤ p(s) ≤ 1 for each s∈S, and (2): ∑s∈S p(s) = 1 This means, as we already know, that (1) each probability must be a value between 0 and 1, and (2) the probabilities must add up to 1, because one of the outcomes is guaranteed to occur.