







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
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
During the study of discrete mathematics, I found this course very informative and applicable.The main points in these lecture slides are:Product Rule, Counting, Sum Rule, Arrangements of Objects, Straightforward Applications, Subtraction Principle, Set Versions, Disjoint Sets, Common Elements, Bit Strings, Complex Counting Problems, Pigeonhole Principle
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!
2
of objects. (Sets, sequences, sebsets, etc.)
Counting relies on two important, but simple principles: the Product Rule and Sum Rule
4
Sum Rule If a procedure can be broken down into a choice of one of I distinct, exhaustive tasks and there are n (^1) ways to accomplish the first, n 2 ways to accomplish the second, etc., then there are n 1 + n 2 + … + n (^) I ways to accomplish the procedure.
Examples: How many subsets of a set of size 3? Let si be the number of subsets of size I So the answer is s 0 + s 1 + s 2 + s 3 = 1 + 3 + 3 + 1 = 8 (You can derive each si with the product rule.)
5
Some problems are straightforward applications of one of these rules. Some problems involve using both rules.
Example: How many 6-8 character passwords containing at least one digit?
7
Subtraction Principle : When using the sum rule, if the subtasks are not distinct, the number of common elements must be subtracted from the sum.
If A and B are sets, then |A ∪ B| = |A| + |B| - |A ∩ B| Don’t double count!!!
Example: How many bit strings of length 8 begin with 1 or end with 00? 2 7 + 2 6 - 2 5 = 128 + 64 -32 = 160.
8
In some complex counting problems, decision trees will be useful. This is most common when the number of steps necessary depends on the choices made.
Example: How many ways are there to have a best- of-3 tournament between two cribbage players?
10
Examples: Among 100 people, at least how many must have been born in the same month?
How many 3-digit area codes are necessary to guarantee unique 10-digit phone numbers for a state with 25 million residents?
11
A permutation of a set of distinct objects is an ordered arrangement (list) of these objects.
elements is given by the product rule P(n,r) = n ⋅ (n-1) ⋅ … ⋅ (n-r+1), or
Example: How many ways to award medals in a race with 8 people?
13
Interesting fact about combinations: for 0 ≤ r ≤ n, C(n,r) = C(n,n-r)
Why? Because when you select a subset, you actually select two subsets at once- those that are chosen and those that aren’t!
Another example: How many ways to select a 22-person All-SEC football team consisting of 11 UGA starters and 1 starter from every other SEC team?