Discrete Mathematical
Structures
Lecture 06
Techniques of Counting
• The number of possible outcomes of a particular event or the number of
elements in a set.
• Such sophisticated counting is sometimes called combinatorial analysis.
• It includes the study of permutations and combinations.
• Sum Rule Principle:
๐‘†๐‘ข๐‘๐‘๐‘œ๐‘ ๐‘’ ๐‘ ๐‘œ๐‘š๐‘’ ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก ๐ธ ๐‘๐‘Ž๐‘› ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘–๐‘› ๐‘š ๐‘ค๐‘Ž๐‘ฆ๐‘  ๐‘Ž๐‘›๐‘‘ ๐‘Ž ๐‘ ๐‘’๐‘๐‘œ๐‘›๐‘‘ ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก ๐น
๐‘๐‘Ž๐‘› ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘–๐‘› ๐‘› ๐‘ค๐‘Ž๐‘ฆ๐‘ , ๐‘Ž๐‘›๐‘‘ ๐‘ ๐‘ข๐‘๐‘๐‘œ๐‘ ๐‘’ ๐‘๐‘œ๐‘กโ„Ž ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก๐‘  ๐‘๐‘Ž๐‘›๐‘›๐‘œ๐‘ก ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘ ๐‘–๐‘š๐‘ข๐‘™๐‘ก๐‘Ž๐‘›๐‘’๐‘œ๐‘ข๐‘ ๐‘™๐‘ฆ.
๐‘‡โ„Ž๐‘’๐‘› ๐ธ ๐‘œ๐‘Ÿ ๐น ๐‘๐‘Ž๐‘› ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘–๐‘› ๐‘š + ๐‘› ๐‘ค๐‘Ž๐‘ฆ๐‘ .
• Product Rule Principle:
๐‘†๐‘ข๐‘๐‘๐‘œ๐‘ ๐‘’ ๐‘กโ„Ž๐‘’๐‘Ÿ๐‘’ ๐‘–๐‘  ๐‘Ž๐‘› ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก ๐ธ ๐‘คโ„Ž๐‘–๐‘โ„Ž ๐‘๐‘Ž๐‘› ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘–๐‘› ๐‘š ๐‘ค๐‘Ž๐‘ฆ๐‘  ๐‘Ž๐‘›๐‘‘, ๐‘–๐‘›๐‘‘๐‘’๐‘๐‘’๐‘›๐‘‘๐‘’๐‘›๐‘ก ๐‘œ๐‘“
๐‘กโ„Ž๐‘–๐‘  ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก, ๐‘กโ„Ž๐‘’๐‘Ÿ๐‘’ ๐‘–๐‘  ๐‘Ž ๐‘ ๐‘’๐‘๐‘œ๐‘›๐‘‘ ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก ๐น ๐‘คโ„Ž๐‘–๐‘โ„Ž ๐‘๐‘Ž๐‘› ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘–๐‘› ๐‘› ๐‘ค๐‘Ž๐‘ฆ๐‘ .
๐‘‡โ„Ž๐‘’๐‘› ๐‘๐‘œ๐‘š๐‘๐‘–๐‘›๐‘Ž๐‘ก๐‘–๐‘œ๐‘›๐‘  ๐‘œ๐‘“ ๐ธ ๐‘Ž๐‘›๐‘‘ ๐น ๐‘๐‘Ž๐‘› ๐‘œ๐‘๐‘๐‘ข๐‘Ÿ ๐‘–๐‘› ๐‘š๐‘› ๐‘ค๐‘Ž๐‘ฆ๐‘ .
Techniques of Counting
Example: Let there be 2 cats and 3 dogs. If you can add them together in a room, how many
Animals would there be in room?
2+3=5
In how many ways we can arrange pairs:
{๐ถ1 , ๐ถ2 , ๐ท1 , ๐ท2 , ๐ท3 } => {๐ถ1 ๐ท1 , ๐ถ1 ๐ท2 , ๐ถ1 ๐ท3 , ๐ถ2 ๐ท1 , ๐ถ2 ๐ท2 , ๐ถ2 ๐ท3 }
Mathematical functions
Mathematical functions
Binomial Coefficients and Pascal’s Triangle
Permutations
Permutations
Permutations with Repetitions
Example
Ordered Samples
Ordered Samples
Example
Combinations
Example
Combination
The pigeonhole principle
Suppose a department contains 13 professors, then two of the professors were born in the
same month
Example
Practice Question