Lego Math Maniac

Though I have lived in Southern California for several years, I have never been to Legoland, a theme park based around the classic (and awesome) children's toys.  The park perennially sits in the shadow of more popular parks in the region (e.g. Disneyland, Universal Studios, and the Banana Club Museum), and its prices make it hard to justify a visit for an adult male with no children, no matter how many fond Lego memories he may have from his childhood.  However, given the recent attention Lego has received in the context of mathematics, it may be time to finally plan a trip.

A recent article on Wired's website discusses the mathematics of Lego - more specifically, it highlights an article on the complexity of Lego systems.  As any child will tell you, Lego sets can vary from very simple, small sets, to much larger and more complicated ones.  As a simple corollary, smaller sets will have fewer pieces, and larger sets will have more pieces.  But how does the number of types of pieces grow as the size of the set grows?  For example, if a 100 piece set consists of 10 different types of pieces, is it reasonable to guess that a 1000 piece set will consist of 100 different types of pieces?

In a word, no.  Though the number of different types of pieces will grow as the size of a set grows, it will grow slower than the size of the set (in other words, it will grow sub-linearly).  To put it another way, as the size of the Lego set grows, rather than building more and more new types of pieces, the same types of pieces that are present in smaller sets tend to be used in new ways.  The effect is that the proportion of distinct piece types decreases as the size of the set grows.  From a mathematical standpoint, if we let y denote the number of different types of pieces, and x be the number of pieces, then this power law is giving us the following equation:

y = Axb

for some constants A and b, with b between 0 and 1.  While y grows as x grows, it does not grow as quickly as x itself.

Taken in a broader context, though, this should not be surprising.  Examples of similar phenomena are prevalent throughout nature, as well as in made-made phenomena such as urban planning.  One example cited in the Wired article is Kleiber's Law, which states that the ratio of an animal's metabolic rate to its mass tends to decrease as mass increases (in other words, larger animals are capable of metabolizing more efficiently).  Here's an article that discusses an analogue of this power law in the context of brain development, and relates this to the development of cities.

So the next time you give a Lego set to a child, feel free to explain this connection - I'm sure any child will welcome the math lesson (at least, any child worth giving a Lego set to in the first place).  It's also worth noting that this phenomenon is most likely not unique to Lego sets - I am eagerly awaiting a similar report on the mathematics of Tinkertoys - though unfortunately, in this case the number of piece types seems not to have increased in nearly a century.

comments powered by Disqus