Solution:
Key idea: A three-set Venn diagram has eight regions. We fill it from the centre outwards: first all three sets, then each "two sets but not the third" region, then each "one set only" region. For three sets,
n(F∪E∪S)=n(F)+n(E)+n(S)−n(F∩E)−n(E∩S)−n(F∩S)+n(F∩E∩S)
For "one language only", we subtract both pairs from the total and add back the students who study all three (they were subtracted twice). For "two languages but not the third", we subtract the students who study all three from that pair.
Step 1 — Name the sets and write the data.
Let F, E and S be the sets of students studying French, English and Sanskrit.
n(F)=17, n(E)=13, n(S)=15
n(F∩E)=9, n(E∩S)=4, n(F∩S)=5
n(F∩E∩S)=3
Step 2 — Part (i): only French.
We subtract the two pairs containing French and add back the 3 students in all three.
17−9−5+3
=6
Step 3 — Part (ii): only English.
We subtract the two pairs containing English and add back 3.
13−9−4+3
=3
Step 4 — Part (iii): only Sanskrit.
We subtract the two pairs containing Sanskrit and add back 3.
15−5−4+3
=9
Step 5 — Part (iv): English and Sanskrit but not French.
We remove the 3 students who study all three from the English–Sanskrit pair.
n(E∩S)−n(F∩E∩S)=4−3
=1
Step 6 — Part (v): French and Sanskrit but not English.
We remove the 3 students who study all three from the French–Sanskrit pair.
n(F∩S)−n(F∩E∩S)=5−3
=2
Step 7 — Part (vi): French and English but not Sanskrit.
We remove the 3 students who study all three from the French–English pair.
n(F∩E)−n(F∩E∩S)=9−3
=6
Step 8 — Part (vii): at least one language.
We put every value into the formula for three sets.
n(F∪E∪S)=17+13+15−9−4−5+3
n(F∪E∪S)=45−18+3
n(F∪E∪S)=30
As a check, the seven regions inside the circles give the same total: 6+3+9+1+2+6+3=30.
Step 9 — Part (viii): none of the languages.
The students who study none lie outside all three circles, so we subtract 30 from 50.
50−30=20

Answer: (i) 6, (ii) 3, (iii) 9, (iv) 1, (v) 2, (vi) 6, (vii) 30, (viii) 20