# Shulba Sutras

The Shulba Sutras or Śulbasūtras (Sanskrit śulba: "string, cord, rope") are sutra texts belonging to the Śrauta ritual and containing geometry related to fire-altar construction.

## Purpose and origins

The Shulba Sutras are part of the larger corpus of texts called the Shrauta Sutras, considered to be appendices to the Vedas. They are the only sources of knowledge of Indian mathematics from the Vedic period. Unique fire-altar shapes were associated with unique gifts from the Gods. For instance, "he who desires heaven is to construct a fire-altar in the form of a falcon"; "a fire-altar in the form of a tortoise is to be constructed by one desiring to win the world of Brahman" and "those who wish to destroy existing and future enemies should construct a fire-altar in the form of a rhombus".

The four major Shulba Sutras, which are mathematically the most significant, are those attributed to Baudhayana, Manava, Apastamba and Katyayana. Their language is late Vedic Sanskrit, pointing to a composition roughly during the 1st millennium BC, The oldest is the sutra attributed to Baudhayana, possibly compiled around 800 BCE to 600 BCE. while the youngest content may date to about 200 CE.

## List of Shulba Sutras

1. Apastamba
2. Baudhayana
3. Manava
4. Katyayana
5. (somewhat similar to Manava text)
6. Varaha (in manuscript)
7. (in manuscript)
8. (similar to Apastamba Shulba Sutras)

## Mathematics

### Pythagorean theorem

The sutras contain discussion and non-axiomatic demonstrations of cases of the Pythagorean theorem and Pythagorean triples. It is also implied and cases presented in the earlier work of Apastamba and Baudhayana, although there is no consensus on whether or not Apastamba's rule is derived from Mesopotamia. In Baudhayana, the rules are given as follows:

1.9. The diagonal of a square produces double the area [of the square].
[...]
1.12. The areas [of the squares] produced separately by the lengths of the breadth of a rectangle together equal the area [of the square] produced by the diagonal.
1.13. This is observed in rectangles having sides 3 and 4, 12 and 5, 15 and 8, 7 and 24, 12 and 35, 15 and 36.

The Satapatha Brahmana and the Taittiriya Samhita were probably also aware of the Pythagoras theorem. Seidenberg (1983) argued that either "Old Babylonia got the theorem of Pythagoras from India or that Old Babylonia and India got it from a third source". Seidenberg suggested that this source might be Sumerian and may predate 1700 BC. Staal 1999 illustrates an application of the Pythagorean Theorem in the Shulba Sutra to convert a rectangle to a square of equal area.

### Pythagorean triples

Apastamba's rules for building right angles in altars use the following Pythagorean triples:

The same triples are easily derived from an old Babylonian rule, which makes Mesopotamian influence on the sutras likely.

### Geometry

The Baudhayana Shulba sutra gives the construction of geometric shapes such as squares and rectangles. It also gives, sometimes approximate, geometric area-preserving transformations from one geometric shape to another. These include transforming a square into a rectangle, an isosceles trapezium, an isosceles triangle, a rhombus, and a circle, and transforming a circle into a square. In these texts approximations, such as the transformation of a circle into a square, appear side by side with more accurate statements. As an example, the statement of circling the square is given in Baudhayana as:

2.9. If it is desired to transform a square into a circle, [a cord of length] half the diagonal [of the square] is stretched from the centre to the east [a part of it lying outside the eastern side of the square]; with one-third [of the part lying outside] added to the remainder [of the half diagonal], the [required] circle is drawn.

and the statement of squaring the circle is given as:

2.10. To transform a circle into a square, the diameter is divided into eight parts; one [such] part after being divided into twenty-nine parts is reduced by twenty-eight of them and further by the sixth [of the part left] less the eighth [of the sixth part].
2.11. Alternatively, divide [the diameter] into fifteen parts and reduce it by two of them; this gives the approximate side of the square [desired].

The constructions in 2.9 and 2.10 give a value of π as 3.088, while the construction in 2.11 gives π as 3.004.

### Square roots

Altar construction also led to an estimation of the square root of 2 as found in three of the sutras. In the Baudhayana sutra it appears as:

2.12. The measure is to be increased by its third and this [third] again by its own fourth less the thirty-fourth part [of that fourth]; this is [the value of] the diagonal of a square [whose side is the measure].

which leads to the value of the square root of two as being:

One conjecture about how such an approximation was obtained is that it was taken by the formula:

with and

which is an approximation that follows a rule given by the twelfth century Muslim mathematician Al-Hassar. The result is correct to 5 decimal places.

This formula is also similar in structure to the formula found on a Mesopotamian tablet from the Old Babylonian period (1900-1600 BCE):

which expresses in the sexagesimal system, and which too is accurate up to 5 decimal places (after rounding).

Indeed an early method for calculating square roots can be found in some Sutras, the method involves the recursive formula: for large values of x, which bases itself on the non-recursive identity for values of r extremely small relative to a.

### Numerals

Before the period of the Sulbasutras was at an end, the Brahmi numerals had definitely begun to appear (c. 300BCE) and the similarity with modern day numerals is clear to see. More importantly even still was the development of the concept of decimal place value.[] Certain rules given by the famous Indian grammarian Pāṇini (c. 500 BCE) add a zero suffix (a suffix with no phonemes in it) to a base to form words, and this can be said somehow to imply the concept of the mathematical zero.

### Incommensurables

It has sometimes been suggested the sutras contain knowledge of irrationality and irrational numbers.

• Parameswaran Moorthiyedath, "Sulbasutra"
• Seidenberg, A. 1983. "The Geometry of the Vedic Rituals." In The Vedic Ritual of the Fire Altar. Ed. Frits Staal. Berkeley: Asian Humanities Press.
• Sen, S.N., and A.K. Bag. 1983. The Sulbasutras. New Delhi: Indian National Science Academy.