梅文鼎
梅文鼎
Image creditsCHISTImage source

Historical figure

Mei Wending (梅文鼎)

梅文鼎

Mei Wending (梅文鼎, March 16, 1633 – 1721), courtesy name Dingjiu, art name Wu'an, was a towering astronomer, mathematician, and natural philosopher of the Qing dynasty, originating from Xuancheng, Anhui. Renowned throughout intellectual history as the First Mathematician of the Qing Dynasty and celebrated by Liang Qichao as the founding patriarch of scientific inquiry in early modern China, he came from a scholarly household,…

Era not stated

PROFILE

Mei Wending (梅文鼎, March 16, 1633 – 1721), courtesy name Dingjiu, art name Wu'an, was a towering astronomer, mathematician, and natural philosopher of the Qing dynasty, originating from Xuancheng, Anhui. Renowned throughout intellectual history as the First Mathematician of the Qing Dynasty and celebrated by Liang Qichao as the founding patriarch of scientific inquiry in early modern China, he came from a scholarly household, memorizing the Confucian classics by age nine and attaining his local licentiate degree at fifteen. When domestic poverty and parental bereavements disrupted his examination pursuits, he turned away from civil careers to dedicate seven decades to mathematical and astronomical research. Possessing an encyclopedic mastery of ancient Chinese calendrical lineages across seventy historical systems, Mei Wending absorbed the European astronomical and geometrical treatises introduced by Jesuit scholars. Championing the principle of setting aside regional prejudices to contemplate mathematical truth with an open mind, he authored more than eighty treatises, including On Systems of Linear Equations, Universal Mathematics of China and the West, Inquiries on Calendrical Learning, and Elements of Spherical Trigonometry. In 1705, the Kangxi Emperor summoned the seventy-three-year-old commoner scholar three times aboard the imperial barge in Dezhou, bestowing upon him the honored plaque Profound Learning Exploring Subtleties. His work catalyzed the empirical evidential scholarship of the Qianlong-Jiaqing era, securing his stature as an immortal pioneer of Asian mathematics.

Courtesy Name
Dingjiu (定九)
Pseudonym
Wu'an (勿庵)
Ancestral Home
Xuancheng County, Ningguo Prefecture, Anhui Province (now Xuanzhou District, Xuancheng City, Anhui Province)
Birth Date
March 16, 1633 (7th day of the 2nd month in the 6th year of the Chongzhen era, Ming Dynasty)
Death Date
1721 (60th year of the Kangxi era, Qing Dynasty)
Age at Death
89
Highest and Primary Official Positions
Commoner scholar (honored by the Kangxi Emperor with the imperial plaque "Profound Learning Exploring Subtleties" / 积学参微)
Identity Description
Preeminent Qing dynasty astronomer, mathematician, supreme synthesizer of Chinese and Western calendrical sciences, and founder of the Anhui School of Mathematics

LIFE TIMELINE

Birth in Xuancheng

Born into a scholarly household, learning astronomical observations from his father.

Local Licentiate

Attained his licentiate degree at fifteen, earning widespread acclaim for classical mastery.

Calendrical Dedication

Studied under Ni Guanhu, correcting errors in classical eclipse tables and vowing a life of science.

On Linear Equations

Completed his groundbreaking mathematical monograph On Systems of Linear Equations.

Capital Scholarly Summons

Arrived in Beijing at the invitation of the History of Ming Commission, lodging with Li Guangdi.

Inquiries on Calendars

Authored Inquiries on Calendrical Learning, explaining astronomical mechanics through dialogue.

Imperial Reading

Li Guangdi presented Inquiries on Calendrical Learning to the Kangxi Emperor, who praised it warmly.

Imperial Audience

Summoned three times by the Kangxi Emperor aboard the imperial barge, receiving the imperial commendation.

Grandson in Court

His grandson Mei Juecheng entered the imperial Mengyang Studio to study and compile mathematics.

Passing in Xuancheng

Passed away at age eighty-nine; the Kangxi Emperor ordered imperial weavers to construct his tomb.

Relationship graph

BIOGRAPHY

Biography

Childhood Celestial Studies and Turning to Science

