Alhazen

c. 965 – c. 1040 CE  |  The First Scientist

Ibn al-Haytham • Mathematician • Physicist • Astronomer • Basra & Cairo

01 — BIOGRAPHY

Early Life

Abu Ali al-Hasan ibn al-Hasan ibn al-Haytham, known in the West as Alhazen, was born around 965 CE in Basra (modern Iraq), then part of the Buyid emirate under nominal Abbasid caliphal authority.

Basra was a major intellectual centre with a tradition of rationalist philosophy, particularly the Mu'tazili school. The young Ibn al-Haytham received a thorough education in Islamic theology, philosophy, and the sciences. He studied the works of Aristotle, Euclid, Ptolemy, and Galen in Arabic translation.

He held a governmental position in Basra early in his career, but grew dissatisfied and devoted himself entirely to scholarship. He reportedly said that if he were given the opportunity, he could regulate the flooding of the Nile — a boast that would change his life dramatically.

Basra, c. 970

A cosmopolitan port city on the Shatt al-Arab waterway, with a vibrant intellectual culture. The Brethren of Purity (Ikhwan al-Safa) had recently produced their encyclopedic Epistles here.

Buyid Dynasty

The Shia Buyid emirs controlled Iraq and western Persia while maintaining the figurehead Abbasid caliph. Their patronage of learning continued the earlier Abbasid tradition.

02 — BIOGRAPHY

Career & Key Moments

Alhazen's boast about controlling the Nile reached the Fatimid Caliph al-Hakim bi-Amr Allah in Cairo, who summoned him to Egypt. Upon surveying the Nile at Aswan, Alhazen realized his plan was impractical (the Aswan Dam would not be built until 1902). Facing the notoriously unstable caliph's wrath, he feigned madness and was placed under house arrest.

This period of forced seclusion (c. 1011–1021), near the Al-Azhar mosque, proved extraordinarily productive. Free from administrative duties, Alhazen produced his masterwork: the Kitab al-Manazir (Book of Optics), composed over approximately a decade.

After al-Hakim's mysterious disappearance in 1021, Alhazen was released and spent his remaining years in Cairo, writing prolifically until his death around 1040 CE. He produced over 200 works on mathematics, physics, and astronomy.

Kitab al-Manazir (c. 1011–1021)

Seven books on optics. The most important work on light and vision between antiquity and Newton. Translated to Latin as De Aspectibus c. 1200.

Doubts on Ptolemy (c. 1028)

A systematic critique of Ptolemy's astronomical models, demanding physical consistency — a pioneering act of scientific criticism.

200+ Works

On number theory, geometry, astronomy, optics, meteorology. At least 96 survive, covering an astounding range of topics.

The Nile Fiasco

A failure that became a gift: house arrest gave Alhazen the uninterrupted time to produce his greatest work.

03 — CONTEXT

Historical Context

Alhazen worked at the intersection of two Islamic dynasties and a rich intellectual tradition spanning 150 years of Arabic science.

Fatimid Egypt

The Fatimid Caliphate (909–1171) ruled North Africa and Egypt from Cairo. Despite Caliph al-Hakim's erratic behavior, Cairo was a major centre of learning with the Al-Azhar mosque (founded 970) as its intellectual heart.

Greek Heritage

By Alhazen's time, nearly all significant Greek scientific works were available in Arabic. He could study Euclid, Apollonius, Ptolemy, Aristotle, and Galen in excellent translations.

Optics Tradition

Euclid, Ptolemy, and al-Kindi had written on optics. The Greeks debated whether vision worked by "extramission" (rays from eyes) or "intromission" (light entering eyes). Alhazen would settle this definitively.

Islamic Mathematics

Al-Khwarizmi, Thabit ibn Qurra, and Abu Kamil had built a powerful algebraic tradition. Alhazen added to this with original contributions to number theory and geometry.

Camera Obscura

The camera obscura (dark room) phenomenon was known since antiquity, but poorly understood. Alhazen's analysis of it became the foundation for understanding image formation.

Experimental Method

While observation was valued in the Greek tradition, systematic controlled experimentation was not standard. Alhazen made it the cornerstone of his scientific method.

04 — CONTRIBUTION

Optics & the Scientific Method

The Kitab al-Manazir (Book of Optics) revolutionized the understanding of light and vision. Alhazen definitively proved the intromission theory: we see because light enters our eyes from external objects, not because our eyes emit visual rays.

His evidence was both experimental and logical:

  • Afterimages from looking at the sun prove light affects the eye
  • The camera obscura demonstrates that light travels in straight lines from objects
  • Pain from bright light shows the eye receives, not emits

He analyzed reflection and refraction, studied the anatomy of the eye, and explained the camera obscura using his ray theory. His insistence on controlled experiments to test hypotheses is considered the earliest clear formulation of the scientific method.

Camera Obscura — Alhazen's Analysis Object Inverted Image Pinhole Light travels in straight lines from object Image inverted because rays cross at pinhole
05 — DEEPER DIVE

The Book of Optics in Detail

