Tag Archives: Fun

Spot the Difference

A little while ago, I wrote a blog post concerning autostereograms, more commonly referred to as Magic Eye images. These are images that, at first sight, seem to possess nothing but a random-seeming pattern. However, looked at in a certain way, a three-dimensional image can actually be made visible. Below is an example of a such an image (taken from Wikipedia):

Autostereogram of a shark

In my previous post about these stereograms, I pointed out that the best way to understand what is going on is to look at a two-image stereogram (see below). Here, the left eye looks at the left image while the right eye looks at the right image, and the brain is tricked into triangulating a distance because the two images are almost the same. The only difference is that part of the image has been displaced horizontally, which makes that part appear like it is at a different depth. This is explained at the bottom of this page, and an example is shown below:

Random Dot Stereogram

Boring old square

In this post, however, I would like to point out that this visual technique can be used to solve a different kind of puzzle. When I was in middle school, one of the most popular games to play was called Photo-Hunt, essentially a spot-the-difference puzzle. You probably know what I’m referring to, but here is an example just in case you don’t:

The bizarre thing about these images is that if you look at them like you would a Magic Eye image, the differences between the two images essentially “pop out” (or rather they flicker noticeably). Because each of your eyes is looking at each image separately, your brain is tricked into thinking there is a single image at a certain depth. Therefore, the differences reveal themselves, because while the parts of the image that are identical are viewed with a particular depth of view, the differences don’t have the same effect. Your eyes cannot triangulate the differences, and they appear to flicker. I wish I had learned this trick in middle school, when this game was all the rage.

While this may all seem a little silly, I noticed recently while zoning out during a rather dry seminar, that I could notice very minute defects in TEM images using this technique. Here is an example of an image of a bubble raft (there are some really cool videos of bubble rafts online — see here for instance), where the defects immediately emerge when viewed stereoscopically (i.e. like a Magic-Eye):


Bubble raft image taken from here

I won’t tell you where the defects are, but just to let you know that there are three quite major ones, which are the ones I’m referring to in the image. They’re quite obvious even if not viewed stereoscopically.

Because so many concepts in solid state physics depend on crystal symmetries and periodicity, I can foresee entertaining myself during many more dry seminars in the future, be it a seminar with tons of TEM images or a wealth of diffraction data. I have even started viewing my own data this way to see if anything immediately jumps out, without any luck so far, but I suspect it is only a matter of time before I see something useful.

An Excellent Intro To Physical Science

On a recent plane ride, I was able to catch an episode of the new PBS series Genius by Stephen Hawking. I was surprised by the quality of the show and in particular, its emphasis on experiment. Usually, shows like this fall into the trap of giving one the facts (or speculations) without an adequate explanation of how scientists come to such conclusions. However, this one is a little different and there is a large emphasis on experiment, which, at least to me, is much more inspirational.

Here is the episode I watched on the plane:

Holiday Puzzle

During the holidays, I’ve spent some time on puzzles like Sudoku, Kakuro and crosswords. In this spirit, I made a condensed matter themed crossword puzzle for you to enjoy (click to enlarge and print). Happy holidays!


A Staple of the Italian Diet

Image result for plasmon biscotti

Image result for plasmon biscotti

I’m not sure what to think about this, but apparently they are quite delicious.

Too Close to Home

I haven’t been blogging much recently because I just moved from Chicago to Boston. Also, I don’t currently have access to internet in my new apartment. As always, there’s an XKCD comic to capture this scenario:


Hopefully, I’ll be back and posting more often soon!

Lunar Eclipse and the 22 Degree Halo

The beautiful thing about atmospheric optics is that (almost) everyone can look up at the sky and see stunning optical phenomena from the sun, moon or some other celestial object. In this post I’ll focus on two particularly striking phenomena where the physical essence can be captured with relatively simple explanations.

The 22 degree halo is a ring around the sun or moon, which is often observed on cold days. Here are a couple images of the 22 degree halo around the sun and moon respectively:


22 degree halo around the sun


22 degree halo around the moon

Note that the 22 degree halo is distinct from the coronae, which occur due to different reasons. While the coronae arise due to the presence of water droplets, the 22 degree halo arises specifically due to the presence of hexagonal ice crystals in the earth’s atmosphere. So why 22 degrees? Well, it turns out that one can answer the question using rather simple undergraduate-level physics. One of the most famous questions in undergraduate optics is that of light refraction through a prism, illustrated below:


Fig. 1: The Snell’s Law Prism Problem

But if there were hexagonal ice crystals in the atmosphere, the problem is exactly the same, as one can see below. This is so because a hexagon is just an equilateral triangle with its ends chopped off. So as long as the light enters and exits on two sides of the hexagon that are spaced one side apart, the analysis is the same as for the triangle.


