Editing 1047: Approximations

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
| date      = April 25, 2012
 
| date      = April 25, 2012
 
| title    = Approximations
 
| title    = Approximations
| before    = [[#Explanation|↓ Skip to explanation ↓]]
 
 
| image    = approximations.png
 
| image    = approximations.png
 
| titletext = Two tips: 1) 8675309 is not just prime, it's a twin prime, and 2) if you ever find yourself raising log(anything)^e or taking the pi-th root of anything, set down the marker and back away from the whiteboard; something has gone horribly wrong.
 
| titletext = Two tips: 1) 8675309 is not just prime, it's a twin prime, and 2) if you ever find yourself raising log(anything)^e or taking the pi-th root of anything, set down the marker and back away from the whiteboard; something has gone horribly wrong.
Line 18: Line 17:
 
Randall says he compiled this table through "a mix of trial-and-error, ''{{w|Mathematica}}'', and Robert Munafo's [http://mrob.com/pub/ries/ Ries] tool."  "Ries" is a "{{w|Closed-form expression#Conversion from numerical forms|reverse calculator}}" that forms equations matching a given number.
 
Randall says he compiled this table through "a mix of trial-and-error, ''{{w|Mathematica}}'', and Robert Munafo's [http://mrob.com/pub/ries/ Ries] tool."  "Ries" is a "{{w|Closed-form expression#Conversion from numerical forms|reverse calculator}}" that forms equations matching a given number.
  
