If there are ‘n’ entities and each of the n entities has m1, m2, m3………………mn options to choose from. Say 1st entity has m1 choices, 2nd entity has m2 choices, 3rd entity has m3 choices and so on.
Then the total ways of the selection of entities would be :
Number of ways for Counting Principle Problems:
m1 x m2 x m3 x m4………………………………..x mn
Example: Consider Vaibhav has 3 mangoes, 3 papaya and 3 apples. In how many ways can he put fruit of one kind in a fruit basket.
Solution:
Then pairing can take place as follows:
(M1 P1 A1), (M1 P1 A2), (M1 P1 A3), (M1 P2 A1), (M1 P2 A2), (M1 P2 A3), (M1 P3 A1), (M1 P3 A2), (M1 P3 A3)
(M2 P1 A1), (M2 P1 A2), (M2 P1 A3), (M2 P2 A1), (M2 P2 A2), (M2 P2 A3), (M3 P3 A1), (M3 P3 A2), (M3 P3 A3)
(M3 P1 A1), (M3 P1 A2), (M3 P1 A3), (M3 P2 A1), (M3 P2 A2), (M3 P2 A3), (M3 P3 A1), (M3 P3 A2), (M3 P3 A3)
The total number of ways of choosing this pairing using Counting Principle Problems
Choices available for mangoes (m) = 3
Choices available for papaya (n) = 3
Choices available for apples (n) = 3
Total no. of ways: 3 X 3 X 3 = 27
Then pairing can take place as follows:
(B1 G1) (B1 G2)
(B2 G1) (B2 G2)
The total number of ways of choosing this pairing using Counting Principle Problems
Choices available for boys (m) = 2
Choices available for girls (n) = 2
Total no. of ways: 2 x 2 = 4
The total number of ways of choosing this pairing using Counting Principle Problems:
There is one boy and three choices of shirt available.
Total no. of ways: 1 x 3 = 3
The total number of ways of choosing this pairing using Counting Principle Problems:
There are three boys and three choices of shirt available.
(B1 S1) (B1 S2) (B1 S3)
(B2 S1) (B2 S2) (B2 S3)
(B3 S1) (B3 S2) (B3 S3)
Total no. of ways: 3 x 3 = 9