Ganita Kaumudi (Sanskrit: गणितकौमदी) is a treatise on mathematics written by Indian mathematician Narayana Pandita in 1356. It was an arithmetical treatise alongside the other algebraic treatise called "Bijganita Vatamsa" by Narayana Pandit.
Gaṇita Kaumudī contains about 475 verses of sūtra (rules) and 395 verses of udāharaṇa (examples). It is divided into 14 chapters (vyavahāra):[1]
Weights and measures, length, area, volume, etc. It describes addition, subtraction, multiplication, division, square, square root, cube and cube root. The problems of linear and quadratic equations described here are more complex than in earlier works.[2] 63 rules and 82 examples[1]
Mathematics pertaining to daily life: “mixture of materials, interest on a principal, payment in instalments, mixing gold objects with different purities and other problems pertaining to linear indeterminate equations for many unknowns”[2] 42 rules and 49 examples[1]
Arithmetic and geometric progressions, sequences and series. The generalization here was crucial for finding the infinite series for sine and cosine.[2] 28 rules and 19 examples.[1]
Geometry. 149 rules and 94 examples.[1] Includes special material on cyclic quadratilerals, such as the “third diagonal”.[2]
Excavations. 7 rules and 9 examples.[1]
Stacks. 2 rules and 2 examples.[1]
Mounds of grain. 2 rules and 3 examples.[1]
Shadow problems. 7 rules and 6 examples.[1]
Linear integer equations. 69 rules and 36 examples.[1]
Quadratic. 17 rules and 10 examples.[1] Includes a variant of the Chakravala method.[2] Ganita Kaumudi contains many results from continued fractions. In the text Narayana Pandita used the knowledge of simple recurring continued fraction in the solutions of indeterminate equations of the type
nx2+k2=y2
Contains factorization method,[1] 11 rules and 7 examples.[1]
Contains rules for writing a fraction as a sum of unit fractions. 22 rules and 14 examples.[1]
Unit fractions were known in Indian mathematics in the Vedic period: the Śulba Sūtras give an approximation of equivalent to
1+\tfrac13+\tfrac1{3 ⋅ 4}-\tfrac1{3 ⋅ 4 ⋅ 34}
1=
1{1 ⋅ | |
2} |
+
1{2 | |
⋅ |
3}+
1{3 | |
⋅ |
4}+...+
1{(n-1) ⋅ | |
n} |
+
1n | |
1=
12 | |
+ |
13 | |
+ |
1{3 | |
2} |
+...+
1{3 | |
n-2 |
p/q
Pick an arbitrary number i such that
(q+i)/p
p | |
q |
=
1r | |
+ |
i | |
qr |
and find successive denominators in the same way by operating on the new fraction. If i is always chosen to be the smallest such integer, this is equivalent to the greedy algorithm for Egyptian fractions, but the Gaṇita-Kaumudī's rule does not give a unique procedure, and instead states evam iṣṭavaśād bahudhā ("Thus there are many ways, according to one's choices.")
n
k1,k2,...,kn
1=
(k2-k1)k1 | |
k2 ⋅ k1 |
+
(k3-k2)k1 | |
k3 ⋅ k2 |
+...+
(kn-kn-1)k1 | |
kn ⋅ kn-1 |
+
1 ⋅ k1 | |
kn |
a1,a2,...,an
Calculate
i1,i2,...,in
i1=a1+1
i2=a2+i1
i3=a3+i2
1=
a1 | |
1 ⋅ i1 |
+
a2 | |
i1 ⋅ i2 |
+
a3 | |
i2 ⋅ i3 |
+...+
an | |
in-1 ⋅ in |
+
1 | |
in |
Combinatorics. 97 rules and 45 examples.[1] Generating permutations (including of a multiset), combinations, integer partitions, binomial coefficients, generalized Fibonacci numbers.[2]
Narayana Pandita noted the equivalence of the figurate numbers and the formulae for the number of combinations of different things taken so many at a time.[3]
The book contains a rule to determine the number of permutations of n objects and a classical algorithm for finding the next permutation in lexicographic ordering though computational methods have advanced well beyond that ancient algorithm. Donald Knuth describes many algorithms dedicated to efficient permutation generation and discuss their history in his book The Art of Computer Programming.[4]
Magic squares. 60 rules and 17 examples.[1]