jeudi 29 août 2013

The uncountability of real numbers

I recently watched a YouTube video titled "Infinity is bigger than you think"...
















YouTube Video This video is not hosted by the JREF. The JREF can not be held responsible for the suitability or legality of this material. By clicking the link below you agree to view content from an external website.
I AGREE




In the video he brings up the idea of countable and uncountable sets (mentioning that he prefers to call them listable rather than countable, because you can't literally count an infinite sequence).



He starts with by pointing out that the set of whole numbers is countable listable, because if you keep adding the next number in the sequence to the list forever, you end up listing all whole numbers.



Then he explains how all possible fractions (using whole numbers) are also countable/listable.



Then he explains that real numbers are not countable/listable.



But this is where I have a problem. Thinking of how he made the fractions countable/listable, it occurs to me that there might be a way to do this with real numbers as well.



So I'll give my process for listing all possible real numbers, and then everyone else can explain to me exactly why I'm wrong.



(For simplicity I'll ignore negative numbers, because you can easily add them in afterward by having every positive number in the sequence followed its equivalent negative.)



Listing all the whole numbers is easy:



Example 1 - List of all whole numbers
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, .... (And so on)

But to list all the real numbers, we'll need to be able to list everything between the whole numbers as well. We need some method of listing every possible sequence of digits that can follow the decimal place.



But since the infinite sequence in Example 1 lists every possible sequence of digits, all we need to do is flip the numbers around so that all the digits are on the opposite side of the decimal place (while keeping all the digits the same relative distance from the decimal place as they were in Example 1).



Example 2 - List of all partial numbers
.0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .01, .11, .21, .31, .41, .51, .61, .71, .81, .91, .02, .12, .22, .32, .42, .52, .62, .72, .82, .92, .03, .13, .23, .33, .43, .53, .63, .73, .83, .93, .04, .14, .24, .34, .44, .52, .64, .74, .84, .94, .05, ... (And so on)

All that remains to do is to merge the two lists together to get the list of all whole numbers.



The obvious problem is that you can't just take the first whole number and combine it with every possible partial number before moving onto the second whole number, because you'll never get to the second number even if you kept on listing it forever.



But that's exactly the same problem as with the fractions. He solved that in the video by putting them on a grid, an then listed the diagonals of the grid. We can apply the same solution here, listing whole values across the X-axis and partial values down the Y-axis...

























































































































































































































0.01.02.03.04.05.06.07.08.09.010.011.0...
0.11.12.13.14.15.16.17.18.19.110.111.1...
0.21.22.23.24.25.26.27.28.29.210.211.2...
0.31.32.33.34.35.36.37.38.39.310.311.3...
0.41.42.43.44.45.46.47.48.49.410.411.4...
0.51.52.53.54.55.56.57.58.59.510.511.5...
0.61.62.63.64.65.66.67.68.69.610.611.6...
0.71.72.73.74.75.76.77.78.79.710.711.7...
0.81.82.83.84.85.86.87.88.89.810.811.8...
0.91.92.93.94.95.96.97.98.99.910.911.9...
0.011.012.013.014.015.016.017.018.019.0110.0111.01...
0.111.112.113.114.115.116.117.118.119.1110.1111.11...
0.211.212.213.214.215.216.217.218.219.2110.2111.21...
.......................................




Now we just have to list the diagonals...



Example 3 - List of all real numbers
0.0, 0.1, 1.0, 0.2, 1.1, 2.0, 0.3, 1.2, 2.1, 3.0, 0.4, 1.3, 2.2, 3.1, 4.0, 0.5, 1.4, 2.3, 3.2, 4.1, 5.0, 0.6, 1.5, 2.4, 3.3, 4.2, 5.1, 6.0, 0.7, 1.6, 2.5, 3.4, 4.3, 5.2, 6.1, 7.0, 0.8, 1.7, 2.6, 3.5, 4.4, 5.3, 6.2, 7.1, 8.0, 0.9, 1.8, 2.7, 3,6, 4.5, 5.4, 6.3, 7.2, 8.1, 9.0, ... (And so on)

Given that a list of all real numbers seems so easy to generate, can someone please explain why they're "uncountable" when the set of all possible fractions is "countable"?





via JREF Forum http://forums.randi.org/showthread.php?t=264483&goto=newpost

Aucun commentaire:

Enregistrer un commentaire