Esperaunce

A man in a white robe walking across the marble courtyard of a mosque with an arcade behind.

The Islamic Caliphates · Knowledge, Writing and Science

Optics in a dark room

Photograph by Vyacheslav Argenberg, CC BY 4.0, via Wikimedia Commons.

The Archives/The Islamic Caliphates/Knowledge, Writing and Science

The Greeks had two theories of vision and no way to choose between them. He built an apparatus, made the measurements, and settled it.

How do we see? The classical world had two answers and could not decide. The extramission theory, held by Euclid and by Ptolemy, said that something issues from the eye and reaches the object. It had a strong argument: geometrical optics works beautifully if you treat vision as rays from the eye, and the mathematics of perspective falls straight out of it.

The intromission theory, held by the atomists and in a different form by Aristotle, said that something comes from the object to the eye. It fitted the physical facts better, including the fact that a bright light hurts and that afterimages persist. Neither side could refute the other, because the argument was conducted as argument.

Around 1020, in Cairo, a man from Basra wrote a book in seven volumes that ended it. He did it by building apparatus, making observations under controlled conditions, and treating the question as one that experiment could answer. The Kitab al-Manazir, the Book of Optics, is the most important work of physical science produced between Ptolemy and the seventeenth century.

❦

On this page

Ibn al-Haytham

The man is known in Latin as Alhazen and the outline of his life is unusually good, because part of it is a scandal. Al-Hasan ibn al-Haytham was born in Basra around 965 and trained in the sciences there. He went to Egypt, on one account at the invitation of the Fatimid caliph al-Hakim, the erratic ruler described in Cordoba and Cairo, having proposed a scheme to regulate the Nile flood with a dam at Aswan.

An early photograph of a tall decorated minaret rising from a massive square base, reflected and distorted at the lower edge.
A minaret of the mosque of al-Hakim in Cairo, in a daguerreotype taken by Girault de Prangey in 1842 or 1843, one of the earliest photographs of the city.Joseph-Philibert Girault de Prangey, Metropolitan Museum of Art, CC0, via Wikimedia Commons.

He reached the site, examined the ground, concluded the engineering was beyond what could be built, and understood what returning to al-Hakim with that news would mean. The accounts say he feigned madness. He was placed under house arrest and kept there until al-Hakim’s disappearance in 1021, and he spent the period writing.

Whether or not the story is true in detail, the scientific output from those years is real, and the Book of Optics belongs to it. He died in Cairo around 1040, having written, by the medieval booklists, something like two hundred works.

The experiments

What makes the book different from everything before it is the method, and the method is worth describing concretely. He worked in a darkened chamber with apertures, which is the camera obscura arrangement, and he is the first person to describe and analyse it systematically. Light admitted through a small hole from several lamps outside produces separate patches on the far wall, each corresponding to one lamp. Block one lamp and its patch disappears. The light from the lamps crosses at the aperture and does not mix.

A circular brass instrument with a decorative crown, its face cut into pierced patterns and engraved with fine scales.
A planispheric astrolabe dated 1291, made by a Rasulid prince of Yemen who later ruled as sultan. It is a working analogue computer for the positions of the sun and stars.Metropolitan Museum of Art, New York, CC0.

That establishes that light travels in straight lines, independently, from each source, and that light is something that moves from the object. He then attacked extramission directly. If something issues from the eye, looking at the sun should not hurt; it does. Afterimages persist when the eye is closed, which requires something to have entered it. And the effect of bright light on the eye is physical damage, which requires an agent arriving.

He used apparatus with graduated arcs and moveable sighting tubes to measure angles of reflection and refraction, and he reported his results as measurements. The point is not that he got every answer right. He did not derive the sine law of refraction. The point is that he framed the questions so that measurement could answer them, and then took the measurements.

What he concluded

The theory he built is a hybrid and it is the one that lasted. Light travels from luminous bodies in straight lines in all directions. Non-luminous bodies reflect it. Rays enter the eye, and the ray that strikes the surface perpendicularly is the one that forms the image, which solved the problem of why the eye does not see a blur from every point at once.