Mei Wending was born on March 16, 1633, in Xuancheng County, Ningguo Prefecture, Anhui. His father, Mei Shichang, was a Ming licentiate who withdrew into scholarly seclusion following the dynastic collapse, specializing in the Book of Changes and Spring and Autumn Annals. Growing up under rigorous familial instruction, Mei Wending displayed photographic memory and keen observation. As a child, he accompanied his father and tutor Luo Wangbin on starlit nights to observe the celestial constellations, tracing the ecliptic paths of the sun, moon, and five visible planets. By age nine, he had mastered the canonical classics, earning the title of child prodigy. In 1647, at fifteen, he passed the preliminary exams to become a county student.

However, consecutive attempts to pass the provincial civil examinations proved fruitless. Following his marriage at twenty, his grandfather and father died in rapid succession. As the eldest son, Mei Wending had to support an aging mother and young siblings through severe poverty amidst wartime dislocations. Realizing that the sterile eight-legged essay could neither solve practical societal crises nor unlock cosmic truths, he renounced civil examination ambitions to devote his lifetime to mathematics, geometry, and calendrical astronomy.

Tutelage under Ni Guanhu and Dialogue with Fang Zhongtong

In 1660, twenty-seven-year-old Mei Wending sought out local astronomer Ni Guanhu to study the Yuan dynasty astronomical treatise Manual of Eclipse Passages. Analyzing the complex computational procedures for forecasting solar and lunar eclipses, Mei Wending displayed astonishing mathematical intuition, deciphering the underlying geometrical rationale and uncovering multiple copying errors in ancient tables. He composed the two-volume monograph Auxiliary Skills of Calendrical Science to correct these flaws. Astounded by his student acumen, Ni Guanhu conceded that his pupil knowledge surpassed his own, encouraging him to pursue science full-time. In 1662, Mei Wending studied Ming dynastic eclipse routines under Ni Zheng, systematically correcting lingering algorithmic deviations.

Following the turbulent Calendar Lawsuit of 1669, in which conservative official Yang Guangxian attempted to purge Western astronomers, Jesuit missionaries regained authority over the Imperial Astronomical Bureau, frequently disparaging traditional Chinese mathematical heritage. Rejecting both blind xenophobia and cultural servility, Mei Wending journeyed four times between 1669 and 1677 to Nanjing, forming an enduring friendship with mathematician Fang Zhongtong. The two scholars engaged in nocturnal debates comparing Chinese traditional mathematics with European arithmetic. In 1672, Mei Wending composed On Systems of Linear Equations, rigorously demonstrating that ancient Chinese counting-rod algebra solved multi-variable linear systems with an elegance unknown in Renaissance Europe, winning him widespread admiration across scholarly networks.

Capital Fame and Revision of the Dynastic History

In 1689, the Qing court established the History of Ming Commission. Chief editors Xu Qianxue and Wan Sitong, recognizing that the historical records of Ming astronomy were riddled with contradictions, dispatched an official invitation summoning Mei Wending to Beijing. Upon his arrival, Grand Secretary Li Guangdi, scholar Yan Ruoju, and imperial officials welcomed him with veneration. Li Guangdi invited Mei Wending to reside as an honored guest within his private residence, providing him with unrestricted access to imperial libraries.

Examining more than seventy historical calendars from ancient antiquity to the seventeenth century, Mei Wending dissected the computational mechanics of historical eclipses, identifying systemic errors in early drafts of the Treatise on Calendrical Astronomy for the History of Ming. While bureaucratic rivalries within the Imperial Astronomical Bureau prevented the unpretentious commoner from joining the official bureau, he taught prominent young scholars in Beijing and Tianjin. In 1690, at the behest of Li Guangdi, he composed Inquiries on Calendrical Learning in three volumes, explaining complex celestial mechanics through clear questions and answers, establishing his reputation as the premier scientific authority of the capital.

Imperial Audiences and Patriarch of Chinese Science

In 1702, during an imperial inspection tour in Dezhou, Shandong, Governor Li Guangdi submitted Mei Wending Inquiries on Calendrical Learning to the Kangxi Emperor. An enthusiastic student of mathematics and geometry, the emperor read the treatise with admiration, annotating its margins with red ink and declaring its calculations impeccably sound. In May 1705, during another southern inspection tour, the Kangxi Emperor docked his barge along the Grand Canal at Dezhou and issued a special decree summoning seventy-three-year-old Mei Wending to the imperial presence.

