# Brahmagupta

### Quick Info

Born
598
(possibly) Ujjain, India
Died
670
India

Summary
Brahmagupta was the foremost Indian mathematician of his time. He made advances in astronomy and most importantly in number systems including algorithms for square roots and the solution of quadratic equations.

### Biography

Brahmagupta, whose father was Jisnugupta, wrote important works on mathematics and astronomy. In particular he wrote Brahmasphutasiddhanta , in 628. The work was written in 25 chapters and Brahmagupta tells us in the text that he wrote it at Bhillamala which today is the city of Bhinmal. This was the capital of the lands ruled by the Gurjara dynasty.

Brahmagupta became the head of the astronomical observatory at Ujjain which was the foremost mathematical centre of ancient India at this time. Outstanding mathematicians such as Varahamihira had worked there and built up a strong school of mathematical astronomy.

In addition to the Brahmasphutasiddhanta Brahmagupta wrote a second work on mathematics and astronomy which is the Khandakhadyaka written in 665 when he was 67 years old. We look below at some of the remarkable ideas which Brahmagupta's two treatises contain. First let us give an overview of their contents.

The Brahmasphutasiddhanta contains twenty-five chapters but the first ten of these chapters seem to form what many historians believe was a first version of Brahmagupta's work and some manuscripts exist which contain only these chapters. These ten chapters are arranged in topics which are typical of Indian mathematical astronomy texts of the period. The topics covered are: mean longitudes of the planets; true longitudes of the planets; the three problems of diurnal rotation; lunar eclipses; solar eclipses; risings and settings; the moon's crescent; the moon's shadow; conjunctions of the planets with each other; and conjunctions of the planets with the fixed stars.

The remaining fifteen chapters seem to form a second work which is major addendum to the original treatise. The chapters are: examination of previous treatises on astronomy; on mathematics; additions to chapter 1; additions to chapter 2; additions to chapter 3; additions to chapter 4 and 5; additions to chapter 7; on algebra; on the gnomon; on meters; on the sphere; on instruments; summary of contents; versified tables.

Brahmagupta's understanding of the number systems went far beyond that of others of the period. In the Brahmasphutasiddhanta he defined zero as the result of subtracting a number from itself. He gave some properties as follows:-
When zero is added to a number or subtracted from a number, the number remains unchanged; and a number multiplied by zero becomes zero.
He also gives arithmetical rules in terms of fortunes (positive numbers) and debts (negative numbers):-
A debt minus zero is a debt.
A fortune minus zero is a fortune.
Zero minus zero is a zero.
A debt subtracted from zero is a fortune.
A fortune subtracted from zero is a debt.
The product of zero multiplied by a debt or fortune is zero.
The product of zero multipliedby zero is zero.
The product or quotient of two fortunes is one fortune.
The product or quotient of two debts is one fortune.
The product or quotient of a debt and a fortune is a debt.
The product or quotient of a fortune and a debt is a debt.
Brahmagupta then tried to extend arithmetic to include division by zero:-
Positive or negative numbers when divided by zero is a fraction the zero as denominator.
Zero divided by negative or positive numbers is either zero or is expressed as a fraction with zero as numerator and the finite quantity as denominator.
Zero divided by zero is zero.
Really Brahmagupta is saying very little when he suggests that $n$ divided by zero is $n/0$. He is certainly wrong when he then claims that zero divided by zero is zero. However it is a brilliant attempt to extend arithmetic to negative numbers and zero.

We can also describe his methods of multiplication which use the place-value system to its full advantage in almost the same way as it is used today. We give three examples of the methods he presents in the Brahmasphutasiddhanta and in doing so we follow Ifrah in [4]. The first method we describe is called "gomutrika" by Brahmagupta. Ifrah translates "gomutrika" to "like the trajectory of a cow's urine". Consider the product of 235 multiplied by 264. We begin by setting out the sum as follows:
2 235
6 235
4 235
----------
Now multiply the 235 of the top row by the 2 in the top position of the left hand column. Begin by 2 × 5 = 10, putting 0 below the 5 of the top row, carrying 1 in the usual way to get
2 235
6 235
4 235
----------
470
Now multiply the 235 of the second row by the 6 in the left hand column writing the number in the line below the 470 but moved one place to the right
2 235
6 235
4 235
----------
470
1410
Now multiply the 235 of the third row by the 4 in the left hand column writing the number in the line below the 1410 but moved one place to the right
2 235
6 235
4 235
----------
470
1410
940
Now add the three numbers below the line
2 235
6 235
4 235
----------
470
1410
940
----------
62040
The variants are first writing the second number on the right but with the order of the digits reversed as follows
 235 4
235 6
235 2
----------
940
1410
470
----------
62040
The third variant just writes each number once but otherwise follows the second method
 235
----------
940 4
1410 6
470 2
----------
62040
Another arithmetical result presented by Brahmagupta is his algorithm for computing square roots. This algorithm is discussed in [15] where it is shown to be equivalent to the Newton-Raphson iterative formula.

Brahmagupta developed some algebraic notation and presents methods to solve quardatic equations. He presents methods to solve indeterminate equations of the form $ax + c = by$. Majumdar in [17] writes:-
Brahmagupta perhaps used the method of continued fractions to find the integral solution of an indeterminate equation of the type $ax + c = by$.
In [17] Majumdar gives the original Sanskrit verses from Brahmagupta's Brahmasphuta siddhanta and their English translation with modern interpretation.

