COMP 2711H: Lecture 11
Date: 2024-09-25 09:07:42
Reviewed: 2024-10-07 04:09:42
Topic / Chapter: Pigeonhole Principle
summary
❓Questions
Notes
Pigeonhole Principle
Problems
-
Problem 1: Squares
- squares
-
Problem 2: Handshake
- people: attend party
- some: shake hands
- let : no. of handshake person has made
- show: (even)
- trivial as there always exist
- show: there are two people
-
- different holes, for people
- however, we can
- case 1:
- i.e. for every
- as one person didn't shook hands with anyone
- with people left: there exists at least one hole with 2 or more people
- as there is a person in hole in the first place
- case 2:
- i.e. for every
- hole for people: must be double count!
-
-
Problem 3
- show that:
- let
-
- infinite set!
- actually: you can have of them
- but, as it's infinite set, there are infinite such solutions
- infinite set!
-
- there must be at least 1 collision in numbers
- then:
- 👨🏫 size of : doesn't matter
- show that:
-
Problem 4
- show that
- grid,
- goal: to make every row, column, and diagonal: has different sum
- is this doable?
- there are possible sum:
- but there are 8 numbers: for row, column, and diagonal
- thus, there must be at least one collision
- show that
-
Problem 5
- for a set of integers
- attempt 1
- subsets of
- : (non-empty)
- :
- while it shows: there exists a collision
- doesn't show that
- also, if
- and
- then : solution to this problem
- attempt 2
- enumerating:
- i.e.
- when
- there are two subsets
- s.t.
- then,
- however: works only if empty set is included
- not considering an empty set:
- for a set of integers
-
Problem 6
- problem
- let ;
- show that there are two disjoint non-empty proper subsets of
- w/ the same sum
- rules
- how many proper subsets:
- i.e.: we have 1022 pigeons
- and there must be at least 2 non-empty proper subsets w/ same sum
- as
- disjoint part:
- if
- then
- as you can subtract the same number
- if
- problem
-
Problem 7
- 15 people w/ 100 coins in total;
- show: two of them have the same number of coins
- if each person has different no. of coins:
- thus min:
- two: forced to have the same no. of coins
- 15 people w/ 100 coins in total;
-
Problem 8
- football team w/ 20 games
- scores in all of them
- team: scores goals in total
- show: there is a sequence of conseq. games s.t. the team has scored:
- exactly 9 goals
- 👨🏫 problem w/ bunch of numbers: either induction / pigeon hole
- : no. of goals in -th game
- ;
- 30 different values:
- prove: s.t.
- and all : distinct as
- for all
- and all : distinct as
- let's try to avoid having difference
- intuition: for each choice, you lose at least 1 choice
- e.g. if you choose , then you can't choose
- alternatively: you can "pair" numbers up s.t.
- you can choose at most one number from them
- e.g. and
- intuition: for each choice, you lose at least 1 choice
- 👨🏫 is there a more elegant way?
- let , another
- , another
- , another
- ...
- , another
- there are 40 numbers on left & right combined
- where we have 30 possibilities
- however: we must choose those two numbers from different sides
- let , another
- football team w/ 20 games
-
Problem 9
- let and
- prove that there exists four different no. s.t.
- s.t.
- alternatively:
- 👨🏫 preferable as subtraction has less variety than addition
- , so there are pairs
- if
- we have:
- so there exists at least two pairs:
- s.t. their difference: same
- as
- yet, we want for distinct numbers
- while can be true
- then, we can eliminate pairs with duplicated value
- if , then we can eliminate either
- or
- but if at the same time
- thus solution discovered
- if , then we can eliminate either
- prove that there exists four different no. s.t.
- let and
-
Problem 10
- 6 candidates for president
- every pair of candidates: either friends or enemies
- show, there are 3 candidates friend to each other
- or enemy with each other
- 👨🏫 can be represented as a graph, with edge being different color
- statement claims: there exists at least 1 all-blue or all-red triangle
- choose 1 candidate
- 6 candidates for president
-
Problem 10+
- IMO 1964
- 17 people correspond: by mail with each other: one with all the rest
- only three topics are discussed
- each pair of correspondents: deal with 1 of these topics
- prove: that there are at least tree people, writing to each other, about the same topic
- choose 1 candidate
- among mails, at least should have the same topic
- a
- what if: four different..?
- 17 people correspond: by mail with each other: one with all the rest
- also: HW
- IMO 1964