1:1 correspondance between ints and ration

  • Thread starter mikky05v
  • Start date
In summary: This is a basic theorem of arithmeticIn summary, our professor mentioned today that he doesn't know how to do a proof of a one-to-one correspondence between the set of positive integers and the set of positive rationals. He asked if anyone had any ideas and I was curious. I found a video that explains the theory behind the correspondence, but it is still confusing to me. I am looking for pointers or even online resources about how to do this proof. Thanks a bunch!
  • #1
mikky05v
53
0
this isn't a homework problem it's just something our professor mentioned today that he didn't know how to do and I was curious.

How would you go about proving that there is a 1 : 1 correspondence between the set of positive integers and the set of positive rationals.

I think it would have something to do with countability and i remember something about using diagonal lines with countability but it was a few semesters ago and I can't find my notes to tell if that's even the right direction.

Looking for pointers or even online resources about how you would prove this and the theory behind it. thanks a bunch :)
 
Physics news on Phys.org
  • #2
You just need a way to sort all positive rationals into a single infinite sequence. Start by considering all those with a given numerator+denominator total. It doesn't matter if you count some more than once.
 
  • #3
There are many ways to do it, but one I like is consider numbers of the form

$$p_{l+1}^{(-2)^m}$$
where l and m are nonnegative integers
l,m=0,1,2,3,4,...
that is primes to a power of -2

each positive rational can be written as a product of such numbers without repetition
arrange such numbers in any way you like
if n is a positive integer and r is a positive rational we have a bijection between

$$\text{let} \, \, a_k \in \{0,1\} \\ n=1+\sum_{k=0}^\infty a_k 2^k \\ r=\prod_{k=0}^\infty {b_k}^{a_k}$$
where b_k is the above numbers listed in any order
and the number of a_k that are one is finite
 
  • #4
Your method may be a little to advanced for me. I am having trouble following what you're doing. Do you ha e a link to a website that explains this method or do you know a method in simpler language?
 
  • #5
It is very simple, maybe it is the notation that is confusing.
consider the numbers
$$2,2^{-4},2^{16},2^{-32},... \\
3,3^{-4},3^{16},3^{-32},... \\
5,5^{-4},5^{16},5^{-32},... \\
...$$
That is a prime to a power of -2

See that each positive rational is a product (without repetition) of such numbers
See also that each positive integer is the sum of 1 and numbers of the form 2^n
ie
1,2,4,8,16,32,...

So any bijection between powers of two and primes to powers of -2 will give a bijection bewteen positive integers and positive rationals.
 
  • #6
I think this a better more clear example

any positive integer is a (unique) product of primes to nonnegative integer powers
any positive rational integer is a (unique) product of primes to integer powers

We can induce a bijection between positive integers and positive rational integers using any bijection between nonnegative integers and integers. For example if p(x) is a polynomial with coefficients either 0 or 1 we have a bijection between any two of
p(x) polynomials as described
p(2) a nonnegative integer
p(-2) an integer

Is that more clear?
 
  • #7
This explanation is still really confusing to me. i found the notes from a few semesters ago and I think the proof I am looking for involves basic countability. this is the video we watched and I know we went into how to prove this but I can not for life of me remember it or replicate it in a written proof.

The part I am thinking of starts at 2:10
https://www.youtube.com/watch?v=UPA3bwVVzGI

Can anyone help me with this?

the section this was listed under was set theory, denumerable and countable sets and infinity if that helps.
 
Last edited:
  • #8
mikky05v said:
This explanation is still really confusing to me.
Did you consider my post (#2)? Do I need to explain more?
 
  • #9
I think i just don't have any background in what you are talking about. I understand on the surface what you are saying but
"We can induce a bijection between positive integers and positive rational integers using any bijection between nonnegative integers and integers. For example if p(x) is a polynomial with coefficients either 0 or 1 we have a bijection between any two of"
confuses me.
I get that they are related by taking - and + powers but I don't see how to prove a one to one correspondence with that.

Oh sorry i was reading the other post. I did consider that, you are saying to just add the numerator and denomerator but how can it be a one to one correspondence when you have 2/2 3/1 and 1/3?

I don't see how it can not matter that you are counting some more than once.
 
  • #10
bijection just means 1:1 correspondence
haruspex gave the usual example
consider numbers m/n where m,n=1,2,3,4,...
so we have pairs of nonnegative integers
Do you see how pairs of nonneative integers and nonnegaitive integers can be put in correspondence?
Next as you say we must deal with repeats such as 4/2=2/1/=274/137
That is easy to do as we just skip repeats, it is the same reasoning we use to show that primes, integers, even integers and so on are in correspondence

What I do not like about that example is it is hard to figure out the number of repeats

My example uses the fact that nonnegative integers and integers are in correspondence
we say a positive rational and positive integer correspond if the powers of the primes in each correspond

in other words in my example

137^[(-2)^7+(-2)^4+(-2)^2] <---> 137^[(2)^7+(2)^4+(2)^2]

my example follows the facts
1)
positive integers can be written as a product of primes to nonnegative integer powers
positive rational can be written as a product of primes to integer powers
2)
nonnegative integers can be written as sums of powers of 2
integers can be written as sums of powers of -2
3)if we write positive integers and positive rationals as I describe we have a 1:1 correspondence by switching -2 and 2

So given a positive integers or positive rationals we can find some function f(x) and in the other direction
f(2) is a positive integers
f(-2) is a positive rational
 
  • #11
mikky05v said:
I did consider that, you are saying to just add the numerator and denomerator but how can it be a one to one correspondence when you have 2/2 3/1 and 1/3?

I don't see how it can not matter that you are counting some more than once.
As lurflurf says, you can discard the repeats. What you are left with is an ordered list which contains every positive rational. It is then trivial to pair them up with the natural numbers.
 

1. What is 1:1 correspondence between integers and rational numbers?

1:1 correspondence between integers and rational numbers is a mathematical relationship where every integer (whole number) has a corresponding rational number (a number that can be written as a ratio of two integers). This means that for every integer, there is exactly one rational number that can represent it.

2. Why is 1:1 correspondence between integers and rational numbers important?

1:1 correspondence between integers and rational numbers is important because it allows us to easily convert between different types of numbers. It also helps us to understand the relationships between different types of numbers and how they are interconnected.

3. How do you determine if two sets have a 1:1 correspondence?

To determine if two sets have a 1:1 correspondence, you need to check if each element in one set has a unique corresponding element in the other set. If this is true, then the two sets have a 1:1 correspondence.

4. Can irrational numbers have a 1:1 correspondence with integers?

No, irrational numbers cannot have a 1:1 correspondence with integers. This is because irrational numbers, such as pi or square root of 2, cannot be expressed as a ratio of two integers. Therefore, they do not have corresponding integers.

5. How is 1:1 correspondence used in real-world applications?

1:1 correspondence is used in various real-world applications, such as in finance, engineering, and computer science. For example, it is used in financial calculations to convert between different currencies or to calculate interest rates. In engineering, it is used to convert between different units of measurement. In computer science, it is used in data compression and encryption algorithms.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
24
Views
5K
  • Calculus and Beyond Homework Help
Replies
3
Views
3K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
938
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
16
Views
4K
  • Calculus and Beyond Homework Help
2
Replies
45
Views
3K
Back
Top