AP Literature · poem · 8 lines

When I Heard the Learn'd Astronomer

Worn out by a lecture full of charts and proofs, the speaker slips outside into the night and looks up at the stars in silence.

⏱ 8 min to understand the poem Free verse Public domain poem
0% explored

When I Heard the Learn'd Astronomer the full poem, lines numbered

1When I heard the learn’d astronomer,
2When the proofs, the figures, were ranged in columns before me,
3When I was shown the charts and diagrams, to add, divide, and measure them,
4When I sitting heard the astronomer where he lectured with much applause in the lecture-room,
5How soon unaccountable I became tired and sick,
6Till rising and gliding out I wander’d off by myself,
7In the mystical moist night-air, and from time to time,
8Look’d up in perfect silence at the stars.
The poem in 60 seconds

Eight lines, one sentence: a man sits through an applauded astronomy lecture, grows sick of it, and walks out to look at the real sky. Whitman builds the lecture with long, piling-up lines and the escape with quieter, shorter ones. Readers still argue over whether the poem rejects science or simply makes room for wonder.

The poem is one long sentence. The first four lines each begin with “When,” listing what the speaker saw and heard inside a lecture room. He remembers hearing a learned astronomer. The proofs and figures were set out in columns in front of him, and he was shown charts and diagrams to add, divide and measure. He sat and listened while the astronomer lectured to much applause. Then the sentence reaches its main point. Very soon, and for no reason he could explain, the speaker became tired and sick. He got up, slipped out and wandered off by himself into the moist, mysterious night air. There, from time to time, he looked up in perfect silence at the stars. The poem does not say what he thought or learned out there. It ends with the act of looking.

Speaker & situation

SpeakerAn unnamed “I” remembering an evening when he attended a lecture. He is one of the audience, not the astronomer.
Addressed toNo listener is named. The speaker simply tells the reader what happened.
OccasionA public astronomy lecture, full of proofs, figures and diagrams, that the audience applauds (line 4).
SettingFirst a lecture room, then the open night outside, “the mystical moist night-air” (line 7).
ToneWeary and restless in lines 1 to 5, then calm and hushed in lines 6 to 8.

Form & sound

FormFree verse; eight unrhymed lines that make up a single sentence. It was first printed in Drum-Taps (1865), and in the final edition of Leaves of Grass Whitman placed it in the group “By the Roadside.”
MeterThere is no regular meter. Each of lines 1 to 4 is longer than the one before, as the lecture drags on. The last line, “Look’d up in perfect silence at the stars,” settles into something close to regular iambic pentameter, a moment of calm order after the crowded lines before it.
SoundLine 7 slows down with the m sounds of “mystical moist” and the soft repetition of “from time to time.” Line 4 repeats “lecture” in “lectured” and “lecture-room,” making the lecture sound as tedious as it felt.
StructureLines 1 to 4 are clauses beginning “When,” so the sentence keeps the reader waiting. The main clause arrives in line 5, and lines 6 to 8 carry the speaker out of the room and under the sky.

Line by line what each part says and does

  1. 1

    Lines 1–4

    The lecture

    The speaker remembers hearing the learned astronomer. Proofs and figures were arranged in columns before him, and he was shown charts and diagrams to add, divide and measure. He sat and heard the astronomer lecture, to much applause, in the lecture room.

    How it worksFour lines begin “When,” and each is longer than the last, so the facts seem to pile up on the listener. The passive verbs (“were ranged,” “was shown”) leave him nothing to do but receive.

  2. 2

    Lines 5–6

    Tired and sick

    Soon, for no reason he can account for, the speaker grows tired and sick. He rises and glides out, wandering off by himself.

    How it worksThe main clause finally arrives. “Unaccountable” is a sly choice in a poem about counting and figures: his feeling cannot be measured or explained by the lecture’s methods.

  3. 3

    Lines 7–8

    Under the stars

    Outside, in the mysterious, moist night air, he looks up from time to time at the stars in perfect silence.

    How it worksThe applause gives way to silence, and the diagrams give way to the stars themselves. The last line is the calmest and most regular in the poem.

The turn

Lines 5–6

Lines 1 to 4 pile up the lecture’s proofs, charts and applause in a string of “When” clauses. Line 5 turns (“How soon unaccountable I became tired and sick”), and line 6 carries the speaker out of the room. The rest of the poem is quiet, solitary looking.

