# Brāhmasphuṭasiddhānta

The Brāhmasphuṭasiddhānta ("Correctly Established Doctrine of Brahma", abbreviated BSS) is the main work of Brahmagupta, written c. 628. Τhis text of mathematical astronomy contains significant mathematical content, including a good understanding of the role of zero, rules for manipulating both negative and positive numbers, a method for computing square roots, methods of solving linear and quadratic equations, and rules for summing series, Brahmagupta's identity, and Brahmagupta’s theorem.

The book was written completely in verse and does not contain any kind of mathematical notation. Nevertheless, it contained the first clear description of the quadratic formula (the solution of the quadratic equation).

## Brāhmasphuṭasiddhānta rules for numbers

Brāhmasphuṭasiddhānta is one of the first books to provide concrete ideas on positive numbers, negative numbers, and zero. He wrote the following rules:

• The sum of two positive quantities is positive
• The sum of two negative quantities is negative
• The sum of zero and a negative number is negative
• The sum of zero and a positive number is positive
• The sum of zero and zero is zero
• The sum of a positive and a negative is their difference; or, if they are equal, zero
• In subtraction, the less is to be taken from the greater, positive from positive
• In subtraction, the less is to be taken from the greater, negative from negative
• When the greater however, is subtracted from the less, the difference is reversed
• When positive is to be subtracted from negative, and negative from positive, they must be added together
• The product of a negative quantity and a positive quantity is negative
• The product of two negative quantities is positive
• The product of two positive quantities is positive
• Positive divided by positive or negative by negative is positive
• Positive divided by negative is negative. Negative divided by positive is negative
• Zero divided by a negative or positive number is either zero or is expressed as a fraction with zero as numerator and the finite quantity as denominator
• A positive or negative number when divided by zero is a fraction with the zero as denominator
• Zero divided by zero is zero

The last two of these rules are notable as the earliest attempt to define division by zero, even though they are not compatible with modern number theory (division by zero is undefined for a field).