On an autumn night in the 1780s, in a room in Nanjing, a young woman hung a crystal lamp from a beam and set a round table in the middle of the floor.
She was holding a bronze mirror.
She moved the lamp a little. The patch of light on the mirror shifted. She moved it again, and the shadow changed shape.
She did this over and over. The lamp was the sun. The table was the earth. The mirror was the moon. When the three of them stood in a line, a dark round shadow appeared on the mirror.
That was a lunar eclipse.
Outside, someone had started beating a gong. In those years, when the moon was eaten, every household came out to bang pots and drums and save it. A heavenly dog was swallowing the moon, people said. Noise would frighten it away.
Inside the room, a woman of twenty had just disproved the whole business with a lamp and a table.
Eleven Years Old, Beyond the Wall
Wang Zhenyi was born in 1768. Her family came from Tianchang in Anhui and lived in Jiangning, which is now part of Nanjing.
They were a family of scholars. Her grandfather Wang Zhefu had been a prefect in Xuanhua, knew astronomy and mathematics, and owned a library of seventy five cabinets. Her father Wang Xichen had failed repeatedly in the examinations and become a physician instead, and was good at it. Her grandmother, née Dong, wrote poetry.
When Wang Zhenyi was eleven, her grandfather died in exile in Jilin, in the far northeast. She travelled out beyond the Great Wall with her grandmother to bring the body home.
The journey took months. Past Shanhaiguan the country changes. Fewer trees, harder wind, a sky that seems much higher. Winter arrives early, and snow settles on the cart until the axle creaks.
She stayed out there four or five years.
The frontier in those years was not empty country. Soldiers, traders, exiles and Mongol herders all passed through. A girl from Nanjing who had lost her grandfather to exile was suddenly in a place where the rules she had been raised with did not apply. Nobody there cared whether a daughter of a good family kept to the inner rooms. Nobody there had heard that women should not study the calendar.
She read in the mornings and rode in the afternoons.
She did two things in that time.
The first was read. The seventy five cabinets came with the family, and they became her library. Astronomy, calendars, mathematics. She went through them one after another. Many of the books were things that most educated men of the period could not follow: the mathematical writings of Mei Wending, Zhang Heng on the celestial sphere, and translations of the calculating methods that had come in from Europe.
The second was learn to ride and shoot.
Her teacher was the wife of a Mongol general. She learned to sit a horse first, then to turn in the saddle at a gallop. She learned archery by drawing an unstrung bow until her arms stopped shaking, and only then nocking arrows. Contemporaries said that she could ride with a lance at a gallop as if she were flying, and that when she shot she never missed.
Those are not poetic flourishes. They come from accounts written by people who knew her.
A girl from an official family in the lower Yangtze learned to ride, shoot and find her way across snow. She used all of it later. When she travelled across half of China, she went on her own two legs and her own nerve.
At sixteen she came south with her father, bringing her grandfather home for burial. In the years after that she went with him on his medical rounds through Beijing, Shaanxi, Hubei and Guangdong.
She later described herself in a line of verse. Feet that walked ten thousand li, eyes that read ten thousand scrolls, and a heart that meant to outdo any man.
In her time and place, that was not an inspiring slogan. It was a slightly dangerous thing to write down.
A Lamp, a Table, a Mirror
After eighteen she settled in Nanjing and began to write.
One of the first things she wrote was a short treatise called An Explanation of Lunar Eclipses.
Before her, Chinese explanations of eclipses were vague. The dynastic astronomical records treated an eclipse as a portent. It was reported to the throne, it required abstinence and sacrifice, it required noise in the streets. Among ordinary people it was a dog.
She did not believe in the dog.
Her experiment was crude and clever at the same time. A lamp hung from a beam stood for the sun. A round table stood for the earth. A mirror held in the hand stood for the moon. Move the three of them and the shadow appears. She moved them again and again until she could state the thing plainly. An eclipse is not the moon being eaten. It is the earth passing between the sun and the moon and casting its own shadow on the moon.
The conclusion agrees with modern astronomy.
She wrote down each trial. Where the lamp was placed, how high the table stood, at what angle she held the mirror, how large the shadow was and whether its edge was sharp or soft.
She had no telescope, no observatory and no teacher. She had a room, a lamp, a table, a mirror, and seventy five cabinets of books.
There was also a reason to keep quiet about it. In the Qing, the study of astronomy and calendar calculation by private individuals was watched. The calendar was a matter of imperial authority. To work on the heavens without permission could bring a reprimand, and worse.
So a woman of twenty, in her own house, took a body of knowledge that the state regarded as its own and worked it out again from the beginning with household objects. What she arrived at was the same thing the astronomers of the imperial bureau were writing in their reports.
The treatise was short. It did not need to be long. What it did was take an event that everybody could see and nobody could explain, and reduce it to geometry that a child could repeat at a kitchen table.
The Earth Is Round
She also worked on precession. She concluded that the winter solstice point moves westward by about one degree every seventy years, a figure close to the European tables of the day.
And she wrote a piece called On the Roundness of the Earth.
At that time, the old formula that the sky is round and the earth is square still counted as common sense. People who objected to a round earth had one very practical question. If the earth is a ball, why do the people on the bottom not fall off?
Her answer was that up and down are relative. Wherever a person stands, that is down for him. It sounds simple now. At the time it turned up and down from a fixed direction in the universe into a position relative to a human being.
She went further and attacked astrology.
People believed that what happened in the sky determined what happened on earth. Eclipses, comets, the five planets gathering in one constellation, all of it was tied to the fortunes of the emperor and his ministers. One of the routine duties of the imperial astronomical bureau was to observe, interpret and report.
She wrote that the sky has its own regularities and that they have nothing to do with human fortune.
That sentence weighed more in the 1780s than the round earth did. The first corrected a common mistake. The second dismantled an order.
A woman dismantling an order that the state had endorsed. She did not go around saying it in the street. Her manuscripts circulated in a very small circle.

