Ibn al-Haytham Writes Book of Optics
كتاب المناظر لابن الهيثم
# Ibn al-Haytham and the Book of Optics: The Father of Modern Science
Introduction: The Scientist Who Changed How We See
When the Polish astronomer Witelo compiled his great Latin optics treatise "Perspectiva" in approximately 1278 CE, he drew so heavily on a single Arabic source that his work is almost incomprehensible without it. When Johannes Kepler, in the early seventeenth century, worked out the mathematics of how the retina forms an image, he was completing an investigation that the same Arabic source had begun six hundred years earlier. When Roger Bacon argued in thirteenth-century Oxford that knowledge must be grounded in experiment and observation rather than mere authority, he was applying a methodology that the same Arabic source had articulated and practiced before him.
That source was Kitab al-Manazir — the Book of Optics — written in Cairo by Abu Ali al-Hasan ibn al-Haytham (known in Latin as Alhazen) in approximately 411 AH / 1021 CE. And the claim that ibn al-Haytham deserves to be called "the father of modern science" rests not merely on the contents of this book — revolutionary as they were — but on the methodology with which it was written: systematic, repeatable experimentation combined with rigorous mathematical analysis. This approach, now so familiar as to seem obvious, was in the eleventh century a genuinely new way of investigating the natural world.
The Life of Ibn al-Haytham
Abu Ali al-Hasan ibn al-Haytham was born in Basra (in modern Iraq) in approximately 354 AH / 965 CE, during a period when that city was a center of Islamic learning and commerce. He received a thorough education in the Islamic sciences — Quran, hadith, jurisprudence — and then pursued advanced study in mathematics, natural philosophy, and medicine. His early career was spent in Basra, where he developed the mathematical and experimental skills that would make his later work possible.
He died in Cairo in approximately 430 AH / 1039 CE, at around age seventy-five, leaving behind a body of work that exceeded two hundred titles — though only a fraction survive. His works cover optics, mathematics (geometry, number theory), astronomy, meteorology, and natural philosophy. In sheer intellectual productivity and originality, he stands among the most impressive scientists of any era.
The Cairo Episode and the House Arrest
The most famous episode in Ibn al-Haytham's biography concerns his relationship with the Fatimid Caliph al-Hakim bi-Amr Allah (r. 386-411 AH / 996-1021 CE) — one of the most eccentric and violent rulers in Islamic history, who was deified by some of his followers (eventually leading to the founding of the Druze sect) and who ordered the demolition of the Church of the Holy Sepulchre in Jerusalem, among other extraordinary acts.
According to later biographers, Ibn al-Haytham reached Egypt either because he boasted that he could regulate the Nile floods through a system of engineering works, or because he was summoned by al-Hakim who had heard of his reputation. When Ibn al-Haytham reached Egypt and traveled south to inspect the Nile cataracts, he realized that the project was impossible — the ancient Egyptians had long ago accomplished everything that could be done by purely mechanical means without modern technology. Fearing al-Hakim's notoriously violent response to failure — the caliph had executed ministers and officials for lesser disappointments — Ibn al-Haytham feigned madness.
Al-Hakim placed him under house arrest rather than execution, confiscating his property but leaving him alive. He remained under this house arrest, reportedly near the al-Azhar mosque, until al-Hakim's death in 411 AH. Whether this biographical account is entirely accurate is debated by scholars — some elements may be later embellishment — but what is certain is that Ibn al-Haytham spent the most productive decade or more of his scientific career in Cairo, and that the Kitab al-Manazir was written during this period.
The irony is rich: one of the greatest works of science in human history was written under conditions of house arrest, by a scholar who had humiliated himself by feigning madness to escape a tyrant. The circumstances of the work's creation make it no less extraordinary.
The Theory of Vision Before Ibn al-Haytham
To understand Ibn al-Haytham's achievement, one must understand what he overturned. The ancient Greek theory of vision — developed by Empedocles, refined by Plato, and elaborated by Euclid and Ptolemy — held that the eye emits rays (visual rays or visual fire) that reach out to touch objects in the external world, thereby seeing them. This "extramission" theory had dominated both Greek and early Islamic thinking about vision for over a thousand years.
There was also a competing "intromission" theory, associated with Aristotle and Democritus, which held that objects emit some kind of form or image that travels to the eye. But this theory was insufficiently developed and could not explain the precise, geometrical nature of vision — why objects appear to have definite shapes and positions, why the apparent size of objects decreases with distance, and so on.
Islamic scholars before Ibn al-Haytham had contributed to optics — al-Kindi wrote on it, and several mathematicians had worked on burning mirrors and curved reflective surfaces. But no one had resolved the fundamental question of what vision is and how it works.
The Kitab al-Manazir: Content and Method
Ibn al-Haytham's Book of Optics comprises seven books (maqalat) organized in a systematic progression from the nature of light and vision to increasingly complex optical phenomena.
Book One establishes the intromission theory — that light travels from luminous and illuminated objects into the eye — on a rigorous empirical and mathematical basis. Ibn al-Haytham's central argument is elegant: if the eye emitted visual rays, looking at an intensely bright object (such as the sun) would cause no pain, since the pain would have to come from within the eye. But in fact, looking directly at the sun does cause intense pain. Therefore, something is traveling from the sun into the eye — that is, light is traveling from the object to the eye, not vice versa. This simple but decisive argument was combined with detailed mathematical analysis of how the geometry of vision could be explained on the intromission model.
The Pinhole Camera (Camera Obscura): Among Ibn al-Haytham's experimental contributions, the development of the camera obscura is particularly significant. He constructed a darkened room (or box) with a small hole in one wall, through which light from the outside world projected an inverted image onto the opposite wall. This demonstration showed that light travels in straight lines and that the geometry of image formation follows precise mathematical rules — exactly what the intromission theory predicted and what the extramission theory could not easily explain.
Books Two through Four address the psychology of perception — how the eye and brain together interpret the raw sensory data of light into a coherent perception of objects with size, shape, position, distance, and similarity. Ibn al-Haytham distinguished between the purely physical process of light entering the eye and the psychological process of the visual system interpreting that data. This distinction — between the physics of light and the psychology of perception — was itself a major conceptual advance.
Books Five and Six treat reflection (from plane and curved mirrors) and refraction (the bending of light as it passes between media of different density, such as from air into water). His treatment of curved mirrors and lenses was mathematically sophisticated and directly applicable to the design of optical instruments. Ibn al-Haytham formulated what later became known as "Alhazen's Problem" — given a spherical mirror, find the point on the mirror from which a given object is reflected to a given observer — a problem that required solving a specific fourth-degree polynomial equation.
Book Seven addresses atmospheric optics — the apparent increase in the size of the sun and moon near the horizon (the "moon illusion"), the colors of the rainbow (though he did not fully explain the rainbow), and the duration of twilight.
The Experimental Method
What distinguishes Ibn al-Haytham most clearly from his predecessors — and what makes his claim to be the father of the scientific method defensible — is his explicit and systematic use of controlled experimentation. In the Kitab al-Manazir and in his other scientific works, he consistently follows a pattern that would be recognizable to a modern scientist: state the question clearly, review existing theories, design an experiment that can distinguish between competing theories, conduct the experiment carefully, report the results, draw conclusions.
He was explicit about the importance of this methodology. In the introduction to his work on optics, he wrote: "The seeker after truth is not one who studies the writings of the ancients and, following his natural disposition, puts his trust in them, but rather the one who suspects his faith in them and questions what he gathers from them, the one who submits to argument and demonstration and not to the sayings of a human being whose nature is fraught with all kinds of imperfection and deficiency."
This statement — written in Cairo in approximately 410 AH / 1020 CE — is one of the clearest articulations of scientific skepticism and empiricism in the entire pre-modern world.
The Quranic Dimension
Ibn al-Haytham worked in a civilization shaped by the Quranic emphasis on observation and reflection. The verse of Light (Ayat al-Nur, Quran 24:35) — "Allah is the Light of the heavens and the earth; His light is like a niche in which is a lamp, the lamp is in glass, the glass as if it were a pearly white star" — places light at the center of Islamic theological reflection. The Quran repeatedly commands believers to look at the natural world as a source of signs (ayat) pointing to the divine reality behind it.
Ibn al-Haytham did not write religious treatises about his scientific work, and we cannot know with certainty the exact relationship between his faith and his science. What we can say is that he worked within a civilization where the imperative to understand the natural world was religiously grounded and intellectually respected — a context that made the extraordinary investment of time and intelligence that the Kitab al-Manazir required not only possible but honored.
The Latin Legacy: From Alhazen to Kepler
The Kitab al-Manazir was translated into Latin in the late twelfth or early thirteenth century as "De Aspectibus" or "Perspectiva" — the latter title giving a name to the entire discipline of optics in medieval European universities. Under the name Alhazen, ibn al-Haytham became a standard reference in European scientific education.
Roger Bacon (1214-1292 CE) drew heavily on Alhazen for his own work on optics and cited him repeatedly. Witelo's "Perspectiva" (c. 1278 CE) essentially reorganized Alhazen's content for a Latin audience. John Pecham's "Perspectiva Communis" — the standard optics textbook in medieval European universities — was built on Alhazen's foundations.
Johannes Kepler (1571-1630 CE) completed the account of retinal image formation that Ibn al-Haytham had begun, explaining precisely how the lens of the eye projects an inverted image onto the retina. His work would not have been possible without the foundation Ibn al-Haytham laid. Kepler explicitly acknowledged his debt to Alhazen in his "Ad Vitellionem Paralipomena" (1604 CE).
Ibn al-Haytham's work on optics thus connects in an unbroken chain of intellectual inheritance from eleventh-century Cairo to the development of the telescope, microscope, photographic camera, and ultimately to every optical device in the modern world.
Sources:
- Ibn al-Haytham, Kitab al-Manazir (Book of Optics), trans. A. I. Sabra (Kuwait: National Council for Culture, Arts and Letters, 1989)
- Ibn Abi Usaybi'ah, 'Uyun al-Anba fi Tabaqat al-Atibba
- A. I. Sabra, The Optics of Ibn al-Haytham: Books I-III on Direct Vision (London: Warburg Institute, 1989)
- David C. Lindberg, Theories of Vision from Al-Kindi to Kepler (Chicago: University of Chicago Press, 1976)
- Roshdi Rashed, A History of Arabic Sciences and Mathematics, 4 vols. (London: Routledge, 2012)
- Jim al-Khalili, The House of Wisdom (London: Penguin, 2011)
- Johannes Kepler, Ad Vitellionem Paralipomena (Frankfurt, 1604)
For the Prophetic era, see the Seerah timeline .