Ganitasara Sangraha
Added to library: September 1, 2025

Summary
This document is an excerpt from a work discussing the Ganitasara Sangraha by Mahaviracharya, with commentary and analysis provided by Prof. B. B. Bagi.
Here's a comprehensive summary of the content:
1. Introduction to Mahaviracharya and the Ganitasara Sangraha:
- Eminent Mathematicians: Mahaviracharya is presented as one of the most significant mathematicians of ancient India, alongside Aryabhata, Brahmagupta, and Bhaskaracharya.
- Historical Context: He lived around 850 AD during a period of prosperity, political stability, and intellectual flourishing in South India.
- Royal Patronage: Mahaviracharya was a contemporary and protégé of King Nripatunga (Amoghavarsha), a powerful ruler of the Rashtrakuta dynasty (815-877 AD). Amoghavarsha was not only a skilled ruler but also a patron of arts and literature, credited with the Kannada work "Kavirajamaraga" on poetics.
- Jain Influence: Amoghavarsha was a devout follower of Jinasena, the author of "Adipurana" and "Parsvabhyudaya." This devotion led Amoghavarsha to adopt a religious life, renouncing his kingdom, a fact mentioned in his Sanskrit work and vividly described by Mahaviracharya.
- Author's Style: Mahaviracharya is characterized as a mathematician with a disciplined approach combined with the imaginative flair of a poet.
- Textbook Value: The Ganitasara Sangraha is described as a comprehensive textbook that synthesized all known mathematics of its time, used for centuries in South India. It is praised for its clear and precise rules, simplified processes, generalized theorems, and illuminating illustrations.
- Treasury of Problems: The book is a rich source of mathematical problems, often distinguished by their subtlety, poetic beauty, and subtle humor. The author notes the difficulty in distinguishing between existing knowledge and Mahaviracharya's original contributions in such textbooks.
2. Survey of the Book's Contents:
-
Chapter I:
- Begins with a salutation to Lord Mahavira, the 24th Tirthankara, acknowledging his knowledge of numbers.
- Includes a tribute to his patron, Amoghavarsha.
- Features an enthusiastic panegyric on the science of Mathematics.
- Discusses measures, operations, and numerals.
- Number System Concepts:
- Negative Numbers: Rules for using negative numbers are correctly stated.
- Zero: Rules for zero are presented, including:
a + 0 = a
a x 0 = 0
a : 0 = a
(The author notes this last part is incorrect by modern standards).
- Square Roots of Negative Numbers: Mahaviracharya correctly observes that since squares of both positive and negative numbers are positive, the square root of a negative number cannot exist. The text acknowledges this as a limitation of his time, contrasting it with later developments (like Wessel's work in 1797).
-
Chapter II:
- Focuses on operations with integers, including multiplication, division, squaring and its inverse (square root), cubing and its inverse (cube root), and arithmetic and geometric progressions.
- Illustrative Problems:
- Problem II.17 (Necklace Problem): Demonstrates a number formed by repeating digits and its multiplication by 91 to produce a specific pattern (1002002001), described as a "necklace worthy of a prince."
- Other "Garlands Worthy of a Prince": Examples of other number patterns achieved through multiplication are provided:
333333666667 x 33 = 11000011000011
752207 x 73 = 11,111,111
-
Chapters III and IV:
- Deal with elementary operations involving fractions.
- Unit Fractions: Mahaviracharya pays significant attention to the problem of expressing a unit fraction as the sum of other unit fractions, a problem that has interested mathematicians since antiquity (e.g., Ahmes Papyrus).
- Illustrative Problems (Unit Fractions): Three problems are presented in modern notation, showcasing the complexity and various forms of these decompositions.
-
Chapter IV (continued):
- Problem IV.4 (Elephant Herd): This problem is highlighted as an example of "monkish humor" and involves a riddle about a herd of elephants based on fractions and square roots.
-
Chapter V:
- Covers the "Rule of Three" and its generalized forms.
-
Chapter VI:
- Applies the arithmetical principles from earlier chapters to real-life problems.
- Topics Covered: Money lending, combinations of objects, indeterminate equations of the first degree, and more.
- Illustrative Problems:
- Problem VI.128 (Pomegranate Heaps): A problem involving distribution of pomegranates from multiple equal heaps among travelers.
- Problem VI.218 (Combinations Formula): This problem presents the general formula for combinations:
nCr = n! / (r! * (n-r)!)
. The text notes that this formula was independently discovered in Europe much later (by Herigone in 1634). It also connects the Jain concept of "Saptabhangi" (seven-fold prediction) to permutations and combinations, suggesting that a layman can form seven distinct combinations of three distinct objects. This highlights the early use of mathematics in Jain sacred literature. - Problem VI.220 (Necklace Combinations): A problem about the number of variations in a single-string necklace made with different types of jewels (diamonds, sapphires, emeralds, corals, pearls), illustrating combinations.
- Problem VI.287 (Devilry of Calculation): A complex problem involving a sequence of operations (division, multiplication, squaring, addition, division, halving, square root) that results in a specific number, showcasing intricate problem-solving.
-
Chapters VII and VIII:
- Focus on measuration.
- Formulas Presented:
- (1) Pythagorean Theorem:
a² = b² + c²
for a right-angled triangle, where 'a' is the hypotenuse. - (2) Heron's Formula: Area of triangle ABC =
√(s(s-a)(s-b)(s-c))
where2s = a + b + c
. - (3) Quadrilateral Formulas: Formulas for the area and diagonals of a quadrilateral are given:
- Area =
√((s-a)(s-b)(s-c)(s-d))
where2s = a+b+c+d
. - Diagonals =
√((ac + bd)(ab + cd))
and√((ac + bd)(ad + bc))
. - Important Caveat: The text points out a significant error made by Mahaviracharya and Brahmagupta: they failed to mention that these quadrilateral formulas are only valid for cyclic quadrilaterals.
- Area =
- (4) Pi Approximation: The value of Pi (π) is given as 3 or
√10
. - (5) Ellipse Circumference: A formula for the circumference of an ellipse with major and minor axes
2a
and2b
is presented as2πb√(1+e²)
, which approximates to2πa√(1-e²)
, where 'e' is the eccentricity. The text marvels at Mahaviracharya's ability to derive such a close approximation without modern tools.
- (1) Pythagorean Theorem:
Overall Significance:
The Ganitasara Sangraha is presented as a monumental work that not only compiled existing mathematical knowledge but also contributed to its advancement through clear explanations, new insights, and engaging problems. Mahaviracharya's work is a testament to the sophisticated mathematical traditions of ancient India, particularly within the Jain intellectual heritage, and its influence spanned centuries across South India. The text also highlights the interconnectedness of mathematics with philosophy, religion, and everyday life in that era.