Omar Khayyam
Mathematician, astronomer, philosopher and poet — the Nishapur polymath who solved the cubic, designed a calendar accurate to one day in 5,000 years, and wrote a hundred quatrains the world still recites.
From Nishapur to Isfahan
Ghiyāth al-Dīn Abū'l-Fath ʿUmar ibn Ibrāhīm al-Khayyām al-Nīshāpūrī was born in 1048 CE in Nishapur, then one of the great cities of the Khorasan plateau and a centre of learning under the Seljuks. His surname, Khayyām, means "tent-maker" — likely his father's trade.
By his early twenties he was already known across the Islamic world for his treatise on algebra. In 1074 the Seljuk Sultan Malik Shah and his vizier Nizam al-Mulk summoned him to Isfahan to lead a new observatory and reform the calendar — a commission he completed in five years.
A geometric theory of the cubic
Khayyam's Treatise on Demonstrations of Problems of Algebra (c. 1070) classified cubic equations into fourteen types and gave a geometric solution for each by intersecting conic sections. No European mathematician would surpass this work until Cardano and Tartaglia in the sixteenth century.
Algebra
First systematic theory of cubic equations
Geometry
Treatise on the parallel postulate — a precursor to non-Euclidean geometry
Binomials
Khayyam–Pascal triangle for binomial coefficients (predates Pascal by 600 years)
Music
Mathematical analysis of musical intervals
One day's error every 5,000 years
In 1079 CE Khayyam completed the Jalali calendar, a 33-year solar cycle of eight leap years (rather than the Gregorian's 400-year cycle of 97). His calendar's mean year is 365.2424 days — closer to the true tropical year than the Gregorian's 365.2425. It remains the official civil calendar of Iran and Afghanistan today, almost a thousand years later.
| Calendar | Year (days) | Error per 5,000 years |
|---|---|---|
| Julian (45 BCE) | 365.2500 | ~37 days |
| Gregorian (1582) | 365.2425 | ~1.2 days |
| Jalali (1079, Khayyam) | 365.2424 | <1 day |
A hundred quatrains and a world reader
The quatrains attributed to Khayyam — short four-line stanzas in a strict rhyme scheme — circulated in Persia for centuries as a thinker's diversion. Their themes are constant: the silence of the universe, the inevitability of death, the call to live the present hour.
"The Moving Finger writes; and, having writ, Moves on: nor all thy Piety nor Wit Shall lure it back to cancel half a Line, Nor all thy Tears wash out a Word of it."
In 1859 the English scholar Edward FitzGerald published a free translation of seventy-five quatrains. It went unnoticed for two years, then exploded into one of the most reprinted books of the Victorian age and the most widely read translation of any foreign poem into English.



The Isfahan observatory and the Zij-e Malekshahi
In 1074 Nizam al-Mulk and Sultan Malik-Shah summoned Khayyam to Isfahan to lead an observatory. He worked there for roughly eighteen years — the most productive stretch of his life — at the head of a team of eight astronomers.
| Task | Method | Result |
|---|---|---|
| Length of the tropical year | Solstice and equinox transit observations over years | 365.24219858156 days — accurate to within seconds of the modern value |
| Calendar reform | Intercalation tied to the observed vernal equinox | The Jalali calendar, adopted 15 March 1079 |
| Star catalogue | Revision of earlier zij tables | Zij-e Malekshahi, now largely lost |
| Precession | Comparison with Ptolemaic positions | Confirmed the slow drift of equinoxes |
The observatory closed after Malik-Shah's death in 1092 and the assassination of Nizam al-Mulk; Khayyam lost his patronage and returned to Nishapur, where he taught and, according to the historian Bayhaqi, grew reluctant to lecture at all.
The parallel postulate before non-Euclidean geometry
Khayyam's Commentary on the Difficulties of Certain Postulates of Euclid (1077) attacked the fifth postulate. To do so he constructed the quadrilateral with two equal sides perpendicular to a base — later rediscovered by Giovanni Saccheri in 1733 and now often called the Khayyam–Saccheri quadrilateral — and examined the three possible cases for its summit angles.
Acute case
Corresponds to hyperbolic geometry, formalised by Lobachevsky in 1829.
Right case
Euclidean geometry — the case Khayyam believed had to hold.
Obtuse case
Corresponds to elliptic geometry, formalised by Riemann in 1854.
Ratio theory
His treatment of proportion anticipated the 19th-century real-number continuum.
He rejected the acute and obtuse cases on philosophical grounds rather than mathematical ones — but by mapping them at all, he drew the outline of non-Euclidean geometry seven centuries early.
How the Rubaiyat reached the world
Khayyam was known in the Islamic world chiefly as a mathematician and philosopher. His global fame as a poet is a Victorian creation, dating from a single free translation.
| Date | Event |
|---|---|
| c. 1207 | Earliest datable attribution of quatrains to Khayyam, by Razi — 75 years after his death |
| 1460 | Bodleian MS Ouseley 140 copied in Shiraz — 158 quatrains, FitzGerald's main source |
| 1859 | FitzGerald publishes 75 quatrains anonymously; 250 copies, almost all unsold |
| 1861 | Rossetti and Swinburne find the pamphlet in a remainder bin; word spreads |
| 1868–1889 | Four further FitzGerald editions; the poem becomes a Victorian sensation |
| 1934 | Sadeq Hedayat's Iranian critical edition reclaims Khayyam for Persian letters |
Khayyam \u2014 poet, mathematician, astronomer
The Nishapur polymath whose algebra textbook, Jalali calendar and Rubaiyat each separately changed world culture.




Photographs and museum plates reproduced from Wikimedia Commons and public-domain collections.
Frequently asked questions
Related reading
Khwarizmi, Razi, Ibn Sina, Khayyam, Tusi — Persian contributions to math, medicine, and astronomy.
The greatest physician of the medieval world — the Canon of Medicine was the standard European textbook for 600 years.
Ferdowsi, Hafez, Rumi, Saadi, Nizami, Khayyam — the masters of Persian verse.
The 10th-century poet of Tus whose 50,000-couplet Shāhnāmeh rescued the Persian language and gave Iran its national epic.
Qanat, yakhchāl, windmill, algebra, distillation — twelve Persian inventions that shaped the world.
Spring equinox, Haft-Sin, Chaharshanbe Suri and Sizdah Bedar — Iran's 3,000-year-old UNESCO new year.
References
- ↗ Encyclopædia Iranica — Khayyam, Omar
- ↗ MacTutor — Omar Khayyam (mathematics)
- ↗ FitzGerald, Rubaiyat of Omar Khayyam (1859) — full text
All imagery is sourced from Wikimedia Commons, public-domain museum collections (British Museum, Louvre, Metropolitan Museum of Art, National Museum of Iran), or UNESCO World Heritage records. No AI-generated images are used. Scholarly text is synthesized from Encyclopædia Iranica, the Cambridge History of Iran, and peer-reviewed publications.