Johannes Kepler: Planetary Laws, a Mother on Trial for Witchcraft, and the First Sci-Fi Story

Photo: Birgit Böllinger / Pexels
Johannes Kepler (1571–1630) solved the problem that had defeated astronomers for two thousand years: the actual shape of planetary orbits. By showing that planets move in ellipses with the sun at one focus, and by establishing the precise mathematical relationship between orbital size and period, Kepler gave Isaac Newton the data he needed to formulate the law of universal gravitation. He also endured a childhood illness that left him partially sighted and with damaged hands, was chronically underpaid, defended his mother against a witchcraft prosecution that lasted six years, wrote a pioneering work of science fiction, and cast horoscopes for income. His life was, by any measure, extraordinary.
Quick Biography
Johannes Kepler was born on December 27, 1571, in Weil der Stadt, in the Duchy of Württemberg (now Baden-Württemberg, Germany). His family was Protestant and modest. His father Heinrich was a mercenary soldier who disappeared permanently when Johannes was five; the working assumption is that he was killed in a military campaign in the Netherlands. His mother Katharina, the daughter of an innkeeper, was a herbalist and amateur healer — a combination of skills and personality that would later attract catastrophic attention.
Kepler contracted smallpox at age three. He survived, but the illness left him with permanently weakened eyesight and damaged hands — a particular cruelty for someone who would spend his life making precise astronomical observations and mathematical calculations. Despite this, he excelled academically and won scholarships to Protestant schools, eventually entering the University of Tübingen, where he studied theology with the intention of becoming a Lutheran minister.
At Tübingen he encountered the Copernican heliocentric theory, taught by the astronomer Michael Maestlin, who presented it privately even while teaching the official geocentric model in public. Kepler became a convinced Copernican. Before completing his theology degree, he was offered a position teaching mathematics and astronomy in Graz, Austria, and accepted. The decision to divert from ministry to astronomy was, in retrospect, the pivot on which the scientific revolution partly turned.
In 1600, Kepler was invited to Prague by Tycho Brahe, the greatest observational astronomer of the era, who had accumulated decades of precise naked-eye measurements of planetary positions but had not been able to derive a satisfying theory to explain them. Tycho was suspicious of Kepler and protective of his data; the partnership was tense. Tycho died in October 1601, and Kepler inherited his position as Imperial Mathematician to Emperor Rudolf II, along with — after considerable struggle — access to Tycho's data.
Those observations were the raw material from which Kepler extracted his laws. He published the first two laws in Astronomia Nova (1609) and the third in Harmonices Mundi (1619). He spent much of the 1610s and 1620s defending his mother against a witchcraft prosecution, moving from city to city as political and religious upheavals of the Thirty Years' War disrupted his positions, and struggling to collect the salary owed him by the Imperial treasury. He died in Regensburg in November 1630, at 58, while traveling to collect unpaid wages. His grave was destroyed in the wars that followed; its location is unknown.
Personal Life and Family
Kepler married twice. His first marriage, in 1597, was to Barbara Müller, a twice-widowed woman of some property in Graz. The marriage was arranged with the help of friends and was not, by any account, a great romantic match. Barbara was described by Kepler himself in an unusually frank self-written document as not particularly intellectually curious; she found his astronomical work puzzling and his financial instability a persistent source of anxiety. They had five children together, of whom two survived infancy: Susanna and Friedrich. Barbara died in 1611, after a prolonged illness complicated by what Kepler's letters describe as mental confusion, possibly from typhus.
His second marriage, in 1613, was more carefully considered. Kepler wrote a remarkable document in which he evaluated eleven potential marriage candidates in turn, noting each one's qualities and deficiencies with the same methodical honesty he brought to orbital mechanics. He eventually chose Susanna Reuttinger, an orphan of modest background who was significantly younger than him. Contemporary accounts suggest the second marriage was genuinely happier. They had six children together; three survived childhood. The high child mortality was typical of the era, but Kepler's correspondence shows a father who grieved each death specifically and personally.
The economic circumstances of his family were chronically precarious. Kepler's salary as Imperial Mathematician was substantial on paper — 500 florins per year — but the Imperial treasury under Rudolf II was frequently insolvent, and Kepler went years at a time without receiving his contracted wages. He supplemented income by casting horoscopes for wealthy clients and by publishing almanacs of astrological predictions, work he found intellectually beneath him but financially necessary. His correspondence repeatedly mentions unpaid debts, difficulty providing for his household, and the embarrassment of requesting advances against salary that was already years in arrears.
The Thirty Years' War (1618–1648), which erupted during his most productive period, disrupted his life repeatedly. He was expelled from Linz in 1626 when the city was besieged; the printing press on which his Tabulae Rudolphinae were being printed was seized by occupying forces and the work delayed by years. He moved with his family across central Europe as Protestant communities were dispersed and Catholic forces advanced. He died, still trying to collect wages owed him, far from his family.
Major Contributions
The Three Laws of Planetary Motion
Kepler's first law: planets orbit the sun in ellipses, with the sun at one focus. This shattered the two-thousand-year-old assumption, shared by Nicolaus Copernicus and Aristotle alike, that celestial motion must be circular — circular motion was considered perfect, and heavenly bodies were supposed to move perfectly.
Kepler's second law: a line segment joining a planet to the sun sweeps out equal areas in equal times. This means a planet moves faster when closer to the sun and slower when farther away — a statement of what would later be understood as conservation of angular momentum.
Kepler's third law: the square of a planet's orbital period is proportional to the cube of its average distance from the sun (T² ∝ a³). This was the quantitative link Newton needed: using Kepler's third law and his own law of gravitation, Newton could derive that the gravitational force must vary as the inverse square of distance.
No previous astronomer had achieved a mathematical theory of planetary motion that matched observations to the precision Tycho's data required. Kepler's success required both the quality of Tycho's measurements and Kepler's willingness to abandon circles. He spent years trying to fit Mars's orbit to a circle before accepting that the residual errors — eight arc minutes — were real and that the orbit must be something else. Eight arc minutes is a small discrepancy; trusting it against the entire tradition of circular orbits required both honesty and nerve.
The Rudolphine Tables
The Tabulae Rudolphinae (1627), compiled over decades using Tycho's data and Kepler's laws, were the most accurate planetary tables ever produced. Navigators and astronomers used them for over a century. They demonstrated, practically and publicly, that Kepler's theory worked.
Optics — Vision, Lenses, and the Retinal Image
Kepler's contributions to optics are less famous than his planetary laws but nearly as significant. His Astronomiae Pars Optica (1604) — the work he considered the foundation of all optical science — contained the first correct explanation of how the eye forms an image: light from an external object passes through the cornea and lens and converges to form an inverted image on the retina. This was a complete conceptual break from earlier theories, which had variously proposed that the eye emits rays or that images form in the lens itself.
In the same work, Kepler studied how light refracts when passing through different media. He formulated an approximate version of what would later become Snell's Law of refraction — the precise quantitative relationship between the angles of incident and refracted light. His version (that the refraction angle is proportional to the incident angle for small angles) was not exact, but it was the most rigorous treatment of refraction yet attempted. Willebrord Snell derived the correct sine relationship in 1621; René Descartes published it in 1637. Kepler's work was the necessary predecessor.
His Dioptrice (1611) explained the optics of telescopes — both the Galilean design (convex objective, concave eyepiece) and his own improved design (two convex lenses, the Keplerian telescope). Galileo Galilei had built his telescope by intuition and craft; Kepler explained the geometry that made it work. The Keplerian design, which produces an inverted image but allows higher magnification and a wider field of view, became the standard for astronomical telescopes. Kepler's work rested on the observations compiled by Tycho Brahe.
Quirks
His Mother Was Tried for Witchcraft — And He Defended Her for Six Years
This is not legend or embellishment. The trial of Katharina Kepler is documented in court records, Kepler's own correspondence, and scholarly literature. It is one of the most thoroughly attested personal crises in the biography of any early modern scientist.
In 1615, a woman named Ursula Reingold, with whom the Kepler family had a financial dispute, accused Katharina of having given her a debilitating potion. Other allegations accumulated: that Katharina had caused a neighbor's limp, killed several children, ridden a calf to death, and requested a skull from the local gravedigger for unspecified purposes. In 1620, Katharina was formally arrested and chained in a box for fourteen months while the authorities determined whether to apply torture to extract a confession.
Kepler, by then one of the most prominent astronomers in Europe, took personal charge of her legal defense. He was not a lawyer; he drafted the legal documents himself, organized witnesses, argued procedure, and corresponded intensively with officials and legal scholars. The defense ran to nearly 130 pages. He traveled to Württemberg repeatedly while simultaneously doing astronomical research and dealing with the upheavals of the Thirty Years' War.
Katharina was released in October 1621 without confessing. She died six months later. Kepler's biographers generally credit his intervention as decisive; without a legally sophisticated defense, she would very likely have been convicted and executed. The entire episode consumed approximately six years of his working life.
Was Katharina unusual? The historical record suggests she was eccentric, abrasive, and probably did practice folk medicine with herbs, which was enough to invite suspicion in early 17th-century Württemberg. Whether any of the specific accusations were grounded is impossible to determine. What is clear is that her son refused to abandon her.
"Somnium" — The First Science Fiction Story
In 1608 or 1609, Kepler wrote a short work called Somnium (Dream), which he did not publish during his lifetime; it appeared posthumously in 1634. The story is narrated by a young Icelander named Duracotus, whose mother Fiolxhildis (a herbalist who communicates with spirits — the resemblance to Katharina Kepler's trial, which had not yet happened when he began writing but was ongoing when he expanded it, is noted by scholars) summons a demon from the moon. The demon describes what the moon looks like from the surface, including the effects of the sun's movement across the lunar sky, the appearance of Earth from the moon, and the biological adaptations that hypothetical lunar creatures would need to survive the extreme temperature swings. Kepler included detailed scientific footnotes explaining the astronomical basis for the descriptions.
Carl Sagan called Somnium the first work of science fiction. This is a reasonable claim: it uses a fictional frame to explore the scientific consequences of a real astronomical model (the Copernican system), includes accurate astronomical data, and imagines how beings adapted to a non-Earth environment might live. Previous works with astronomical content (Lucian's True History, for example) were purely satirical and not scientifically engaged. Somnium is different in kind.
The autobiographical resonance is striking. Kepler appears to have used the frame of a mother accused of consorting with spirits partly to process, and perhaps satirize, his mother's trial.
Horoscopes for Hire — The Mystic Who Built Modern Astronomy
Kepler cast horoscopes throughout his career. He did this partly for money — he was perpetually underpaid and the Imperial treasury was perpetually in arrears — and partly because he genuinely believed, in a qualified way, in astral influence on human temperament. His own self-written horoscope, composed in the third person, is a remarkable document: it describes his physical appearance (wiry, thin, prone to illness), his personality (quick-tempered, argumentative, melancholic), and his inclinations, with a candor that modern readers find striking.
He was, however, not a simple astrological believer. He explicitly rejected the idea that the planets caused specific events; he believed they influenced human temperament in a general way, analogous to the influence of weather on health. He wrote a work, Tertius Interveniens (1610), defending a reformed, naturalistic astrology against both those who believed every planetary configuration caused specific earthly events and those who rejected astrology entirely.
This combination — the man who derived the precise laws of planetary motion and also cast horoscopes, who believed in planetary influence on temperament and rejected planetary determination of events — is not the contradiction it might appear. Kepler lived in an era when the boundary between astronomy and astrology had not yet been drawn sharply. He was helping to draw it.
The Platonic Solid Obsession — Beautiful, Wrong, and Never Fully Abandoned
In his first major work, Mysterium Cosmographicum (1596), Kepler proposed that the spacing of the six known planets could be explained by nesting the five Platonic solids (cube, tetrahedron, dodecahedron, icosahedron, octahedron) between their orbits. This model was geometrically ingenious, aesthetically compelling, and completely wrong. The actual spacings are not determined by any geometric solids; they are the result of the formation history of the solar system.
Kepler never fully let go of this idea. He included it, in modified form, in Harmonices Mundi (1619), alongside the third law. He spent twenty-five years trying to reconcile the Platonic solid model with increasingly precise observations, adjusting and reinterpreting rather than abandoning it. The correct laws of planetary motion emerged from his work alongside this persistent mystical scaffolding, and he could not have known which was sound until Newton demonstrated, decades after Kepler's death, what the laws actually implied.
The Platonic solid model is today remembered as a beautiful mistake. The three laws are why Kepler is on every astronomy syllabus. He could not have predicted which would survive.
He Predicted Stellar Parallax — but Could Not Measure It
In Mysterium Cosmographicum and elsewhere, Kepler understood that if the Earth moves around the sun, nearby stars should appear to shift slightly against the background of more distant stars across the year — stellar parallax. He correctly predicted this effect. He also correctly recognized that no one had detected it, and explained why: the stars must be enormously farther away than anyone had assumed, making the parallax angles too small to measure with the instruments available. He was right on both counts. Stellar parallax was first successfully measured in 1838 by Friedrich Bessel, more than two centuries after Kepler's prediction, using precision instruments that Kepler could not have imagined.
Quotes
"Nature uses as little as possible of anything." (Astronomia Nova, on the elliptical orbits)
"I used to measure the heavens, now I measure the shadows of Earth. Although my mind was sky-bound, the shadow of my body lies here." (Kepler's self-written epitaph)
"Geometry has two great treasures: one is the theorem of Pythagoras, and the other is the division of a line into extreme and mean ratio." (Mysterium Cosmographicum)
"The diversity of the phenomena of nature is so great, and the treasures hidden in the heavens so rich, precisely in order that the human mind shall never be lacking in fresh nourishment." (Mysterium Cosmographicum)
Legacy
Kepler's three laws are the empirical foundation on which Newton built the theory of universal gravitation. Without precise, mathematically stated descriptions of planetary motion, Newton could not have derived that gravity varies as the inverse square of distance. The chain from Kepler to Newton to the entire subsequent development of celestial mechanics and space navigation is direct and unbroken. Every spacecraft trajectory calculation uses Keplerian mechanics as its baseline.
The chain runs in both directions. Galileo Galilei and Kepler corresponded and influenced each other; Nicolaus Copernicus provided the heliocentric framework that Kepler refined from approximate to exact. The scientific revolution in astronomy was a relay: Copernicus removed the Earth from the center, Galileo attacked Aristotelian physics, Kepler found the precise laws, and Newton explained why they had to be that way.
His optical work, less celebrated, runs through every telescope built since 1611. His Somnium anticipates science fiction as a genre by two centuries. And the story of a man who derived the geometry of the solar system while defending his mother from a witchcraft prosecution, in the middle of a continental war, while chronically unpaid, is a reminder that scientific progress is rarely a clean professional story.
Q: What are Kepler's three laws of planetary motion? A: First: planets orbit the sun in ellipses with the sun at one focus. Second: a line from the sun to a planet sweeps equal areas in equal times (planets move faster near the sun). Third: the square of a planet's orbital period is proportional to the cube of its average distance from the sun. These laws precisely described planetary motion and gave Newton the data to derive his law of gravitation.
Q: Was Kepler's mother really tried for witchcraft? A: Yes. Katharina Kepler was formally arrested in 1620 and held for fourteen months on accusations of witchcraft. Kepler personally organized and largely wrote her legal defense over six years. She was released in 1621 without confessing. The trial is documented in court records and Kepler's correspondence and is not disputed by historians.
Q: Did Kepler write science fiction? A: His work Somnium (written c. 1608–1609, published posthumously 1634) is widely considered the first work of science fiction. It describes a trip to the moon, with accurate astronomical descriptions of how the sky appears from the lunar surface and speculation about how lunar creatures might be adapted to their environment. Carl Sagan called it the first science fiction story.
Q: Why did Kepler cast horoscopes if he was a serious scientist? A: The boundary between astronomy and astrology was not yet sharp in Kepler's era, and he needed the income. He held a qualified belief that planets influenced human temperament in a general way, while explicitly rejecting the idea that they determined specific events. He wrote a serious work defending a reformed, naturalistic astrology. The contradiction is partly an anachronistic reading from a later era when the disciplines were clearly separated.
Q: How did Kepler's work influence Newton? A: Newton used Kepler's third law (T² ∝ a³) as a key input when deriving the law of universal gravitation. The third law implies that gravity must follow an inverse-square law with distance. Newton confirmed this and showed that elliptical orbits (Kepler's first law) follow necessarily from inverse-square gravity. Kepler provided the empirical constraints; Newton provided the dynamical explanation.
Q: What was Kepler's contribution to optics? A: In Astronomiae Pars Optica (1604) Kepler gave the first correct explanation of how vision works: light converges on the retina to form an inverted image, not in the lens. He also developed an approximation of what would become Snell's Law of refraction. In Dioptrice (1611) he explained how telescopes work geometrically and designed the Keplerian telescope (two convex lenses), which became the standard astronomical telescope design.
Q: How many children did Kepler have? A: Kepler had eleven children across two marriages — five with his first wife Barbara Müller and six with his second wife Susanna Reuttinger. Of these, only five survived to adulthood. High childhood mortality was normal for the early 17th century, but Kepler's letters document individual grief for each child lost, making the statistics feel less abstract in his case than in most historical biographies.
Q: Where is Kepler buried? A: His grave in Regensburg was destroyed during the wars that followed his death in 1630, and its location is unknown. His self-written epitaph — "I used to measure the heavens, now I measure the shadows of Earth" — survives in the historical record even though the physical tomb does not.
Sources
- Caspar, Max. Kepler. Translated by C. Doris Hellman. Dover, 1993.
- Kepler, Johannes. The Harmony of the World (Harmonices Mundi). Translated by E.J. Aiton, A.M. Duncan, J.V. Field. American Philosophical Society, 1997.
- Kepler, Johannes. Somnium. Translated by Edward Rosen. Dover, 2003.
- Kepler, Johannes. Astronomiae Pars Optica. Frankfurt, 1604.
- Voelkel, James R. The Composition of Kepler's Astronomia Nova. Princeton University Press, 2001.
- Lear, John. Kepler's Dream. University of California Press, 1965.
- Field, J.V. "A Lutheran Astrologer: Johannes Kepler." Archive for History of Exact Sciences 31(3), 1984.
- Lindberg, David C. Theories of Vision from Al-Kindi to Kepler. University of Chicago Press, 1976.
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

Tu Youyou: The Three-No Scientist Who Cured Malaria With an Ancient Text
Tu Youyou's life, Nobel Prize, and verified quirks: tested artemisinin on herself, found the cure in a 4th-century manuscript, and won the Nobel with no PhD, no foreign degree, no academy membership.

Nicolaus Copernicus: The Canon Who Moved the Earth — and Rewrote Economics on the Side
Nicolaus Copernicus published his heliocentric theory on his deathbed to avoid Church backlash. He was also a Catholic canon, doctor, economist, and translator — a verified biography of an underestimated polymath.

Tycho Brahe: The Astronomer Who Lost His Nose, Owned a Drunk Moose, and Built the Data That Changed Everything
Tycho Brahe made the most precise pre-telescope astronomical measurements in history. He also had a brass nose, a tame moose, and died refusing to leave a royal banquet to urinate.

Galileo Galilei: The Finger in the Museum and the Man Who Talked Back to Rome
Galileo Galilei's life, discoveries, and verified quirks: his preserved finger on display, three illegitimate children, the Inquisition recantation, and the apocryphal 'Eppur si muove'.

Robert Boyle: The Father of Chemistry Who Wrote Science Fiction and Refused to Be President
Robert Boyle established Boyle's Law, defined the chemical element, and wrote a remarkable wishlist of future inventions in 1662 that reads like a science fiction catalogue. A verified biography.

Antoine Lavoisier: Father of Chemistry, Tax Collector, and the Guillotine's Most Famous Scientist
Antoine Lavoisier named oxygen and hydrogen, proved conservation of mass, and transformed chemistry into a modern science — before the French Revolution guillotined him in 1794. A verified biography.