Skip to the content
The Library
of Alexandria
Omar Khayyam, in the house style

1048 to 1131 · Persian mathematician, astronomer, philosopher and poet

Omar Khayyam

Ask him about time, doubt, pleasure and the limits of knowledge. Answers come from The Rubaiyat of Omar Khayyam.

An AI voice inspired by Omar Khayyam's writings. Not Omar Khayyam, and not endorsed by any estate.

Ask Omar Khayyam

You are talking with an AI. It answers from Omar Khayyam's own writings in our library and can be wrong. A tick marks a quote, with its source.

Free for 3 months

200,000+ classics. Every format, free to start.

eBooks, audiobooks and 15-minute summaries, and any book printed at cost, large print too.

Start freeNothing to pay today. USD 0.14 a day in the first year, then USD 0.27 a day.

Omar Khayyam on ...

Questions he answers

Answers in an AI voice inspired by his writings.

Who are you, Omar Khayyam?

I am Omar Khayyam, a Persian mathematician, astronomer, philosopher and poet, born in Nishapur in 1048. My studies began with religious sciences, Arabic grammar and literature, and led me toward mathematics, astronomy and philosophy. In my own lifetime I was known chiefly for my scientific work: the study of equations, the difficulties in Euclid, and observations for the calendar. The short poems associated with my name turn toward another kind of inquiry: what we can know, how we face death, and what makes a passing day worth our attention.

From The Rubaiyat of Omar Khayyam

What matters most to you in a life that passes so quickly?

I value the effort to understand, but I do not suppose that understanding can remove every uncertainty. A life may hold much study and still leave its deepest questions unanswered. That is no reason to overlook a friend, a garden or the freshness of a morning. In the poems associated with my name, these small pleasures stand beside the knowledge that everything passes. I would not let regret for yesterday or fear of tomorrow consume the hour that is actually within reach. Learning matters, and so does attention to ordinary happiness.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

What is the Rubaiyat associated with your name?

The poems associated with my name are quatrains: brief poems of four lines, with room for a question, an image or a turn of thought. I use that small space to consider time, death, fate and the limits of learning. A garden, a cup, a potter or a fading rose can bring a large question close to ordinary experience. The cup may suggest comfort against sorrow, while a mystical reading finds spiritual longing in it. These poems do not settle every doubt; they give doubt a clear and compact shape.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

What was your life like as a scholar in eleventh-century Persia?

My scholarly life joined travel, study and service. I grew up in Nishapur, studied religious sciences and language, and then pursued mathematics, astronomy and philosophy. Around 1068 I traveled to Bukhara and visited the library of the Ark. Around 1070 I moved to Samarkand and began my work on algebra. In 1074 I entered Malik-Shah's service and was charged with establishing an observatory in Isfahan. There I led scientists in observations for calendar reform. Such work required patient measurement as well as reasoning, and depended in part on a ruler's support.

From The Rubaiyat of Omar Khayyam

How should I face death?

I would face death by remembering that neither learning nor rank can remove it from human life. In the quatrains attributed to me, kings become dust and flowers fade; these images bring the same limit before every person. Yet I do not turn that limit into a reason to neglect the living hour. Friendship, a garden, and attention to the morning still matter. I cannot settle what lies beyond death, but I can acknowledge that uncertainty without letting it consume everything that remains before it.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How can love point beyond ordinary pleasure?

I can speak of love here as longing for the divine. In a mystical reading of the quatrains attributed to me, wine is not merely a passing pleasure: it can signify divine love, loosening the hold of the self. The cup and tavern then become images of a desire reaching beyond ordinary satisfaction. I would keep that reading distinct from the plain enjoyment of the hour. The same small poem can hold pleasure and a question about something beyond it, without making the mystery disappear.

From The Sufistic Quatrains of Omar Khayyam

Where can I find happiness when life's great questions remain unanswered?

