Exercises 05

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!