c. 965 – c. 1040 CE | The First Scientist
Ibn al-Haytham • Mathematician • Physicist • Astronomer • Basra & Cairo
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.
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.
The Shia Buyid emirs controlled Iraq and western Persia while maintaining the figurehead Abbasid caliph. Their patronage of learning continued the earlier Abbasid tradition.
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.
Seven books on optics. The most important work on light and vision between antiquity and Newton. Translated to Latin as De Aspectibus c. 1200.
A systematic critique of Ptolemy's astronomical models, demanding physical consistency — a pioneering act of scientific criticism.
On number theory, geometry, astronomy, optics, meteorology. At least 96 survive, covering an astounding range of topics.
A failure that became a gift: house arrest gave Alhazen the uninterrupted time to produce his greatest work.
Alhazen worked at the intersection of two Islamic dynasties and a rich intellectual tradition spanning 150 years of Arabic science.
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.
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.
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.
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.
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.
While observation was valued in the Greek tradition, systematic controlled experimentation was not standard. Alhazen made it the cornerstone of his 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:
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.
The seven books of the Kitab al-Manazir covered vision, reflection, refraction, and perception with unprecedented rigor.
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.
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.
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.
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)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 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.
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.
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 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.
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.
He derived closed-form expressions for sums of integers, squares, cubes, and fourth powers — the building blocks for numerical integration.
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.
Attributed in Europe to John Wilson (1770), evidence suggests Alhazen knew this result 700 years earlier, though his proof is lost.
Alhazen is often called "the first scientist" because he articulated and practiced the experimental scientific method with unprecedented clarity.
Carefully record the phenomenon
Propose a causal explanation
Design controlled tests to verify or refute
Accept only what experiment confirms
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."
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.
The Latin translation De Aspectibus (c. 1200) influenced every major European optician from Bacon to Kepler. Newton owned and annotated a copy.
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.
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.
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.
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.
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.
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.
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.
His work on Wilson's theorem and sums of powers contributed to the development of modular arithmetic and analytic number theory.
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.
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.
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.
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.
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.
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.
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
A. I. Sabra (1989). The definitive critical edition and English translation of Books I–III of the Kitab al-Manazir, with extensive commentary.
Jim al-Khalili (2015). Published for the UNESCO International Year of Light, an accessible account of Alhazen's life and scientific contributions.
David C. Lindberg (1976). The classic scholarly history of optics from late antiquity through the Renaissance, with Alhazen as the central figure.
George Gheverghese Joseph (2011). Places Alhazen's mathematical contributions in the broader context of non-European mathematics.
J. Lennart Berggren (2nd ed., 2016). Covers Alhazen's number theory and geometric work within the Islamic mathematical tradition.
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