I would look first toward what is near enough to experience: a friend, a garden, the morning, and the passing hour. The speaker of the quatrains attributed to me has studied deeply without discovering why we arrive or where we go. Yet the failure to answer everything does not empty these ordinary pleasures of their value. I do not offer happiness as a proof that the world is understood. I see it instead as something possible within uncertainty, alongside sorrow and the knowledge that our time is brief.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

Why make time for friendship when life is so brief?

I would make time for friendship not despite the shortness of life, but because of it. The speaker of the quatrains attributed to me turns from questions that receive no answer toward a friend and a garden. This is not a solution to death or fate. It is an acknowledgment that something worth attending to is already within reach. If the hour cannot be kept, it can still be shared. I would not surrender that modest happiness merely because I cannot explain the whole of existence.

From The Rubaiyat of Omar Khayyam

What use is anger at a fate I cannot change?

I would ask whether anger can change what has already passed. In the quatrains attributed to me, fate does not yield to cleverness, devotion, or tears. Anger cannot give the passing hour back. That does not make sorrow unreal, nor does it answer why events unfold as they do. It does suggest a limit to struggling against what cannot be altered. I would turn my attention toward the friendship and simple pleasures still within reach, rather than let an unchangeable past take the present as well.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

Does years of study necessarily make me wise?

I would not count years of study as a guarantee of wisdom. I devoted myself to mathematics, astronomy, and philosophy, so I would not dismiss careful learning. Yet the speaker of the quatrains attributed to me finds that long study leaves the deepest questions unresolved. Knowing much and knowing the purpose of existence are not the same achievement. I would keep both truths together: patient inquiry has its work, and an honest mind must also recognize where its answers end. Pretending certainty would not make that boundary disappear.

From The Rubaiyat of Omar Khayyam

Why does the Rubaiyat begin with a call to wake at dawn?

I begin at dawn because the passing of a day makes the passing of a life easy to feel. Morning brings light, flowers and birds, but it does not pause while we decide how to live. The call to wake asks us to notice what is already within reach: a friend, a garden, an hour of pleasure. It also prepares the deeper questions that follow. We do not know all the reasons for our existence, yet the morning is here to be attended to.

From The Rubaiyat of Omar Khayyam

What does the Moving Finger represent in the Rubaiyat?

I use the image of a writing hand to give fate a shape we can understand. Once something has happened, neither learning nor devotion nor grief can make it unhappen. The hand continues, indifferent to our wish for a different ending. This is a severe thought, but it belongs beside the poems' attention to the present. I cannot recover an hour that has gone. The image turns my attention toward the hour still here, without pretending that human wishes govern what comes next.

From The Rubaiyat of Omar Khayyam
More questions

What would you most want to be remembered for?

I would place my mathematical and astronomical work beside the questions expressed in my poetry, rather than ask one to eclipse the other. I sought sound reasoning in geometry and algebra, and careful observation in the study of the year. Yet the poems associated with my name acknowledge that learning does not answer everything. If I were remembered for anything, I would wish it to be that combination: patience in pursuing what can be understood, and honesty before what remains uncertain. Neither inquiry nor the enjoyment of a brief life need exclude the other.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

Why should readers keep returning to the questions in your poems?

I think these questions deserve another hearing because a quick answer can hide their difficulty. Where do we come from? What becomes of us? Why is there pain? My poetic speaker finds that long study does not bring these matters neatly to rest. Returning to them need not mean searching for a final explanation each time. It may mean noticing how a familiar image, such as clay or a rose, holds both pleasure and loss. I would have inquiry deepen attention to life, not draw us away from it.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

What single piece of advice would you give a reader?

I would say: do not surrender the present to regret and worry. This does not require pretending that sorrow is absent or that difficult questions have easy answers. In the poems associated with my name, pleasure and uncertainty remain together. A friend or a garden does not explain the universe, but neither must it wait upon that explanation to matter. I have valued study, yet study cannot return a vanished day. Give the hour before you some honest attention, without demanding that it promise you another.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

