This problem involves classifying students based on two criteria: gender (girl or not) and shirt color (blue shirt or not). We are given information about overlapping groups.
We use the principle of inclusion-exclusion to find the number of students who are either girls OR wear blue shirts (or both). The formula is:
$ |G \cup B| = |G| + |B| - |G \cap B| $
Substituting the given values:
$ |G \cup B| = 14 + 8 - 5 $
$ |G \cup B| = 22 - 5 $
$ |G \cup B| = 17 $
So, 17 students are either girls or wear blue shirts or both.
The total number of students in the class includes those who are girls or wear blue shirts (or both), plus those who are neither.
Total Students = (Students in G or B) + (Students neither G nor B)
Total Students = $ |G \cup B| + 2 $
Total Students = $ 17 + 2 $
Total Students = 19
Therefore, there are 19 students in the class.
A student is free to choose only Chemistry, only Biology or both. If out of $32$ students, Chemistry has been chosen by $16$ and Biology by $25$, then how many students have chosen Biology but not Chemistry?