the classical texts
Bijaganita of Bhaskaracharya: 9 Chapters of Algebra
Published 2026-11-04 | Live Pandit Ji
Bhaskaracharya wrote his algebra, the Bijaganita (बीजगणित), as one of the two mathematical books that come before the astronomy in his Siddhanta Shiromani; the other one, the arithmetic, is the Lilavati. Nothing in it is a prediction. It solves equations, and the problems it sets are about numbers, prices, bamboos and right triangles, not about charts. On this site it belongs with the ganita or siddhanta skandha, the calculating branch of jyotish, and it is described here for what it teaches. The English used throughout is Henry Thomas Colebrooke’s translation, published in London by John Murray in 1817 under the title Algebra, with Arithmetic and Mensuration, from the Sanscrit of Brahmegupta and Bhascara. Colebrooke numbers the stanzas from 1 to 225, and those numbers are the references below.
Who Wrote the Bijaganita, and When?
The book names its author in its ninth chapter. Stanza 217 says there lived on earth one Mahesvara, a teacher among the learned, and that his son Bhaskara, having taken “the bud of knowledge” from him, composed this short treatise. Colebrooke’s dissertation dates the whole Siddhanta Shiromani from a passage in it where Bhaskara says he completed the work in Shaka 1072. He finds support in the epoch of Bhaskara’s later handbook, the Karana-kutuhala, which is Shaka 1105, 33 years on, and he converts the completion to AD 1150. The Lilavati page sets a different editor’s figure beside that one, so the comparison is not repeated here.
Why the Book Is Called Bija
Colebrooke heads the translation with a double title, Vija-ganita or Avyakta-ganita, and renders it “elemental arithmetic or algebra”. The second name says what the book is about: avyakta, the unapparent or unknown quantity, against vyakta, the known one. Stanza 2 draws that line itself. The arithmetic of known quantities, already given in an earlier treatise, rests on the arithmetic of unknowns, Bhaskara says, and many questions cannot be understood without it, so he now sets out analysis. A footnote on the word gives Suryadasa’s gloss of bija as cause or origin, which is how it came to mean analysis.
The tools come early. Stanza 17 lists the names chosen for unknowns: “so much as”, yavat-tavat, for the first, and then colours, black, blue, yellow, red and others, for the rest, which is why the later chapters sort equations by how many colours they hold. The comment after stanza 4 tells the reader to mark a quantity that becomes negative with a dot over it, and a footnote gives the words used: rina or kshaya, debt or loss, for negative, and dhana or sva, wealth, for positive. Stanza 16 turns to a quantity with zero for its divisor. Adding or removing any amount leaves it unaltered, the stanza says, and it likens this to the unchanging deity at the creation and dissolution of worlds; Colebrooke’s note calls such a quantity kha-hara and, after the commentator Krishna, infinite.
The Nine Chapters and Their Stanza Numbers
The chapter titles below are Colebrooke’s, shortened. The stanza run is his numbering, the page is where the chapter opens in the 1817 volume, and the subject line is this page’s summary. All nine together fill pages 129 to 276, 148 pages of translation and notes.
| No. | Chapter | Stanzas | Page | Subject |
|---|---|---|---|---|
| I | Algorithm (logistics) | 1-52 (52) | 129 | signed numbers, zero, unknowns written by names and colours, and surds |
| II | Pulverizer | 53-74 (22) | 156 | whole-number answers to equations with more unknowns than conditions |
| III | Affected square | 75-99 (25) | 170 | whole numbers that make a given multiple of a square, plus or minus a number, into a square |
| IV | Simple equations | 100-127 (28) | 185 | one unknown, raised to the first power |
| V | Quadratic equations | 128-152 (25) | 207 | one unknown with its square, solved by removing the middle term |
| VI | Equations with more than one unknown | 153-170 (18) | 227 | several unknowns, each named by a colour |
| VII | Varieties of quadratics | 171-207 (37) | 245 | quadratics in several unknowns, brought to the affected square |
| VIII | Equations with a product of unknowns | 208-216 (9) | 268 | equations in which two unknowns are multiplied together |
| IX | Conclusion | 217-225 (9) | 275 | the author’s father, his sources, the size of the book and a closing stanza |
Chapter I is the longest by number, 52 stanzas, because it covers the whole groundwork in five sections: invocation and introduction (1-2), negative and affirmative quantities (3-11), cipher (12-16), unknown quantity (17-28) and surds (29-52). Surds alone take 24 of those numbers. Chapters VIII and IX are the shortest, nine each.
Stanza 99, the last of chapter III, closes the preparation and promises algebra proper next. A note from Suryadasa and Krishna reads the plan out of it: chapters I to III are introductory, and chapters IV to VIII are the analysis the author announced in stanza 2. On Colebrooke’s numbering that is 99 stanzas of groundwork, 117 of equations, and 9 of conclusion. The groundwork is not all new. Colebrooke’s first note to chapter II says the pulverizer chapter is almost word for word the Lilavati’s twelfth chapter on the same subject, which is why the Lilavati page’s table also lists a pulverizer.
225 Numbers, 219 Stanzas
Colebrooke’s 225 is a count of numbered paragraphs, and his own note shows it is not a count of verses. In his note on stanzas 219-223, where Bhaskara says the volume holds 1,000 lines of precept and example, Colebrooke gives his own tally: 210 stanzas of rules and examples, or 219 with the closing passage. His numbering runs past that because some rules are broken up by examples in another metre and get separate numbers for each part, while a few maxims and quoted verses get none. The two effects leave his numbers 6 ahead of his stanzas. The closing passage on his tally is nine stanzas, and chapter IX carries nine numbers, 217 to 225.
Sixty-One and Sixty-Seven: the Cyclic Method Worked
Chapter III, the affected square, asks for whole numbers that make a given multiple of a square, with a number added, into another square. In the book’s terms the smaller root is the kanishtha (“least”), the larger the jyeshtha (“greatest”), the multiple the prakriti and the added number the kshepa, the additive. Stanza 77 gives the rule for combining two solutions into a third, which Colebrooke’s note calls bhavana, composition, and stanzas 83-86 give a repeating procedure that “mathematicians call that of the circle”, the cyclic method or chakravala. Stanza 87 is the example: find the square which, multiplied by 67 with one added, has a square root, and do the same for 61.
For 67 the worked solution starts from least root 1, greatest root 8 and additive −3, since 67 plus −3 is 64. Each round picks a multiplier and produces a new set. The rows below are the sets Colebrooke prints; the scan’s text layer drops the dot that marks a negative, so the signs here were worked out from the equation itself.
| Least root | Greatest root | Additive | Multiplier taken |
|---|---|---|---|
| 1 | 8 | −3 | 7 |
| 5 | 41 | +6 | 5 |
| 11 | 90 | −7 | 9 |
| 27 | 221 | −2 | composition |
In the last row the additive is −2, and composing that set with itself under stanza 77 gives least root 11,934, greatest root 97,684 and additive 4. Dividing both roots by 2, the square root of that additive, as stanza 79 allows, brings the additive down to 1 and the roots to 5,967 and 48,842: 67 times 5,967 squared, plus one, is 48,842 squared.
The case of 61 goes a different way. The working begins from 1, 8 and +3, reaches 5, 39 with additive −4, halves those roots to get fractions answering to −1, and by composing those fractions twice arrives at whole roots for −1, 3,805 and 29,718. One more composition of that set with itself gives the answer Colebrooke prints: least root 226,153,980, greatest root 1,766,319,049. These have nine and ten digits, and the least root is about 37,900 times the one for 67, though the two coefficients differ by six.
The site’s code reruns all of this before the page can be published. It checks every printed set against its equation, reruns the three cyclic rounds for 67 and gets the same multipliers (7, 5 and 9), repeats each composition for 61, and lets the cyclic method run unaided from the starting set for 61 until the additive is 1, which lands on the same pair. As a separate test it finds the smallest whole solution for each coefficient by the continued fraction of its square root; for both 67 and 61 that smallest solution is the one the book gives.
A Factum Problem, and Every Whole Answer
Chapter VIII handles equations where two unknowns are multiplied together, which Colebrooke calls a factum. Stanza 208 gives the plain method: keep one colour, put any value you like for the others, and the product breaks up into an equation of the first kind. Stanza 209 tests it. Find two numbers such that four times the first and three times the second, with two added, equal the product of the two. The worked answer puts 5 for the second and gets 17 for the first, or puts 6 and gets 10, and remarks that varying the choice gives answers without end.
Without end, that is, if fractions are allowed. Restricting both numbers to positive whole ones, this page’s code finds exactly four pairs, first number given first: (17, 5), (10, 6), (5, 11) and (4, 18). The reason is that the equation can be rearranged as (first − 3) × (second − 4) = 14, and 14 splits into two positive factors only four ways. Stanzas 212-214 give Bhaskara’s quicker rule for such cases, and it works the same way: divide that number, 14, by any chosen factor and add the factor and the quotient back to the coefficients.
Did Bhaskara Invent Algebra? What the Book Says
The title bija ganita pitamaha, grandfather of algebra, turns up beside Bhaskara’s name in searches. The book answers for itself, and the answer is modest. Stanza 218 says the algebras of Brahmagupta, Sridhara and Padmanabha were too long, so their substance has been pressed into this short compendium for learners. Colebrooke’s dissertation adds that inside the text Bhaskara quotes Sridhara at stanza 131 and Padmanabha at stanza 142, and it calls Bhaskara a compiler in this respect, who took his methods from Indian authors far older than himself. Brahmagupta’s own algebra survives: Colebrooke’s volume translates it too, as chapter 18 of the Brahma-siddhanta, alongside chapter 12 on arithmetic, and the site reads that work on the Brahmasphuta Siddhanta page. This page names no one as the inventor of algebra.
Two closing stanzas tie the book back to the astronomy. Stanza 224 quotes Bhaskara’s own sphere book on arithmetic and algebra, the half-line the Siddhanta Shiromani page already explains. Stanza 225 ends by urging the reader to keep studying this compact book.
Commentaries and Later Printings
Colebrooke says the text is vouched for by many Sanskrit commentaries and by a Persian version, and that he collated three copies of the original. His notes on the scholiasts name three commentaries on the algebra in particular:
- Suryadasa’s Surya-prakasha, dated Shaka 1463, AD 1541;
- Krishna’s Kalpalatavatara, which he places at the close of the sixteenth century;
- Ramakrishna’s Bija-prabodha, for which he finds no date.
Colebrooke’s footnotes cite them by name throughout. The commentary did not stop there: a Sanskrit printing from Benares, dated 1949, carries the text with the commentaries of Jivanatha and Achyutananda.
What This Page Leaves Out
No Sanskrit is quoted. The 1949 printing has a Devanagari text, but the scan read here garbles it, and the 1817 volume is read here in English. The problems of chapters IV to VII are not worked here, and the claims in Colebrooke’s dissertation about who reached which method first are not repeated, since the site has no way to check them. Nothing on this page is offered as a download.
Related Pages
Where the calculating books stand among the three branches of jyotish is set out on the three skandhas page. The four parts of Bhaskara’s work, and the order in which his commentator Nrsimha says they were written, are on the Siddhanta Shiromani page; the arithmetic is on the Lilavati page; and an older book that keeps its mathematics in a single pada is read on the Aryabhatiya page. In Hindi: बीजगणित किसकी रचना है.
The Companion Volume
The Bijaganita assumes the reader has already worked through Bhaskara’s arithmetic. That book, its chapters and a set of its problems checked against their printed answers, is read on its own page.
Open the Lilavati Page