Across several nocturnal audiences aboard the imperial barge, the sovereign and the commoner scholar engaged in intense discussions concerning solar orbits, equinoctial precession, and spherical trigonometry. The emperor conferred seats and imperial banquets upon Mei Wending, presenting him with a handwritten plaque bearing the characters Profound Learning Exploring Subtleties. The following year, the emperor summoned his grandson Mei Juecheng into the imperial court to work within the prestigious Mengyang Studio, where he directed the compilation of the imperial mathematical encyclopedia Essential Principles of Mathematics. Mei Wending spent his final years in Xuancheng collating his lifetime manuscripts. He passed away peacefully in 1721 at the age of eighty-nine. Deeply grieved, the Kangxi Emperor ordered Cao Fu, the Imperial Textile Commissioner in Jiangning, to oversee his funeral and construct his tomb at Lotus Pond in Xuancheng.

Major Achievements

Synthetic Paradigm of Chinese and Western Astronomy

Mei Wending greatest historical legacy was overcoming the polarized confrontation between conservative traditionalists and Eurocentric dogmatists, establishing a harmonious synthetic framework for Asian science. Confronting the influx of Tychonic and Copernican astronomical models brought by European missionaries, Mei Wending formulated his core methodology: setting aside regional prejudices to contemplate mathematical truth with an open mind. He asserted that scientific laws possess universal validity, and whatever aligns with empirical measurement must be adopted regardless of geographical origin.

Across more than forty astronomical monographs, Mei Wending scrutinized over seventy ancient calendrical systems, compiling the seventy-volume Comprehensive Study of Ancient and Modern Calendars to reconstruct ancient planetary algorithms. In Inquiries on Calendrical Learning, he mathematically reconciled ancient Chinese solar motion models with Western geometric concepts, clarifying equinoctial variations, earth curvature, and the obliquity of the ecliptic. His treatises provided the theoretical foundation for the Qing dynastic Shixian Calendar, with fifteen of his works preserved in the imperial Siku Quanshu.

Revitalization of Traditional Algebra and Linear Equations

In theoretical mathematics, Mei Wending led the revitalization of traditional Chinese algebra. Responding to Jesuit assertions of Western mathematical superiority, Mei Wending completed On Systems of Linear Equations in 1672. Drawing upon the ancient algorithms of the Han dynasty Nine Chapters on the Mathematical Art, he systematically reconstructed the matrix-like array methods used to solve systems of linear equations with multiple unknowns.

Through detailed diagrams, elimination protocols, and explicit rules governing positive and negative numbers, he clarified centuries of forgotten algebraic procedures. Furthermore, in A Collection of Right-Triangle Problems, he applied ancient out-in complementary dissection techniques to provide rigorous geometric proofs of the Pythagorean theorem, demonstrating that ancient Chinese geometry could independently resolve propositions found within Euclid Elements, including the golden ratio. His twenty-six mathematical treatises, unified under the overarching title Universal Mathematics of China and the West, proved that Chinese and European mathematical traditions were mutually illuminating.

Pioneering Spherical Trigonometry and Spatial Geometry

Mei Wending was the first Chinese mathematician to systematically organize and popularize plane and spherical trigonometry. Prior to his work, Chinese scholars found Jesuit translations of spherical geometry incomprehensible due to dense foreign terminology. Mei Wending published Elements of Plane Trigonometry and Elements of Spherical Trigonometry, providing transparent derivations for the law of sines, the law of cosines, and spherical triangle solutions.

Moreover, in Spatial Dissection and Measuring with Interlocking Rings, he deployed physical three-dimensional polyhedron models and orthogonal projections to unpack multi-dimensional coordinates. Investigating the geometric relationships between regular polyhedra and concentric spheres, he independently discovered two semi-regular polyhedra, which he named the Square Lantern and the Round Lantern. In Areas and Volumes of Spheres and Circles, he explored the volume formulas of spherical segments and cylinders, anticipating fundamental concepts of infinitesimal calculus.

Astronomical Instrumentation and Empirical Measurement

