METU DEPARTMENT OF MATHEMATICS Math 112 Discrete Mathematics Exercise 5 1) In a bag there are 5 yellow balls labeled π¦1 , π¦2 , π¦3 , π¦4 , π¦5 and 4 blue balls labeled π1 , π2 , π3 , π4 . First a ball is drawn randomly and put in a box, then a second ball and then a third ball is drawn and put in the same box. a) For three balls in the box, how many diffferent configurations are there? b) In how many configurations there are three yellow balls? A yellow and two blue balls? Two yellow balls and a blue ball? Three blue balls? c) If three balls are drawn at once, instead of being picked one by one, how would you answers the above parts? 2) In a bag there are 5 yellow and 4 blue balls. All the balls, except their colors, are identical. Three balls are drawn and put in a box. a) For three balls in the box, how many diffferent configurations are there? b) In how many configurations there are three yellow balls? A yellow and two blue balls? Two yellow balls and a blue ball? Three blue balls? 3) Let π = {1,2,3, β¦ ,30} and π = {1,2,3, β¦ ,10}. Find the number of functions π: π β π such that for any π¦ β π, |{π₯ β π|π(π₯) = π¦}| = 3. 4) Let π΄ be a finite set with |π΄| = π. a) Find the number of reflexive relations defined on π΄. b) Find the number of symmetric relations defined on π΄. c) Find the number of reflexive and symmetric relations defined on π΄. d) Find the number of anti-symmetric relations defined on π΄. 5) Let π = {1,2,3, β¦ ,15} and π = {1,2,3,4,5}. Find the number of functions π: π β π such that for any π¦ β π, |{π₯ β π|π(π₯) = π¦}| = π¦. 6) Find the number of ways of arranging 5 blue and 10 yellow balls in a row so that a) there is at least one ball between any two blue balls, b) there are at least two balls between any two blue balls. 7) Find the number of ways of arranging 5 blue, 5 yellow and 5 white balls in a row so that a) there is at least one ball between any two blue balls, b) there are at least two balls between any two blue balls. 8) Find the number of distributing 5 orange candies and 5 lemon candies to 2 children. 9) Find the number of distributing 5 orange candies and 5 lemon candies to 2 children so that each child receives at least one candy. 10) In how many different ways can 11 schoolboys be separated in 4 groups of different sizes? 11) In how many different ways can 13 schoolboys be separated in 4 groups of different sizes? Answers 1) 2) a) (39) = 84 b) 10, 40, 30, 4 c) The same a) 4 b) 1, 1, 1, 1 30! 3) 4) 3!10 a) b) c) d) 7) 2 π(π+1) 2 2 π(πβ1) 2 3 π(πβ1) 2 15! 5) 6) 2π(πβ1) 5!4!3!2! a) (11 ) 5 b) (75) a) (11 )(10 ) 5 5 b) (75)(10 ) 5 8) 36 9) 16 10) 11) 11! 5!3!2! 13! 2!3!7! + 13! 2!4!6! + 13! 3!4!5!
© Copyright 2024