Inclusion-Exclusion principle contain two rules which are If A and B are disjoint finite sets, then n(AÈB) = n(A) + n(B) And if A and B are finite sets, then n(AÈB) = n(A) + n(B) - n(AÇB) For example If there are 15 girls students and 25 boys students in a class then how many students are in total. Now see if we take A ={ 15 girl students} and B={ 25 boys students} Here A and B are two disjoints sets then we can apply first rule n(AÈB) = n(A) + n(B) =15 + 25 =40 So in total there are 40 students in class. Take another Example for second rule. How many integers from 1 through 1000 are multiples of 3 or multiples of 5. Let A and B denotes the set of integers from 1 through 1000 that are multiples of 3 and 5 respectivly. n(A)= 333 n(B)=200 But these two sets are not disjoint because in A and B we have those elements which are multiple of both 3 and 5. so n(AÇB) =66 n(AÈB) = n(A) + n(B) - n(AÇB) =333 + 200 - 66 = 467
No comments:
Post a Comment