The number of square matrices of order with entries from the set , such that the sum of all the elements in each row is and the sum of all the elements in each column is also , is:
- A
- B
- C
- D
The number of square matrices of order with entries from the set , such that the sum of all the elements in each row is and the sum of all the elements in each column is also , is:
Correct answer:B
Standard Method
Given: A square matrix of order has entries from . Each row sum is and each column sum is also .
Find: The number of such matrices.
Such a matrix must have exactly one entry equal to in every row and exactly one entry equal to in every column. Therefore, it is a permutation matrix.
Choose the position of in the first row in ways. Then for the second row, only columns remain available. Similarly, for the third, fourth and fifth rows, the numbers of choices are respectively.
Therefore, the number of such matrices is . The correct option is B.

Permutation Matrix Interpretation
Given: The matrix is of order , entries are only or , and every row sum and column sum equals .
Find: How many such matrices exist.
A matrix satisfying these conditions has one and only one in each row, and because each column sum is also , no two rows can place their in the same column.
So the matrix is completely determined by assigning to each row a distinct column containing the entry . This is exactly a permutation of the columns.
The number of such assignments is the number of permutations of objects:
Hence, there are such matrices, and the correct option is B.
Mistake: Counting only the choices for each row as . Why it is wrong: this ignores the condition that each column sum must also be . What to do instead: after choosing a column for one row, that column cannot be used again.
Mistake: Thinking the matrix only needs at least one in each row and column. Why it is wrong: the sum in each row and each column is exactly , not greater than or equal to . What to do instead: enforce exactly one per row and exactly one per column.
Mistake: Not recognizing these as permutation matrices. Why it is wrong: the given row and column conditions are precisely the defining property of permutation matrices with entries in . What to do instead: convert the counting problem directly into counting permutations of columns.
Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.