The history of science and technology in the Indian Subcontinent begins with prehistoric human activity the Indus Valley Civilization to early states and empires. Following independence science and technology in the Republic of India has included automobile engineering, information technology, communications as well as space, polar, and nuclear sciences.
By 5500 BCE a number of sites similar to Mehrgarh had appeared, forming the basis of later chalcolithic cultures. The inhabitants of these sites maintained trading relations with Near East and Central Asia.
This was developed in the Indus Valley Civilization by around 4500 BCE. The size and prosperity of the Indus civilization grew as a result of this innovation, which eventually led to more planned settlements making use of drainage and sewerage. Sophisticated irrigation and water storage systems were developed by the Indus Valley Civilization, including artificial reservoirs at Girnar dated to 3000 BCE, and an early canal irrigation system from c. 2600 BCE.Cotton was cultivated in the region by the 5th-4th millennia BCE.Sugarcane was originally from tropical South and Southeast Asia. Different species likely originated in different locations with S. barberi originating in India, and S. edule and S. officinarum coming from New Guinea.
The inhabitants of the Indus valley developed a system of standardization, using weights and measures, evident by the excavations made at the Indus valley sites. This technical standardization enabled gauging devices to be effectively used in angular measurement and measurement for construction.Calibration was also found in measuring devices along with multiple subdivisions in case of some devices. One of the earliest known docks is at Lothal (2400 BCE), located away from the main current to avoid deposition of silt. Modern oceanographers have observed that the Harappans must have possessed knowledge relating to tides in order to build such a dock on the ever-shifting course of the Sabarmati, as well as exemplary hydrography and maritime engineering.
Excavations at Balakot (c. 2500-1900 BCE), present day Pakistan, have yielded evidence of an early furnace. The furnace was most likely used for the manufacturing of ceramic objects.Ovens, dating back to the civilization's mature phase (c. 2500-1900 BCE), were also excavated at Balakot. The Kalibangan archeological site further yields evidence of potshaped hearths, which at one site have been found both on ground and underground.Kilns with fire and kiln chambers have also been found at the Kalibangan site.
Based on archaeological and textual evidence, Joseph E. Schwartzberg (2008)--a University of Minnesota professor emeritus of geography--traces the origins of Indian cartography to the Indus Valley Civilization (c. 2500-1900 BCE). The use of large scale constructional plans, cosmological drawings, and cartographic material was known in India with some regularity since the Vedic period (2nd - 1st millennium BCE). Climatic conditions were responsible for the destruction of most of the evidence, however, a number of excavated surveying instruments and measuring rods have yielded convincing evidence of early cartographic activity. Schwartzberg (2008)--on the subject of surviving maps--further holds that: 'Though not numerous, a number of map-like graffiti appear among the thousands of Stone Age Indian cave paintings; and at least one complex Mesolithic diagram is believed to be a representation of the cosmos.'
Archeological evidence of an animal-drawn plough dates back to 2500 BCE in the Indus Valley Civilization. The earliest available swords of copper discovered from the Harappan sites date back to 2300 BCE. Swords have been recovered in archaeological findings throughout the Ganges-Jamuna Doab region of India, consisting of bronze but more commonly copper.
The religious texts of the Vedic Period provide evidence for the use of large numbers. By the time of the last Veda, the Yajurvedasa?hit? (1200-900 BCE), numbers as high as were being included in the texts. For example, the mantra (sacrificial formula) at the end of the annahoma ("food-oblation rite") performed during the a?vamedha ("an allegory for a horse sacrifice"), and uttered just before-, during-, and just after sunrise, invokes powers of ten from a hundred to a trillion. The Satapatha Brahmana (9th century BCE) contains rules for ritual geometric constructions that are similar to the Sulba Sutras.
Baudhayana (c. 8th century BCE) composed the Baudhayana Sulba Sutra, which contains examples of simple Pythagorean triples, such as: , , , , and  as well as a statement of the Pythagorean theorem for the sides of a square: "The rope which is stretched across the diagonal of a square produces an area double the size of the original square." It also contains the general statement of the Pythagorean theorem (for the sides of a rectangle): "The rope stretched along the length of the diagonal of a rectangle makes an area which the vertical and horizontal sides make together." Baudhayana gives a formula for the square root of two. Mesopotamian influence at this stage is considered likely.
The earliest Indian astronomical text--named Ved?nga Jyoti?a-- attributed to Lagadha, is considered one of the oldest astronomical texts, dating from 1400-1200 BCE (with the extant form possibly from 700-600 BCE), it details several astronomical attributes generally applied for timing social and religious events. It also details astronomical calculations, calendrical studies, and establishes rules for empirical observation. Since the Ved?nga Jyoti?a is a religious text, it has connections with Indian astrology and details several important aspects of the time and seasons, including lunar months, solar months, and their adjustment by a lunar leap month of Adhikam?sa.Ritus and Yugas are also described. Tripathi (2008) holds that "Twenty-seven constellations, eclipses, seven planets, and twelve signs of the zodiac were also known at that time."
The Egyptian Papyrus of Kahun (1900 BCE) and literature of the Vedic period in India offer early records of veterinary medicine. Kearns & Nash (2008) state that mention of leprosy is described in the medical treatise Sushruta Samhita (6th century BCE). The Sushruta Samhita an Ayurvedic text contains 184 chapters and description of 1120 illnesses, 700 medicinal plants, a detailed study on Anatomy, 64 preparations from mineral sources and 57 preparations based on animal sources. However, The Oxford Illustrated Companion to Medicine holds that the mention of leprosy, as well as ritualistic cures for it, were described in the Hindu religious book Atharva-veda, written in 1500-1200 BCE.
Cataract surgery was known to the physician Sushruta (6th century BCE). Traditional cataract surgery was performed with a special tool called the Jabamukhi Salaka, a curved needle used to loosen the lens and push the cataract out of the field of vision. The eye would later be soaked with warm butter and then bandaged. Though this method was successful, Susruta cautioned that it should only be used when necessary. The removal of cataract by surgery was also introduced into China from India.
During the 5th century BCE, the scholar P??ini had made several discoveries in the fields of phonetics, phonology, and morphology.P??ini's morphological analysis remained more advanced than any equivalent Western theory until the mid-20th century.Metal currency was minted in India before the 5th century BCE, with coinage (400 BCE--100 CE) being made of silver and copper, bearing animal and plant symbols on them.
Zinc mines of Zawar, near Udaipur, Rajasthan, were active during 400 BCE. Diverse specimens of swords have been discovered in Fatehgarh, where there are several varieties of hilt. These swords have been variously dated to periods between 1700-1400 BCE, but were probably used more extensively during the opening centuries of the 1st millennium BCE. Archaeological sites in such as Malhar, Dadupur, Raja Nala Ka Tila and Lahuradewa in present-day Uttar Pradesh show iron implements from the period between 1800 BCE and 1200 BCE. Early iron objects found in India can be dated to 1400 BCE by employing the method of radio carbon dating. Some scholars believe that by the early 13th century BCE iron smelting was practiced on a bigger scale in India, suggesting that the date of the technology's inception may be placed earlier. In Southern India (present day Mysore) iron appeared as early as 11th to 12th centuries BCE. These developments were too early for any significant close contact with the northwest of the country.
The Arthashastra of Kautilya mentions the construction of dams and bridges. The use of suspension bridges using plaited bamboo and iron chain was visible by about the 4th century. The stupa, the precursor of the pagoda and torii, was constructed by the 3rd century BCE. Rock-cut step wells in the region date from 200-400 CE. Subsequently, the construction of wells at Dhank (550-625 CE) and stepped ponds at Bhinmal (850-950 CE) took place.
During the 1st millennium BCE, the Vaisheshika school of atomism was founded. The most important proponent of this school was Kanada, an Indian philosopher who lived around 200 BCE. The school proposed that atoms are indivisible and eternal, can neither be created nor destroyed, and that each one possesses its own distinct vi?e?a (individuality). It was further elaborated on by the Buddhist school of atomism, of which the philosophers Dharmakirti and Dign?ga in the 7th century CE were the most important proponents. They considered atoms to be point-sized, durationless, and made of energy.
By the beginning of the Common Era glass was being used for ornaments and casing in the region. Contact with the Greco-Roman world added newer techniques, and local artisans learnt methods of glass molding, decorating and coloring by the early centuries of the Common Era. The Satavahana period further reveals short cylinders of composite glass, including those displaying a lemon yellow matrix covered with green glass.Wootz originated in the region before the beginning of the common era. Wootz was exported and traded throughout Europe, China, the Arab world, and became particularly famous in the Middle East, where it became known as Damascus steel. Archaeological evidence suggests that manufacturing process for Wootz was also in existence in South India before the Christian era.
Evidence for using bow-instruments for carding comes from India (2nd century CE). The mining of diamonds and its early use as gemstones originated in India.Golconda served as an important early center for diamond mining and processing. Diamonds were then exported to other parts of the world. Early reference to diamonds comes from Sanskrit texts. The Arthashastra also mentions diamond trade in the region. The Iron pillar of Delhi was erected at the times of Chandragupta II Vikramaditya (375-413), which stood without rusting for around 2 millennium, which the modern science can't explain why. The Rasaratna Samuccaya (800) explains the existence of two types of ores for zinc metal, one of which is ideal for metal extraction while the other is used for medicinal purpose.
The origins of the spinning wheel are unclear but India is one of the probable places of its origin. The device certainly reached Europe from India by the 14th century. The cotton gin was invented in India as a mechanical device known as charkhi, the "wooden-worm-worked roller". This mechanical device was, in some parts of the region, driven by water power. The Ajanta caves yield evidence of a single roller cotton gin in use by the 5th century. This cotton gin was used until further innovations were made in form of foot powered gins. Chinese documents confirm at least two missions to India, initiated in 647, for obtaining technology for sugar-refining. Each mission returned with different results on refining sugar.Pingala (300-200 BCE) was a musical theorist who authored a Sanskrit treatise on prosody. There is evidence that in his work on the enumeration of syllabic combinations, Pingala stumbled upon both the Pascal triangle and Binomial coefficients, although he did not have knowledge of the Binomial theorem itself. A description of binary numbers is also found in the works of Pingala. The Indians also developed the use of the law of signs in multiplication. Negative numbers and the subtrahend had been used in East Asia since the 2nd century BCE, and Indian mathematicians were aware of negative numbers by the 7th century CE, and their role in mathematical problems of debt was understood. Although the Indians were not the first to use the subtrahend, they were the first to establish the "law of signs" with regards to the multiplication of positive and negative numbers, which did not appear in East Asian texts until 1299. Mostly consistent and correct rules for working with negative numbers were formulated, and the diffusion of these rules led the Arab intermediaries to pass it on to Europe.
A decimal number system using hieroglyphics dates back to 3000 BC in Egypt, and was later in use in ancient India where the modern numeration system was developed. By the 9th century CE, the Hindu-Arabic numeral system was transmitted from India through the Middle East and to the rest of the world. The concept of 0 as a number, and not merely a symbol for separation is attributed to India. In India, practical calculations were carried out using zero, which was treated like any other number by the 9th century CE, even in case of division.Brahmagupta (598-668) was able to find (integral) solutions of Pell's equation. Conceptual design for a perpetual motion machine by Bhaskara II dates to 1150. He described a wheel that he claimed would run forever.
The trigonometric functions of sine and versine, from which it was trivial to derive the cosine, were used by the mathematician, Aryabhata, in the late 5th century. The calculus theorem now known as "Rolle's theorem" was stated by mathematician, Bh?skara II, in the 12th century.
Indigo was used as a dye in India, which was also a major center for its production and processing. The Indigofera tinctoria variety of Indigo was domesticated in India. Indigo, used as a dye, made its way to the Greeks and the Romans via various trade routes, and was valued as a luxury product. The cashmere wool fiber, also known as pashm or pashmina, was used in the handmade shawls of Kashmir. The woolen shawls from Kashmir region find written mention between 3rd century BCE and the 11th century CE. Crystallized sugar was discovered by the time of the Gupta dynasty, and the earliest reference to candied sugar comes from India.Jute was also cultivated in India.Muslin was named after the city where Europeans first encountered it, Mosul, in what is now Iraq, but the fabric actually originated from Dhaka in what is now Bangladesh. In the 9th century, an Arab merchant named Sulaiman makes note of the material's origin in Bengal (known as Ruhml in Arabic).
European scholar Francesco I reproduced a number of Indian maps in his magnum opus La Cartografia Antica dell India. Out of these maps, two have been reproduced using a manuscript of Lokaprakasa, originally compiled by the polymath Ksemendra (Kashmir, 11th century CE), as a source. The other manuscript, used as a source by Francesco I, is titled Samgraha'.
Madhava of Sangamagrama (c. 1340 - 1425) and his Kerala school of astronomy and mathematics developed and founded mathematical analysis. The infinite series for ? was stated by him, and he made use of the series expansion of to obtain an infinite series expression, now known as the Madhava-Gregory series, for . Their rational approximation of the error for the finite sum of their series are of particular interest. They manipulated the error term to derive a faster converging series for . They used the improved series to derive a rational expression, for correct up to nine decimal places, i.e. (of 3.1415926535897...). The development of the series expansions for trigonometric functions (sine, cosine, and arc tangent) was carried out by mathematicians of the Kerala School in the 15th century CE. Their work, completed two centuries before the invention of calculus in Europe, provided what is now considered the first example of a power series (apart from geometric series).
Sh?r Sh?h of northern India issued silver currency bearing Islamic motifs, later imitated by the Mughal empire. The Chinese merchant Ma Huan (1413-51) noted that gold coins, known as fanam, were issued in Cochin and weighed a total of one fen and one li according to the Chinese standards. They were of fine quality and could be exchanged in China for 15 silver coins of four-li weight each.
In 1500, Nilakantha Somayaji of the Kerala school of astronomy and mathematics, in his Tantrasangraha, revised Aryabhata's elliptical model for the planets Mercury and Venus. His equation of the centre for these planets remained the most accurate until the time of Johannes Kepler in the 17th century.
The seamless celestial globe was invented in Kashmir by Ali Kashmiri ibn Luqman in 998 AH (1589-90 CE), and twenty other such globes were later produced in Lahore and Kashmir during the Mughal Empire. Before they were rediscovered in the 1980s, it was believed by modern metallurgists to be technically impossible to produce metal globes without any seams, even with modern technology. These Mughal metallurgists pioneered the method of lost-wax casting in order to produce these globes.
Gunpowder and gunpowder weapons were transmitted to India through the Mongol invasions of India. The Mongols were defeated by Alauddin Khilji of the Delhi Sultanate, and some of the Mongol soldiers remained in northern India after their conversion to Islam. It was written in the Tarikh-i Firishta (1606-1607) that the envoy of the Mongol ruler Hulagu Khan was presented with a pyrotechnics display upon his arrival in Delhi in 1258 CE. As a part of an embassy to India by Timurid leader Shah Rukh (1405-1447), 'Abd al-Razzaq mentioned naphtha-throwers mounted on elephants and a variety of pyrotechnics put on display. Firearms known as top-o-tufak also existed in the Vijayanagara Empire by as early as 1366 CE. From then on the employment of gunpowder warfare in the region was prevalent, with events such as the siege of Belgaum in 1473 CE by the Sultan Muhammad Shah Bahmani.
In A History of Greek Fire and Gunpowder, James Riddick Partington describes the gunpowder warfare of 16th and 17th century Mughal India, and writes that "Indian war rockets were formidable weapons before such rockets were used in Europe. They had bamboo rods, a rocket-body lashed to the rod, and iron points. They were directed at the target and fired by lighting the fuse, but the trajectory was rather erratic... The use of mines and counter-mines with explosive charges of gunpowder is mentioned for the times of Akbar and Jah?ngir."
By the 16th century, Indians were manufacturing a diverse variety of firearms; large guns in particular, became visible in Tanjore, Dacca, Bijapur and Murshidabad. Guns made of bronze were recovered from Calicut (1504) and Diu (1533).Gujar?t supplied Europe saltpeter for use in gunpowder warfare during the 17th century.Bengal and M?lwa participated in saltpeter production. The Dutch, French, Portuguese, and English used Chhapra as a center of saltpeter refining.
The construction of water works and aspects of water technology in India is described in Arabic and Persian works. During medieval times, the diffusion of Indian and Persian irrigation technologies gave rise to an advanced irrigation system which bought about economic growth and also helped in the growth of material culture. The founder of the cashmere wool industry is traditionally held to be the 15th-century ruler of Kashmir, Zayn-ul-Abidin, who introduced weavers from Central Asia.
The scholar Sadiq Isfahani of Jaunpur compiled an atlas of the parts of the world which he held to be 'suitable for human life'. The 32 sheet atlas--with maps oriented towards the south as was the case with Islamic works of the era--is part of a larger scholarly work compiled by Isfahani during 1647 CE. According to Joseph E. Schwartzberg (2008): 'The largest known Indian map, depicting the former Rajput capital at Amber in remarkable house-by-house detail, measures 661 × 645 cm. (260 × 254 in., or approximately 22 × 21 ft).'
Early volumes of the Encyclopædia Britannica described cartographic charts made by the seafaring Dravidian people. In Encyclopædia Britannica (2008), Stephen Oliver Fought & John F. Guilmartin, Jr. describe the gunpowder technology in 18th-century Mysore:
Hyder Ali, prince of Mysore, developed war rockets with an important change: the use of metal cylinders to contain the combustion powder. Although the hammered soft iron he used was crude, the bursting strength of the container of black powder was much higher than the earlier paper construction. Thus a greater internal pressure was possible, with a resultant greater thrust of the propulsive jet. The rocket body was lashed with leather thongs to a long bamboo stick. Range was perhaps up to three-quarters of a mile (more than a kilometre). Although individually these rockets were not accurate, dispersion error became less important when large numbers were fired rapidly in mass attacks. They were particularly effective against cavalry and were hurled into the air, after lighting, or skimmed along the hard dry ground. Hyder Ali's son, Tippu Sultan, continued to develop and expand the use of rocket weapons, reportedly increasing the number of rocket troops from 1,200 to a corps of 5,000. In battles at Seringapatam in 1792 and 1799 these rockets were used with considerable effect against the British.
By the end of the 18th century the postal system in the region had reached high levels of efficiency. According to Thomas Broughton, the Maharaja of Jodhpur sent daily offerings of fresh flowers from his capital to Nathadvara (320 km) and they arrived in time for the first religious Darshan at sunrise. Later this system underwent modernization with the establishment of the British Raj. The Post Office Act XVII of 1837 enabled the Governor-General of India to convey messages by post within the territories of the East India Company. Mail was available to some officials without charge, which became a controversial privilege as the years passed. The Indian Post Office service was established on October 1, 1837. The British also constructed a vast railway network in the region for both strategic and commercial reasons.
The British education system, aimed at producing able civil and administrative services candidates, exposed a number of Indians to foreign institutions.Sir Jagadis Chandra Bose (1858-1937), Prafulla Chandra Ray (1861-1944), Satyendra Nath Bose (1894-1974), Meghnad Saha (1893-1956), P. C. Mahalanobis (1893-1972), Sir C. V. Raman (1888-1970), Subrahmanyan Chandrasekhar (1910-1995), Homi Bhabha (1909-1966), Srinivasa Ramanujan (1887-1920), Vikram Sarabhai (1919-1971), Har Gobind Khorana (1922-2011), Harish Chandra (1923-1983), and Abdus Salam (1926-1996) were among the notable scholars of this period.
Extensive interaction between colonial and native sciences was seen during most of the colonial era. Western science came to be associated with the requirements of nation building rather than being viewed entirely as a colonial entity, especially as it continued to fuel necessities from agriculture to commerce. Scientists from India also appeared throughout Europe. By the time of India's independence colonial science had assumed importance within the westernized intelligentsia and establishment.