Sigma Percentile
JEE Main 2023 (24 January Shift 2)
LEVELJEE Main

Animated Solution for Mathematics - Matrices and Determinants: The number of square matrices of order 5 with entries from the set , 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

Select Answer:

Visualized Solution

The Matrix

  • We need to construct a matrix.
  • The allowed entries are only and .

Row Sum Constraint

  • For every row , the sum of elements is : .
  • Since entries are or , each row must contain exactly one and four s.

Column Sum Constraint

  • Similarly, for every column , the sum is : .
  • Each column must also contain exactly one and four s.

The Game Plan

  • Placing s such that no two share a row or column is like placing non-attacking rooks on a chessboard.
  • Let's build the matrix row by row.

Choices for Row 1

  • Let's place the in the first row.
  • There are columns available.
  • Number of choices = .

The Consequence of Placement

  • Placing a in a column means that column's sum is now .
  • We cannot place another in this column.
  • The rest of the row becomes .

Choices for Row 2

  • Moving to the second row.
  • One column is already occupied.
  • Available columns = .
  • Number of choices = .

Updating Constraints

  • The chosen column in Row 2 is now blocked for all subsequent rows.
  • Two columns are now out of bounds.

Choices for Row 3

  • For the third row, two columns are blocked.
  • Available columns = .
  • Number of choices = .

Completing the Matrix

  • For Row 4: columns blocked choices.
  • For Row 5: columns blocked choice.

Fundamental Principle of Counting

  • Total number of such matrices = Product of choices for each row.
  • Total =

Final Answer

  • Total = .
  • Note: These are known as Permutation Matrices. For an matrix, the answer is .

The Sigma Insight: Types of Matrices

Solution Diagram

The Dance of the Permutation Matrix

Welcome, future engineer. Today, we aren't just solving a matrix problem; we are choreographing a dance. Imagine a blank grid.
Our goal is to fill this grid with only two characters: and . We are bound by two strict, elegant rules: the sum of every row must be exactly , and the sum of every column must be exactly .

The Constraint as a Silent Guardian

Let's look at the first rule:
for every row . Since our entries are restricted to and , this means every single row must contain exactly one and four s.
The second rule is its mirror image:
for every column . This means every column must also contain exactly one and four s.
Imagine you are placing five rooks on a chessboard. A rook attacks everything in its row and column. If we want to place five rooks such that no two rooks attack each other, we must place exactly one rook in each row and exactly one in each column.
Our matrix is simply a mathematical representation of this non-attacking rook configuration!

The Step-by-Step Construction

Let's build this matrix row by row. We start with the first row. We have columns available, so we have possible positions to place our first .
Let's say we choose column . Now, the first row is satisfied. But wait—because of our column constraint, column is now 'consumed'. No other row can place a in column .
Now, we move to the second row. We need to place another . But one column is already blocked by our choice in the first row. That leaves us with available columns. We have choices for the second row.
As we move to the third row, two columns are now blocked—one by the first row and one by the second. This leaves us with choices.
The pattern is becoming clear, isn't it? For the fourth row, we have choices, and for the final fifth row, only column remains empty. We have no choice but to place the final there.

The Elegance of the Result

To find the total number of such matrices, we use the Fundamental Principle of Counting. We multiply the number of choices for each row:
This is the definition of (five factorial). Calculating this, we get .
These special matrices are known as Permutation Matrices. They are the building blocks of linear algebra, representing permutations of the standard basis.
For any matrix of this type, the number of such matrices is simply . It is a beautiful, simple result born from a rigid set of constraints. Keep this logic in your toolkit—whenever you see constraints that restrict placement, think of the 'non-attacking' analogy. You've got this!

Similar Questions

JEE Main 2026 (24 January Shift 1)
LEVELJEE Main

The number of matrices A, which can be formed using the elements of the set such that the sum of all the diagonal elements of is 5, is .........

JEE Main 2021 (26 February Shift 1)
LEVELJEE Main

Let be a symmetric matrix of order 2 with integer entries. If the sum of the diagonal elements of is 1, then the possible number of such matrices is:

(A)
6
(B)
1
(C)
4
(D)
12
JEE Main 2023 (13 April Shift 1)
LEVELBoard

The number of symmetric matrices of order 3, with all the entries from the set is

(A)
(B)
(C)
(D)
JEE Main 2021 (16 March Shift 1)
LEVELJEE Main

The total number of matrices having entries from the set such that the sum of all the diagonal entries of is 9, is equal to ______

JEE Main 2022 (26 July Shift 2)
LEVELJEE Main

The number of matrices , where , such that , is

JEE Main 2010
LEVELJEE Main

The number of non-singular matrices, with four entries as and all other entries as , is

(A)
(B)
(C)
at least
(D)
less than
JEE Main 2025 April
LEVELJEE Main

The number of singular matrices of order 2, whose elements are from the set is _____

JEE Main 2021 (31 Aug Shift 2)
LEVELJEE Main

The number of elements in the set , where is identity matrix, is :

JEE Main 2025 (January)
LEVELJEE Advanced

Let M denote the set of all real matrices of order and let . Let If then equals

JEE Main 2023 (29 January Shift 2)
LEVELJEE Main

Let be a symmetric matrix such that and . If the sum of the diagonal elements of is , then is equal to ______.