Given, n(S)=520,n(P)=335,n(C)=425,n(S∩P)=180,n(C∩S)=100,n(P∩C)=150,n(C∩P∩S)=28
Now, number of rivers polluted by at least one of the impurities is
n(P∪S∪C)=n(P)+n(S)+n(C)−n(P∩S)−n(S∩C)−n(P∩C)+n(P∩S∩C)
=520+335+425−100−180−150+28=878
Now, number of rivers polluted by exactly sulphur compounds
n(S∩P′∩C′)=n(S∩(P∪C)′)
=n(S)−n(S∩(P∪C))
=n(S)−[n(S∩P)∪n(S∩C)]
=n(S)−[n(S∩P)+n(S∩C)−n(S∩P∩C)
=520−180−100+28=268
Now, number of rivers polluted by exactly phosphorous compounds
n(P∩S′∩C′)=n(P∩(S∪C)′)
=n(P)−[n(P∩(S∪C))]
=n(P)−[n(P∩S)∪n(P∩C)]
=n(P)−n(P∩S)−n(P∩C)+n(P∩C∩S)
=335−180−150+28=33
Now, number of rivers polluted by exactly crude oil
n(C∩S′∩P′)=n(C∩(S∪P)′)
=n(C)−[n(C∩(S∪P))]
=n(C)−[n(C∩S)∪n(C∩P)]
=n(C)−n(C∩S)−n(C∩P)+n(P∩C∩S)
=425−150−100+28=203
So, the number of rivers polluted by exactly one of the three impurities
=268+33+203=504