Four letters, two ' a ' and two ' b ' are filled into 16 cells of a matrix as given. It is required that each cell contains atmost one letter and each row or column cannot contain same letters. Then the number of ways the matrix can be filled is
3600
5200
3960
4120
Selecting two rows for two ' a ' in ways. Now first ' a ' can be put in any row in 4 ways, Second ' a ' can be put in other row in 3 ways as no two a 's are in same column.
Thus two ' a ' can be filled in
Similarly two ' b ' can be filled in 72 ways.
Thus two ' a ' and two ' b ' can be filled in ways.
Now, we have to exclude the cases when
(i) both ' a ' and ' b ' are in same cell i.e., 72 ways (as after fixing ' a ' in 72 ways, ' b ' can be placed in this position)
(ii) one 'a' and 'b' are in same row or column, i.e.,
Required number of ways
Study 40% syllabus and score up to 100% marks in JEE