Married at Twenty Five
Most women of her class married at fifteen or sixteen. She waited until twenty five.
The man was Zhan Mei, a scholar from Xuancheng.
The match was talked about in Nanjing. A woman who calculated the stars, rode horses, shot arrows and wrote essays refuting astrology was not an easy daughter to place. The matchmakers who came mostly came to suggest that she moderate herself.
Zhan Mei was different. By one account he read her poems first and then asked for the match. After the wedding he ground her ink, copied her manuscripts, sorted her book boxes, and helped her print her collected works.
She took a male student.
The boy was Xia Leshan, and he came to learn arithmetic. A woman lecturing a boy in her own hall on the Nine Chapters on the Mathematical Art was, in that period, outrageous.
She said something to the effect that men and women are not different. Both are people, and learning works the same way for both.
In a short piece of self admonition she wrote that men and women are not separate by nature, and that each should keep to the same standard of conduct.
She wrote a poem on a painting called The Manly Woman. The last two lines say that she has finally come to believe that men and women are equals, and asks who says there are no heroes among women.
In the 1780s, publishing those two lines invited insult.
There is a portrait of her from that period that survives only in description. A woman in ordinary dress, a book open on the table, a bow hanging on the wall behind her. The two objects in the same room are the whole story.
She was also practical in small ways that have been recorded. When she saw ants moving their nests, she told the neighbours to prepare for flood. When she saw a sky of scaly cloud, she told the farmers to plant an early ripening crop. Not all of that would pass modern tests. But in a country with no weather service, it was knowledge put to use.
What Happened to the Lamp
In 1797 she fell ill.
It was a recurrence of malaria, on top of years of overwork. She was twenty nine.
Before she died she did something that has puzzled people ever since. She burned part of her manuscripts.
What she burned was the astronomical and calendrical work. In that period, private study of the heavens was a phrase that could be used in an accusation. She knew what those pages would mean in the wrong hands.
Some of it she gave to trusted friends. Some of it she put in the fire.
What survived was a collection called The First Collection of the Defeng Pavilion, in thirteen volumes. Essays, poems, mathematics.
The collection had been assembled in 1796, the year before she died. She knew how much time she had.
After her death a scholar named Qian Daxin is said to have remarked that since Ban Zhao there had been only one other like her. Ban Zhao was the Han dynasty woman who completed the Book of Han. It was the highest compliment available in that world, and it was also a ceiling. There was no vocabulary for what Wang Zhenyi actually was, so she was filed under the last woman who had been allowed to be a scholar.
Her books scattered. Much was lost.
The thirteen volumes that survived are enough to show the range. There is astronomy, there is arithmetic, there is medicine, there is poetry, and there are the essays in which she argues with dead authorities and wins.
She had no students to carry it on. She had no institution to preserve it. A manuscript in a wooden box in Nanjing had to survive two hundred years of war, flood, fire and neglect on its own.
Then, two hundred years later, something odd happened.
In 1994 the International Astronomical Union named a crater on Venus after her. In 2000 an asteroid was named Wangzhenyi. A woman who did experiments by lamplight in a Nanjing room in the 1780s has her name on Venus.
She appears in Western books for children more often than in Chinese ones. Many people first meet her in an English language science book, in a drawing of a young woman in Qing dress walking around a table.
That table was her observatory.
Nobody knows what became of the crystal lamp. Nobody knows what became of the table. The room is gone, and the street it stood on has been renamed more than once.
Only the experiment survived.
In a physics class today, a teacher explains an eclipse with three things. A light, a ball, and another ball. Children turn them around and watch where the shadow falls.
Two hundred and thirty years ago, a woman who had never sat in a classroom did the same thing in her own house.
She had no instruments, no funding, no colleagues and nobody to argue with. She had a lamp, a table, a mirror, and a room full of books that most people of her time could not read.
When she hung the lamp from the beam, the gongs were already sounding in the street.
She did not go out to bang a gong.