# Vedic Sanskrit grammar

Vedic Sanskrit is the name given by modern scholarship to the oldest attested descendant of the Proto-Indo-Aryan language. Sanskrit is the language that is found in the four Vedas, in particular, the Rigveda, the oldest of them, dated to have been composed roughly over the period from 1500 to 1000 BCE. Before its standardization as Sanskrit, the Vedic language was a purely spoken language during that period used before the introduction of writing in the language.
The Vedic language has inherited from its ultimate-parent (the Proto-Indo-European language) an elaborate system of morphology, more of which has been preserved in Sanskrit as a whole than in other kindred languages such as Ancient Greek or Latin. Its grammar differs greatly from the later Classical Sanskrit in many regards, one being that this complex inherited morphology simplified over time.

## History

The language descended from the Proto-Indo-Aryan language, which entered the Indian subcontinent with the arrival of the Proto-Indo-Aryans dated to be around 1800–1500 BCE. The Vedic hymns are estimated to have been composed between 1500 and 1000 BCE, with the language of each hymn fixed at the time of its oral composition, establishing a religious canon around a literary tradition.
As the popular speech unavoidably evolved over the centuries the Vedic hymns began to be increasingly inaccessible. In order to "arrest" language change, there arose a rigorous linguistic tradition aimed at preserving the literary language, culminating in the work of Pāṇini's Aṣṭādhyayī, dated around 600–400 BCE, which marks the beginning of 'Sanskrit', referred to in contradistinction to the Vedic language as 'Classical.
Despite these efforts, by the time of Pāṇini's final definition, the language had undergone some changes, especially in grammar. The following sections will focus on these differences between the Vedic and Classical Sanskrit. Those features that were not incorporated into the Classical Language by Panini can be seen in Classical Sanskrit and related pages.

## Differences between Vedic and Classical Sanskrit

Over time, the language that would become Classical Sanskrit reduced and regularized much of the complex morphology that it had originally inherited from its parent the Proto-Indo-European language:
* Vedic used the older athematic approach to inflection far more than the classical language, which tended to replace them using thematic forms in their place.
* The three synthetic past tenses (imperfect, perfect and aorist) were still clearly distinguished semantically in Vedic.
** It is important to note that the imperfect, perfect, and aorist didn't have the values of the their English namesakes:
*** The imperfect was used as a general past tense.
*** The perfect was used like a proximal present perfect, general past, and as a present tense
*** The aorist was used like a proximal present perfect.
* A fifth mood, the subjunctive/injunctive, also existed.
* There were more than 12 ways of forming infinitives in Vedic, of which Classical Sanskrit retained only one form.
* ī-stems differentiate the devī́ and vrkī́s feminines, a difference lost in Classical Sanskrit.

## Nouns
### Basics

Declension of a noun in Sanskrit involves the interplay of two 'dimensions': 3 numbers and 8 cases, yielding a combination of 24 possible forms, although owing to syncretism of some forms, the practical number can be lower.
In addition, adjectives behave much the same way morphologically as nouns do, and can conveniently be considered together. While the same noun cannot be seen to be of more than one gender, adjectives change gender on the basis of the noun they are being applied to, along with case and number, thus giving the following variables:
| 1 | 3 numbers | singular, dual, plural |
| 2 | 3 genders | masculine, feminine, neuter |
| 3 | 8 cases | nominative, accusative, instrumental, dative, ablative, genitive, locative, vocative |

### Building blocks
#### Roots

The oldest system of declension was to affix the endings directly to the nominal root. This was an ancient feature already in decline in later Proto-Indo-European. Of the daughter languages, this system has been best preserved by Vedic Sanskrit.
Ancient noun roots in kindred languages :
| Sanskrit | Latin | PIE | Glossary |
| pā́d- | pē(d)s, ped- | *póds | foot |
| vā́c- | vōx, vōc- | *wṓkʷs | speech |
| rā́j- | rēx, rēg- | *h₃rḗǵs | king, ruler |

#### Stems

In Proto-Indo-European, a new system developed wherein an intermediary called the thematic vowel is inserted to the root before the final endings are appended: *-o- which in Sanskrit becomes -a-, producing the thematic stem.
Declension of a thematic stem is less complicated as a host of Sandhi rules apply no more, and the later stages of the Sanskrit language see an increase in the profusion of thematic nouns. Thus in classical Sanskrit, the thematic pā́da-s is more likely to be found than its athematic predecessor.

#### Cases