Which of your scientific achievements would you take greatest pride in?

I would give a high place to the astronomical work undertaken for the reform of the Persian calendar. In Isfahan I led scientists in observing the Sun, and our measurements of the solar year were completed in 1079. That work helped establish the Jalali calendar. I also value my mathematical investigations, including the use of intersecting conic sections to solve cubic equations and my examination of Euclid's postulates. But the calendar brings together something especially satisfying to me: exact thought, patient observation and the shared labor of scholars.

From The Rubaiyat of Omar Khayyam

What can wealth really buy in a life that must end?

I would distinguish what wealth can offer within a life from what it cannot overcome. The kings in the quatrains attributed to me do not escape the dust, and no rank secures an extra day against death. That is the limit I would keep in view. A garden, friendship, and a passing morning hold pleasures that need not be measured by greatness or standing. I would not mistake possession for an answer to mortality, or let the thought of having more obscure the hour already present.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How do you question the justice of a world made by a good God?

I would begin with the difficulty itself: if the maker is good, why is there so much pain? The quatrains attributed to me allow that question to remain open. Their images of a potter and clay bring human helplessness into view and ask what the maker intends. I do not find that learning or religious speech automatically settles the matter. Nor would I turn an unanswered question into a confident judgment about everything. I would speak plainly of suffering and admit the limits of what I can explain.

From The Sufistic Quatrains of Omar Khayyam

How can I live patiently with questions that have no clear answer?

I spent much of my life in study, yet the deepest questions did not yield as readily as a problem in mathematics. Where we come from, where we go, and why suffering exists remain difficult to answer. I would not hide that difficulty beneath a confident claim. In the quatrains, doubt sits beside the garden and the friend; it need not drive them away. Patience begins with allowing a question to remain open while still attending to the small joys that the present offers.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How can I stop tomorrow's worries from consuming today?

I cannot make tomorrow certain, and I would not pretend that worry can do so either. In the quatrains, the passing morning matters because it is already leaving us. To spend it entirely fearing another day is to lose what is here without gaining command of what comes next. I turn instead toward a friend, a garden, and the changing light. This does not answer every fear. It gives the present its proper place, rather than surrendering the whole of it to an hour that has not arrived.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How should I spend the little time I have?

I gave much of my time to mathematics, astronomy, and philosophy, but the voice of the quatrains reminds me that learning does not exhaust the meaning of a life. There is also friendship, the garden, and the simple pleasure of noticing a morning before it passes. I would not spend every hour regretting yesterday or demanding certainty from tomorrow. Study has its place, and so does delight. The little time we have need not contain every answer to hold something worth our attention and care.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

What is success worth if neither rank nor learning can defeat death?

I knew the work of study and the service of a ruler, yet neither learning nor rank can remove the limit set by death. The quatrains return to kings who become dust because greatness is easily mistaken for permanence. I would measure success more modestly: not as a victory over death, but as something belonging to the life we actually have. Understanding a difficult problem and enjoying friendship need not last forever to matter. Their worth lies within our brief stay, not in a promise that we shall escape its ending.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

What can fading roses teach me about change?

I see in the fading rose a plain reminder that beauty and passing belong together. The flower does not promise to remain, and the garden is not less worthy of attention because its blossoms change. In the quatrains, such images turn my thoughts toward our own short stay. I cannot hold the morning still, any more than I can prevent the rose from fading. Yet I can notice it while it is here, without allowing sorrow over its ending to take away all pleasure in its presence.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How can I face the fear of not knowing where life leads?

I asked where we come from and where we go, and study did not give me a certain answer. I would not quiet that fear by claiming knowledge I do not possess. The quatrains leave room for uncertainty, but they also leave room for friendship and the pleasure of a garden. Not knowing the destination does not make the present empty. I turn my attention toward what is within reach, while allowing the larger question to remain unanswered. Fear need not be the only companion of that uncertainty.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How much freedom do I have if fate moves us like chess pieces?

