How Can the Pigeon Hole Principle Be Applied to This Problem?

  • Thread starter Thread starter karthikvs88
  • Start date Start date
  • Tags Tags
    Hole Principle
Click For Summary

Homework Help Overview

The discussion revolves around applying the pigeonhole principle to a problem involving relative prime integers m and n, and integers a and b. The goal is to prove the existence of an integer x that satisfies specific modular conditions.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore the relationships between x, a, b, m, and n, discussing how to express x in terms of these variables. Questions arise regarding the application of the pigeonhole principle and the validity of certain statements about finding integers p and q.

Discussion Status

Some participants express uncertainty about the application of the pigeonhole principle and the correctness of certain mathematical assertions. There is an ongoing exploration of the relationships between the variables and the implications of the gcd condition, with no explicit consensus reached yet.

Contextual Notes

Participants note the need to clarify assumptions and definitions, particularly regarding the relationships between the integers involved and the conditions under which the pigeonhole principle applies.

karthikvs88
Messages
7
Reaction score
0

Homework Statement


Using pigeon hole principle, prove that if m and n are relative prime integers and a and b are any integers, there exists an integer x such that x = a mod m, and x = b mod n.

Homework Equations


none

The Attempt at a Solution


data: m|(x -a) and n|(x-b)
hence we can write, for some integers p and q
x = pn + a and x = qm + b

also, since (m,n) = 1, there are integers i and j such that
im + jn = 1

how do we apply the pigeon hole principle to this problem?
 
Last edited:
Physics news on Phys.org
Hello,
I think I have a solution, but I am not sure, especially because I haven't used the pigeonhole principle:(By the way: Some things you list under data (x=pm+a etc), you have to show that, that isn't given.)

We can always say that there is a x such that x=pn+a (for some p). ( Notice your typo.) Oh, by the way: We haven't yet fixed the value of this p.
We have to show that (pn+a)-b=qm, for some q. Or in other words: a-b=pn-qm . Well, as gcd(n,m)=1, we can ALWAYS find p and q such that pn-qm equals any value, in particular a-b.
 
Hey mathmadx,
I am not aware of this result you have used,

"Well, as gcd(n,m)=1, we can ALWAYS find p and q such that pn-qm equals any value, in particular a-b. "

What I do know is,
"If a and b are integers, not both 0, then gcd(a,b) exists; and we can find integers m and n such that gcd(a,b) = ma + nb."

In this case, as I have stated, there exists integers i and j such that
im + jn = 1

Are you sure that your statement is true?

PS: I have edit my first post to fix the typo.
 
Hi,
I figured it out, yeah I guess we can always find p and q such that pn - qm equals any value.

Since we can find i and j such that
im + jn = 1

(a-b)im + (a-b)jn = (a-b)

hence our p and q would be (a-b)j and -(a-b)m.

Still don't know how Pigeon hole principle is used here though.
 

Similar threads

Replies
27
Views
4K
Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 35 ·
2
Replies
35
Views
6K
  • · Replies 6 ·
Replies
6
Views
9K