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 18: Line 18:
 
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 2020 is still accurate. The estimate is 7.7 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.  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 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 65: Line 63:
 
|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)
Line 132: Line 130:
 
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 2021, a little too small.
 
|-
 
|-
 
|align="center"|U.S. population estimate (millions)
 
|align="center"|U.S. population estimate (millions)
Line 173: Line 167:
 
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 2021 the actual number is ~13 million smaller.
Line 250: Line 241:
 
|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 344: Line 335:
 
&= \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==

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)