That last device, the punctiform analysis of the visual field, is the genuine innovation and it is what Kepler was still working from when he replaced it in 1604. He also separated the problem into three parts, which nobody had done: the physics of light, the anatomy and physiology of the eye, and the psychology of perception. The third part is a substantial contribution in its own right. He analysed how judgement, memory and inference enter into seeing, discussed optical illusions, and argued that a great deal of what we take to be direct perception is rapid unconscious reasoning.

The eye itself

His account of the organ deserves separating out, because it is where the physics had to meet the anatomy and where the difficulty lay. The anatomy he worked from is Galen’s: a lens at the front, which Galen took to be the sensitive part, humours in front of and behind it, and the optic nerve running back to the brain. That anatomy is wrong about the essential point. The lens focuses; the retina senses. Nobody established that until Kepler and Felix Platter around 1600.

A manuscript page with a diagram of the eye drawn as concentric circles with labelled parts, above a block of Arabic text.
A diagram of the eye in a twelfth-century copy of Hunayn ibn Ishaq’s Ten Treatises on the Eye. Hunayn was the leading translator of Galen into Syriac and Arabic.Public domain, via Wikimedia Commons.

Ibn al-Haytham therefore had a problem he could not solve, and his handling of it is instructive. Rays arrive at the eye from every point of every visible object, in every direction. If all of them register, the result is an undifferentiated blur.

His solution was to say that only the ray striking the surface of the eye perpendicularly passes through without refraction, and that only unrefracted rays are effective. That gives a one-to-one correspondence between points on the object and points on the lens, and a coherent image. It is a geometrically elegant answer and it is physically false, since refracted rays do not simply stop counting.

He knew the construction was doing work he could not fully justify, and he says so. What he had done was reduce the problem of vision to a problem of optics, which meant the error was now the kind of error a later optician could find and correct. Kepler did exactly that, by allowing all the rays and letting the lens focus them onto a surface at the back. That was possible because the question had been put in a form where it had an answer.

Method as a subject

The explicit statements about method are what have attracted most modern attention and they need careful handling. He wrote that the seeker after truth is not one who studies the writings of the ancients and follows his natural disposition to trust them, but one who suspects his faith in them and questions what he gathers from them, who submits to argument and demonstration and not to the sayings of a human being whose nature is fraught with all kinds of imperfection.

He wrote a whole book, Doubts about Ptolemy, doing exactly that to the greatest scientific authority available. Some modern writing has taken this and declared him the first scientist and the inventor of the scientific method. That goes too far and the overstatement does his reputation no good.

What can be said is narrower and still remarkable. He conducted controlled experiments to decide between competing theories, reported his procedures so that others could repeat them, insisted that mathematical demonstration and physical observation must both be satisfied, and stated that authority is not evidence. Those are the constitutive commitments of experimental science, held together, in a book written around 1020.

Ibn Sina

The other great figure of the period worked in a different mode and had an even larger influence. Ibn Sina, Avicenna, born near Bukhara in 980, was a physician, philosopher and administrator who spent his life moving between the courts of Iranian principalities. He wrote an autobiography, a rare thing, which describes teaching himself logic, geometry and astronomy, reading Aristotle’s Metaphysics forty times without understanding it, and then finding al-Farabi’s commentary in a bookstall and grasping it at once.

An engraved portrait of a bearded man with a hooded cloak, under a French heading.
Ibn Sina as André Thevet imagined him in 1584. No likeness survives, and European engravers gave him the dress of an Old Testament prophet.Wellcome Collection, CC BY 4.0, via Wikimedia Commons.

His Canon of Medicine, al-Qanun fi al-Tibb, is a systematic synthesis of Galenic and Arabic medicine in five books, covering general principles, simple drugs, diseases by organ, general diseases, and compound drugs. It was translated into Latin by Gerard of Cremona and was a standard European medical textbook into the seventeenth century, printed repeatedly and taught at Padua and Montpellier. His philosophical system, set out in the Book of Healing, reworked Aristotle through a distinction between essence and existence that had no Greek precedent, and it shaped Latin scholastic philosophy directly. Thomas Aquinas cites him constantly.

Medicine as practice

The clinical side is worth a paragraph because it was institutional as well as literary. Al-Razi, Rhazes, died around 925, ran hospitals in Rayy and Baghdad and wrote the first clinical description distinguishing smallpox from measles, which is a genuine diagnostic advance. He also wrote a book of Doubts about Galen, on the same principle as Ibn al-Haytham’s against Ptolemy, and kept case notes, some of which survive in his Comprehensive Book.

