A rainbow is an optical and meteorological phenomenon that causes a spectrum of light to appear in the sky when the Sun shines onto droplets of moisture in the Earth’s atmosphere. They take the form of a multicoloured arc, with red on the outer part of the arch and violet on the inner section of the arch. A rainbow spans a continuous spectrum of colours; the discrete bands are an artefact of human colour vision. The most commonly cited and remembered sequence, in English, is Newton’s sevenfold red, orange, yellow, green, blue, indigo and violet (popularly memorized by mnemonics like Roy G. Biv). Rainbows can be caused by other forms of water than rain, including mist, spray, and dew.
Rainbows can be observed whenever there are water drops in the air and sunlight shining from behind a person at a low altitude angle (on the ground). The most spectacular rainbow displays happen when half of the sky is still dark with raining clouds and the observer is at a spot with clear sky in the direction of the Sun. The result is a luminous rainbow that contrasts with the darkened background.
The rainbow effect is also commonly seen near waterfalls or fountains. In addition, the effect can be artificially created by dispersing water droplets into the air during a sunny day. Rarely, a moonbow, lunar rainbow or nighttime rainbow, can be seen on strongly moonlit nights. As human visual perception for colour is poor in low light, moonbows are often perceived to be white. It is difficult to photograph the complete semi-circle of a rainbow in one frame, as this would require an angle of view of 84°. For a 35 mm camera, a lens with a focal length of 19 mm or less wide-angle lens would be required. Now that powerful software for stitching several images into a panorama is available, images of the entire arc and even secondary arcs can be created fairly easily from a series of overlapping frames. From an aeroplane, one has the opportunity to see the whole circle of the rainbow, with the plane’s shadow in the centre. This phenomenon can be confused with the glory, but a glory is usually much smaller, covering only 5°–20°. At good visibility conditions (for example, a dark cloud behind the rainbow), the second arc can be seen, with inverse order of colours. At the background of the blue sky, the second arc is barely visible.
The Persian physicist and polymath, Ibn al-Haytham (Alhazen; 965-1039), attempted to provide a scientific explanation for the rainbow phenomenon. In his Maqala fi al-Hala wa Qaws Quzah (On the Rainbow and Halo), he “explained the formation of rainbow as an image, which forms at a concave mirror. If the rays of light coming from a farther light source reflect to any point on axis of the concave mirror, they form concentric circles in that point. When it is supposed that the sun as a farther light source, the eye of viewer as a point on the axis of mirror and a cloud as a reflecting surface, then it can be observed the concentric circles are forming on the axis.” He was not able to verify this because his theory that “light from the sun is reflected by a cloud before reaching the eye” did not allow for a possible experimental verification. This explanation was later repeated by Averroes, and, though incorrect, provided the groundwork for the correct explanations later given by Kamāl al-Dīn al-Fārisī (1267-ca.1319/1320) and Theodoric of Freiberg.
Ibn al-Haytham’s contemporary, the Persian philosopher and polymath Ibn Sīnā (Avicenna; 980-1037), provided an alternative explanation, writing “that the bow is not formed in the dark cloud but rather in the very thin mist lying between the cloud and the sun or observer. The cloud, he thought, serves simply as the background of this thin substance, much as a quicksilver lining is placed upon the rear surface of the glass in a mirror. Ibn Sīnā would change the place not only of the bow, but also of the colour formation, holding the iridescence to be merely a subjective sensation in the eye.” This explanation, however, was also incorrect.
In Song Dynasty China (960–1279), a polymathic scholar-official named Shen Kuo (1031–1095) hypothesized—as a certain Sun Sikong (1015–1076) did before him—that rainbows were formed by a phenomenon of sunlight encountering droplets of rain in the air. Paul Dong writes that Shen’s explanation of the rainbow as a phenomenon of atmospheric refraction “is basically in accord with modern scientific principles.”
The Persian astronomer, Qutb al-Din al-Shirazi (1236–1311), gave a fairly accurate explanation for the rainbow phenomenon. This was elaborated on by his student, Kamāl al-Dīn al-Fārisī (1260–1320), who gave a more mathematically satisfactory explanation of the rainbow. He “proposed a model where the ray of light from the sun was refracted twice by a water droplet, one or more reflections occurring between the two refractions.” He verified this through extensive experimentation using a transparent sphere filled with water and a camera obscura. As he noted in his Kitab Tanqih al-Manazir (The Revision of the Optics), al-Farisi used a large clear vessel of glass in the shape of a sphere, which was filled with water, in order to have an experimental large-scale model of a rain drop. He then placed this model within a camera obscura that has a controlled aperture for the introduction of light. He projected light unto the sphere and ultimately deducted through several trials and detailed observations of reflections and refractions of light that the colours of the rainbow are phenomena of the decomposition of light. His research had resonances with the studies of his contemporary Theodoric of Freiberg (without any contacts between them; even though they both relied on Ibn al-Haytham’s legacy), and later with the experiments of Descartes and Newton in dioptrics (for instance, Newton conducted a similar experiment at Trinity College, though using a prism rather than a sphere).
In Europe, Ibn al-Haytham’s Book of Optics was translated into Latin and studied by Robert Grosseteste. His work on light was continued by Roger Bacon, who wrote in his Opus Majus of 1268 about experiments with light shining through crystals and water droplets showing the colours of the rainbow. Theodoric of Freiberg is known to have given an accurate theoretical explanation of both the primary and secondary rainbows in 1307. He explained the primary rainbow, noting that “when sunlight falls on individual drops of moisture, the rays undergo two refractions (upon ingress and egress) and one reflection (at the back of the drop) before transmission into the eye of the observer”. He explained the secondary rainbow through a similar analysis involving two refractions and two reflections.