Sanskrit nouns are declined for eight cases:
* nominative: marks the subject of a verb.
* accusative: used for the direct object of a transitive verb.
* genitive: marks a noun as modifying another noun.
* dative: used to indicate the indirect object of a transitive verb.
* instrumental: marks the instrument or means by, or with, which the subject achieves or accomplishes an action.
* ablative: used to express motion away from something.
* locative: corresponds vaguely to the English prepositions in, on, at, and by.
* vocative: used for a word that identifies an addressee.

#### Endings

The basic scheme of suffixation is given in the table below and applies to many nouns and adjectives.
However, according to the gender and the final consonant or vowel of the uninflected word-stem, there are internal sandhi rules dictating the form of the inflected word. Furthermore, these are standalone forms, which when used in actual phrases are subject to external sandhi.
| | Singular | Singular | Dual | Dual | Plural | Plural |
| | Masc./Fem | Neu. | Masc./Fem | Neu. | Masc./Fem | Neu. |
| Nominative | -s | -Ø | -au | -ī | -as | -i |
| Accusative | -am | -Ø | -au | -ī | -as | -i |
| Instrumental | -ā | -ā | -bhyām | -bhyām | -bhis | -bhis |
| Dative | -e | -e | -bhyām | -bhyām | -bhyas | -bhyas |
| Ablative | -as | -as | | -bhyām | -bhyām | -bhyas | -bhyas |
| Genitive | -as | -as | -os | -os | -ām | -ām |
| Locative | -i | -i | -os | -os | -su | -su |

### Root Declension

This is the old athematic method of Proto-Indo-European declension still in active use in Vedic.
Consonant-stem singular :
| Case | Std Ending | pád- | vā́c- | rā́j- | path- | mā́s- | víś- |
| Nominative, Vocative | -s | pā́t | vā́k | rā́ṭ | pat | mā́s | víṭ |
| Accusative | -am | pā́d·am | vā́c·am | rā́j·am | path·ám | mā́s·am | víś·am |
| Instrumental | -ā | pad·ā́ | vāc·ā́ | ráj·ā | path·ā́ | mā́s·ā | viś·ā́ |
| Dative | -e | pad·é | vāc·é | rā́j·e | path·é | mā́s·e | viś·é |
| Ablative, Genitive | -as | pad·ás | vāc·ás | rā́j·as | path·ás | mā́s·as | viś·ás |
| Locative | -i | pad·í | vāc·í | rā́j·i | path·í | mā́s·i | viś·í |
Consonant-stem dual :
| Case | Std Ending | pád- | vā́c- | rā́j- | mā́s- | vís- |
| Nominative Accusative Vocative | -au | pā́d·au | vā́c·au | rā́j·au | mā́s·ā | viś·ā |
| Instrumental Dative Ablative | -bhyām | pad·bhyā́m | vāg·bhyā́m | rā́g·bhyām | mā́d·bhyām | viḍ·bhyā́m |
| Genitive Locative | -os | pad·ós | vāc·ós | rā́j·os | mā́s·os | viś·ós |
Consonant-stem plural :
| Case | Std Ending | pád- | vā́c- | rā́j- | mā́s- | víś- |
| Nominative, Vocative | -as | pā́d·as | vā́c·as | rā́j·as | mā́s·as | víś·as |
| Accusative | -as | pad·ás | vāc·ás | rā́j·as | mās·ás | víś·as |
| Instrumental | -bhis | pad·bhís | vāg·bhís | rā́g·bhis | mād·bhís | viḍ·bhís |
| Dative Ablative | -bhyas | pad·bhyás | vāg·bhyás | rā́g·bhyas | mād·bhyás | viḍ·bhyás |
| Genitive | -ām | pad·ā́m | vāc·ā́m | rā́j·ām | mās·ā́m | viś·ā́m |
| Locative | -su | pat·sú | vāk·ṣú | rā́k·ṣu | mās·su | vik·ṣú |

### Root ī-stem, vṛkī́s and devī́- feminines

