1047: Approximations

Explain xkcd: It's 'cause you're dumb.
Revision as of 18:07, 7 August 2012 by Waldir (talk | contribs) (Waldir moved page Approximations to 1047: Approximations: Mass-moving pages to 'number: title' format, per discussion at explain xkcd:Community portal/Coordination#Page names)
Jump to: navigation, search
1047: Approximations
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.
Title text: 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.

Transcript

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.) All units are SI MKS unless otherwise noted.

  • Relation: One light year(m) ~= 99^8

Accurate to within: one part in 40

  • Relation: Earth Surface(m^2) ~= 69^8

Accurate to within: one part in 130

  • Relation: Ocean's volume(m^3) ~= 9^19

Accurate to within: one part in 70

  • Relation: Seconds in a year ~= 75^4

Accurate to within: one part in 400

  • Relation: Seconds in a year (rent method) ~= 525,600 x 60

Accurate to within: one part in 1400

  • Relation: Age of the universe (seconds) ~= 15^15

Accurate to within: one part in 70

  • Relation: Planck's constant ~= 1/(30^pi^e)

Accurate to within: one part in 110

  • Relation: Fine structure constant ~= 1/140

Accurate to within: [I've had enough of this 137 crap]

  • Relation: Fundamental charge ~= 3/(14 * pi^pi^pi)

Accurate to within: one part in 500

  • Relation: White House Switchboard ~= 1/(e^((1 + 8^(1/(e-1)))^(1/pi)))
  • Relation: Jenny's Constant ~= (7^(e/1 - 1/e) - 9) * pi^2

Intermission: World Population Estimate which should stay current for a decade or two:

Take the last two digits of the current year

Example: 20[14]

Subtract the number of leap years since hurricane Katrina

Example:14 (minus 2008 and 2012) is 12

Add a decimal point

Example: 1.2

Add 6

Example: 6 + 1.2

7.2 ~= World population in billions.

Version for US population:

Example: 20[14]

Subtract 10

Example: 4

Multiply by 3

Example: 12

Add 10

Example: 3[22] million


  • Relation: Electron rest energy ~= e/7^16 Joules

Accurate to within: one part in 1000

  • Relation: Light-year(miles) ~= 2^(42.42)

Accurate to within: one part in 1000

  • Relation: sin(60 degrees) = (3^(1/2))/2 ~= e/pi

Accurate to within: one part in 1000

  • Relation: 3^(1/2) ~= 2e/pi

Accurate to within: one part in 1000

  • Relation: gamma(Euler's gamma constant) ~= 1/(3^(1/2))

Accurate to within: One part in 4000

  • Relation: Feet in a meter ~= 5/(pi^(1/e))

Accurate to within: one part in 4000

  • Relation: 5^(1/2) ~= 2/e + 3/2

Accurate to within: one part in 7000

  • Relation: Avogadro's number ~= 69^pi^(5^(1/2))

Accurate to within: one part in 25,000

  • Relation: Gravitational constant G ~= 1/(e^((pi - 1)^(pi + 1)))

Accurate to within: one part in 25,000

  • Relation: R(gas constant) ~= (e+1) * (5^(1/2))

Accurate to within: one part in 50,000

  • Relation: Proton-electron mass ratio ~= 6*pi^5

Accurate to within: one part in 50,000

  • Relation: Liters in a gallon ~= 3 + pi/4

Accurate to within: one part in 500,000

  • Relation: g ~= 6 + ln(45)

Accurate to within: one part in 750,000

  • Relation: Proton-electron mass ratio ~= (e^8 - 10)/phi

Accurate to within: one part in 5,000,000

  • Relation: Ruby laser wavelength ~= 1/(1200^2)

Accurate to within: [within actual variation]

  • Relation: Mean Earth Radius ~= (5^8)*6e

Accurate to within: [within actual variation]


Protip - not all of these are wrong:

  • 2^(1/2) ~= 3/5 + pi/(7-pi)
  • cos(pi/7) + cos(3pi/7) + cos(5pi/7) ~= 1/2
  • gamma(Euler's gamma constant) ~= e/3^4 + e/5
  • 5^(1/2) ~= (13 + 4pi)/(24 - 4pi)
  • sigma(1/n^n) ~= ln(3)^e

Description

Image text: 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.

A twin prime is: "Per wikipedia: A twin prime is a prime number that differs from another prime number by two"

“Rent Method” refers to the song “Seasons of Love” from the 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.

Incidentally, 75^4 overstates the number of seconds in a year by 29 hours.

Jenny’s Number = (867)-5309, “please don’t change your number on me” But since this is *explain*xkcd, let’s add that it’s from a song by Tommy Tutone: http://www.dailymotion.com/video/x20zsk_tommy-tutone-867-5309-jenny_music

The complicated formula for the White House switchboard yields 0.2024561415. (202) 456-1415 was (at least during the Bush administration) the phone number for the White House switchboard.

All these approximations actually work astonishingly well. There are re-occuring math jokes along the lines of, “3/5 + pi/(7-pi) – sqrt(2) = 0, but your calculator is probably not good enough to compute this correctly”, which are mainly used to troll geeks. Those interested in number theory may easily compute that sqrt(2) is not even algebraic in the quotient field of Z[pi], which disproves the equality.

Furthermore, there are some useful approximations (which were even more useful in times before calculators) such as “pi is approximately equal to 22/7”.

Randall makes fun of both of these, using rather strange approximations (honestly: you may handle 22/7, but who can calculate in a sensible way with 99^8, let alone 30^(pi^e)?) to calculate some constants that are easy enough to handle in the decimal system, and stating such “slightly wrong” trick equations, one of which *is* actually correct (which may astonish only those who are not familiar with cosines).

Jenny’s number and the White House switchboard have already been explained. The other constants are either self-explanatory or simple physical constants that have decimal values you may google in about 1 sec. I am not going to explain what these constants mean. Three things to note: near the bottom, there is a constant which you may easily confuse for a 9. Instead, it’s a g, the standard gravity.

Now to the accuracy values: The fine structure constant is 0.007297something, which is approximately 1/137. Randall’s point here is that 1/137 is not a very useful approximation: Firstly, 0.007297 is input into a calculator as fast as 1/137, and it’s more accurate. Secondly, if you do not have a calculator, 1/137 earns you nothing, for 137 is a prime and therefore does not ease further computation. That’s why Randall stated he’s had enough of this crap.

The ruby laser wavelength varies because “ruby” is not clearly defined.

The mean earth radius varies because there is not one single way to make a sphere out of the earth. Theoretically, it should be possible to measure the distance from the center for any point on the Earth’s surface and compute the mean integral, but practically it’s not, so geodesy has defined some sets of radii to take the mean of, yielding different mean radii. If you are interested in details, ask Wikipedia. http://en.wikipedia.org/wiki/Earth_radius#Mean_radii Randall’s value lies somewhere in between, thus actually being a possible definition for Earth’s mean radius.

The image text gives more or less useful information. 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.

pi is a natural constant that arises in describing circles or ellipses. As such, useful as it may be, it’s not supposed to occur anywhere in an exponent (unless you deal with complex numbers). Thus a sensible use of the pi-th root would be as if you found an English-speaking extraterrestrian community – not really impossible, but of such low probability that nobody would believe you.

Same goes for the e-th power: e only appears in the basis of a power, not in the exponent.