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

  • Thread starter endeavor
  • Start date
In summary, the problem involves a one-to-one function from a finite set onto itself. We need to show that there are at least two distinct positive integers i and j such that the k-fold composition of the function with itself is the same for all values of x in the set. This can be proven using the pigeonhole principle, as there are a finite number of possible functions and an infinite number of possible k's, resulting in some k's being repeated.
  • #1
endeavor
176
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
  • #2
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.
 

1. What is the Pigeonhole Problem?

The Pigeonhole Problem, also known as the Dirichlet's Drawer Principle, is a mathematical concept that states if n+1 objects are placed into n boxes, then at least one box must contain more than one object. This problem is often used to demonstrate the concept of infinite sets and the idea of one-to-one correspondence.

2. How can f(x) be used to solve the Pigeonhole Problem?

f(x) is a function that can be used to map elements in one set to elements in another set. By using f(x), we can show that if there are n+1 elements in one set and only n elements in the other set, there must be at least one element in the first set that maps to the same element in the second set, thus solving the Pigeonhole Problem.

3. Can the Pigeonhole Problem be generalized to more than two sets?

Yes, the Pigeonhole Problem can be generalized to any number of sets. The principle remains the same - if there are more objects than containers, then at least one container must hold more than one object.

4. Are there real-world applications of the Pigeonhole Problem and f(x)?

Yes, the Pigeonhole Problem and f(x) have various real-world applications in fields such as computer science, statistics, and cryptography. For example, in computer science, f(x) can be used to efficiently sort data, while in cryptography, it can be used to prove that a hash function has collisions.

5. What are some potential challenges in solving the Pigeonhole Problem with f(x) for n elements?

One potential challenge is determining the most efficient function to use for solving the problem. Additionally, the size of the sets and the number of elements can impact the complexity of the solution. There may also be cases where there is no one-to-one correspondence between the two sets, making it more difficult to solve the problem using f(x).

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
502
  • Calculus and Beyond Homework Help
Replies
34
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
545
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
32
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
997
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
Back
Top