A group of 80 polysyllabic ī-stems, most of which are feminine, are accented on the final vowel. Known as vṛkī́s feminines, these exhibit different behavior during declension compared to the later language, such as the nominative singular retaining the -s ending, and in the accent staying on the -i-.
Further, a number of largely feminine ī-stems, known as the devī́-feminines, also exhibit some differences compared to the later language.
These, along with root stems in -ī, can be seen below:
Consonant-stem singular :
| Case | Std Ending | Treatment | Ending | dhī́- | rathī́- | devī́- |
| Nominative, Vocative | -s | | -s | dhī́·s | rathī́·s | devī́ |
| Accusative | -am | short(i) + y + -am | -iyam | dhíy·am | rathí·am | devī́·m |
| Instrumental | -ā | short(i) + y + ā | -iyā | dhiy·ā́ | rathí·ā | devy·ā́ |
| Dative | -e | (y) | -ye | dhiy·é | rathí·e | devy·aí |
| Ablative, Genitive | -as | (y) | -yas | dhiy·ás | rathí·ás | devy·ā́s |
| Locative | -i | – | | | | devy·ā́m |
Consonant-stem dual :
| Case | Std Ending | Treatment | Ending | dhī- | rathī́- | devī́- |
| Nominative Accusative Vocative | -au | -au -ā | -ā | dhi·yā́ | rathí·ā | devī́ |
| Instrumental Dative Ablative | -bhyām | – | -bhyām | dhī·bhyā́m | rathī́·bhyām | deví·bhyām |
| Genitive Locative | -os | – | -os | dhiy·ós | rathí·os | devy·ós |
Consonant-stem plural :
| Case | Std Ending | Treatment | Ending | dhī- | rathī́- | devī́- |
| Nominative, Vocative | -as | (y) | -as | dhíy·as | rathí·as | devī́·s |
| Accusative | -as | (y) | -s | dhíy·as | rathí·s | devī́·s |
| Instrumental | -bhis | – | -bhis | dhī·bhís | rathī́·bhs | devī́·bhis |
| Dative Ablative | -bhyas | – | -bhyas | | rathī́·bhyas | devī́·bhyas |
| Genitive | -ām | (n) | -nām | dhī·nā́m | rathī́·nā́m | devī́·nām |
| Locative | -su | – | -su | dhī·sú | rathī́·ṣu | devī́·ṣu |

## Compounds

Vedic Sanskrit inherits from the Proto-Indo-European period the ability to combine two or more words into a single one treated as a simple word with regard to accent, inflexion and construction.
The Vedic language, both in the frequency and the length of the compounds is very similar to the Greek of Homer. In the Ṛg-veda and the Atharvaveda, no compounds of more than 3 independent members are found, and even compounds of 3 members are rare: pūrva·kāma·kṛ́tvan, "fulfilling former wishes." In the later language, both the frequency and the number of words used to form compounds greatly increases.
The main types of compound-forming were the co-ordinative, determinative, possessive and the adverbial.

## Numerals

See Sanskrit Numerals

## Verbs
### Basics

Verb conjugation in Sanskrit involves the interplay of number, person, voice, mood and tense, with the following variables:
| 1 | 3 numbers | singular, dual, plural |
| 2 | 3 persons | first, second, third |
| 3 | 3 voices | active, middle, passive |
| 4 | 5 moods | indicative, optative, imperative, conditional, subjunctive/injunctive |
| 5 | 6 tenses | present, imperfect, perfect, aorist, future, periphrastic future |
Further, participles are considered part of the verbal systems although they are not verbs themselves, and as with other Sanskrit nouns, they can be declined across seven or eight cases, for three genders and three numbers.
As many as a dozen types of infinitives can be found in Vedic, although only a couple of types are frequent.

### Building blocks
#### Stem formation

The starting point for conjugation is the root. As a first step, the root may be subject to treatment to form a stem, to which personal endings are suffixed. The types of possible treatment are:
* Suffixion: the theme vowel -a- may be appended, or one of several other suffixes -ya-, -ó- / -nó-, -nā-, and -aya-.
* Infixion: A nasal infix (n, ñ, ṇ, ṅ) may be inserted within the root, which when accented is -ná-.
* The root may undergo reduplication.
* In some tenses or moods, the augment á- may be prefixed.
* In many cases, the accent may vary between the root and the ending, accompanied by corresponding changes in the gradation of the root vowel.
If V is the vowel of the zero grade, the guṇa-grade vowel is traditionally thought of as a + V, and the vṛddhi-grade vowel as ā + V.
Grades :
| Vowel (zero) grade | a, – | i, ī | u, ū | ṛ, ṝ | ḷ |
| Short diphthong (Guṇa) grade | a, ai | ai | au | ar | al |
| Long diphthong (Vṛddhi) grade | ā, āi | āi | āu | ār | āl |

#### Personal endings

