Skip to main content
1048 — 1131 · Nishapur

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.

Image: Mausoleum of Omar Khayyam, Nishapur — Wikimedia Commons
Life

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.

Mathematics

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

The Calendar

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 accuracy compared
CalendarYear (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
The Rubaiyat

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."
Omar Khayyam, Rubaiyat (trans. FitzGerald, 1859)

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.

Omar Khayyam — 19th-century engraving
Omar Khayyam — 19th-century engravingWikimedia Commons
Tomb of Khayyam, Nishapur
Tomb of Khayyam, NishapurWikimedia Commons
The modernist mausoleum (1963) by Hooshang Seyhoun
The modernist mausoleum (1963) by Hooshang SeyhounWikimedia Commons
Astronomy

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.

Khayyam's astronomical programme at Isfahan
TaskMethodResult
Length of the tropical yearSolstice and equinox transit observations over years365.24219858156 days — accurate to within seconds of the modern value
Calendar reformIntercalation tied to the observed vernal equinoxThe Jalali calendar, adopted 15 March 1079
Star catalogueRevision of earlier zij tablesZij-e Malekshahi, now largely lost
PrecessionComparison with Ptolemaic positionsConfirmed 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.

Geometry

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.

Reception

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.

Transmission of the Rubaiyat
DateEvent
c. 1207Earliest datable attribution of quatrains to Khayyam, by Razi — 75 years after his death
1460Bodleian MS Ouseley 140 copied in Shiraz — 158 quatrains, FitzGerald's main source
1859FitzGerald publishes 75 quatrains anonymously; 250 copies, almost all unsold
1861Rossetti and Swinburne find the pamphlet in a remainder bin; word spreads
1868–1889Four further FitzGerald editions; the poem becomes a Victorian sensation
1934Sadeq Hedayat's Iranian critical edition reclaims Khayyam for Persian letters
Gallery

Khayyam \u2014 poet, mathematician, astronomer

The Nishapur polymath whose algebra textbook, Jalali calendar and Rubaiyat each separately changed world culture.

The modernist tomb of Omar Khayyam in Nishapur (Hooshang Seyhoun, 1963).
The modernist tomb of Omar Khayyam in Nishapur (Hooshang Seyhoun, 1963).Wikimedia Commons
Idealised profile of Omar Khayyam.
Idealised profile of Omar Khayyam.Wikimedia Commons
The Maragheh Observatory — the line of Persian astronomy from Khayyam to Tusi.
The Maragheh Observatory — the line of Persian astronomy from Khayyam to Tusi.Wikimedia Commons
Khayyam's treatise on the geometric solution of cubic equations.
Khayyam's treatise on the geometric solution of cubic equations.Wikimedia Commons

Photographs and museum plates reproduced from Wikimedia Commons and public-domain collections.

FAQ

Frequently asked questions

Continue exploring

Related reading

Sources & Further Reading

References

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.