Equilateral triangle with ends chopped off, making a hexagon

It turns out that \theta_4 in Fig. 1 can be solved as a function of \theta_1 with Snell’s law and some simple trigonometry to yield (under the assumption that n_1 =1):

\theta_4 = \textrm{sin}^{-1}(n_2 \times \textrm{sin}(60-\textrm{sin}^{-1}(\textrm{sin}(\theta_1)/n_2)))

It is then pretty straightforward to obtain \delta, the difference in angle between the incident and refracted beam as a function of \theta_1. I have plotted this below for the index of refraction of ice crystals for three different colors of light, red, green and blue (n_2 = 1.306, 1.311 and 1.317 respectively):


The important thing to note in the plot above is that there is a minimum angle below which there is no refracted beam, and this angle is precisely 21.54, 21.92 and 22.37 degrees for red, green and blue light respectively. Because there is no refracted beam below 22 degrees, this region appears darker, and then there is a sudden appearance of the refracted beam at the angles listed above. This is what gives rise to the 22 degree halo and also to the reddish hue on the inside rim of the halo.

Another rather spectacular celestial occurrence is the lunar eclipse, where the earth completely obscures the moon from direct sunlight. This is the geometry for the lunar eclipse:


Geometry of the lunar eclipse

The question I wanted to address is the reddish hue of the moon, despite it lying in the earth’s shadow. It would naively seem like the moon should not be observable at all. However, there is a similar effect occurring here as with the halo. In this case, the earth’s atmosphere is the refracting medium. So just as light incident on the prism was going upward and then exited going downward, the sun’s rays similarly enter the atmosphere on a trajectory that would miss the moon, but then are bent towards the moon after interacting with the earth’s atmosphere.

But why red? Well, this has the same origins as the reddish hue of the sunset. Because light scatters from atmospheric particles as 1/\lambda^4, blue light gets scattered away much more easily than red light. Hence, the only color of light left by the time the light reaches the moon is primarily of red color.

It is interesting to imagine what the earth looks like from the moon during a lunar eclipse — it likely looks completely dark apart from a spectacular red halo around the earth. Anyway, one should realize that Snell’s law was first formulated in 984 by Arab scientist Ibn Sahl, and so it was possible to come to these conclusions more than a thousand years ago. Nothing new here!

European League Underdogs

I’m taking a little detour away from physics blogging today to dip my toe into the world of football (soccer). With Leicester City’s success in the Premier League this season, I feel compelled to dedicate one post to this most unlikely of events. To those not familiar with English football, prior to the beginning of the season, Leicester City FC was famously a whopping 5000/1 bet to win the Premier League. There is an amusing BBC video demonstrating how unlikely this victory was by comparing to some other 5000/1 bets. Teaser: bookies are giving 5000/1 odds on Elvis being alive.

The last decade of world football has been dominated by a style of football colloquially referred to as “tiki-taka”. This type of football has been most often associated with Barcelona FC (and more recently with Bayern Munich) at the club level and by Spain on the international front. Tiki-taka is built on a heavily possession-based game. This high percentage of possession has two effects:

  1. It denies the opposition chances to score by denying them the ball
  2. Players of extremely high technical ability are required so that:
    • They can retain possession in tight spaces
    • They are able to find openings in the opposing team’s defense

Tiki-taka has probably been the most successful strategy in modern football, but it requires the best players in the world to execute the strategy. Therefore, this is a luxury that only teams with a great deal of money can employ.

The question then naturally arises: how is a team with fewer resources supposed to compete against the teams with better players?

To answer this question, I would like to concentrate on three teams, one from the Premier League (Leicester City), one from the German Bundesliga (Borussia Dortmund) and one from La Liga in Spain (Athletico Madrid). In the past seven years, these three teams, despite being at a huge financial disadvantage compared to other teams in their leagues, were still able to win their respective domestic leagues.

For those who are unfamiliar with football, in the Premier League, the teams with the most money are Manchester City, Manchester United, Chelsea and (despite what Arsene Wenger will tell you) Arsenal. In the German league, it is without a doubt Bayern Munich. In the Spanish league, Real Madrid and Barcelona are by far the richest teams in the league.

So how did the aforementioned underdogs overcome the odds and win their respective leagues on a shoestring budget? I contend that the answer is with a three-pronged strategy:

1. Tackle Hard

Take a look at the plot below. It ranks the season’s champions in terms of tackles per game. For example, in the Bundesliga season ending in 2013, the champions were Bayern Munich and they ranked 18th (dead last) in their league in terms of tackles/game. It is important to take into consideration when reading the plots that the English and Spanish leagues have 20 teams, while the German league has 18 teams.