Conjugational endings in Vedic convey person, number, and voice. Different forms of the endings are used depending on what tense stem and mood they are attached to. Verb stems or the endings themselves may be changed or obscured by sandhi.
The primary, secondary, perfect and imperative endings are essentially the same as seen in Classic Sanskrit. The subjunctive endings can be seen below:
| | Person | Active | Active | Active | Middle | Middle | Middle |
| | Person | Singular | Dual | Plural | Singular | Dual | Plural |
| Subjunctive | 1. | -ā, -āni | -vá | -má | -āi | -váhāi | -máhāi, -máhai |
| Subjunctive | 2. | -si, -s | -thás | -thá | -sāi, -sái | -ā́ithai | -dhvā́i |
| Subjunctive | 3. | -ti, -t | -tás | -(á)n | -tāi, -tái | -ā́itai | -ántai, -ánta |
Primary endings are used with present indicative and future forms. Secondary endings are used with the imperfect, conditional, aorist, and optative. Perfect, imperative and subjunctive endings are used with the perfect, imperative and subjunctive respectively. There are additional 'a' inserted between the root and the ending, often causing an elongation with a root class' other suffux (bhū (bhav) + a + a + ti = bhavāti).

### Conjugation
#### Present system

The present system includes the present tense, the imperfect, and the optative, imperative and subjunctive moods, and well as rare occurrences of injunctive. The present system conjugations are generally homogeneous with that Classical Sanskrit, see there.

#### Perfect system

The perfect is used mainly in the indicative. The stem is formed with reduplication as with the present system.
The perfect system also produces separate "strong" and "weak" forms of the verb — the strong form is used with the singular active, and the weak form with the rest.
The perfect in the Sanskrit can be in form of the simple perfect and the periphrastic perfect.
The Simple Perfect can form an augmented Pluperfect, and beyond the indicative mood it can also form Perfect Subjunctives, Optatives, and Imperatives. All of these are lost in Classical Sanskrit, which forms only indicatives.
The simple perfect is the most common form and can be made from most of the roots. The simple perfect stem is made by reduplication and if necessary by stem lengthening. The conjugated form takes special perfect endings. The periphrastic perfect is used with causative, desiderative, denominative and roots with prosodic long anlauted vowel (except a/ā). Only few roots can form both the simple and the periphrastic perfect. These are bhṛ 'carry', uṣ 'burn', vid 'know', bhi 'to be afraid', hu 'sacrifice'.

#### Aorist system

