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 firealtar 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 firealtar shapes were associated with unique gifts from the Gods. For instance, "he who desires heaven is to construct a firealtar in the form of a falcon"; "a firealtar 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 firealtar 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
This section does not cite any references (sources). (May 2015) 
 Apastamba
 Baudhayana
 Manava
 Katyayana
 (somewhat similar to Manava text)
 Varaha (in manuscript)
 (in manuscript)
 (similar to Apastamba Shulba Sutras)
Mathematics
Pythagorean theorem
The sutras contain discussion and nonaxiomatic 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
Part of a series of articles on the 
mathematical constant π 

Uses 

Properties 

Value 

People 

History 

In culture 
Related topics 

The Baudhayana Shulba sutra gives the construction of geometric shapes such as squares and rectangles.^{} It also gives, sometimes approximate, geometric areapreserving 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 onethird [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 twentynine parts is reduced by twentyeight 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 thirtyfourth 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 AlHassar.^{} 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 (19001600 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 nonrecursive 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.^{}
Further reading
 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.
See also
References
 Plofker, Kim (2007). "Mathematics in India". The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook. Princeton University Press. ISBN 9780691114859.
 Boyer, Carl B. (1991). A History of Mathematics (Second ed.). John Wiley & Sons, Inc. ISBN 0471543977.
 Cooke, Roger (1997). The History of Mathematics: A Brief Course. WileyInterscience. ISBN 0471180823.
 Cooke, Roger (2005), The History of Mathematics: A Brief Course, New York: WileyInterscience, 632 pages, ISBN 0471444596
 Staal, Frits (1999), "Greek and Vedic Geometry" (PDF), Journal of Indian Philosophy (Kluwer Academic Publishers) 27: 105–127