Literary devices with line numbers

Anaphora

Lines 1 to 4 all begin with “When.” The repetition stacks up the lecture’s demands, and holding back the main clause makes the reader feel the speaker’s growing weariness.

Delayed main clause

The whole poem is one sentence, and its main clause is held back until line 5. The long wait mirrors the long lecture and makes the release in lines 6 to 8 feel like a breath of fresh air.

Contrast

The lecture room is crowded and full of numbers, with “much applause” (line 4). The night outside is open and solitary, and the speaker looks “in perfect silence” (line 8). The poem sets two ways of meeting the stars side by side.

Diction

The first half uses the words of the classroom: “proofs,” “figures,” “columns,” “charts,” “diagrams,” “add, divide, and measure” (lines 2 and 3). The second half turns to words of movement and wonder: “gliding” (line 6), “mystical” (line 7), “perfect silence” (line 8).

Wordplay

In line 5, “unaccountable” means that the speaker cannot explain his feeling. In a poem full of figures and sums, it also hints at something that cannot be counted.

Alliteration

“Mystical moist” in line 7 repeats the m sound, and in line 8 the s sounds of “silence” and “stars” hush the ending.

Themes in When I Heard the Learn'd Astronomer

Two ways of knowingNature beyond the classroomSolitudeWonder

Two ways of knowing

The astronomer knows the stars through proofs and measurement; the speaker comes to them through direct experience. The poem sets the two side by side and lets the speaker choose wonder for himself.

Nature beyond the classroom

Inside, the stars are reduced to charts. Outside, they are simply there. The poem suggests that some kinds of understanding come only from direct contact with nature.

Solitude

The speaker leaves the applauding crowd and wanders off “by myself” (line 6). Silence and being alone bring the peace the lecture could not.

Wonder

The night air is “mystical” (line 7) and the looking is done “in perfect silence” (line 8). The poem values awe, a feeling that no diagram can hold.

Images and symbols

The lecture room

Closed, crowded and full of numbers, it stands for knowledge received secondhand.

The stars

The real thing the lecture was about. Seen directly, they stand for the wonder of nature that cannot be reduced to figures.

Tensions

Measurement vs. experience. The lecture offers the stars as proofs and columns of figures, and the speaker cannot bear it. He resolves the tension by leaving, not by arguing.

The ending

How When I Heard the Learn'd Astronomer ends, explained

The last two lines bring the speaker out of the lecture room and under the sky. He is in “the mystical moist night-air,” and “from time to time” he looks up “in perfect silence at the stars.” After four lines crowded with proofs, figures, charts and applause, the ending has no numbers and no noise at all. Two details matter. First, the phrase “from time to time” means the speaker is not studying the sky or measuring it. He wanders and glances up now and then, which is the opposite of the lecture’s method. Second, the silence is “perfect,” a word that answers the “much applause” of line 4. The crowd praised the explanation; the speaker, alone, simply looks. The final line is also the most regular in the poem, close to iambic pentameter, so the sound itself settles into calm. Readers disagree about how far the ending goes. Some read it as a rejection of science in favor of feeling. Others point out that the poem never says the astronomer is wrong, only that his way of knowing left one listener sick and restless. On that reading, the ending does not throw out knowledge but adds something the lecture left out: the direct, wordless experience of the thing itself.

“When the proofs, the figures, were ranged in columns before me,”
Line 2. Knowledge arrives in neat columns, set out before a listener who is only there to receive it.
“When I sitting heard the astronomer where he lectured with much applause in the lecture-room,”
Line 4. The longest line, crowded with the lecture and its applause, just before the break.
“How soon unaccountable I became tired and sick,”
Line 5. The turn. “Unaccountable” means he cannot explain the feeling, and it quietly echoes all the counting that came before.
“In the mystical moist night-air, and from time to time, / Look’d up in perfect silence at the stars.”
Lines 7–8. The poem ends outdoors, in silence, with the thing the lecture was about. The last line falls into a calm, near-regular rhythm.

Common misreadings

MythWhitman is saying that science is worthless.

ActuallyThe poem never says the astronomer is wrong. It reports one listener’s reaction and his need for a different kind of experience. Elsewhere, in “Song of Myself,” Whitman openly cheers for science.

MythThe speaker leaves simply because the lecture is boring.