In the quatrains, I picture human life as pieces upon a chessboard, moved through days and nights by a power they cannot command. That image expresses how little our wishes can alter fate; it does not provide a complete account of freedom. I cannot tell you exactly where its boundaries lie. Yet the poems still turn toward friendship, pleasure, and attention to the passing hour. Even without mastery over the whole course of life, there remains the question of how we meet the moment before us.

From The Rubaiyat of Omar Khayyam

How should I respond when my search for ultimate answers fails?

I would first admit what the search has not given me. Long study may deepen a question without settling it, and certainty should not be claimed merely because uncertainty is uncomfortable. In the quatrains, the seeker turns from unanswered mysteries toward the friend, the garden, and the brief day. That turning need not make the search worthless. I pursued mathematics and astronomy, where careful thought and observation had their work to do. But I would not ask every part of life to wait until its deepest mystery is solved.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

What questions do the potter and the clay raise in your quatrains?

Through the potter and the clay, I ask what it means to be formed by a power whose purpose we cannot understand. Where do we come from, and what becomes of us? If the maker is good, why should the creatures endure pain? The image also brings human pride down to earth: kings and scholars share the same end. I leave these questions open rather than supply an easy answer. The familiar work of shaping a pot becomes a way to consider the mystery of being human.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How does The Sufistic Quatrains of Omar Khayyam interpret wine?

I would distinguish the cup as an ordinary pleasure from the cup understood as a sign of spiritual longing. In the Sufi reading, wine points toward divine love, which loosens the hold of the self and draws the heart toward God. The tavern and the cupbearer belong to this same language of longing. This reading makes the invitation to enjoy the hour an invitation to become awake within it. It does not remove doubt or sorrow; it holds them beside the hope of something beyond.

From The Sufistic Quatrains of Omar Khayyam

What does the image of the world as an inn suggest in the Sufistic Quatrains?

When I think of the world as an inn, I think of a place where we stay briefly rather than a home we can possess forever. The traveller rests and then must leave; rank and learning do not change that condition. The image gives a quiet measure to our concerns. I would not spend the whole stay regretting yesterday or fearing tomorrow. Friendship and the present hour matter because they are passing, not because they can be made permanent. Awareness of departure can deepen attention to what is here.

From The Sufistic Quatrains of Omar Khayyam

How did you use conic sections to solve cubics in your Treatise on Algebra?

I approached cubic equations through geometry, using the intersections of conic sections to find their solutions. This joined the study of equations with the study of curves: a meeting point could provide the solution sought in the algebraic problem. My work on cubics was therefore not confined to calculation with symbols. Geometry supplied another means of investigating them. That is the central feature of my method I can describe here, without offering a particular construction or claiming that every cubic was handled in precisely the same way.

What troubled you about attempts to prove Euclid's parallel axiom?

What troubled me was the attempt to establish the parallel axiom by relying on assumptions no easier to accept than the axiom itself. I wanted a proof to clarify the difficulty, not merely place it under another name. If the proposed starting point carries an equal burden of uncertainty, the essential problem remains. My examination of Euclid's postulates therefore required care about what was being assumed as well as what was being concluded. An argument must not claim to have settled what it has only shifted elsewhere.

Why did you reject the use of movement in geometry?

I rejected the use of movement in geometry, but I cannot offer a detailed explanation of that rejection here. What I can say is that it belonged to my examination of the foundations of geometrical reasoning. In considering Euclid's postulates, I also resisted arguments that replaced a difficult assumption with another equally difficult one. These concerns turn attention toward the grounds of a proof. I would rather leave the particular reason for rejecting movement unstated than give an explanation I cannot firmly support.

What did you study before turning to mathematics and astronomy?

I first studied religious sciences, Arabic grammar and literature. These were my studies before I pursued mathematics, astronomy and philosophy. My boyhood was spent in Nishapur, and my learning did not begin with numbers alone. Questions of belief and the study of language belonged to that early foundation. Later, my mathematical work concerned equations and geometry, while my astronomical work required careful observation of the heavens. My path through learning thus included several kinds of inquiry, rather than a single subject from the beginning.

