Monthly Archives: April 2017

The Physicist’s Proof II: Limits and the Monty Hall Problem

As an undergraduate, I was taught the concept of the “physicist’s proof”, a sort of silly concept that was a professor’s attempt to get us students to think a little harder about some problems. Here, I give you a “physicist’s proof” of the famous Monty Hall problem, which (to me!) is easier to think about than the typical Bayesian approach.

The Monty Hall problem, which was developed on a TV game show, goes something like this (if you already know the Monty Hall problem, you can skip the paragraphs in italics):

Suppose you are a contestant on a game show where there are three doors and a car behind one of them. You must select the correct door to win the car.

Image result for monty hall problem

You therefore select one of the three doors. Now, the host of the show, who knows where the car is, opens a different door for you and shows you that there is no car behind that door.

There are two remaining unopened doors — the one you have chosen and one other. Now, before you find out whether or not you have guessed correctly, the host gives you the option to change your selection from the door you initially chose to the other remaining unopened door.

Should you switch or should you remain with you initial selection?

When I first heard this problem, I remember thinking, like most people, that there was a 50/50 chance of the car being behind either door. However, there is a way to convince yourself that this is not so. This is by taking the limit of a large number of doors. I’ll explain what I mean in a second, but let me just emphasize that taking limits is a common and important technique that physicists must master to think about problems in general.

In Einstein’s book, Relativity, he describes using this kind of thinking to point out absurd consequences of Galilean relativity. Einstein imagined himself running away from a clock at the speed of light: in this scenario, the light from the clock would be matching his pace and he would therefore observe the hands of the clock remaining stationary and time standing still. Were he able to run just a little bit faster than the light emanating from the clock, he would see the hands of the clock start to wind backwards. This would enable him to violate causality!  However, Einstein held causality to be a dearer physical truth than Newton’s laws. Special relativity was Einstein’s answer to this contradiction, a conclusion he reached by considering a physical limit.

Now, let us return to the Monty Hall problem. And this time, instead of three doors, let’s think about the limit of, say, a million doors. In this scenario, suppose that you have to choose one door from one million doors instead of just three. For the sake of argument, suppose you select door number 999,983. The host, who knows where the car is, opens all the other doors, apart from door number 17. Should you stick to door 999,983 or should you switch to door 17?

Let’s think about this for a second — there are two scenarios. Either you were correct on your first guess and the car is behind door 999,983 or you were incorrect on your first guess and the car is behind door 17. When you initially made your selection, the chance of you having made the right guess was 1/1,000,000! The probability of you having chosen the right door is almost zero! If you had chosen any other door apart from door 17, you would have been faced with the same option: the door you chose vs. door 17. And there are 999,999 doors for you to select and not win the car. In some sense, by opening all the other doors, the host is basically telling you that the car is behind door 17 (there is a 99.9999% chance!).

To me, at least, the million door scenario demonstrates quite emphatically that switching from your initial choice is more logical. For some reason, the three door case appears to be more psychologically challenging, and the probabilities are not as obvious. Taking the appropriate limit of the Monty Hall problem is therefore (at least to me) much more intuitive!

Especially for those who are soon to take the physics GRE — remember to take appropriate limits, this will often eliminate at least a couple answers!

For completeness, I show below the more rigorous Bayesian method for the three-door case:

Bayes theorem says that:

P(A|B) = \frac{P(B|A) P(A)}{P(B)}

For the sake of argument, suppose that you select door 3. The host then shows you that there is no car behind door 2. The calculation goes something like this. Below, “car3” translates to “the car was behind door 3” and “opened2” translates to “the host opened door 2”

P(car3|opened2) = \frac{P(opened2 | car3) P(car3)}{P(opened2)}

The probabilities in the numerator are easy to obtain P(opened2 | car3) = 1/2 and P(car3) = 1/3. However, the P(opened2) is a little harder to calculate. It helps to enumerate all the scenarios. Given that you have chosen door three, if the car is behind door 1, then the probability that the host opens door two is 1. Given that you have chosen door three and are correct, the probability of the host choosing door 2 is 1/2. Obviously, the probability of the car being behind door 2 is zero. Therefore, considering that all doors have a 1/3 possibility of having the car behind them at the outset, the denominator becomes:

P(opened2) = 1/3*(1/2 + 1 + 0) = 1/2

and hence:

P(car3|opened2) = \frac{1/2*1/3}{1/2} = 1/3.

Likewise, the probability that the car is behind door 1 is:

P(car1|opened2) = \frac{P(opened2 | car1) P(car1)}{P(opened2)}

which can similarly be calculated:

P(car1|opened2) = \frac{1*1/3}{1/2} = 2/3.

It is a bizarre answer, but Bayesian results often are.

An Undergraduate Optics Problem – The Brewster Angle

Recently, a lab-mate of mine asked me if there was an intuitive way to understand Brewster’s angle. After trying to remember how Brewster’s angle was explained to me from Griffiths’ E&M book, I realized that I did not have a simple picture in my mind at all! Griffiths’ E&M book uses the rather opaque Fresnel equations to obtain the Brewster angle. So I did a little bit of thinking and came up with a picture I think is quite easy to grasp.