This plot shows that on the way to their league titles, Athletico Madrid and Leicester ranked 1st in the league in the number of tackles per game. Borussia Dortmund ranked 2nd in tackles/game for both their 2011 and 2012 trophies.

Note that it is rare for a team to win the league with the highest number of tackles per game. This is especially true in Germany where from 2013-2016 Bayern Munich, who won the Bundesliga in those four seasons, ranked dead last in tackles/game.

2. Tackle Smart

Just because an underdog team tackles harder, however, doesn’t mean that they will miraculously start winning games. Take a look now at the plot below. It shows the end-of-season league position of the team with the highest number of tackles/game.


One can see that there is no pattern at all! In fact, if we take the average league position over the past seven years of the top-tackling teams we get:

  1. Premier League: 9.4
  2. Bundesliga: 8.4
  3. La Liga: 9.4

Keeping in mind that the Bundesliga only has 18 teams, this says that the tackles/game statistic is basically irrelevant! However, I showed in the previous section that Leicester, Athletico and Dortmund all had a high tackles/game trait in common. What gives?!

The data shows that Leicester, Athletico and Dortmund do something different. They don’t just tackle hard, they tackle hard and smart. This means three things:

  1. They seek to win the ball back in dangerous positions
  2. After recognizing a dangerous position, they win the ball back by pressing with more than one player
  3. They take advantage of the turnovers by producing goal opportunities, especially on the counter attack

This means that what these three teams do is defend well as a team. It’s no use having many great tacklers on the team if they do not collectively pressurize the ball when they see an opponent in a weak position. If one watches as much football as I do, one will realize the extent to which Athletico Madrid has turned this collective defending almost into an art form.

3. Don’t Worry about Possession and Take Advantage of Counter Attacks

The last important ingredient is to take advantage of this collective tackling and use it to benefit on the counter attack. Many teams that tackle hard are too slow to get the ball forward and therefore lose their tackling advantage.

Leicester (8 counter attack goals) and Dortmund (11 counter attack goals) ranked 1st in the number of counter attack goals scored in the 2016 and 2012 seasons, when they respectively won their domestic titles. Athletico Madrid (8 counter attack goals), on the other hand, ranked 3rd, behind (you guessed it!) Barcelona (10 counter attack goals) and Real Madrid (13 counter attack goals). It should be kept in mind, however, that Real Madrid and Barcelona outscored Athletico over the season by 27 and 23 goals respectively. Therefore, it can be said that these three underdogs put a huge emphasis on effective counter-attacking football.

Needless to say, this means that these three teams do not put an emphasis on possession-based football unlike their tiki-taka counterparts. In their championship winning seasons, the highest possession any of these teams had over the course of the season was Dortmund in 2012 with a measly 53.3%. In fact, in the 2016 season, Leicester had 44.3% possession over the course of the season, third last in the league! Athletico also routinely finishes outside the top 5 in La Liga in possession stats, including their title-winning season.

Putting All of it Together

Okay, so that was probably a lot to process, so let me summarize and paint a picture of what the data tells us.

It turns out that the underdog champions have quite a bit in common with each other. One significant revelation from these statistics is that it is not only important to tackle hard but to also tackle smart. This intelligence in tackling requires the entire team to be on the same wavelength. Teammates need to help each other to win the ball back and the team’s forwards need to make themselves available for a pass immediately after dispossessing the opposition. Take a look at this video (taken from here) to see how fast Leicester can turn defense into attack. Athletico and Dortmund also employ similar lightning-paced counterattacks.

There is an important lesson here for teams that do not have the wealth of the Barcelonas and Real Madrids of the world. There is a way by which one can beat these teams. This requires an extreme dedication to a collective defensive strategy coupled with an emphasis on direct counterattacking football on the offensive end. To play with this strategy requires the entire team to buy into this ethos. These teams cannot have “luxury players” that don’t graft.

Lastly, let me say that following Dortmund and Athletico’s domestic success, both teams went on to play in the UEFA Champions League (UCL) final. In Athletico’s case, they are in the European Cup final again this year (to be played May 28th). This begs the question as to how far Leicester can go next year in the UCL. Unfortunately, bookies have wised up and are only giving Leicester 100/1 odds to win the entire thing.

Most of the statistics were obtained at http://www.whoscored.com

Update: An article about Atheltico Madrid has appeared today discussing similar themes and can be found here: http://www.espnfc.com/club/atletico-madrid/1068/blog/post/2880642/diego-simeones-magic-touch-keeps-atletico-madrid-in-contention.