[Physics] Why does a pinhole create an image of the Sun

cameraelectromagnetic-radiationgeometric-opticsoptics

When I was a kid I happened to encounter a solar eclipse. I was taught that I should not look at the Sun directly when it is undergoing an eclipse, but I was extremely curious to see it.

Somebody suggested to me that if I created a pinhole in cardboard and place the cardboard in the Sun and managed to get the light passing through the pinhole on a screen inside the room then I could see the eclipse on the screen. I did that and I could see the eclipse on the screen.

My question is, why was I not seeing a circular illumination on the screen? But to my surprise, as the eclipse was progressing on the Sun, the illumination I saw on the screen was also undergoing the same eclipse! It means the illumination on the screen was the image of the Sun!

Why was it not a uniformly illuminated circular patch on the screen? Why was it undergoing an eclipse? The light was passing through all the portions of the hole, so why was an eclipse showing on the screen?

In summary, how does a pinhole create an image of the Sun? And not always a circular illumination?

Edit1: If we place a single point source of light in front of the pinhole then it creates a circular illumination on the screen, but if we put an extended object in front of the pinhole then it creates an inverted image of the object on the screen, how? An extended object can also be considered as a collection of infinite point sources of light. If one source produces a circular patch then infinite sources should also produce the same circular patch, just of greater intensity. The shape of the patch should not change. Why does the shape of the patch change to the shape of the object on the screen?
Kindly help.

Best Answer

Let us start from the basics. Consider a point source of light placed on the principal axis of the pin hole camera as shown in the diagram below:

enter image description here

The point source produces a circular illumination on the screen. Now let's displace the point source towards $D$ from the centre as shown below:

enter image description here

The circular illumination also moves away from the centre but in the opposite direction i.e., towards $d$. For the time being let us assume the displacement of the object is small compared to its distance from the pinhole. So that we can still consider the illumination on the screen to be nearly circular for the sake of simplicity. I've shown the displacement along one direction. But similar phenomenon happens for displacements in all other directions perpendicular to the principal axis. I'll leave it to your imagination to play with the system.

Now, let's consider an extended object which consists of four point sources of light as shown below:

enter image description here

The circular illumination due to the central yellow point source is also at the centre. But for off-centred red, green and blue point sources, the illumination is also off-centred as per our previous result. The corresponding inverted image formed is also shown above.

It's not necessary for the extended object to be made of point sources emitting different colours (wavelengths to be more precise). I've just coloured them differently to make the point clear.

Sun is not a point source and is an extended body which contains infinitely many point sources. Similar arguments can be used to explain why we observe the image of eclipse instead of a circular patch of light.

To witness the solar eclipse of December 26, 2019, I too made a pin hole camera and the image of the eclipse is shown below:

enter image description here

Don't get puzzled by the three images of the eclipse numbered one, two and three. I just made three circular holes each of different diameters ($r_1<r_2<r_3$) to check which one gives the best result.

As explained by Farcher in his answer, there exists an optimum pinhole diameter for a given wavelength of light and distance of the pinhole from the screen. If the pinhole is too small, then the diffraction effects would become significant. Also the intensity of the image decreases with the decrease in the pinhole size. When we increase the pinhole size, the intensity increases, but at the same time the image becomes more blurred as the circle of illumination grows in size. With the given order of pinhole sizes you could also verify this from the image above (although the difference between the second and third image is not that pronounced in this image).

As per the Wikipedia article on pinhole camera the optimum diameter $d$ of the pinhole is given by the following expression:

$$d=2\sqrt{f\lambda}$$

where $d$ is pinhole diameter, $f$ is focal length (distance from pinhole to image plane) and $\lambda$ is the wavelength of light.


Image courtesy: My own work :)

Related Question