ActuallyHe feels “tired and sick,” and he calls the feeling “unaccountable” (line 5), meaning he cannot explain it. The poem is less about boredom than about a need that the lecture’s figures could not meet.

MythThe poem has no real structure because it is free verse.

ActuallyIt is carefully built: four “When” clauses that grow longer, a turn in line 5, and a closing line that falls into a near-regular rhythm. The shape of the sentence acts out the escape.

AP practice a poetry prompt in the exam's style

In Walt Whitman’s “When I Heard the Learn’d Astronomer,” a listener leaves an applauded lecture to look at the night sky alone. Read the poem carefully, then write an essay that analyzes how Whitman uses literary elements and techniques to convey a complex perspective on different ways of knowing the natural world.

What a strong response notices

  • The anaphora of “When” in lines 1–4 and the lengthening lines that pile up the lecture.
  • The classroom diction of lines 2–3 (“proofs,” “figures,” “columns,” “charts and diagrams”) set against the words of lines 7–8.
  • The delayed main clause and the double meaning of “unaccountable” in line 5.
  • The contrast between “much applause” (line 4) and “perfect silence” (line 8).
  • The calm, near-regular rhythm of line 8 as the poem’s resolution.

Practice prompt written by StoryBites, not taken from a College Board exam. See the AP Literature free-response guide for how answers are scored.

Test yourself

1. How many sentences does the poem contain?

2. Which word begins each of the first four lines?

3. How does the speaker feel during the lecture?

4. How does the speaker look at the stars at the end?

5. What does “unaccountable” suggest in line 5?

Flashcards flip, self-grade, and the deck remembers what you know

tap to flip
Answer

Explain it like I’m 12

A man goes to a talk about the stars given by a very smart astronomer. The astronomer shows charts, numbers and diagrams, and the crowd claps. The man starts to feel tired and sick, and he doesn’t know why. So he gets up and walks outside by himself into the damp night air. There he quietly looks up at the real stars. The poem suggests that just looking at nature can give you something numbers can’t.

Compare & connect

The American Scholar

Ralph Waldo Emerson

Emerson’s 1837 address names nature as the scholar’s first teacher and warns against leaning on books in place of one’s own seeing. Whitman’s speaker acts out that idea when he leaves the lecture for the sky.

Ode to a Nightingale

John Keats

Keats’s speaker also longs to leave a weary world behind and turns, at night, to an experience of nature, a bird’s song. Both poems prize a moment that reason and explanation cannot hold.

O Captain! My Captain!

Walt Whitman

Also by Whitman and also first printed in 1865, but in rhyme and a steady beat. Side by side, the two show the free verse Whitman usually preferred and the rare times he set it aside.

Discussion and essay prompts:

💬 Discussion questions

  • What is When I Heard the Learn’d Astronomer about
  • What is the theme of When I Heard the Learn’d Astronomer
  • Is When I Heard the Learn’d Astronomer against science
  • How does When I Heard the Learn'd Astronomer explore the theme of two ways of knowing?
  • How does When I Heard the Learn'd Astronomer explore the theme of nature beyond the classroom?
  • What is the central conflict in When I Heard the Learn'd Astronomer, and how does it shape the ending?

✎ Essay prompts

  1. Analyze how Walt Whitman develops the theme of two ways of knowing in When I Heard the Learn'd Astronomer. Support your argument with specific evidence from the text.
  2. Examine the significance of the lecture room in When I Heard the Learn'd Astronomer. What does it represent, and how does it deepen the work’s meaning?
  3. How does Walt Whitman use anaphora to shape the reader’s experience of When I Heard the Learn'd Astronomer?
  4. Some readers assume that whitman is saying that science is worthless. Argue for or against this interpretation, using evidence from the text.

Key questions students ask

  • What is When I Heard the Learn’d Astronomer about
  • What is the theme of When I Heard the Learn’d Astronomer
  • Is When I Heard the Learn’d Astronomer against science
  • Why does the speaker leave the lecture in When I Heard the Learn’d Astronomer
  • What is the structure of When I Heard the Learn’d Astronomer
  • What does unaccountable mean in When I Heard the Learn’d Astronomer

Analysis is original StoryBites commentary. The poem is printed from the 1891–92 “deathbed” edition of Leaves of Grass (David McKay), checked line by line against the page image of that printing. First published in 1865, it is in the public domain.

Share this poem guide

Continue exploring

Follow a thread — every work connects to others through what they share.