The aorist system includes aorist proper (with a proximal perfect past indicative meaning, e.g. akārṣīḥ 'you have done' or 'you did (just now)') and some of the forms of the ancient injunctive (used almost exclusively with mā in prohibitions, e.g. mā bhūs 'don't be'). The principal distinction of the two is presence/absence of an augment – a- prefixed to the stem. The Aorist also had subjunctive, imperative, and optative forms. Of these, only the optative was preserved in Classical, forming the benedictive (also called the precative) mood.
The aorist system stem actually has three different formations: the simple aorist, the reduplicating aorist (semantically related to the causative verb), and the sibilant aorist. The simple aorist is taken directly from the root stem (e.g. bhū-: a-bhū-t 'he was'). The reduplicating aorist involves reduplication as well as vowel reduction of the stem. The sibilant aorist is formed with the suffixation of s to the stem. The sibilant aorist by itself has four formations:
* athematic s-aorist
* athematic iṣ-aorist
* athematic siṣ-aorist
* thematic s-aorist

#### Future system

The s-future is formed with the inffixion of -syá- or -iṣyá- before the normal present endings and guṇa. It is generally the more common, with the indication of a simple future. The periphrastic future is formed with the suffix of tṛ́ added directly to the root with guṇa. In the third person, it is conjugated like a noun ending in ṛ; the other forms use the nominal form periphrasticly and add the corresponding as forms. It is used to refer to a task that will be completed at a specific time in the future.
The s-future also contains a preterite formation using the same endings as the imperfect, while also using the -syá- or -iṣyá- infix. This future preterite is used for conditional sentences and clauses. Other than this, Vedic had a small scattering of imperative and optative future forms. However, they were completely phased out as the language continued to evolve.

### Examples of conjugation

Comprehensive conjugation tables can be found in the Classical Sanskrit page linked above. Some notes on elements specific to Vedic Sanskrit below:

#### bhū – 'to be'

The optative takes secondary endings. -ya- is added to the stem both in the active and the middle. In some forms the cluster ya is dropped out.
Optative :
| Person | Active | Active | Active | Middle | Middle | Middle |
| Person | Singular | Dual | Plural | Singular | Dual | Plural |
| 1. | bhávaiyām | bhávai(yā)va | bhávai(yā)ma | bhávaiya(m) | bhávai(yā)vahi | bhávai(yā)mahi |
| 2. | bhávai(ya)s | bhávai(ya)tam | bhávai(ya)ta | bhávai(ya)thās | bhávaiyāthām | bhávai(ya)dhvam |
| 3. | bhávai(yā)t | bhávai(ya)tām | bhávaiyus | bhávai(ya)ta | bhávaiyātām | bhávairan |
The subjunctive takes subjunctive endings.
Subjunctive :
| Person | Active | Active | Active | Middle | Middle | Middle |
| Person | Singular | Dual | Plural | Singular | Dual | Plural |
| 1. | bhávā(ni) | bhávāva | bhávāma | bháv(ām)āi | bhávāvahāi | bhávāmahāi |
| 2. | bhávās(i) | bhávāthas | bhávātha | bhávāsai / -āi | bhávāithai | bhávādhvāi |
| 3. | bhávāt(i) | bhávātas | bhávān | bhávātai / -āi | bhávāitai | bhávāntāi / bhávanta |
The following stems can take all endings.
Other stems :
| Passive | Causative | Desiderative | Intensive |
| bhūya- | bhāvaya- | bubhūṣa- | baubhavī- |

#### as – 'to be'

Present, Indicative :
| Person | Active | Active | Active |
| Person | Singular | Dual | Plural |
| 1. | ásmi | svás | smás |
| 2. | ási | sthás | sthá |
| 3. | ásti | stás | sánti |
Imperfect, Indicative :
| Person | Active | Active | Active |
| Person | Singular | Dual | Plural |
| 1. | ā́sam | ā́sva | ā́sma |
| 2. | ā́sīs | ā́stam | ā́sta |
| 3. | ā́sīt | ā́stām | ā́san |

## Infinitives

The most notable difference between Vedic and Classical Sanskrit is in the area of the infinitive. Against the single type of infinitive in the later language, there exist, in Vedic, several forms, all of them being old cases of verbal nouns.
The following main types of infinitive can be identified in Vedic, noted in descending order of frequency:
* Dative
* Accusative
* Ablative-genitive
* Locative

### Dative infinitive

The ending used to form this adjective is -e. The ending may be directly added to the root, whether of a simple or compounded verb, or additional elements (-as-, -i, -ti, -tu, -tavā, -tyā, -dhyā, -man, -van) may be interspersed in different cases of roots.
* Plain
* √bhū- bhuv·é, -bhv·e
* √hi-, pra·hy·è
* drś·é
* bhuj·é
* -grábh·e
* -vā́c·e
* pṛ́ch·e
* -as- forms
* cákṣ·as·e
* car·ás·e
* bhīy·ás·e
* puṣy·ás·e
* śriy·ás·e
* -i- forms
* dṛś·áy·e
* yudh·áy·e
* gṛh·ay·e
* cit·áy·e
* -ti- forms
* iṣ·ṭáy·e
* pī·táy·e
* -tu- forms
* át·tav·e
* é·tav·e
* kár·tav·e
* gán·tav·e
* pā́·tav·e
* bhár·tav·e
* vák·tav·e
* jīv·ā́·tav·e
* -tu- forms
* gán·tavaí
* pā́·tavaí
* mán·tavaí
* -man- forms
* dā́·man·e
* vid·mań·e
* -van- forms
* dā·ván·e
* dhū́r·vaṇ·e

### Accusative infinitive

The ending used here is either -am affixed to the weak form of a root, or -tum just as in the Latin supine. The latter form is the only one that survives in Classical Sanskrit.
* -am forms
* sam·pṛ́ch·am
* ā·rábh·am
* śúbh·am
* √tṝ – pra·tír·am
* prati·dhā́·m
* -tum forms
* dā́·tum
* práṣ·ṭum
* prá·bhar·tum
* át·tum
* dráṣ·ṭum

### Ablative-genitive infinitive

This functions more as a verbal noun than a genuine infinitive. There are again two ways of forming this: -as or -tos.
* -as forms
* ā·tṛ́d·as
* ava·pád·as
* abhi·śríṣ·as
* ati·skád·as
* -tos forms
* gán·tos
* ján·i·tos
* ní·dhā·tos
* śár·ī·tos

### Locative infinitive

This is very rare, even in the oldest language. Between the root and the locative ending -i, -tar- or -san- may be inserted.
* sam·cákṣ·i
* drś·í
* budh·í
* dhar·tár·i
* ne·ṣáṇ·i
* par·ṣáṇ·i

## Syntax

Because of Vedic's complex declension system the word order is free (with tendency toward SOV).

## Sample

Sample Vedic Sanskrit text with accentuation etc.: