Subject-verb agreement, also called concord, is the rule by which the person and number of the subject decide the person and number of the verb. We say 'She walks to college', not 'She walk', and 'You are late', not 'You is late'. Person distinguishes the speaker (I, we), the person addressed (you) and everyone or everything else (he, she, it, they, and noun phrases such as my neighbour). Number distinguishes singular from plural.
Modern English verbs show rather little agreement. Most verbs change only in the present tense with a third person singular subject, adding -s or -es: 'My neighbour grows vegetables', but 'My neighbours grow vegetables'. The verb be shows the most agreement, with am, is and are in the present and was and were in the past. Modal verbs such as can, must and will never change. In a verb phrase only the first verb agrees: 'She has written two letters', 'We were shown into a large hall', but 'I could help you'.
The first and most important rule is that the verb agrees with the head of the subject noun phrase, not with the nearest noun. In 'One of the windows is broken' the head is one, so the verb is singular. Phrases such as as well as, together with and accompanied by do not alter the subject: 'The headmaster, as well as the teachers, is present'. In sentences beginning with there, the verb agrees with the noun phrase that follows: 'There is a problem', 'There are several problems'.
Joined subjects follow their own rules. Subjects linked by and are normally plural: 'Ravi and his sister are coming to dinner tonight'. With or or nor, two singular subjects take a singular verb ('A pen or a pencil is enough'), while a mixed pair takes the number of the nearer subject: 'The teacher or the students clean the board', but 'The students or the teacher cleans the board'.
Indefinite pronouns such as each, everyone, everybody and either take singular verbs, even when a plural phrase follows: 'Each of these mangoes is ripe'.
Collective nouns such as audience, committee, government and team can, especially in British English, take a singular verb when the group is seen as a unit and a plural verb when it is seen as individuals: 'The audience was small that evening' but 'The audience were taking their seats'. American usage generally prefers the singular. Choosing the verb by meaning in this way is called notional agreement; it also explains 'Fifty rupees is a small sum', where a sum is treated as one amount.
Finally, some nouns have misleading forms. News, mathematics, physics and measles end in -s but are singular: 'The news is broadcast at nine'. Scissors, trousers, jeans, clothes and belongings exist only in the plural and take plural verbs: 'These scissors are sharp'.
In conclusion, agreement rests on one simple principle, matching the verb to the head of its subject, but applying it requires attention to the structure of the noun phrase, to conjunctions, to collective and indefinite expressions and to nouns whose form does not reveal their number. Careful writers check each finite verb against its true subject.