The seven books of the Kitab al-Manazir covered vision, reflection, refraction, and perception with unprecedented rigor.

Books I–III: Vision

Disproved extramission, established that light enters the eye. Analyzed the anatomy of the eye (cornea, lens, humours). Described how each point on an object sends light in all directions, and the eye receives a cone of rays from the visual field.

Books IV–V: Reflection

Systematic study of reflection from flat, spherical, cylindrical, and conical mirrors. Discovered that the angle of incidence equals the angle of reflection for all surface types. Formulated what became known as Alhazen's problem.

Book VI: Errors of Vision

Analyzed optical illusions and errors in visual perception. Described how the brain processes raw optical data, recognizing that vision involves both physical light reception and psychological interpretation.

Book VII: Refraction

Studied the bending of light as it passes between media of different densities. Though he did not discover Snell's law exactly, he showed that refraction depends on the density of the medium and the angle of incidence.

"The duty of the man who investigates the writings of scientists, if learning the truth is his goal, is to make himself an enemy of all that he reads, and... attack it from every side."

— Ibn al-Haytham, Doubts Concerning Ptolemy (c. 1028)
06 — CONTRIBUTION

Alhazen's Billiard Problem

Alhazen's problem: Given a circular mirror and two points (a light source and an observer), find the point on the mirror where light reflects from the source to the observer.

By the law of reflection, the angles of incidence and reflection must be equal. This means finding a point P on the circle such that the tangent at P bisects the angle between the lines from P to the source and observer.

Alhazen solved this using the intersection of a circle and a hyperbola, reducing the problem to a quartic (degree 4) equation. The problem is equivalent to finding where a billiard ball on a circular table, shot from one point, will strike the cushion to reach another point.

The problem resisted purely algebraic solution until 1997, when Peter Neumann proved it has no general solution by ruler and compass.

Alhazen's Billiard Problem A B P normal i r centre angle i = angle r Find P on circle: leads to degree-4 equation
07 — DEEPER DIVE

Mathematics of Reflection

Conic Section Solution

Alhazen reduced the reflection problem to the intersection of a circle (the mirror) and a hyperbola constructed from the positions of source and observer. The intersection points give the reflection points. This was his most difficult geometric construction.

Multiple Solutions

A circle and hyperbola can intersect in 0, 2, or 4 points. Alhazen recognized that the problem can have up to 4 solutions (reflection points), and he analyzed the conditions for each case.

Impossibility Result (1997)

Peter Neumann proved that Alhazen's problem cannot be solved in general by ruler and compass — it requires conic sections intrinsically. This vindicates Alhazen's approach: he used the simplest tools that suffice.

The Billiard Connection

The problem is equivalent to finding trajectories on a circular billiard table. Modern dynamical systems theory studies billiard trajectories on general surfaces, making Alhazen's problem a precursor to ergodic theory.

The problem remained one of the outstanding challenges in classical geometry for a millennium and is still studied in modern computational geometry.

08 — CONTRIBUTION

Sums of Powers & Early Integration

Alhazen made crucial contributions to number theory and proto-calculus. He derived formulas for the sums of fourth powers:

1&sup4; + 2&sup4; + ... + n&sup4; = n(n+1)(2n+1)(3n²+3n-1)/30

He used this result to compute the volume of a paraboloid of revolution by a method equivalent to integration. He divided the solid into thin slices, summed their volumes, and took the limit — essentially performing what we now call a Riemann sum.

This was the first known computation of the integral of a fourth-power function, and it anticipated the methods of integral calculus by over 600 years.

He also worked on Wilson's theorem (if p is prime, then (p-1)! + 1 is divisible by p), making him one of the earliest contributors to modular arithmetic.

Sum Formulas

He derived closed-form expressions for sums of integers, squares, cubes, and fourth powers — the building blocks for numerical integration.

Proto-Calculus

His method of computing volumes by summing infinitely thin slices is functionally identical to the integral. He achieved what Archimedes did for quadratics, but for quartics.

Wilson's Theorem

Attributed in Europe to John Wilson (1770), evidence suggests Alhazen knew this result 700 years earlier, though his proof is lost.

09 — METHOD

The Method

Alhazen is often called "the first scientist" because he articulated and practiced the experimental scientific method with unprecedented clarity.

Observe

Carefully record the phenomenon

Hypothesize

Propose a causal explanation

Experiment

Design controlled tests to verify or refute

Conclude

Accept only what experiment confirms

Systematic Doubt

Alhazen insisted that all claims — even those of revered authorities like Ptolemy — must be tested against evidence. "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."

Quantitative Experiment

His optical experiments were carefully controlled: he used dark rooms, screens with pinholes, candles at measured distances, and mirrors of precise curvature. He recorded measurements, varied conditions systematically, and drew conclusions only from repeatable results.

10 — CONNECTIONS

Connections & Influence

Alhazen Ibn al-Haytham Euclid Ptolemy Archi- medes Roger Bacon c. 1220–1292 Kepler 1571–1630 Descartes 1596–1650 Newton 1643–1727 Sources Successors

