In how many ways can 5 girls be seated in a row so that two girls Ridhi and Sanya are:
(a) always together (b) never together
Number of girls = 5
(a) Consider Ridhi and Sanya together as one girl.
Now, number of girls becomes 4
Number of permutation of arranging these 4 girls =
But, the two girls Ridhi and Sanya can be arranged in ways or 2! ways or 2 ways.
By fundamental principle of counting, the required number of permutations = 24 x 2 = 48
(b) Total number of permutations =
Number of permutations in wich Ridhi and Sanya are never together:
= 120 - 48 = 72