Session 16
Session 16
Basics Of Counting
© 2016 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED 1
CO -2
Elementary Combinatorics
COI 1 : Basics of Counting , Permutations
COI 1 : Combinations, Enumerations without Repetitions
COI 2 : Enumerations with Repetitions
COI 2 : Enumerations with Constrained Repetitions
COI 3 : Binomial Coefficient , Binomial Theorem and Multinomial
Theorem
COI 3 : Principle of Inclusion and Exclusion
Elementary Combinatorics
•Combinatorics is the branch of
mathematics dealing with
combinations of objects
belonging to a finite set in
accordance with certain
constraints.
Elementary Combinatorics
• For most of the computer applications to problems, one normally
needs to know , at least approximately , how much storage will be
required and about how many operations are necessary in assessing
the length of program execution time and thereby aid in determining
the potential cost of the computation.
• For that purpose we study different methods of computation
• The basic ideas, techniques, and concepts necessary for one to make
an assessment of the amount of storage and work that algorithms
entail is the topic of this elementary combinatorics.
Basics of Counting
Finally 4 + 4 = 8ways
4). In how many ways can we draw a card numbered 2 through 10 ?
Sol :
9 numbered cards are there in each of the 4 suits ( diamonds, spades,
hearts, clubs)
Hence, we can draw a card numbered 2 through 10 in
9 + 9+ 9 +9 = 36 ways
5). In how many ways can we draw a card numbered and a king ?
Sol :
9 numbered cards are there in each of the 4 suits ( diamonds,
spades, hearts, clubs)
9 + 9+ 9 +9 = 36 ways
And 1 card from 4 kings in 4 ways
Finally 36+4 = 40ways
The product rule:
Thus there are 6*6 = 36 outcomes when two dice are rolled.
Example:
How many different license plates are there that
containing exactly three English letters ?
Solution:
There are 26 possibilities to pick the first letter,
then 26 possibilities for the second one, and 26
for the last one.
26 * 26 * 26 * 10 * 10 * 10 * 10
b) How many different plates be manufactured if repetition of letters
and digits are not allowed?
sol : ___ ____
26 * 25 * 24 * 10 * 9 * 8 * 7
C) how many plates are possible if only the letters can be repeated?
Sol :
-------
26 * 26 * 26 * 10*9*8*7
9). how many plates are possible if only the digits can be repeated?
Sol :
-------
26 * 25 *24 * 10 *10*10*10