The {{w|world population}} estimate for 2023 is still accurate. The estimate is 7.9 billion, and the population listed at the website census.gov is roughly the same. The current value can be found here: [https://www.census.gov/popclock/ United States Census Bureau - U.S. and World Population Clock]. Nevertheless there are other numbers listed by different sources.
+
The {{w|world population}} estimate for 2017 is still accurate. The estimate is 7.4 billion, and the population listed at the website census.gov is roughly the same. The current value can be found here: [https://www.census.gov/popclock/ United States Census Bureau - U.S. and World Population Clock]. Nevertheless there are other numbers listed by different sources.
  
 
The first part of the title text notes that "Jenny's constant," which is actually a telephone number referenced in Tommy Tutone's 1982 song {{w|867-5309/Jenny}}, is not only prime but a {{w|twin prime}} because 8675311 is also a prime. Twin primes have always been a subject of interest, because they are comparatively rare, and because it is not yet known whether there are infinitely many of them.  Twin primes were also referenced in [[1310: Goldbach Conjectures]].  
 
The first part of the title text notes that "Jenny's constant," which is actually a telephone number referenced in Tommy Tutone's 1982 song {{w|867-5309/Jenny}}, is not only prime but a {{w|twin prime}} because 8675311 is also a prime. Twin primes have always been a subject of interest, because they are comparatively rare, and because it is not yet known whether there are infinitely many of them.  Twin primes were also referenced in [[1310: Goldbach Conjectures]].  
  
The second part of the title text makes fun of the unusual mathematical operations contained in the comic.  {{w|Pi|π}} is a useful number in many contexts, but it doesn't usually occur anywhere in an exponent. Even when it does, such as with complex numbers, taking the πth root is rarely helpful.  A rare exception is an [http://gosper.org/4%5E1%C3%B7%CF%80.png identity] for the pi-th root of 4 discovered by Bill Gosper.  Similarly, {{w|e (mathematical constant)|e}} typically appears in the base of a power (forming the {{w|exponential function}}), not in the exponent. (This is later referenced in [http://what-if.xkcd.com/73/ Lethal Neutrinos]).
+
The second part of the title text makes fun of the unusual mathematical operations contained in the comic.  {{w|Pi|π}} is a useful number in many contexts, but it doesn't usually occur anywhere in an exponent. Even when it does, such as with complex numbers, taking the πth root is rarely helpful.  Similarly, {{w|e (mathematical constant)|e}} typically appears in the basis of a power (forming the {{w|exponential function}}), not in the exponent. (This is later referenced in [http://what-if.xkcd.com/73/ Lethal Neutrinos]).
 
 
===Equations===
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!align="center"|Thing to be approximated:
+
|align="center"|Thing to be approximated:
!align="center"|Formula proposed
+
|align="center"|Formula proposed
!align="center"|Resulting approximate value
+
|align="center"|Resulting approximate value
!align="center"|Correct value
+
|align="center"|Correct value
!align="center"|Discussion
+
|align="center"|Discussion
 
|-
 
|-
 
|align="center"|One {{w|light year}} (meters)
 
|align="center"|One {{w|light year}} (meters)
Line 38: Line 35:
 
|align="center"|9,227,446,944,279,201
 
|align="center"|9,227,446,944,279,201
 
|align="center"|9,460,730,472,580,800 (exact)
 
|align="center"|9,460,730,472,580,800 (exact)
|align="left"|Based on 365.25 days per year (see below). 99<sup>8</sup> and 69<sup>8</sup> are [[487: Numerical Sex Positions|sexual references]].  
+
|align="left"|Based on 365.25 days per year (see below). 99<sup>8</sup> and 69<sup>8</sup> are sexual references.  
 
|-
 
|-
 
|align="center"|Earth's surface (m<sup>2</sup>)
 
|align="center"|Earth's surface (m<sup>2</sup>)
Line 44: Line 41:
 
|align="center"|513,798,374,428,641
 
|align="center"|513,798,374,428,641
 
|align="center"|5.10072 × 10<sup>14</sup>
 
|align="center"|5.10072 × 10<sup>14</sup>
|align="left"|99<sup>8</sup> and 69<sup>8</sup> are [[487: Numerical Sex Positions|sexual references]].
+
|align="left"|99<sup>8</sup> and 69<sup>8</sup> are sexual references.
 
|-
 
|-
 
|align="center"|Oceans' volume (m<sup>3</sup>)
 
|align="center"|Oceans' volume (m<sup>3</sup>)
Line 65: Line 62:
 
|align="center"|31,536,000
 
|align="center"|31,536,000
 
|align="center"|31,557,600 (Julian calendar), 31,556,952 (Gregorian calendar)
 
|align="center"|31,557,600 (Julian calendar), 31,556,952 (Gregorian calendar)
|align="left"|"''Rent'' Method" refers to the song "{{w|Seasons of Love}}" from the musical ''{{w|Rent (musical)|Rent}}''. The song asks, "How do you measure a year?" One line says "525,600 minutes" while most of the rest of the song suggests the best way to measure a year is moments shared with a loved one. This method for remembering how many seconds are in a year was also referenced in [https://what-if.xkcd.com/23/ What If? 23].
+
|align="left"|"''Rent'' Method" refers to the song "{{w|Seasons of Love}}" from the musical ''{{w|Rent (musical)|Rent}}''. The song asks, "How do you measure a year?" One line says "525,600 minutes" while most of the rest of the song suggests the best way to measure a year is moments shared with a loved one.
 
|-
 
|-
 
|align="center"|Age of the universe (seconds)
 
|align="center"|Age of the universe (seconds)
 
|align="center"|15<sup>15</sup>
 
|align="center"|15<sup>15</sup>
 
|align="center"|437,893,890,380,859,375
 
|align="center"|437,893,890,380,859,375
|align="center"|(4.354 ± 0.012) × 10<sup>17</sup> (best estimate; exact value unknown)
+
|align="center"|4.354 ± 0.012 × 10<sup>17</sup> (best estimate; exact value unknown)
 
|align="left"|This one will slowly get more accurate as the universe ages.
 
|align="left"|This one will slowly get more accurate as the universe ages.
 
|-
 
|-
Line 83: Line 80:
 
|align="center"|0.00<span style="text-decoration: overline;">714285</span>
 
|align="center"|0.00<span style="text-decoration: overline;">714285</span>
 
|align="center"|0.0072973525664 (accepted value as of 2014), close to 1/137
 
|align="center"|0.0072973525664 (accepted value as of 2014), close to 1/137
|align="left"|The {{w|fine structure constant}} indicates the strength of electromagnetism. It is unitless and around 0.007297, close to 1/137. The joke here is that Randall chose to write 140 as the denominator, when 137 is much closer to reality and just as many digits (although 137 is a less "round" number than 140, and Randall writes in the table that he's "had enough" of it).  At one point the fine structure constant was believed to be exactly the reciprocal of 137, and many people have tried to find a simple formula explaining this (with a pinch of {{w|numerology}} thrown in at times), including the infamous {{w|Arthur Eddington|Sir Arthur "Adding-One" Eddington}} who argued very strenuously that the fine structure constant "should" be 1/136 when that was what the best measurements suggested, and then argued just as strenuously for 1/137 a few years later as measurements improved.
+
|align="left"|The {{w|fine structure constant}} indicates the strength of electromagnetism. It is unitless and around 0.007297, close to 1/137. At one point it was believed to be exactly the reciprocal of 137, and many people have tried to find a simple formula explaining this (with a pinch of {{w|numerology}} thrown in at times), including the infamous {{w|Arthur Eddington|Sir Arthur Adding-One}}.
 
|-
 
|-
 
|align="center"|Fundamental charge
 
|align="center"|Fundamental charge
Line 93: Line 90:
 
|align="center"|Telephone number for the {{w|White House}} switchboard
 
|align="center"|Telephone number for the {{w|White House}} switchboard
 
|align="center"|<math>\frac {1} {e^ {\sqrt[\pi] {1 + \sqrt[e-1] 8}} }</math>
 
|align="center"|<math>\frac {1} {e^ {\sqrt[\pi] {1 + \sqrt[e-1] 8}} }</math>
|align="center"|0.2024561414932
+
|align="center"|0.2024561414
 
|align="center"|202-456-1414
 
|align="center"|202-456-1414
 
|align="left"|
 
|align="left"|
Line 132: Line 129:
 
2030 — 8.4<br>
 
2030 — 8.4<br>
 
2031 — 8.5<br>
 
2031 — 8.5<br>
2032 — 8.5<br>
 
2033 — 8.6<br>
 
2034 — 8.7<br>
 
2035 — 8.8<br>
 
 
|align="center"|
 
|align="center"|
|align="left"|Grows by 75 million every year on average. As of 2023, a bit too small.
+
|align="left"|Grows by 75 million every year on average. As of 2019, roughly correct.
 
|-
 
|-
 
|align="center"|U.S. population estimate (millions)
 
|align="center"|U.S. population estimate (millions)
Line 173: Line 166:
 
2030 — 370<br>
 
2030 — 370<br>
 
2031 — 373<br>
 
2031 — 373<br>
2032 — 376<br>
+
2032 — 376
2033 — 379<br>
 
2034 — 382<br>
 
2035 — 385<br>
 
 
|align="center"|
 
|align="center"|
|align="left"|Grows by 3 million each year. As of 2021 the actual number is ~13 million smaller.
+
|align="left"|Grows by 3 million each year. As of 2019 the actual number is ~10 million smaller.
 
|-
 
|-
 
|align="center"|Electron rest energy (joules)
 
|align="center"|Electron rest energy (joules)
Line 250: Line 240:
 
|align="center"|3.7853981634
 
|align="center"|3.7853981634
 
|align="center"|3.785411784 (exact)
 
|align="center"|3.785411784 (exact)
|align="left"|A U.S. liquid gallon is defined by law as 231 cubic inches. The British imperial gallon would be about 20% larger (but the litre is the same thing as the US liter).
+
|align="left"|A U.S. liquid gallon is defined by law as 231 cubic inches
 
|-
 
|-
 
|align="center"|''g''<sub>0</sub> or ''g''<sub>n</sub>
 
|align="center"|''g''<sub>0</sub> or ''g''<sub>n</sub>
Line 315: Line 305:
 
:<math>\cos \frac{\pi}{7} + \cos \frac{3\pi}{7} + \cos \frac{5\pi}{7}</math>
 
:<math>\cos \frac{\pi}{7} + \cos \frac{3\pi}{7} + \cos \frac{5\pi}{7}</math>
  
Multiplying by 1 (or by a nonzero number divided by itself) leaves the equation unchanged:  
+
Multiplying by 1 (or by a number divided by itself) leaves the equation unchanged:  
  
 
:<math>= \left( \cos \frac{\pi}{7} + \cos \frac{3\pi}{7} + \cos \frac{5\pi}{7} \right) \frac{2 \sin\frac{\pi}{7}}{2 \sin\frac{\pi}{7}}</math>
 
:<math>= \left( \cos \frac{\pi}{7} + \cos \frac{3\pi}{7} + \cos \frac{5\pi}{7} \right) \frac{2 \sin\frac{\pi}{7}}{2 \sin\frac{\pi}{7}}</math>
Line 344: Line 334:
 
&= \frac12 \quad \quad \quad \text{Q.E.D.}
 
&= \frac12 \quad \quad \quad \text{Q.E.D.}
 
\end{align}</math>
 
\end{align}</math>
 
To better see why the equation is true, it is better to go to the complex plane. cos(2k pi/7) <!--<math>\textstyle{ \cos \frac{2k\pi}{7} }</math>--> is the real part of the k-th 7-th root of unity, exp(2 k i pi/7)<!--<math>\textstyle{ \exp \frac{2 k i\pi}{7} }</math>-->. The seven 7-th roots of unity (for 0 <= k <= 6) sum up to zero, hence so do their real parts:
 
 
<!--:<math>0 = \cos \frac{0\pi}{7} + \cos \frac{2\pi}{7} + \cos \frac{4\pi}{7} + \cos \frac{6\pi}{7} + \cos \frac{8\pi}{7} + \cos \frac{10\pi}{7} + \cos \frac{12\pi}{7} </math>-->
 
:0 = cos(0 pi/7) + cos(2 pi/7) + cos(4 pi/7) + cos(6 pi/7) + cos(8 pi/7) + cos(10 pi/7) + cos(12 pi/7)
 
 
But one of these roots is just 1, and all other root go by pairs of conjugate roots, which have the same real part (alternatively, consider that cos(x) = cos(2 pi - x)):
 
 
<!--:<math>0 = 1 + 2 ( \cos \frac{2\pi}{7} + \cos \frac{4\pi}{7} + \cos \frac{6\pi}{7} ) </math>-->
 
:0 = 1 + 2 (cos(2 pi/7) + cos(4 pi/7) + cos(6 pi/7))
 
 
Hence
 
 
<!--:<math>\cos \frac{2\pi}{7} + \cos \frac{4\pi}{7} + \cos \frac{6\pi}{7} = - 1/2 </math>-->
 
:cos(2 pi/7) + cos(4 pi/7) + cos(6 pi/7) = - 1/2
 
 
which, because cos(x) = cos(pi - x),<!--<math>\cos (x) = - \cos(\pi - x)</math>,--> can be rewritten as
 
 
<!--:<math>\cos \frac{5\pi}{7} + \cos \frac{3\pi}{7} + \cos \frac{pi}{7} = 1/2 </math>-->
 
:cos(5 pi/7) + cos(3 pi/7) + cos(pi/7) = 1/2
 
 
Q.E.D.
 
  
 
==Transcript==
 
==Transcript==
 +
{{incomplete transcript|bad table}}
 
:'''A table of slightly wrong equations and identities useful for approximations and/or trolling teachers.'''
 
:'''A table of slightly wrong equations and identities useful for approximations and/or trolling teachers.'''
 
:(Found using a mix of trial-and-error, ''Mathematica'', and Robert Munafo's ''Ries'' tool.)
 
:(Found using a mix of trial-and-error, ''Mathematica'', and Robert Munafo's ''Ries'' tool.)
Line 414: Line 383:
 
|-
 
|-
 
|align="center"|White House Switchboard
 
|align="center"|White House Switchboard
|colspan="2" align="center"|1 / (e<sup><sup>π</sup>√(1 + <sup>(e-1)</sup>√8)</sup>)
+
|colspan="2" align="center"|1/<br />
 +
<sup>π</sup>√(e<sup>(1 + <sup>(e-1)</sup>√8)</sup>)
 
|-
 
|-
 
|align="center"|Jenny's Constant
 
|align="center"|Jenny's Constant

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)