{"id":521,"date":"2019-06-29T22:08:55","date_gmt":"2019-06-29T22:08:55","guid":{"rendered":"http:\/\/funfacts.104.42.120.246.xip.io\/?page_id=521"},"modified":"2019-11-18T22:22:15","modified_gmt":"2019-11-18T22:22:15","slug":"cantor-diagonalization","status":"publish","type":"page","link":"https:\/\/math.hmc.edu\/funfacts\/cantor-diagonalization\/","title":{"rendered":"Cantor Diagonalization"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img loading=\"lazy\" decoding=\"async\" width=\"152\" height=\"346\" data-attachment-id=\"1375\" data-permalink=\"https:\/\/math.hmc.edu\/funfacts\/cantor-diagonalization\/30001-4-1\/\" data-orig-file=\"https:\/\/math.hmc.edu\/funfacts\/wp-content\/uploads\/sites\/4\/2019\/11\/30001.4.1.gif\" data-orig-size=\"152,346\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"30001.4.1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/math.hmc.edu\/funfacts\/wp-content\/uploads\/sites\/4\/2019\/11\/30001.4.1-132x300.gif\" data-large-file=\"https:\/\/math.hmc.edu\/funfacts\/wp-content\/uploads\/sites\/4\/2019\/11\/30001.4.1.gif\" src=\"https:\/\/math.hmc.edu\/funfacts\/wp-content\/uploads\/sites\/4\/2019\/11\/30001.4.1.gif\" alt=\"\" class=\"wp-image-1375\"\/><\/figure><\/div>\n\n\n\n<p>We have seen in the Fun Fact&nbsp;How many Rationals?&nbsp;that the rational numbers are&nbsp;countable, meaning they have the same cardinality as the set of natural numbers.<\/p>\n\n\n\n<p>So are all infinite sets countable?<\/p>\n\n\n\n<p>Cantor shocked the world by showing that the real numbers are not countable&#8230; there are &#8220;more&#8221; of them than the integers! His proof was an ingenious use of a&nbsp;proof by contradiction. In fact, he could show that there exists infinities of many different &#8220;sizes&#8221;!<\/p>\n\n\n\n<p><strong>Presentation&nbsp;Suggestions:<\/strong><br>If you have time show Cantor&#8217;s diagonalization argument, which goes as follows. If the reals were countable, it can be put in 1-1 correspondence with the natural numbers, so we can list them in the order given by those natural numbers. Now use this list to construct a real number X that differs from every number in our list in at least one decimal place, by letting X differ from the N-th digit in the N-th decimal place. (A little care must be exercised to ensure that X does not contain an infinite string of 9&#8217;s.) This gives a contradiction, because the list was supposed to contain all real numbers, including X. Therefore, hence a 1-1 correspondence of the reals with the natural numbers must not be possible.<\/p>\n\n\n\n<p><strong>The&nbsp;Math&nbsp;Behind&nbsp;the&nbsp;Fact:<\/strong><br>The theory of countable and uncountable sets came as a big surprise to the mathematical community in the late 1800&#8217;s.<\/p>\n\n\n\n<p>By the way, a similar &#8220;diagonalization&#8221; argument can be used to show that any set S and the set of all S&#8217;s subsets (called the&nbsp;<em>power set<\/em>&nbsp;of S) cannot be placed in one-to-one correspondence. The idea goes like this: if such a correspondence were possible, then every element A of S has a subset K(A) that corresponds to it. Now construct a new subset of S, call it J, such that an element A is in J if and only if A is NOT in K(A). This new set, by construction, can never be K(A) for any A, because it differs from every K(A) in the &#8220;A-th element&#8221;. So K(A) must not run through the entire power set of A, hence the 1-1 correspondence asserted above must not be possible.<\/p>\n\n\n\n<p>This proof shows that there are infinite sets of many different &#8220;sizes&#8221; by considering the natural numbers and its successive power sets! The &#8220;size&#8221; of a set is called is&nbsp;cardinality.<\/p>\n\n\n\n<p><strong>How to Cite this Page:<\/strong>\u00a0<br>Su, Francis E., et al. &#8220;Cantor Diagonalization.&#8221;\u00a0<em>Math Fun Facts<\/em>. &lt;http:\/\/www.math.hmc.edu\/funfacts>.<\/p>\n\n\n\n<p><strong>References:<\/strong><br>A classic text on real analysis is Walter Rudin&#8217;s <em><a href=\"http:\/\/www.amazon.com\/exec\/obidos\/ASIN\/007054235X\/ref=nosim\/mathfunfacts-20\">Principles of Mathematical Analysis.<\/a><\/em><\/p>\n\n\n\n<p><strong>Fun Fact suggested by:<\/strong><br>Francis Su<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have seen in the Fun Fact&nbsp;How many Rationals?&nbsp;that the rational numbers are&nbsp;countable, meaning they have the same cardinality as&#46;&#46;&#46;<\/p>\n","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[57,20,70,69,9,71,67,60,68,81],"class_list":["post-521","page","type-page","status-publish","hentry","tag-advanced","tag-analysis","tag-cantors-diagonal-argument","tag-cantors-diagonalization-argument","tag-combinatorics","tag-diagonalization-proof","tag-how-many-real-numbers","tag-real-analysis","tag-uncountable-infinity","tag-uncountable-sets"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/comments?post=521"}],"version-history":[{"count":3,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/521\/revisions"}],"predecessor-version":[{"id":1376,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/pages\/521\/revisions\/1376"}],"wp:attachment":[{"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/media?parent=521"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/math.hmc.edu\/funfacts\/wp-json\/wp\/v2\/tags?post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}