• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

question for comp sci students

stickybytes

Golden Member
i need help with this following question:

Is the set R^2, the ordered pairs of real numbers countable? If so, provide the necessary injective function or a method by which one may count or list all elements of the set. If not, explain why.

Thanks.
 
No it is not countable, for the same reason real numbers are not countable. There is not a one to one correspondance with natural numbers. This can be shown through Cantor's diagonalization theorem.
 
For something to be 'countable', you need to be able to form a 1-to-1 correspondence with the 'counting numbers' (the set {1, 2, 3, ... }). It is impossible to enumerate all the real numbers (and therefore also impossible to enumerate all the pairs of real numbers).

As for proving it... look at trying to count all the real numbers in a subset of R.
 
Back
Top