Brahmagupta also solves quadratic indeterminate equations of the type $ax^{2} + c = y^{2}$ and $ax^{2} - c = y^{2}$. For example he solves $8x^{2} + 1 = y^{2}$ obtaining the solutions $(x, y) = (1, 3), (6, 17), (35, 99), (204, 577), (1189, 3363), ...$ For the equation $11x^{2} + 1 = y^{2}$ Brahmagupta obtained the solutions $(x, y) = (3, 10), (\large\frac{161}{5}\normalsize , \large\frac{534}{5}\normalsize ), ...$ He also solves $61x^{2} + 1 = y^{2}$ which is particularly elegant having $x = 226153980, y = 1766319049$ as its smallest solution.

A example of the type of problems Brahmagupta poses and solves in the Brahmasphutasiddhanta is the following:-
Five hundred drammas were loaned at an unknown rate of interest, The interest on the money for four months was loaned to another at the same rate of interest and amounted in ten mounths to 78 drammas. Give the rate of interest.
Rules for summing series are also given. Brahmagupta gives the sum of the squares of the first $n$ natural numbers as $n(n+1)(2n+1)/6$ and the sum of the cubes of the first $n$ natural numbers as $(\large\frac{1}{2}\normalsize n(n+1))^{2}$. No proofs are given so we do not know how Brahmagupta discovered these formulae.

In the Brahmasphutasiddhanta Brahmagupta gave remarkable formulae for the area of a cyclic quadrilateral and for the lengths of the diagonals in terms of the sides. The only debatable point here is that Brahmagupta does not state that the formulae are only true for cyclic quadrilaterals so some historians claim it to be an error while others claim that he clearly meant the rules to apply only to cyclic quadrilaterals.

Much material in the Brahmasphutasiddhanta deals with solar and lunar eclipses, planetary conjunctions and positions of the planets. Brahmagupta believed in a static Earth and he gave the length of the year as 365 days 6 hours 5 minutes 19 seconds in the first work, changing the value to 365 days 6 hours 12 minutes 36 seconds in the second book the Khandakhadyaka . This second values is not, of course, an improvement on the first since the true length of the years if less than 365 days 6 hours. One has to wonder whether Brahmagupta's second value for the length of the year is taken from Aryabhata I since the two agree to within 6 seconds, yet are about 24 minutes out.

The Khandakhadyaka is in eight chapters again covering topics such as: the longitudes of the planets; the three problems of diurnal rotation; lunar eclipses; solar eclipses; risings and settings; the moon's crescent; and conjunctions of the planets. It contains an appendix which is some versions has only one chapter, in other versions has three.

Of particular interest to mathematics in this second work by Brahmagupta is the interpolation formula he uses to compute values of sines. This is studied in detail in [13] where it is shown to be a particular case up to second order of the more general Newton-Stirling interpolation formula.

### References (show)

1. D Pingree, Biography in Dictionary of Scientific Biography (New York 1970-1990).
2. Biography in Encyclopaedia Britannica.
http://www.britannica.com/biography/Brahmagupta
3. H T Colebrooke, Algebra, with Arithmetic and Mensuration from the Sanscrit of Brahmagupta and Bhaskara (1817).
4. G Ifrah, A universal history of numbers : From prehistory to the invention of the computer (London, 1998).
5. S S Prakash Sarasvati, A critical study of Brahmagupta and his works : The most distinguished Indian astronomer and mathematician of the sixth century A.D. (Delhi, 1986).
6. S P Arya, On the Brahmagupta- Bhaskara equation, Math. Ed. 8 (1) (1991), 23-27.
7. G S Bhalla, Brahmagupta's quadrilateral, Math. Comput. Ed. 20 (3) (1986), 191-196.
8. B Chatterjee, Al-Biruni and Brahmagupta, Indian J. History Sci. 10 (2) (1975), 161-165.
9. B Datta, Brahmagupta, Bull. Calcutta Math. Soc. 22 (1930), 39-51.
10. K Elfering, Die negativen Zahlen und die Rechenregeln mit ihnen bei Brahmagupta, in Mathemata, Boethius Texte Abh. Gesch. Exakt. Wissensch. XII (Wiesbaden, 1985, 83-86.
11. R C Gupta, Brahmagupta's formulas for the area and diagonals of a cyclic quadrilateral, Math. Education 8 (1974), B33-B36.
12. R C Gupta, Brahmagupta's rule for the volume of frustum-like solids, Math. Education 6 (1972), B117-B120.
13. R C Gupta, Munisvara's modification of Brahmagupta's rule for second order interpolation, Indian J. Hist. Sci. 14 (1) (1979), 66-72.
14. S Jha, A critical study on 'Brahmagupta and Mahaviracharya and their contributions in the field of mathematics', Math. Ed. (Siwan) 12 (4) (1978), 66-69.
15. S C Kak, The Brahmagupta algorithm for square rooting, Ganita Bharati 11 (1-4) (1989), 27-29.
16. T Kusuba, Brahmagupta's sutras on tri- and quadrilaterals, Historia Sci. 21 (1981), 43-55.
17. P K Majumdar, A rationale of Brahmagupta's method of solving ax + c = by, Indian J. Hist. Sci. 16 (2) (1981), 111-117.
18. J Pottage, The mensuration of quadrilaterals and the generation of Pythagorean triads : a mathematical, heuristical and historical study with special reference to Brahmagupta's rules, Arch. History Exact Sci. 12 (1974), 299-354.
19. E R Suryanarayan, The Brahmagupta polynomials, Fibonacci Quart. 34 (1) (1996), 30-39.