Mary Somerville never went to university. She was never allowed into a lecture hall, never sat an examination, and never held a paid academic post. Yet by the time she died in 1872, at the age of ninety-one, she was known across Europe as the “Queen of Science”, the woman whose books explained the workings of the universe to a generation of readers — and whose work helped inspire the next generation of women in science.
Her story is one of the most remarkable in the history of science. Born into a world where girls were taught to sew and paint rather than to calculate, she taught herself mathematics in secret, worked out problems by candlelight, and rose through sheer determination to become the most famous woman scientist of the nineteenth century. She translated the most difficult book in science into plain language, wrote best-selling works on astronomy and physics, and was honoured by learned societies that had never admitted a woman before.
This is the story of how Mary Somerville did it — and what her life can teach us about curiosity, persistence, and the power of learning against the odds.
Key takeaways
- Mary Somerville taught herself advanced mathematics as a girl in Scotland, hiding her studies from a family that thought them improper for a woman.
- Her 1831 translation of Laplace’s Celestial Mechanics, The Mechanism of the Heavens, was the first book by a woman published by the Society for the Diffusion of Useful Knowledge — and it became a university textbook.
- She wrote On the Connexion of the Physical Sciences (1834), a best-seller that predicted the discovery of the planet Neptune before it was seen through a telescope.
- She was the first woman, alongside Caroline Herschel, to be elected an honorary member of the Royal Astronomical Society, in 1835.
- Her legacy lives on in the Somerville College at Oxford, the crater Somerville on the Moon, and the generations of women scientists who followed her example.