An open manuscript of closely written Arabic text on brown paper, displayed in a museum case.
Volume five of Ibn Sina’s Canon of Medicine in a copy dated 1052, fifteen years after his death, now in the Aga Khan Museum in Toronto.Photograph by Daderot, Aga Khan Museum, public domain, via Wikimedia Commons.

The bimaristan, the hospital, was an institution of a kind Europe did not have: endowed, free at the point of use, with separate wards, a pharmacy, salaried staff, records and teaching. Al-Zahrawi in Cordoba wrote a thirty-volume medical encyclopaedia whose surgical section, with illustrations of instruments he designed, was translated into Latin and used for five hundred years. Ibn al-Nafis in thirteenth-century Cairo described the pulmonary circulation of the blood, three centuries before Servetus and Harvey, in a commentary on Ibn Sina. Whether the knowledge reached Europe is unresolved.

A lacquered book cover painted with a garden scene of figures, one taking another's pulse.
A painted lacquer binding for a copy of Ibn Sina’s Canon, Persian, showing a doctor taking a patient’s pulse. The Canon was still the standard textbook in Persia into the nineteenth century.Wellcome Collection, CC BY 4.0, via Wikimedia Commons.

What reached Europe and how

The transmission is traceable and the effects are specific. The Book of Optics was translated into Latin in the late twelfth or early thirteenth century as De aspectibus and circulated widely. Roger Bacon, John Pecham and Witelo all built on it, and their works, the perspectivist tradition, were the standard optical texts of the later Middle Ages.

A close view of a stone wall with a double horseshoe-arched window set on a small twisted column.
A window on the minaret of Ibn Tulun’s mosque. Ibn Tulun was a Turkish officer sent from Samarra in 868, and within a few years he governed Egypt as his own.Photograph by R Prazeres, CC BY-SA 4.0, via Wikimedia Commons.

Through them it reached Kepler, whose Ad Vitellionem Paralipomena of 1604 announces in its title that it is a supplement to Witelo, and whose theory of retinal image formation completes the programme Ibn al-Haytham had set. Renaissance perspective drawing rests on the same tradition. Lorenzo Ghiberti quotes Alhazen at length in his Commentaries.

The Latin edition printed at Basel in 1572 as Opticae Thesaurus was read by Kepler, Descartes and Huygens. A crater on the moon is named for him, and the UNESCO International Year of Light in 2015 marked the millennium of his book.

What to take from it

A closing assessment, because this material attracts bad argument in both directions. One bad argument holds that Islamic science was merely preservation, a holding operation between Greece and Europe. The optics alone refutes it: Ibn al-Haytham did not preserve Ptolemy, he refuted him experimentally and replaced his theory.

The other bad argument holds that everything modern science claims was anticipated in the Islamic world and that credit has been stolen. That requires ignoring what these men did not do, which includes any general mathematisation of nature and any institutional continuity of the kind Europe developed after 1600. The defensible position is that a sustained tradition of experimental and mathematical science operated in the Islamic world for six centuries, produced results that were genuinely new, and fed directly into the work that produced modern science.

The people who did it did not think of themselves as building towards anything. They were court physicians, astronomers, and in one case a man under house arrest who had told a dangerous ruler an inconvenient truth about a dam.

Sources

Ancient

  • Ibn al-Haytham, Kitab al-Manazir, and al-Shukuk ala Batlamyus
  • Ibn Sina, al-Qanun fi al-Tibb and Kitab al-Shifa; al-Razi, Kitab al-Hawi
  • Ibn Abi Usaybia, Uyun al-Anba, for the biographies; al-Zahrawi, al-Tasrif

Modern

  • A. I. Sabra, translation and commentary on the Optics of Ibn al-Haytham, 1989
  • David C. Lindberg, Theories of Vision from Al-Kindi to Kepler, 1976
  • Peter Adamson, Philosophy in the Islamic World, 2016
  • Emilie Savage-Smith, on Islamic medicine and its institutions
  • Roshdi Rashed, Geometry and Dioptrics in Classical Islam, 2005

New civilisations are announced by email as they are written.

Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.

Images are credited individually; rights remain with their holders.

© 2026 Esperaunce. All rights reserved.