687: Dimensional Analysis

Explain xkcd: It's 'cause you're dumb.
Revision as of 23:02, 9 February 2014 by (talk) (Dimensional analysis: Fixed the grammatical errors in the part about how to balance the equation.)
Jump to: navigation, search
Dimensional Analysis
Or the pressure at the Earth's core will rise slightly.
Title text: Or the pressure at the Earth's core will rise slightly.


Cueball has a hobby - and that is to abuse dimensional analysis to obtain ridiculous correlations of uncorrelated events and constants. Here Cueball is teaching a class and uses this trick to convince his students that the Toyota Prius combined EPA gas mileage is somehow connected to the constant Pi via the Planck energy, the pressure at the earths core and the width of the English Channel.

This comic makes fun of how scientists (often physicists) use dimensional analysis to quickly check if a given formula can possibly relate to a physical system or if there were some (obvious) mathematical errors in its derivation. Dimensional analysis here refers to the check if both sides of the equation arrive at the same physical unit if the units of all variables get plugged into the equation. This usually requires knowledge of the system of units and the relation between different physical units.

The comic uses the following equation to make fun of it:

(Planck energy) / (Pressure at the core of the earth) * (Prius combined EPA gas mileage) / (minimum width of the English Channel) = π

Dimensional analysis

The right hand side is dimensionless (The constant π = 3.14... by definition is the relation of two lengths, the circumference and the diameter of a circle). The left hand side requires to plug in the dimensions of the named physical quantities:

  • Planck energy: given in Joules [J]
  • Pressure at the core of the earth: Given in Pascals [Pa]
  • Prius combined EPA gas mileage: miles/gallon, SI units: meters/litres [m/l]
  • minimum width of the English channel: meters [m]

When plugged into the left hand side this amounts to:

[J / Pa * (m/l) / m] = [Nm / (N/m²) * (m/m³) / m] = 1

Using the following unit relations (this does not reduce units to the seven SI units, but does use some derived units):

  • 1 Joule = 1 Newton-meter [J] = [Nm]
  • 1 Pascal = 1 Newton per square-meter [Pa] = [N/m²]
  • 1 cubic-metre = 1000 litres [m³] = 1000 [l]

Note that for dimensional analysis constant factors are not taken into account. Here square brackets are used to denote dimensional analysis. In the above equation the unit of force (newton) as well as all the units of length (meter) cancel out each other.

Another aspect of the comic is, that sometimes dimension analysis of equations that were not derived but rather "made up" can provide insight. However, in reality such an equations would have to be somehow "motivated", which is more of an art than science and requires great experience in the field the equation should relate to. The presented equation combines values that have no immediate causal relation with each other, so it does not make sense. Furthermore, since the values have absolutely no causal relation to each other, the ratios presented are simple coincidence; despite Cueball's claim, building a better Prius would not cause any changes to the English Channel.

In addition, if a better Prius were built, with a higher gas mileage, the equation would only be accurate if one of the other quantities changed. A higher gas mileage could be balanced if the English Channel became wider thus explaining why Cueball states that England will drift to sea away from France.

The title text also refers to this, as a higher pressure at Earth's core could also balance the equation, keeping the result constant equal to Pi. The Planck energy is an absolute, however, so it is not mentioned as a way to balance the next version of Prius.

For such relations it is also true that many of them can be made up by searching for matching values for variables to derive at the wanted number finally. E.g. if it is desired to arrive at e instead of π on the comic-equation, this could be done by using a different car model and/or a different length measurement and/or a different pressure (e.g. by choosing a different planet) and/or some other arbitrary energy.

Some numbers for this calculation

The Planck energy is the only nearly exact value we do have. Compared to other Planck values it is very large (macroscopic).

E_planck = 1.956 x 109 J =  1.956 x 109 Nm

Pressure at the core of the earth ranges from 330 to 360 gigapascals. Using a simple value like this:

P_core = 350 GPa = 3.5 x 1011 N/m²

Prius combined EPA gas mileage: For the third generation (from 2010) the City mileage is 51 mpg and the Highway mileage is 48 mpg. But it is the combined EPA gas mileage which is used in the equation and that is 50 mpg.

50 mpg => 13.2 miles per litre => 21,000,000 meter per m³

Minimum width of the English Channel is about

33.1 km or 33,100 meters.

Calculating from these values you will get π=3.54... that is pretty close to π=3.14... while using a Planck value. According to Cueball this will be within the experimental error (the combined error for all four numbers - none are exact numbers). For instance if you tried the ePrius you would probably get closer to that target - as the mileage in real life usually is somewhat lower than the value given - and that would reduce the result.


My Hobby:
Abusing dimensional analysis
[On a blackboard.]
(Planck energy/Pressure at the Earth's core) x (Prius combined EPA gas mileage/Minimum width of the English Channel) = π
[Cueball indicates this equation with a pointer in front of a class.]
Cueball: It's correct to within experimental error, and the units check out. It must be a fundamental law.
Student: But what if they build a better Prius?
Cueball: Then England will drift out to sea.


  • Interestingly, this sort of dimensional analysis is formalized by the so called Buckingham π theorem, where each dimensionless grouping is called a "Pi". Thus formally each grouping can be denoted as equal to "Pi", although this is a rather obscure pun in the context of the comic.
  • The fine-structure constant α =~ 1/137 is a common known analogue in physics.
  • This is another comic in the infrequent My Hobby series.

comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!


Made a minor addition to the explanation as it relates to the "Buckingham Pi" formalization. This may be a 2nd order pun in the comic.Tardyon (talk) 15:05, 3 February 2014 (UTC)

The units only check out if mileage is given in the form liters/100 km. If you use miles/gallon you end up with units of length^- 22:17, 13 November 2014 (UTC)

Or, maybe the Plank Energy will decrease... Mountain Hikes (talk) 04:01, 17 December 2015 (UTC)

Why is he breaking from his usual black and white style? The green was a suprise 22:06, 27 November 2016 (UTC)Davy

England is part of the mainland of Britain and can't float anywhere on its own without tearing itself away from the rest of the land. It's like suggesting that California can float away from America. (Maybe that wasn't a good example, what with the San Andreas Fault, and all...) Brenda (talk) 09:52, 15 June 2018 (UTC)