The Latin translation De Aspectibus (c. 1200) influenced every major European optician from Bacon to Kepler. Newton owned and annotated a copy.

11 — CONTROVERSY

Struggle & Controversy

The Nile Fiasco

Alhazen's claim that he could control the Nile's flooding brought him to Cairo, but upon surveying the terrain at Aswan, he realized the project was impossible with available technology. Facing a notoriously volatile caliph who had scholars executed for lesser failures, Alhazen feigned madness for approximately 10 years. This desperate strategy saved his life and, paradoxically, produced his greatest work.

Challenging Ptolemy

His Doubts Concerning Ptolemy was an act of extraordinary intellectual courage. He systematically catalogued errors, inconsistencies, and physically impossible constructions in the Almagest — the most authoritative astronomical text of the ancient world. This critical spirit was centuries ahead of its time.

Against Authority

Alhazen explicitly argued that truth comes from evidence, not authority. He applied this principle to Ptolemy, Aristotle, and Galen alike — a radical position in an era that revered ancient texts.

Attribution Problems

Many of Alhazen's ideas were transmitted to Europe without attribution. Roger Bacon, Witelo, and others drew heavily on De Aspectibus. Only modern scholarship has fully restored his priority.

The Caliph al-Hakim

Al-Hakim bi-Amr Allah was one of history's most eccentric rulers: he banned certain foods, destroyed churches and synagogues, then rebuilt them, and eventually vanished mysteriously. Working under such a patron required both genius and survival instincts.

12 — LEGACY

Legacy in Modern Mathematics

Integral Calculus

His computation of volumes using sums of powers is a direct precursor to the Riemann integral. The chain from Alhazen to Cavalieri to Newton/Leibniz is a continuous thread in the development of calculus.

Computational Geometry

Alhazen's problem is studied in modern computational geometry and robotics: finding reflection paths on curved surfaces is essential for ray-tracing, acoustic modeling, and robotic navigation.

Number Theory

His work on Wilson's theorem and sums of powers contributed to the development of modular arithmetic and analytic number theory.

Scientific Method

His articulation of hypothesis-experiment-conclusion as the basis for knowledge is the foundation of all modern science. It influenced Francis Bacon, Galileo, and the entire empiricist tradition.

Optics & Physics

The ray model of light, which he established, remained the basis of optics until quantum mechanics. Snell, Fermat, and Newton all built on his framework.

Visual Perception

His insight that vision involves both physical light reception and cognitive processing anticipates modern neuroscience of perception. He was the first to recognize vision as a computational process.

13 — APPLICATIONS

Applications in Science & Engineering

Camera & Photography

Alhazen's camera obscura analysis is the direct ancestor of the photographic camera. Every smartphone camera, every film projector, every security camera implements the optical principles he described.

Computer Graphics

Ray tracing — the rendering technique behind photorealistic computer graphics and film CGI — computes the paths of light rays exactly as Alhazen described: following light from objects through reflections and refractions to the viewer.

Telescope & Microscope Design

His analysis of lenses and curved mirrors laid the groundwork for all optical instrument design. Kepler's telescope design explicitly built on Alhazen's refraction theory.

Medical Imaging

His understanding of how light interacts with curved surfaces extends to modern medical optics: endoscopes, ophthalmoscopes, and corrective lenses all apply the reflection and refraction principles he systematized.

optics ray tracing scientific method camera integration

14 — TIMELINE

Key Events

c.965 Born Basra, Iraq c.1011 House Arrest Cairo, feigns madness 1011–21 Book of Optics Kitab al-Manazir 1021 Released al-Hakim vanishes c.1028 Doubts on Ptolemy c.1040 Death Cairo, age ~75 Fatimid Caliphate • Buyid Dynasty • First Crusade (1096)
15 — READING

Recommended Reading

Ibn al-Haytham's Optics (Translation)

A. I. Sabra (1989). The definitive critical edition and English translation of Books I–III of the Kitab al-Manazir, with extensive commentary.

The World of Ibn al-Haytham

Jim al-Khalili (2015). Published for the UNESCO International Year of Light, an accessible account of Alhazen's life and scientific contributions.

Theories of Vision from Al-Kindi to Kepler

David C. Lindberg (1976). The classic scholarly history of optics from late antiquity through the Renaissance, with Alhazen as the central figure.

The Crest of the Peacock

George Gheverghese Joseph (2011). Places Alhazen's mathematical contributions in the broader context of non-European mathematics.

Mathematics in Medieval Islam

J. Lennart Berggren (2nd ed., 2016). Covers Alhazen's number theory and geometric work within the Islamic mathematical tradition.

Pathfinders

Jim al-Khalili (2010). A broader history of Islamic science that contextualizes Alhazen's revolutionary approach to empirical investigation.

"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."

— Ibn al-Haytham (Alhazen), Doubts Concerning Ptolemy (c. 1028)

Alhazen (Ibn al-Haytham) • c. 965–1040 CE • The First Scientist