Chapter1 PPT PDF
Chapter1 PPT PDF
Theory
Chapter 1
Fikre Bogale
1/32
Outline
1 Introduction
2 Basic counting principle
3 Permutation and Combinations
2/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Introduction
Combinatory
Combinatory, the study of arrangement of objects, is an
important branch of discrete mathematics.
3/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Introduction
For example:
1 How many four digit identity number can we create?
2 How many four digit password can we create using
numbers 1, 2, 3 and 4?
3 How many possible license plate can exist in Addis
Ababa, Ethiopia?
4 In tossing a die twice, how many possible outcomes can
occur?
4/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Introduction
5/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Sample Space, Event
Sample Space
Sample Space is the set of all possible outcomes of some
given experiment and is denoted by S.
Eg. Experiment: tossing a coin.
S = {H, T }
Event
Event(E) is a set of desired outcomes of an experiment.
Eg. The following are two events of the above experiment
E1 = {T } E2 = {H}
Definition
Two events E1 and E2 are called mutually exclusive if they are
disjoint.
i.e E1 ∩ E2 = ∅, E1 and E2 are mutually exclusive if they
cannot occur simultaneously(or at the same time).
7/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Introduction
Example 1
Experiment: Toss a die and observe the number that appears
on the top. Then find
1 the sample space S,
2 the event E1 that an even number occurs,
3 the event E2 that an odd number occurs,
4 the event E3 that a prime number occurs.
Notation
The number of outcomes of event E is denoted by n(E ).
8/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Basic counting principle
Example
In how many ways a no can be choose from 1 to 22 such that
1 it is a multiple of 3 or 8.
2 it is a multiple of 4 or 7.
9/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Basic counting principle
10/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Basic counting principle
Example
Suppose there are 4 male and 3 female instructors teaching
calculus in AAU. In how many ways can a student choose a
calculus instructor in order to take the course?
Solution
The student faced with two tasks and he/she is forced to
perform either.
n(M) = 3 and n(F ) = 4 number of ways to perform the first
or second task respectively.
By Addition rule, the student can perform the task in,
n(M ∪ F ) = n(M) + n(F ) = 7 ways.
11/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Basic counting principle
Example
In how many ways we can select a number from 1 to 34 which
is a multiple of 5, 7 or 11.
12/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Basic counting principle
Product rule
If a task consists of two separate sub-tasks E and F . If the
first sub-task E can be performed in n(E ) = n1 ways and the
second sub-task F can be performed in n(F ) = n2 ways, then
the entire task can be performed in:
Example
How many two digit numerals can be formed using the
numbers 1, 2, 3, 4 and 5 so that
1 no number is repeated?
2 number is repeated?
13/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Basic counting principle
Example
Suppose a restaurant menu offers a choice of three appetizer,
five main dishes, four desserts, and three beverage. In how
many ways one can order a meal consisting a appetizer, a
main dish, dessert and a beverage?
14/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Summary of Addition and Product rules
Example
Suppose a college has 3 different history courses, 4 different
literature courses, and 2 different sociology courses. Then find
1 the number n of ways a student can choose just one of
the courses,
2 the number m of ways a student can choose one of each
kind of courses
Solution
1 We have to use the addition rule,
n = 3 + 4 + 2 = 9 ways
2 We have to use the product rule,
m = 3(4)(2) = 24 ways
15/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Introduction
Many counting problems can be solved by finding the number
of ways to arrange a specified number of distinct elements of a
set of a particular size, where the order of the elements
matters and does not matter.
For Example
1 In how many ways can we select three students from a
group of five students to stand in line for a picture.
2 How many different committees of three students can be
formed from a group of five students
16/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Permutation
An arrangement of a set of n objects in a given order is called
permutation of the objects (taken all at a time).
r-permutations
An arrangement of any r ≤ n objects in a given order is called
an r −permutation or a permutation of n objects taken r at a
time.
Notation
The number of permutation of n objects taken r at a time
denoted by P(n, r ), nPr ,n Pr or P(nr ).
17/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Example
Consider the set of letters A, B, C and D.
1 ABCD, DCBA, ACDB, · · · are permutation of 4 letters
(taken all at a time)
2 ABC , ACD, BCD, · · · are permutations of the 4 letters
taken 3 at a time.(3−permutation)
3 AB, BC , CD, · · · are permutations of the 4 letters taken 2
at a time.(2-permutation)
Theorem
For a non-negative integers n and r ,
n!
P(n, r ) = = n(n − 1)(n − 2) · · · (n − r + 1)
(n − r )!
18/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Preposition 1(Permutations without repeating objects)
The number of permutations of n different objects taken r at
n!
a time is P(n, r ) =
(n − r )!
Corollary
There are n! permutations of n objects (taken all at a time).
Example
1 Find the number of permutations of 6 objects taken all at
a time.
2 In how many ways can we select three students from a
group of five students to stand in line for a picture?
3 In how many ways can three prizes be given for 100
athletes in a race? 19/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Example
1 How many positive number less than 100 can be formed
using 1, 2, 3?
2 A multiple-choice test has 100 questions with four
possible answers(A, B, C or D) for each question. How
many different sets of 100 answers are possible
3 In how many ways can three awards be given to 50
artists, when each artist is eligible for all awards?
20/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Example
The permutations of 7 letters in the word MISSISSIPPI
Solution
1 n = 11, n1 = 4, n2 = 4 and n3 = 2, then we can form
11!
distinct words.
11!4!4!2!
6!
2 n = 6, n1 = 2 and n2 = 2, then we can form distinct
2!2!
words.
22/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutation and Combinations
Linear arrangements discussed so far, is different from circular.
Example
If three persons invited for dinner they may sit in a row in 6
different ways.
The answer would be different if the gusts were to be seated
around a circular table, which is exactly in 2 different ways.
comparison
Linear Permutation Circular Permutation
Circular Permutations
The number of permutations of n objects around a circle,
taken altogether, is given by (n − 1)!
Example
1 In how many different ways can six ladies be seated at a
round table?
2 In how many ways can four boys and four girls be seated
at a round table for conference so that no two ladies sit
together?
24/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
There are many problems that require us to make a selection
of r objects from the set of n objects without any regard of
the ”order”.
In a permutation, order is taken into consideration, while in
combination problems; the order is of no significance.
Definition
Any subset of r objects selected with complete disregard to
their order from a collection of n different objects is called an
r −combination of the n objects or a combination of n objects
taken r at a time.
Notation
The number of combinations of n objects taken r at a time
n!
denoted by C (n, r ), nCr or (nr ) and equal to .
(n − r )!r !
25/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Example
26/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Example
1 How many committees of three can be formed from eight
people.
2 In how many ways can 11 players be chosen from a group
of 13 players if
1 the players are selected at random?
2 a particular player must be included?
3 a particular player must be excluded?
3 A committee of two Republicans and two Democrats is to
be selected from seven Republicans and nine Democrats.
In how many ways can the committee be formed?
27/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutations and Combinations
Solutions
8!
1 C (8, 3) = = 56 ways
3!5!
2 We are asked to select 11 player from 13 players,
13!
1 C (13, 11) = = 78 ways
11!2!
12!
2 C (12, 10) = = 66 ways
10!2!
12!
3 C (12, 11) = = 12 ways
11!
3 We have two sub-tasks, selecting Republicans and two
Democrats
7! 9!
C (7, 2)C (9, 2) = × = 756 ways
5!2! 2!7!
28/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Permutation and Combination
Complementary Combinations
Two combinations C (n, r ) and C (n, s) are said to be
complementary combinations if r + s = n.
Example
1 C (5, 3) and C (5, 2) are complementary combinations.
2 C (n, r ) and C (n, n − r ) are complementary combinations.
Remarks
Two complementary combinations are equal. That is
(nr ) = (nn−r )
A finite set with n−elements has (nr ) subsets each with
r −elements.
29/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
The Binomial Theorem
The quantities (nr ) are called binomial coefficients in the
expansion of positive integral powers of (x + y )n , where
n ∈ N0 .
Example
1 (x + y )2 = x 2 + 2xy + y 2
2 (x + y )3 = x 3 + 3x 2 y + 3xy 2 + y 3
3 (x + y )4 = x 4 + 4x 3 y + 6x 2 y 2 + 4xy 3 + y 4
Corollary 2
Let n be non-negative integer, then
n
X
n
2 = (nj )
j=0
Corollary 3
Let n be non-negative integer, then
n
X
n
3 = (nj )2j
j=0 31/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
The Binomial Theorem
Example
1 Find the expansion of (x + y )5 .
2 Find the expansion of (x + 2y )4 .
3 What is the coefficient of x 12 y 13 in the expansion of
(x + y )25 .
4 What is the coefficient of x 6 y 3 in the expansion of
(2x − 3y )9
32/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
The Binomial Theorem
Solution
5
(x + y )5 = (5j )x 5−j y j
P
1
j=0
4
(x + 2y )4 = (4j )x 4−j (2y )j
P
2
j=0
25!
3 It is C (25, 12) or (25
13 ) =
12!13!
4 The coefficient is (96 )(2)6 (−3)3
33/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
The Inclusion-Exclusion Principle
34/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
The Inclusion-Exclusion Principle
Inclusion-Exclusion
35/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
The Inclusion-Exclusion Principle
Example
1 How many positive integers not exceeding 1000 are
divisible by 7 or 11.
2 Suppose that in a group of 100 students; 50 taking maths
(M), 40 taking computer science (C), 35 taking
information science (I), 12 taking M and C, 10 taking M
and I, 11 taking C and I and 5 taking all.
1 How many students are taking at least one subject.
2 How many students taking none of the subjects.
Solution
1 n(A∪B) = b1000/7c+b1000/11c−b1000/LCM(7, 11)c =
142 + 90 − 12 = 220
36/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Pigeonhole Principle
37/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Pigeonhole Principle
Example 1
1 Among any group of 367 people, there must be at least
two with the same birthday.
2 In any group of 27 English words, there must be at least
two that begin with the same letter.
3 How many students must be in a class to guarantee that
at least two students receive the same score on the final
exam, if the exam is graded on a scale 0 to 100 points?
38/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Pigeonhole Principle
The Generalized Pigeonhole Principle
If N objects are placed into k boxes, then there is at least one
box containing at least dN/ke objects.
Remark
If dN/ke = r , then N = k(r − 1) + 1
Example 1
1 Among 100 people at least how many people were born in
the same month.
2 What is the minimum number of students required in a
discrete mathematics class to be sure that at least six will
receive the same grade, if there are five possible grades,
A, B, C , D and F ?
39/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Pigeonhole Principle
Solution
1 Since there are 12 months as a boxes. Then at least
dN/5e = 6
N = 5(6 − 1) + 1 = 26
40/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Summary
Basic Counting Principle
Addition Rule
Product Rule
Permutation
Permutation:- arrangement of objects where order has
effect.
Repeated objects
Non-Repeated objects
Arrangement with alike objects
41/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
Summary
Combination
Combinations:- arrangement of objects where order
doesn’t matter.
To find the number of subsets with specific number of
elements.
To find the coefficients of terms in binomial expansion
inclusion-exclusion principle
We have to apply this technique when the sets are not disjoint.
Pigeonhole principle
If we have k + 1 or more objects to place them into k boxes,
we have to apply this method.
42/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1
End
End
43/43
Fikre Bogale Introduction to Combinatorics and Graph Theory Chapter 1