{"id":2145,"date":"2013-03-14T21:04:57","date_gmt":"2013-03-15T01:04:57","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/?p=2145"},"modified":"2013-03-14T21:04:57","modified_gmt":"2013-03-15T01:04:57","slug":"pi-day-randomness","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2013\/03\/14\/pi-day-randomness\/","title":{"rendered":"Pi-day randomness"},"content":{"rendered":"<p> One of my twitter friends was complaining about something that&#8217;s apparently making the rounds of Facebook for &pi;-day. It annoyed me sufficiently to be worth ranting about a little bit.<\/p>\n<blockquote><p>\nWhy isn&#8217;t &pi; rational if &pi;=circumference\/diameter, and both measurements are plainly finite?\n<\/p><\/blockquote>\n<p> There&#8217;s a couple of different ways of interpreting this question.<\/p>\n<p> The stupidest way of interpreting it is that the author didn&#8217;t have any clue of what an irrational number is. An irrational number is a number which cannot be written as a ratio of two integers. Another way of saying essentially the same thing is that there&#8217;s no way to create a finite representation of an irrational number. I&#8217;ve seen people get this wrong before, where they confuse <em>not having a finite representation<\/em> with <em>not being finite<\/em>.<\/p>\n<p> &pi; doesn&#8217;t have a finite representation. But it&#8217;s very clearly finite &#8211; it&#8217;s less that 3 1\/4, which is obviously not infinite. Anyone who can look at &pi;, and be confused about whether or not it&#8217;s finite is&#8230; well&#8230; there&#8217;s no nice way to say this. If you think that &pi; isn&#8217;t finite, you&#8217;re an idiot.\n<\/p>\n<p> The other way of interpreting this statement is less stupid: it&#8217;s a question of <em>measurement<\/em>. If you have a circular object in real life, then you can <em>measure<\/em> the circumference and the diameter, and do the division on the measurements. The measurements have <em>finite precision<\/em>. So how can the ratio of two measurements with finite precision be irrational?<\/p>\n<p> The answer is, they can&#8217;t. But perfect circles don&#8217;t exist in the real world. Many mathematical concepts don&#8217;t exist in the real world. In the real world, there&#8217;s no such thing as a mathematical point, no such thing as a perfect line, no such thing as perfectly parallel lines.<\/p>\n<p> &pi; isn&#8217;t a measured quantity. It&#8217;s a theoretical quantity, which can be computed <em>analytically<\/em> from the theoretical properties derived from the abstract properties of an ideal, perfect circle.<\/p>\n<p> No &#8220;circle&#8221; in the real world has a perfect ratio of &pi; between its circumference and its diameter. But the theoretical circle does.<\/p>\n<p> The facebook comments on this get much worse than the original question. One in particular really depressed me.<\/p>\n<blockquote><p>\nJust because the measurements are finite doesn&#8217;t mean they&#8217;re rational.<br \/>\nPi is possibly rational, we just haven&#8217;t figured out where it ends.\n<\/p><\/blockquote>\n<p> Gah, no!<\/p>\n<p> We know an awful lot about &pi;. And we know, with absolute, 100% perfect certainty that &pi; never ends.<\/p>\n<p> We can define &pi; precisely as a series, and that series makes it abundantly clear that it never ends.<\/p>\n<p><center><img src='http:\/\/l.wordpress.com\/latex.php?latex=pi%20%3D%20frac%7B4%7D%7B1%7D%20-%20frac%7B4%7D%7B3%7D%20%2B%20frac%7B4%7D%7B5%7D%20-%20frac%7B4%7D%7B7%7D%20%2B%20frac%7B4%7D%7B9%7D%20...&#038;bg=FFFFFF&#038;fg=000000&#038;s=0' title='pi = frac{4}{1} - frac{4}{3} + frac{4}{5} - frac{4}{7} + frac{4}{9} ...' style='vertical-align:1%' class='tex' alt='pi = frac{4}{1} - frac{4}{3} + frac{4}{5} - frac{4}{7} + frac{4}{9} ...' \/><\/center><\/p>\n<p> That series goes on forever. &pi; can&#8217;t ever end, because that series never ends.<\/p>\n<p> Just for fun, here&#8217;s a little snippet of Python code that you can play with. You can see how, up to the limits of your computer&#8217;s floating point representation, that a series computation of &pi; keeps on going, changing with each additional iteration.\n<\/p>\n<pre>\ndef pi(numiter):\n  val = 3.0\n  sign = 1\n  for i in range(numiter):\n    term = ((i+1)*2) * ((i+1)*2 + 1) * ((i+1) *2 + 2)\n    val = val + sign*4.0\/term\n    sign = sign * -1\n  return val\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>One of my twitter friends was complaining about something that&#8217;s apparently making the rounds of Facebook for &pi;-day. It annoyed me sufficiently to be worth ranting about a little bit. Why isn&#8217;t &pi; rational if &pi;=circumference\/diameter, and both measurements are plainly finite? There&#8217;s a couple of different ways of interpreting this question. The stupidest way [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-2145","post","type-post","status-publish","format-standard","hentry","category-bad-math"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-yB","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/2145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=2145"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/2145\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=2145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=2145"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=2145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}