Solving the Pigeonhole Problem with f(x) for n Elements

  • Thread starter Thread starter endeavor
  • Start date Start date
endeavor
Messages
174
Reaction score
0

Homework Statement


Let f be a one-to-one function from X = {1,2,...n} onto X. Let f k = f(f(f(...f(x))) be the k-fold composition of f with itself. Show that there are distinct positive integers i and j such that f i (x) = f j (x) for all x in X.


Homework Equations


pigeonhole principle?


The Attempt at a Solution


The section is on counting and the pigeonhole principle. But I'm not sure how to start this one.
 
Physics news on Phys.org
Pigeonhole principle, yes. There are only a finite number of possible functions from X->X, yes? There are an infinite number of k's in the set of functions {f^k} for all k. That's a finite number of pigeonholes for an infinite number of k's. Two of the k's must be the same function.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top