QlarIITy

MathematicsJEE Main 2023 · 24 JanuarySingle correct

The number of square matrices of order 5 with entries from the set {0,1}\{0, 1\}, such that the sum of all the elements in each row is 1 and the sum of all the elements in each column is also 1, is

  1. Option A: 225
  2. Option B: 120
  3. Option C: 150
  4. Option D: 125
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A matrix of zeros and ones with every row and column adding to one is an arrangement of the columns.

Concept refresher. The number of ways to arrange nn different objects in a row is

n!=n(n−1)(n−2)…1n! = n(n - 1)(n - 2) \ldots 1

Picture the situation. With entries 0 or 1, a row adds to 1 only if it has exactly one entry 1, and the same holds for each column. So the five entries 1 lie in different rows and different columns. Such a placement is the same as matching the five rows with the five columns.

Approach. Describe the positions of the entries 1 and count them row by row.

  1. Step 1: The structure

    Each row contains exactly one entry 1, and no two rows can have it in the same column, since that column would add to more than 1.

  2. Step 2: The count

    The first row can use any of 5 columns, the second any of the remaining 4, and so on, so the number of matrices is 5!=1205! = 120.

Answer. (B) 120

Sanity check. For order 2 the same argument gives 2!=22! = 2 matrices, the identity and the one with the rows interchanged, which is right.

Why the other options are wrong

  • (A) The value 225 is 15215^2 and does not come from arranging five columns, which gives 5!5!.
  • (C) The value 150 is not 5!5!; the count is 5×4×3×2×15 \times 4 \times 3 \times 2 \times 1.
  • (D) The value 125 is 535^3; free choices of column would give powers of 5, but the columns must all differ.

Key takeaway

The trap. The choices for different rows are not independent, because the columns must differ.

How toppers think. They recognise permutation matrices and write the factorial at once.

Remember. n!n! matrices of order nn

More on Types of Matrices