What is an encoding for Q x Q and how is it related to Cantor's zig-zag method?

  • Context: Graduate 
  • Thread starter Thread starter toxi
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around finding an encoding for the Cartesian product of the rational numbers Q x Q and its relation to Cantor's zig-zag method. Participants explore definitions of encoding, the countability of rational numbers, and the application of Cantor's methods in this context.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant seeks help with encoding Q x Q, expressing uncertainty about the concept of encoding.
  • Another participant suggests that encoding could be a listing of rational numbers and references the proof of countability of rational numbers.
  • A participant defines encoding as a total injective function from a set of numbers to the natural numbers, citing their notes.
  • There is a clarification that Cantor's diagonalization pertains to the uncountability of real numbers, while Cantor's zig-zag method involves arranging positive integers in a chart to encode rational pairs.
  • Participants discuss the specifics of the zig-zag method, including how to represent pairs of rational numbers using their respective indices.
  • One participant questions the significance of using the same subscript for both rational numbers in a pair, seeking clarity on the encoding process.

Areas of Agreement / Disagreement

Participants express differing understandings of encoding and its application to Q x Q, with no consensus reached on the specifics of the encoding method or the implications of Cantor's work.

Contextual Notes

There are unresolved questions regarding the definitions of encoding and the implications of using Cantor's methods, as well as the significance of specific notation in the encoding process.

toxi
Messages
12
Reaction score
0
I know this would probably be in a different category but I wasn't sure.

Find an encoding for Q x Q.

I have no idea what to do for this question was we weren't even taught encodings.

any help is appreciated
thanks
 
Physics news on Phys.org
Well, the first thing you need to do is find a definition for "encoding"- especially an encoding for a set of numbers. I suspect that such an encoding would be just a listing of the the rational numbers: 1- r1, 2- r2, etc. Have you seen the proof that the set of rational numbers is countable?
 
Last edited by a moderator:
Yeah, according to my notes an encoding is "a total injective function C: A->N into the natural numbers. For a in A, the number c(a) is called the code of A"

I think I've seen the proof you're talking about, its the one done by Cantor's diagonalization right ?
 
No, "Cantor's Diagonalization" is a proof that the set of all real numbers is not countable. I was thinking of the proof where we right the positive integers along the top of a chart, another copy of the integers vertically along the left and, where n along the top meets m along the left, write the fraction m/n. Now "zigzag" through that chart. To extend it to QxQ, write the positive integers along the top, the positive integers along the left and, where column m and row n intersect, write (rm, rn[/b]) where rn is the rational number "encoded" by m and rn is the rational number "encoded" by n. Now zigzag through that.
 
HallsofIvy said:
No, "Cantor's Diagonalization" is a proof that the set of all real numbers is not countable. I was thinking of the proof where we right the positive integers along the top of a chart, another copy of the integers vertically along the left and, where n along the top meets m along the left, write the fraction m/n. Now "zigzag" through that chart. To extend it to QxQ, write the positive integers along the top, the positive integers along the left and, where column m and row n intersect, write (rm, rn[/b]) where rn is the rational number "encoded" by m and rn is the rational number "encoded" by n. Now zigzag through that.


Apparently that's Cantor's zig-zag (which is the one I meant to say in the previous post)
Anyway, I found this on the internet
http://www.homeschoolmath.net/teaching/rational-numbers-countable.php

Do you mean that for instance (r4, r4) or 5,6,7 whatever number it is, is the encoding I've been looking for ?
 
toxi said:
Apparently that's Cantor's zig-zag (which is the one I meant to say in the previous post)
Anyway, I found this on the internet
http://www.homeschoolmath.net/teaching/rational-numbers-countable.php

Do you mean that for instance (r4, r4) or 5,6,7 whatever number it is, is the encoding I've been looking for ?
First, I don't know what you mean by "(r4, r4)". Is there any significance that the both rs have subscript 4? Second, you were the one who told me "Yeah, according to my notes an encoding is "a total injective function C: A->N into the natural numbers. For a in A, the number c(a) is called the code of A". If I understand what you are saying correctly, yes, that is the "encoding".
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
Replies
7
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 24 ·
Replies
24
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
309
  • · Replies 4 ·
Replies
4
Views
4K