Ibn al-Haytham
Abu Ali al-Hasan ibn al-Haytham (965–1040 CE), known in the Latin West as Alhazen, was the greatest optical scientist of the medieval world. His Book of Optics overturned Greek theories of vision and introduced an experimental method that shaped European science.
Abu Ali al-Hasan ibn al-Haytham (965–1040 CE / 354–430 AH), known in the Latin West as Alhazen, was the greatest optical scientist of the medieval world and one of the most consequential figures in the history of scientific method. His masterwork, Kitab al-Manazir (The Book of Optics), written in Cairo in the early eleventh century, overturned more than a thousand years of Greek theory about how vision works, established the camera obscura as a scientific instrument, and introduced a systematic experimental methodology that influenced European science from Roger Bacon in the thirteenth century to Johannes Kepler in the seventeenth. He worked at the intersection of mathematics, physics, and philosophy, and his insistence that theories about the natural world had to be tested against carefully controlled experiments — not merely derived from first principles — was a genuine methodological innovation that shaped the subsequent history of science.
His life was as remarkable as his work. The most productive period of his scientific career was spent under house arrest in Cairo, the result of a scheme gone wrong that had brought him to the attention of one of the most unpredictable rulers of the medieval Islamic world.
Historical Context: Optics Before Ibn al-Haytham
The question of how vision works had occupied Greek philosophers and mathematicians for centuries, and by the time Ibn al-Haytham began his work, two competing theories had been debated for more than a millennium without resolution.
The first was the extramission theory, associated with Euclid and Ptolemy: the eye emits invisible rays that travel outward and touch objects, and vision is the result of this contact. This theory had the advantage of explaining why we see in the direction we look — the rays go where we point our eyes — and it was mathematically tractable, since the geometry of ray emission could be analyzed using the same tools as the geometry of light reflection. Euclid had built a sophisticated mathematical optics on this foundation.
The second was the intromission theory, associated with Aristotle: objects emit something — a form, an image, a physical emanation — that enters the eye and produces vision. This theory had the advantage of explaining why we can see distant objects without our eyes having to reach out to them, but it was harder to make mathematically precise, and it struggled to explain why we see in specific directions rather than receiving a general flood of visual information from all sides.
Al-Kindi, writing in ninth-century Baghdad, had engaged with both theories and defended a version of the extramission account. The debate was still unresolved when Ibn al-Haytham took it up, and his resolution of it — through a combination of anatomical analysis, mathematical argument, and controlled experiment — was one of the great achievements of medieval science.
Early Life: Basra and the Nile Project
Ibn al-Haytham was born in 965 CE in Basra, the great port city of southern Iraq that had been a center of Islamic learning since the early Islamic period. Basra had produced important scholars in mathematics, grammar, and theology, and Ibn al-Haytham received a comprehensive education there in the Islamic sciences and in the Greek mathematical and philosophical tradition. He studied Euclid's Elements, Ptolemy's Almagest, and the works of Aristotle, and he developed the mathematical facility that would later allow him to bring rigorous geometric analysis to optical problems.
His early career included work in mathematics and natural philosophy, and he developed a reputation as a scholar of unusual ability. At some point — the exact date is uncertain — he made a claim that would change the course of his life. He reportedly boasted that he could regulate the flooding of the Nile River through an engineering project, controlling the annual inundation that both sustained Egyptian agriculture and periodically caused devastating floods. Word of this claim reached the Fatimid Caliph al-Hakim bi-Amr Allah in Cairo, who summoned Ibn al-Haytham to Egypt to carry out the project.
Al-Hakim was one of the most powerful and most unpredictable rulers of his era. The Fatimid Caliphate, which ruled Egypt and much of North Africa and the Levant from its capital in Cairo, was at the height of its power, and al-Hakim's court was a center of learning and patronage — but al-Hakim himself was known for sudden reversals of policy and violent punishments of those who displeased him.
Ibn al-Haytham traveled to Egypt and conducted a survey of the Nile valley, traveling as far south as Aswan. What he found was that the project was impossible: the engineering required to control the Nile's flooding was far beyond anything that could be achieved with medieval technology. He had to tell al-Hakim that his boast had been empty.
House Arrest and the Book of Optics
Facing the wrath of a caliph known for his volatility, Ibn al-Haytham made a calculated decision: he feigned madness. The biographical tradition records that he pretended to have lost his reason, and that al-Hakim, rather than executing him, placed him under house arrest — confining him to a residence near the al-Azhar mosque in Cairo, where he would remain until al-Hakim's death in 1021 CE.
Whether this account is literally accurate in all its details is impossible to verify — it comes from biographical sources written after Ibn al-Haytham's death, and such accounts sometimes acquire legendary elements over time. What is historically clear is that Ibn al-Haytham spent a significant period in Cairo under some form of constraint, and that it was during this period that he wrote the Book of Optics. The house arrest, if that is what it was, gave him something that many scholars of his era lacked: uninterrupted time for sustained intellectual work, free from the demands of court service and political maneuvering.
The Book of Optics (Kitab al-Manazir) was completed around 1011–1021 CE. It runs to seven books and covers the full range of optical science as Ibn al-Haytham understood it: the nature of light, the theory of vision, the anatomy of the eye, the geometry of reflection and refraction, the camera obscura, atmospheric optics, and the psychology of visual perception. It is one of the most comprehensive and original scientific works of the medieval period, and its influence on subsequent optical science — both in the Islamic world and in Europe — was profound and lasting.
The Theory of Vision: Settling a Thousand-Year Debate
Ibn al-Haytham's resolution of the extramission-intromission debate was his most fundamental contribution to optics, and it is worth understanding how he achieved it.
His key argument against the extramission theory was simple and devastating: if the eye emits rays that produce vision by touching objects, then looking at the sun should be no different from looking at a candle — the rays go out from the eye in both cases. But looking directly at the sun causes pain and temporary blindness, while looking at a candle does not. This asymmetry makes no sense if vision is caused by rays emitted from the eye; it makes perfect sense if vision is caused by light entering the eye from external sources, since the sun emits vastly more light than a candle.
This argument from the pain of looking at bright lights was not new — earlier thinkers had noted it — but Ibn al-Haytham combined it with a systematic anatomical analysis of the eye and a mathematical account of how light from external objects could produce a coherent visual image. He described the eye's structure in detail, identifying the roles of the cornea, the lens, the vitreous humor, and the optic nerve. He argued that each point on a visible object emits light in all directions, and that the eye's structure selects the rays that enter perpendicularly through the cornea, forming an ordered image that corresponds to the spatial arrangement of the object.
This account — that vision is produced by light entering the eye from external objects, and that the eye's anatomy is designed to organize that light into a coherent image — is essentially correct, and it remained the foundation of optical science until the development of wave optics in the nineteenth century.
The Camera Obscura: Light in a Dark Room
One of Ibn al-Haytham's most important experimental demonstrations involved what he called the bayt al-muzlim — the dark room, or what later became known by its Latin name, the camera obscura.
The principle is simple: if you make a small hole in the wall of a darkened room, light from outside will pass through the hole and project an image of the outside scene onto the opposite wall. The image will be inverted — upside down and left-right reversed — because light travels in straight lines, so rays from the top of an object outside pass through the hole and strike the bottom of the wall inside, while rays from the bottom strike the top.
Ibn al-Haytham used the camera obscura to demonstrate several fundamental properties of light. The fact that the image is inverted proves that light travels in straight lines — if it scattered or bent, the image would be blurred or distorted. The fact that the image is sharp when the hole is small and blurry when the hole is large demonstrates the relationship between aperture size and image quality. And the fact that the image accurately represents the colors and spatial relationships of the outside scene demonstrates that light carries information about the objects it reflects from.
These demonstrations were not merely illustrative. They were experimental tests of theoretical claims about the nature of light and vision, and they produced results that could be measured, repeated, and compared with theoretical predictions. This is what made Ibn al-Haytham's approach methodologically significant: he was not just arguing from first principles but testing his arguments against controlled observations.
Alhazen's Problem and Mathematical Optics
Beyond the theory of vision, Ibn al-Haytham made substantial contributions to the mathematical analysis of optical phenomena. His treatment of reflection and refraction was the most rigorous of the medieval period, and he posed a problem that would challenge mathematicians for centuries.
The problem, now known as Alhazen's Problem, asks: given a spherical mirror and two points — a light source and an observer — find the point on the mirror where light from the source will reflect to reach the observer. This sounds straightforward, but it requires solving a fourth-degree polynomial equation, and Ibn al-Haytham's solution — using the intersection of a circle and a hyperbola — was a remarkable piece of geometric analysis. The problem was not solved algebraically until the seventeenth century, and a complete analytical solution was not found until the twentieth.
His work on refraction — the bending of light when it passes from one medium to another, as when light passes from air into water — was similarly sophisticated. He did not arrive at the precise mathematical law of refraction (now called Snell's Law, after the seventeenth-century Dutch mathematician who formulated it), but his systematic experimental investigation of refraction, measuring the angles of incidence and refraction for different media, laid the groundwork for that later discovery.
Astronomy and the Critique of Ptolemy
Optics is what Ibn al-Haytham is remembered for, but astronomy occupied him at least as extensively, and his intervention in it had consequences of a different kind. Where the Book of Optics settled a question, his astronomical work opened one.
The work in question is Al-Shukuk 'ala Batlamyus ("Doubts Concerning Ptolemy"), known in Latin as Dubitationes in Ptolemaeum and published in a critical Arabic edition by A. I. Sabra and Nabil Shehaby in Cairo in 1971. Its subject is not an error in Ptolemy's observations or arithmetic. It is a charge of incoherence.
The problem Ibn al-Haytham identified is worth setting out, because it is the hinge of everything that followed. Ptolemy's Almagest claimed to describe the actual arrangement of the heavens, and it rested on the principle — inherited from Aristotle and unquestioned for a millennium — that celestial bodies move uniformly on circles. But to make his models match the observed positions of the planets, Ptolemy had introduced geometrical devices that violated that principle. The most conspicuous was the equant: a point, distinct from the centre of a planet's carrying circle, about which the motion was taken to be uniform. As a calculating device it worked. As a description of a physical sphere turning in the heavens it was impossible, because a real sphere cannot rotate uniformly about a point that is not its centre.
Ibn al-Haytham's objection was therefore that Ptolemy had produced a system that could predict but could not exist. Either the models described real bodies, in which case the devices had to go, or they were mathematical fictions, in which case the Almagest's claim to describe the heavens was abandoned. He pressed the point further, faulting Ptolemy for reasoning from supposition where observation should have governed — the same methodological demand that runs through the optical work.
He also attempted a positive alternative. Maqala fi Hay'at al-'Alam ("On the Configuration of the World") sets out a cosmology of nested physical spheres rather than abstract circles, an attempt to give Ptolemaic astronomy a body it could actually possess; the work was translated into Hebrew and into Latin and circulated widely in Europe. A related treatise on the "winding motion" (iltifaf), the mechanism proposed to account for the latitudinal wandering of the planets, drew a refutation from an anonymous scholar, and Ibn al-Haytham's reply — Fi hall shukuk harakat al-iltifaf, "The Resolution of Doubts Concerning the Winding Motion" — survives although both the original treatise and its refutation are lost. That exchange is a rare direct record of scientific controversy conducted in writing between contemporaries in the eleventh century.
The consequences ran long. Doubts Concerning Ptolemy did not overturn Ptolemaic astronomy, and Ibn al-Haytham did not propose a heliocentric alternative or anything resembling one. What it did was make the Almagest's physical inconsistency a standing problem that subsequent astronomers were obliged to address rather than ignore. The tradition of criticism it opened runs through the Andalusian astronomers of the twelfth century and into the work of the Maragha observatory in the thirteenth, where Nasir al-Din al-Tusi and Ibn al-Shatir devised geometrical constructions specifically to reproduce Ptolemy's results without his non-uniform devices. Historians of astronomy have argued that this body of work bears on the background to Copernicus, whose own stated objection to Ptolemy was the same objection — that the equant was physically inadmissible — and some of whose constructions closely resemble the Maragha models. The nature and route of any transmission remains debated, and the encyclopaedia does not settle it here. What is not in dispute is where the line of criticism begins.
The Scientific Method: Experiment and Doubt
Ibn al-Haytham's methodological contribution is often described as the invention of the scientific method, but this claim requires some care. The idea that theories should be tested against observation was not new — Aristotle had emphasized the importance of empirical knowledge, and Islamic scholars before Ibn al-Haytham had conducted careful observations in astronomy and medicine. What Ibn al-Haytham contributed was a particularly systematic and self-conscious version of experimental methodology: the design of controlled experiments specifically intended to test theoretical claims, combined with an explicit commitment to doubting received authority.
He wrote in the introduction to the Book of Optics: "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 is a remarkable statement of intellectual independence — a commitment to following evidence rather than authority that was unusual in the medieval world and that anticipates the spirit of the European Scientific Revolution.
His practice matched his principle. Throughout the Book of Optics, he designed experiments to test specific claims, described the apparatus and procedures in enough detail that others could reproduce them, and drew conclusions only from what the experiments actually showed. This combination of theoretical rigor and experimental discipline was his most lasting methodological legacy.
Transmission to Europe and the Scientific Revolution
The Book of Optics was translated into Latin around 1200 CE, probably in Spain or Sicily, and it circulated in European universities under the title De Aspectibus or Perspectiva. Its influence on European optical science was immediate and sustained.
Roger Bacon, the thirteenth-century English friar and natural philosopher, drew heavily on Ibn al-Haytham's work in his own optical writings, adopting both his theory of vision and his experimental methodology. Witelo, a thirteenth-century Polish scholar, produced a comprehensive optical treatise that was essentially an expansion and systematization of Ibn al-Haytham's Book of Optics. John Pecham, Archbishop of Canterbury, wrote an influential optical textbook based on Ibn al-Haytham's principles.
The most significant European engagement with Ibn al-Haytham's work came from Johannes Kepler, the seventeenth-century German astronomer who solved the problem of how the eye forms an image on the retina — a problem that Ibn al-Haytham had identified but not fully resolved. Kepler's solution, published in 1604, built directly on Ibn al-Haytham's anatomical and optical analysis, and Kepler acknowledged his debt explicitly. The line of influence from Ibn al-Haytham through the medieval European optical tradition to Kepler and then to Newton is one of the clearest examples of the transmission of Islamic scientific knowledge to the European Scientific Revolution.
Historiographical Note: The Bibliography and the Two Ibn al-Haythams
Ibn al-Haytham is one of the few medieval scholars who left a list of his own writings, and the lists are the reason his output can be described at all — and also the reason a serious question hangs over it.
Late in life he compiled two catalogues of his own work. The first, drawn up in 1027, enumerated twenty-five titles in mathematics and forty-four in physics and metaphysics; a supplementary list followed in 1028. Both were preserved by the thirteenth-century physician and biographer Ibn Abi Usaybi'a in his Uyun al-Anba' fi Tabaqat al-Atibba ("Lives of the Physicians"), which is where they survive. Counting these together with works attributed to him by later authorities, roughly two hundred titles bear his name, of which a substantially smaller number survive in manuscript. The catalogues confirm the range: optics, geometry, arithmetic, astronomy, mechanics, and philosophy.
The question concerns whether all of it belongs to one man. It has been argued, and Britannica describes the argument as a plausible one, that two distinct scholars have been merged into the figure known as Ibn al-Haytham: al-Hasan ibn al-Hasan, the mathematician who wrote the Book of Optics, and Muhammad ibn al-Hasan, an astronomer and philosopher to whom the autobiographical material and the works in the self-catalogues would then belong. Roshdi Rashed, the editor of much of the surviving mathematical corpus and the scholar who has argued the case most fully, set out in a 2007 study in the Revue d'histoire des sciences the grounds for doubting that On the Configuration of the World is by the author of the Optics — reversing a consensus that had held since Pierre Duhem and that treated the work as the same man's synthesis of Ptolemaic astronomy with Aristotelian cosmology.
The question is unresolved, and this article does not resolve it. Two points about it are worth registering. The first is that it does not touch the Book of Optics, whose authorship is not in doubt on any account; the optical achievement described above stands whichever way the bibliography is divided. The second is that this kind of conflation is a recurring hazard in the study of Islamic scientific texts. Names are common, nisbas are shared, and a reputation once established attracts attributions. The same problem arises in a more acute form with Jabir ibn Hayyan, whose corpus is now generally held to be the work of several hands over several generations. The corrective is the one Ibn al-Haytham himself prescribed: examine what the evidence supports rather than what the tradition asserts.
Later Life and Legacy
After al-Hakim's death in 1021 CE, Ibn al-Haytham was free to move about Cairo and to continue his scholarly work without constraint. He spent the remaining two decades of his life writing, teaching, and revising his earlier works. He produced treatises on astronomy, mathematics, and natural philosophy, and he continued to refine his optical theories in response to questions and objections from other scholars.
He died in Cairo around 1040 CE at approximately seventy-five years of age. His tomb in Cairo was a site of scholarly pilgrimage for generations after his death.
His legacy in the Islamic Golden Age was significant but somewhat uneven. His optical work was known and respected, but the full scope of his methodological innovation was not always appreciated by his immediate successors. It was in Europe, through the Latin translation of the Book of Optics, that his influence was most transformative — shaping the development of optical science and experimental methodology across four centuries of European scholarship.
The Book of Optics stands as one of the great scientific works of the medieval world: a text that resolved a fundamental question about human perception, established a new standard for experimental rigor, and provided the foundation on which modern optics was built. Ibn al-Haytham's combination of mathematical sophistication, experimental discipline, and intellectual independence — his willingness to doubt the ancients and test their claims against observation — represents the scientific spirit at its best, and it is a spirit that transcends the particular historical moment in which he worked.
References and Further Reading
Primary Islamic Sources
- Ibn al-Haytham, Abu Ali al-Hasan. Kitab al-Manazir (Book of Optics). Translated by A.I. Sabra as The Optics of Ibn al-Haytham. 2 vols. London: Warburg Institute, 1989. [Original c. 1021 CE]
- Ibn al-Haytham. Kitab fi Hay'at al-Alam (On the Configuration of the World). [Original c. 1020 CE]
- Ibn al-Haytham. Al-Shukuk 'ala Batlamyus (Doubts Concerning Ptolemy). Critical edition by A. I. Sabra and Nabil Shehaby. Cairo, 1971. The critique of the physical coherence of Ptolemy's planetary models, and the opening of the tradition of criticism that ran to the Maragha astronomers.
- Ibn al-Haytham. Fi hall shukuk harakat al-iltifaf (The Resolution of Doubts Concerning the Winding Motion). His reply to an anonymous refutation of his treatise on the winding motion; the original treatise and the refutation are both lost.
- Ibn al-Haytham. Maqala fi al-Qarastun (Treatise on the Balance). [Original c. 1000 CE]
- Ibn al-Haytham. Risala fi al-Makan (Treatise on Place). [Original c. 1025 CE]
Classical Islamic Sources
- Ibn Abi Usaybi'a. Uyun al-Anba fi Tabaqat al-Atibba, biography of Ibn al-Haytham. [Original c. 1270 CE]. The source that preserves Ibn al-Haytham's two self-compiled catalogues of his own writings, drawn up in 1027 and 1028, and therefore the foundation of all reconstruction of his output.
- Al-Qifti, Ali ibn Yusuf. Tarikh al-Hukama, entry on Ibn al-Haytham. [Original c. 1248 CE]
- Ibn al-Nadim. Kitab al-Fihrist (later supplements referencing Ibn al-Haytham's works). [Original c. 987 CE]
Academic and Scholarly Sources
- Sabra, A.I. The Optics of Ibn al-Haytham: Books I–III on Direct Vision. 2 vols. London: Warburg Institute, 1989.
- Rashed, Roshdi. Ibn al-Haytham's Theory of Conics, Geometrical Constructions and Practical Geometry. London: Centre for Arab Unity Studies, 2013.
- Rashed, Roshdi. "The Configuration of the Universe: A Book by al-Hasan ibn al-Haytham?" Revue d'histoire des sciences 60, no. 1 (2007). Argues against the attribution of On the Configuration of the World to the author of the Book of Optics, reversing a consensus that had held since Pierre Duhem; the fullest statement of the case that two scholars have been conflated.
- Rashed, Roshdi. "A Polymath in the 10th Century." Science 297 (2002). Short survey of the range of his mathematical, physical, and astronomical work.
- Sabra, A. I. "Ibn al-Haytham's Criticisms of Ptolemy's Optics." Journal of the History of Philosophy. On the relationship between his optical work and the Ptolemaic text it was written against.
- Lindberg, David C. Theories of Vision from al-Kindi to Kepler. Chicago: University of Chicago Press, 1976.
- Saliba, George. Islamic Science and the Making of the European Renaissance. Cambridge: MIT Press, 2007.
- Rashed, Roshdi, ed. Encyclopedia of the History of Arabic Science. 3 vols. London: Routledge, 1996.
- Smith, A. Mark. "Getting the Big Picture in Perspectivist Optics." Isis 72, no. 4 (1981): 568–589.
Further Reading
- Al-Khalili, Jim. The House of Wisdom. New York: Penguin Press, 2011.
- Turner, Howard R. Science in Medieval Islam. Austin: University of Texas Press, 1997.
- Hogendijk, Jan P., and Abdelhamid I. Sabra, eds. The Enterprise of Science in Islam. Cambridge: MIT Press, 2003.
- Freely, John. Light from the East: How the Science of Medieval Islam Helped to Shape the Western World. London: I.B. Tauris, 2011.
Mentioned In
14 articles reference this topic
and 2 more articles