Mary Somerville at a Glance
| Fact | Detail |
|---|---|
| Full name | Mary Fairfax Somerville |
| Born | 26 December 1780, Jedburgh, Scotland |
| Died | 29 November 1872, Naples, Italy (aged 91) |
| Known as | “Queen of Science” |
| Main fields | Mathematics, astronomy, physics, geography |
| Most famous works | The Mechanism of the Heavens (1831), On the Connexion of the Physical Sciences (1834), Physical Geography (1848), On Molecular and Microscopic Science (1869) |
| Firsts | First woman honorary member of the Royal Astronomical Society (with Caroline Herschel, 1835); first woman to have a paper read before the Royal Society |
| Honours | Royal Geographical Society’s Patron’s Medal (1869); elected to the American Philosophical Society; the Royal Institution’s first woman member |
| Legacy | Somerville College, Oxford; Somerville crater on the Moon; asteroid 5771 Somerville |
A Childhood on the Scottish Coast
Mary Fairfax was born on 26 December 1780 in the manse at Jedburgh, in the Scottish Borders, while her father, Admiral Sir William George Fairfax, was away at sea. She was the fifth of seven children, and she grew up largely in the care of her mother, Margaret Charters, in the seaside town of Burntisland in Fife.
Her childhood was, by her own later account, a happy and wild one. She roamed the shore, collected shells, learned the names of birds and plants, and developed the habit of close observation that would serve her so well as a scientist. She was, in her own words, “a wild creature” who loved the outdoors more than the schoolroom.
But her education, like that of most girls of her class and time, was thin. She was sent to a boarding school in Musselburgh at the age of ten, where she was taught reading, writing, a little French, and the accomplishments expected of a young lady — needlework, music, and painting. Mathematics was not on the curriculum. Indeed, it was considered unsuitable, even dangerous, for girls.
The Puzzle That Changed Everything
The turning point came when Mary was about fourteen. While visiting friends, she came across a copy of a ladies’ magazine that contained a mathematical puzzle. The puzzle was written in algebraic symbols — strange marks she had never seen before — and she was fascinated. What did those symbols mean? What secret language was this?
She asked a friend’s brother to explain the symbols to her, and he showed her the elements of algebra. She was hooked. From that moment, she began to teach herself mathematics, working in secret because her parents disapproved. Her father, when he discovered what she was doing, was horrified: he believed that studying mathematics would make her unmarriageable and ruin her health. He ordered her books taken away.
But Mary persisted. She borrowed books from friends, worked out problems late at night by candlelight, and when she could not solve a problem she wrote to a tutor for help. One of her early teachers, the mathematician William Wallace, was astonished by her ability and encouraged her to keep going. She did — and she never stopped.
Two Marriages and a Second Chance
In 1804, at the age of twenty-three, Mary married a distant cousin, Captain Samuel Greig, a Russian naval officer. The marriage was not a happy one in intellectual terms: Greig had no interest in mathematics and actively discouraged her studies. He died in 1807, leaving Mary a widow at twenty-six with two young sons.
Widowhood, paradoxically, gave her freedom. She returned to Scotland, settled in Edinburgh, and began to study in earnest. She read the works of the great mathematicians, mastered calculus, and began to move in Edinburgh’s scientific circles. It was here that she met her second husband, Dr William Somerville, a physician and army surgeon — and, crucially, a man who not only tolerated her love of science but actively encouraged it.
They married in 1812, and William became her greatest ally. He introduced her to the leading scientists of the day, brought her books and papers, and stood beside her as she built her reputation. Together they moved to London, where Mary entered the world of British science.
The London Years: Entering the World of Science
London in the 1820s was the centre of British science, and Mary Somerville quickly became part of it. Through her husband she met the astronomer John Herschel, the mathematician Charles Babbage, the geologist Charles Lyell, and the scientist Michael Faraday. They were astonished to find a woman who could discuss the most advanced mathematics of the day — and they welcomed her.
She began to publish. Her first paper, on the magnetic properties of violet light, was presented to the Royal Society in 1826 — the first paper by a woman ever read before that august body. Though the experiments were later shown to be mistaken, the paper announced her arrival as a serious scientist.
What set her apart was not only her mathematical ability but her gift for explanation. She could take the most difficult ideas in science and make them clear. That gift was about to change her life.
The Mechanism of the Heavens
In 1827, the Society for the Diffusion of Useful Knowledge asked her to translate Pierre-Simon Laplace’s Mécanique Céleste — the Celestial Mechanics — into English. It was the most formidable book in all of science: five volumes of dense mathematics describing the motions of the planets, the tides, and the shape of the Earth.
Mary did far more than translate it. She rewrote it, adding her own explanations, diagrams, and proofs, until it became a work of her own. The Mechanism of the Heavens, published in 1831, was an immediate sensation. It was adopted as a textbook at Cambridge University, and it was praised by the greatest scientists of the day.
The book made her famous. It also made her the first woman to be published by the Society for the Diffusion of Useful Knowledge — and it established her as the leading populariser of science in Britain.
The Book That Predicted a Planet
Her next book was even more successful. On the Connexion of the Physical Sciences, published in 1834, was a sweeping survey of astronomy, physics, chemistry, and geology — and of the deep connections between them. It argued that the sciences were not separate subjects but parts of one great whole, a view that was radical at the time and is now taken for granted.
The book was a best-seller, running through ten editions in her lifetime. And it contained a remarkable prediction. Discussing the irregularities in the orbit of the planet Uranus, she suggested that they might be caused by an undiscovered planet beyond it. Twelve years later, in 1846, the planet Neptune was discovered — exactly where the mathematics said it should be.
The book also caught the imagination of a young reader named Ada Lovelace, who would go on to write the first computer program. Lovelace later called Somerville her mentor and friend — a connection that links two of the most extraordinary women in the history of science. You can read more about her in the Ada Lovelace success story on Face Zem.
Honours at Last: The Royal Astronomical Society
In 1835, the Royal Astronomical Society elected Mary Somerville and Caroline Herschel as its first honorary women members. It was a landmark moment: two women, admitted to a learned society that had previously been open only to men.
The honours kept coming. She was elected to the Royal Irish Academy, to the American Philosophical Society, and to the Royal Geographical Society. In 1869, the Royal Geographical Society awarded her its Patron’s Medal — only the second woman ever to receive it.
Yet she was never made a full Fellow of the Royal Society. Women were not admitted as Fellows until 1945, more than seventy years after her death. She accepted the honours she was given with grace, and she kept working.
Physical Geography and the Unity of Nature
In 1848, she published Physical Geography, a vast survey of the Earth’s mountains, rivers, oceans, climates, plants, and animals — and of the human beings who lived among them. It was the first textbook of physical geography in English, and it was used in schools and universities for decades.
The book reflected her deepest belief: that nature is one connected whole, and that the sciences — astronomy, physics, geology, biology — are all ways of understanding the same reality. That vision, which she first set out in On the Connexion of the Physical Sciences, was ahead of its time.
She wrote the book while caring for her family and running a busy household. She worked at night, after the day’s duties were done, and she continued to revise and update it through six editions.
A Long Life in Italy
In 1838, the Somervilles moved to Italy, partly for William’s health and partly because life was cheaper there. They settled first in Florence and then in Naples, where Mary spent the last thirty-four years of her life.
She did not retire. In her seventies and eighties she continued to write, publishing On Molecular and Microscopic Science in 1869, at the age of eighty-nine. The book was a survey of the new science of the very small — atoms, molecules, and the microscopic world — and it showed that her mind was as sharp as ever.
She died in Naples on 29 November 1872, at the age of ninety-one. Her husband had died seven years earlier. She was buried in the English Cemetery in Naples, and her grave is still visited by admirers today.
What Made Mary Somerville Great
What was it that made Mary Somerville so remarkable? It was not a single discovery, though her work was important. It was a combination of qualities that are worth studying in their own right.
First, her curiosity. She was curious about everything — the stars, the tides, the shape of the Earth, the structure of crystals, the habits of plants. She never lost the sense of wonder she had felt as a child on the shores of Burntisland.
Second, her persistence. She was told, again and again, that mathematics was not for women. Her father took her books away. Her first husband discouraged her. The institutions of science were closed to her. She persisted anyway — quietly, steadily, and without bitterness.
Third, her gift for communication. She understood that science is not complete until it can be explained. Her books brought the most difficult ideas in science to thousands of readers who would never have encountered them otherwise — and they inspired a generation of young people, women and men alike, to take up science themselves.
The Lessons from Her Life
Mary Somerville’s life offers lessons that are as relevant today as they were in the nineteenth century.
The first is that it is never too late to learn. She began her serious study of mathematics in her twenties, after a first marriage and two children, and she was still writing books in her late eighties. Learning, for her, was a lifelong habit, not a phase of youth.
The second is that obstacles are not always enemies. The fact that she was excluded from universities and learned societies forced her to teach herself — and self-teaching gave her a deeper, more independent understanding than any lecture course could have provided.
The third is that generosity matters. She gave her time freely to young scientists, she shared her books and her knowledge, and she used her fame to encourage others. Ada Lovelace, who called her a mentor, is only the most famous example.
And the fourth is that the best work is often done quietly. Mary Somerville never sought the limelight. She worked at home, at night, between the duties of family life — and she changed the world.
Checklist: What We Can Learn from Mary Somerville
- Start where you are: she taught herself with borrowed books and no formal training.
- Ignore the people who say you cannot: her father, her first husband, and the institutions of her day all told her no.
- Make learning a daily habit: she studied a little every day, for decades, and the results compounded.
- Explain what you know: her gift for clear writing spread science further than any single discovery.
- Find your allies: her second husband, William, and friends like Herschel and Babbage supported her at every step.
- Keep going: she published her last book at eighty-nine, and she never stopped being curious.
Frequently Asked Questions
Why is Mary Somerville called the “Queen of Science”?
The title was given to her by admirers in the nineteenth century because of her mastery of mathematics, astronomy, and physics, and because her books made science accessible to the public. She was the most famous woman scientist of her day, and the name stuck.
Did Mary Somerville discover a planet?
No — but her book On the Connexion of the Physical Sciences (1834) suggested that irregularities in the orbit of Uranus might be caused by an undiscovered planet. Twelve years later, Neptune was found, confirming the prediction.
What was her most important book?
Most historians point to On the Connexion of the Physical Sciences (1834) as her most influential work, because it was widely read and because it argued for the unity of the sciences. Her translation of Laplace, The Mechanism of the Heavens (1831), was her most technically demanding achievement.
Was she the first woman in the Royal Astronomical Society?
She was one of the first two women to be elected honorary members of the Royal Astronomical Society, in 1835, alongside Caroline Herschel. Women were not admitted as full Fellows of the society until much later.
What is Somerville College, Oxford?
Somerville College is one of the constituent colleges of the University of Oxford. It was founded in 1879, seven years after her death, as one of the first colleges for women at Oxford, and it was named in her honour. Its alumnae include the scientist Dorothy Hodgkin and the writers Vera Brittain and Iris Murdoch.
How did she learn mathematics with no formal education?
She taught herself, beginning with a puzzle in a magazine that used algebraic symbols. She borrowed books, worked through problems on her own, and corresponded with mathematicians such as William Wallace, who encouraged her. Later, in Edinburgh and London, she learned from the leading scientists of the day.
Bottom line
Mary Somerville’s life is a reminder that genius does not need permission. She was denied a formal education, discouraged by her family, and excluded from the institutions of science — and she became the most celebrated woman scientist of the nineteenth century anyway. She did it by teaching herself, by working steadily for decades, and by sharing what she learned with the world.
Her story is also a reminder of how much talent has been wasted through the centuries by closing doors to women. How many Mary Somervilles were there who never got the chance? Her life is both an inspiration and a challenge — to open the doors wider, and to keep learning, whatever the obstacles.
Like the mathematicians who followed her, she showed that the life of the mind is open to anyone with curiosity and determination. The mathematician Emmy Noether, who transformed physics a century later, and the astronomer Maria Mitchell, who discovered a comet from her rooftop in Nantucket, both walked paths that Mary Somerville helped to open.
Note: This article is a general historical account of Mary Somerville’s life and work, based on widely available biographical sources. Dates and achievements are given as commonly reported in the historical record.
Keep what speaks to you.
Leave room for your own perspective.