Rejecting speculative cosmology, Mei Wending insisted that calendrical theories must withstand the test of physical measurement. Comparing traditional Chinese armillary spheres with European quadrants and sextants, he designed and manufactured five customized astronomical instruments: the Xuanji Measuring Ruler, the Solar Gnomon, the Lateral Viewer, the Upward Sighting Instrument, and the Lunar Path Tracker.

Throughout decades of field observation in Xuancheng and northern China, he maintained observational diaries, recording polar altitudes, solar noon shadow lengths, and planetary coordinates. In Addition and Multiplication with Writing Brushes, Rod Arithmetic, and Explanations of Sector Compasses, he introduced Napier Bones and Galileo proportional compasses to Chinese intellectuals, revolutionizing computational efficiency among early Qing scientists.

Foundation of the Anhui School of Mathematics

Through his family lineage and pedagogical activities, Mei Wending founded the Anhui School of Mathematics. His brothers Mei Weinai and Mei Weimi were gifted mathematicians, his son Mei Yiyan contributed to trigonometry, and his grandson Mei Juecheng served as chief scientific minister to the Kangxi and Qianlong emperors, directing the monumental imperial encyclopedia Origins of Musical Harmonics and the Calendar across one hundred volumes.

Mei Wending rigorous commitment to evidential verification transformed the intellectual climate of the Qing dynasty. Historian Liang Qichao observed that the rise of the Qianlong-Jiaqing evidential scholarship, which swept away the metaphysical speculation of late Song and Ming neo-Confucianism in favor of textual and scientific rigor, owed its primary philosophical debt to Mei Wending. Foremost intellectuals including Qian Daxin, Dai Zhen, Jiao Xun, and Ruan Yuan revered Mei Wending as their supreme intellectual master, preserving his legacy across sixty-two volumes in the Collected Works of the Mei Family.

Personal Relationships

  • Intellectual Partners: Fang Zhongtong, Pan Lai, Wan Sitong.
  • Patrons and Mentors: Li Guangdi, Xu Qianxue.
  • Factional Opponent: Yang Guangxian.
  • Family Successors: Mei Shichang, Mei Juecheng.

Historical Evaluation

  • Kangxi Emperor: In the science of calendars and numbers, I have examined scholarship across the empire, and none equals Dingjiu. His Inquiries on Calendrical Learning reveals what previous generations could not explain; its reasoning is crystalline, truly demonstrating profound learning that explores cosmic subtleties.
  • Qian Daxin, Collected Works of the Qianyan Studio: In the mathematics of our dynasty, Master Mei of Xuancheng stands indisputably as the first. With his appearance, Chinese and Western mathematical systems were brought into complete harmony; a thousand years of isolated wisdom was illuminated through Mei Wending.
  • Jiao Xun, Preface to The True Principles of Celestial Motions: An unrivaled mastery across a thousand years was illuminated through Mei Wending. Throughout the empire, all who speak of astronomy and mathematical calculations revere Master Wu'an as their Mount Tai and Northern Dipper.
  • Liang Qichao, An Introduction to the Scholarly History of the Qing Dynasty: Among the sciences of our nation, astronomical mathematics achieved the highest brilliance. It flourished with unmatched vitality during the Qing period, when nearly all classical scholars were conversant with it; its founding patriarch was none other than Mei Wending of Xuancheng.
  • Yan Dunjie, Historian of Chinese Science: In the seventeenth and eighteenth centuries, mathematical research in China was anchored by the Anhui School, with the Mei family serving as its central pillar.

Related Entries

  • Inquiries on Calendrical Learning
  • On Systems of Linear Equations
  • Universal Mathematics of China and the West
  • Shoushi Calendar
  • Datong Calendar
  • Li Guangdi
  • Mei Juecheng
  • Kangxi Emperor

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Zhao Erxun et al., Draft History of Qing, Volume 506, Biographies of Astronomers and Mathematicians I, Biography of Mei Wending, Zhonghua Book Company.
  • Ruan Yuan, Biographies of Astronomers and Mathematicians, Volume 38, Biography of Mei Wending, Commercial Press.
  • Qian Daxin, Collected Works of the Qianyan Studio, Biography of Master Mei, Zhonghua Book Company.
  • Mei Wending, Collected Works of the Mei Family, 62 volumes, Qing Qianlong woodblock edition.
  • Liang Qichao, An Introduction to the Scholarly History of the Qing Dynasty, Commercial Press.