What brought you to the library of the Ark in Bukhara?

I traveled to Bukhara around 1068 and visited the library of the Ark there. I cannot give a particular reason for that visit beyond what is known of my journey and my pursuit of learning. My studies had begun with religious sciences, Arabic grammar and literature, and extended into mathematics, astronomy and philosophy. The library belongs to that wider story of study and travel. I would not attach a particular discovery, meeting or manuscript to the visit when no such detail is established.

How did your move to Samarkand connect with your work on algebra?

I moved to Samarkand around 1070, and it was there that I began my Treatise on Algebra. That is the clear connection between the move and the work; I cannot say that the move alone caused it. My algebra addressed cubic equations, using intersections of conic sections to find solutions. Geometry therefore had an important place in my treatment of algebra. Samarkand marks a stage in my life when this mathematical inquiry took shape as a treatise, rather than merely a change of residence.

What did Malik-Shah commission you to do in Isfahan?

In 1074 I entered Malik-Shah's service. He commissioned me to establish an observatory in Isfahan and to lead scientists in observations intended to reform the Persian calendar. The task joined the study of the heavens to the practical reckoning of time. We needed measurements of the solar year, and those measurements were completed in 1079. My work on the Jalali calendar belonged to this undertaking. It was a task of observation and calculation carried out with other scientists, not an inquiry I pursued alone.

How did observing the solar year support your calendar reform?

Observing the solar year gave our calendar work its measured foundation. A reform of the calendar required attention to the year itself, so the observations in Isfahan were central to the undertaking Malik-Shah had commissioned. I led scientists in this work, and our measurements were completed in 1079. My contribution to the Jalali calendar helped provide a basis for the Persian calendar. I would describe the connection simply: our reckoning of time rested on observing the heavens and calculating from those observations.

What change in your fortunes preceded your pilgrimage to Mecca?

I lost favor at court before making my pilgrimage to Mecca. That is the change in my fortunes I can state plainly; I cannot supply a particular quarrel or accusation to explain it. Earlier, service under Malik-Shah had given me responsibility for the observatory in Isfahan and the calendar work. The pilgrimage followed a less favorable turn in my courtly position. Later, as my health declined, I returned to Nishapur, the city where I had been born and spent my boyhood.

Why are gardens and cups of wine recurring refuges in your poetic outlook?

In the poems attributed to me, the garden and the cup offer something near at hand when the largest questions remain unanswered. I ask about our beginning, our end and the power of fate, yet study does not settle everything. Friendship, a garden and the passing morning give the present its value. Wine appears as a comfort against grief, though a mystical reading understands it as longing for the divine. These images do not remove death or doubt; they hold a brief pleasure beside them.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

How can a four-line poem hold such large questions?

I need not settle a large question to give it room in four lines. A short poem can place one image before you: clay in a potter's hands, a fading rose, or a king reduced to dust. That image carries a question about creation, time or death without requiring a long argument. In the quatrains attributed to me, a single thought can hold pleasure and sorrow together. Brevity leaves the question open, allowing you to pause over it rather than hurry toward an answer.

From The Rubaiyat of Omar Khayyam and The Sufistic Quatrains of Omar Khayyam

Omar Khayyam in the library

The Sufistic Quatrains of Omar KhayyamPrinted at cost, large print too
The Rubaiyat of Omar KhayyamPrinted at cost, large print too

Talk to others like him

Free for 3 months

200,000+ classics. Every format, free to start.

eBooks, audiobooks and 15-minute summaries, and any book printed at cost, large print too.

Start freeNothing to pay today. USD 0.14 a day in the first year, then USD 0.27 a day.

An AI voice inspired by Omar Khayyam's writings; it can be wrong. Report a wrong answer. If you are in crisis: call or text 988 (US) or find a line in your country.