







































































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
ALL THE TOPICS ARE COVERED. LIKE GENERATING FUNCTIONS, ROOK POLYNOMIAL, ETC.
Typology: Slides
1 / 79
This page cannot be seen from the preview
Don't miss anything!
DISCRETE MATHEMATICS AND GRAPH THEORY 25/01/
DISCRETE MATHEMATICS AND GRAPH THEORY 25/01/
PRINCIPLES OF COUNTING Example 1: Suppose there are 16 boys and 18 girls in a class and we wish to select one of these students (either a boy or a girl) as the class representative. The number of ways of selecting a boy is 16 and the number of ways of selecting a girl is 18. Therefore, the number of ways of selecting a student (boy or girl) is 16 + 18 = 34. Example 2: Suppose a Hostel library has 12 books on Mathematics, 10 books on Physics, 16 books on Computer Science and 11 books on Electronics. Suppose a student wishes to choose one of these books for study. The number of ways in which he can choose a book is 12 + 10 + 16 + 11 = 49.
PRINCIPLES OF COUNTING The Product Rule Suppose that two tasks and are to be performed one after the other. If can be performed in different ways, and for each of these ways can be performed in different ways, then both of the tasks can be performed in different ways. More generally, suppose that tasks , , ……. are to be performed in a sequence. If can be performed in different ways and for each of these ways can be performed in different ways, and for each of different ways of performing and in that order, can be performed in different ways, and so on, then the sequence of tasks , , ……. can be performed in ……. different ways.
Example 11. Find the number of 3-digit even numbers with no repeated digits SOLUTION : Here we consider numbers of the form xyz, where each of x, y, z represents a digit under given restrictions. Since xyz has to be even, z has to be 0, 2, 4, 6, or 8. If z is 0, then x has 9 choices and if z is 2, 4, 6 or 8 ( choices) then x has 8 choices. (Note that x cannot be zero). Therefore, z and x can be chosen in (1 × 9) + (4 × 8) = 41 ways. For each of these ways, y can be chosen in 8 ways. Hence, the desired number is 41 × 8 = 328.
Example 12. Find the total number of positive integers that can be formed from the digits 1, 2, 3, 4 if no digit is repeated in any one integer. SOLUTION : We first note that no integer of the required type can contain more than 4 digits. Let s 1 , s 2 , s 3 , s 4 denote the number of integers of the required type containing one, two, three, four digits respectively.
The following are other interpretations of this number: _1) represents the number of ways in which r identical objects can be distributed among n distinct containers.
Example 2. In how many ways can we distribute 10 identical marbles among 6 distinct containers?
Example 7. Find the number of positive integer solutions of the equation we have Let us set The are all non-negative integers.
Example 8. Find the number of integer solutions of Where. (^) Let us set Then are all non-negative integers. When written in terms of y’s, the given equation reads,
EXTENDED PIGEONHOLE PRINCIPLE: - Statement: - If pigeon are assigned to pigeonholes then one of the pigeonholes must contains at least pigeons.
PROBLEMS
1. Show that if you pick any five numbers from the integers 1-8, then two of them must add up to 9. Solution: - Let us first write all the numbers from 1 to 8 as (1,2,3,4,5,6,7,8) Now let's take any 5 numbers from 1 to 8 such as (1,3,4,7,8) As it given that any two of the numbers out of the 5 numbers we have chosen should be equal to sum 9. Let's add every two numbers so that we can get one such pair of numbers whose sum would be 9. Case 1>. 1 + 3 = 4 Case 2>. 3 + 4 = 7 Case 3>. 4 + 7 = 11 Case 4>. 7 + 8 = 15 Case 5>. 8 + 1 = [ 9 ]