First, let me briefly remind you what Brewster’s angle is, since many of you have probably not thought of the concept for a long time! Suppose my incident light beam has both components, s– and p-polarization. (In case you don’t remember, p-polarization is parallel to the plane of incidence, while s-polarization is perpendicular to the plane of incidence, as shown below.) If unpolarized light is incident on a medium, say water or glass, there is an angle, the Brewster angle, at which the light comes out perfectly s-polarized.

An addendum to this statement is that if the incident beam was perfectly p-polarized to begin with, there is no reflection at the Brewster angle at all! A quick example of this is shown in this YouTube video:

So after that little introduction, let me give you the “intuitive explanation” as to why these weird polarization effects happen at the Brewster angle. First of all, it is important to note one important fact: at the Brewster angle, the refracted beam and the reflected beam are at 90 degrees with respect to each other. This is shown in the image below:

Why is this important? Well, you can think of the reflected beam as light arising from the electrons jiggling in the medium (i.e. the incident light comes in, strikes the electrons in the medium and these electrons re-radiate the light).

However, radiation from an oscillating charge only gets emitted in directions perpendicular to the axis of motion. Therefore, when the light is purely p-polarized, there is no light to reflect when the reflected and refracted rays are orthogonal — the reflected beam can’t have the polarization in the same direction as the light ray! This is shown in the right image above and is what gives rise to the reflectionless beam in the YouTube video.

This visual aid enables one to use Snell’s law to obtain the celebrated Brewster angle equation:

n_1 \textrm{sin}(\theta_B) = n_2 \textrm{sin}(\theta_2)

and

\theta_B + \theta_2 = 90^o

to obtain:

\textrm{tan}(\theta_B) = n_2/n_1.

The equations also suggest one more thing: when the incident light has an s-polarization component, the reflected beam must come out perfectly polarized at the Brewster angle. This is because only the s-polarized light jiggles the electrons in a way that they can re-radiate in the direction of the outgoing beam. The image below shows the effect a polarizing filter can therefore have when looking at water near the Brewster angle, which is around 53 degrees for water.

To me, this is a much simpler way to think about the Brewster angle than dealing with the Fresnel equations.

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 (click to enlarge):

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):

TEMBubbleRaft

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.

Book Review – The Gene

Following the March Meeting, I took a vacation for a couple weeks, returning home to Bangkok, Thailand. During my holiday, I was able to get a hold of and read Siddhartha Mukherjee’s new book entitled The Gene: An Intimate History.

I have to preface any commentary by saying that prior to reading the book, my knowledge of biology embarrassingly languished at the middle-school level. With that confession aside, The Gene was probably one of the best (and for me, most enlightening) popular science books I have ever read. This is definitely aided by Mukherjee’s fluid and beautiful writing style from which scientists in all fields can learn a few lessons about scientific communication. The Gene is also touched with a humanity that is not usually associated with the popular science genre, which is usually rather dry in recounting scientific and intellectual endeavors. This humanity is the book’s most powerful feature.

Since there are many glowing reviews of the book published elsewhere, I will just list here a few nuggets I took away from The Gene, which hopefully will serve to entice rather than spoil the book for you:

  • Mukherjee compares the gene to an atom or a bit, evolution’s “indivisible” particle. Obviously, the gene is physically divisible in the sense that it is made of atoms, but what he means here is that the lower levels can be abstracted away and the gene is the relevant level at which geneticists work.
    • It is worth thinking of what the parallel carriers of information are in condensed matter problems — my hunch is that most condensed matter physicists would contend that these are the quasiparticles in the relevant phase of matter.
  • Gregor Mendel, whose work nowadays is recognized as giving birth to the entire field of genetics, was not recognized for his work while he was alive. It took another 40-50 years for scientists to rediscover his experiments and to see that he had localized, in those pea plants, the indivisible gene. One gets the feeling that his work was not celebrated while he was alive because his work was far ahead of its time.
  • The history of genetics is harrowing and ugly. While the second World War was probably the pinnacle of obscene crimes committed in the name of genetics, humans seem unable to shake off ideas associated with eugenics even into the modern day.
  • Through a large part of its history, the field of genetics has had to deal with a range of ethical questions. There is no sign of this trend abating in light of the recent discovery of CRISPR/Cas-9 technology. If you’re interested in learning more about this, RadioLab has a pretty good podcast about it.
  • Schrodinger’s book What is Life? has inspired so much follow-up work that it is hard to overestimate the influence it has had on a generation of physicists that transitioned to studying biology in the middle of the twentieth century, including both Watson and Crick.

While I could go on and on with this list, I’ll stop ruining the book for you. I would just like to say that at the end of the book I got the feeling that humans are still just starting to scratch the surface of understanding what’s going on in a cell. There is much more to learn, and that’s an exciting feeling in any field of science.

Aside: In case you missed March Meeting, the APS has posted the lectures from the Kavli Symposium on YouTube, which includes lectures from Duncan Haldane and Michael Kosterlitz among others.