JEE Main maths PYQ, Matrices

Counting matrices: JEE Main PYQ with Solutions

24 questions on Counting matrices from the Matrices chapter, newest first. Open "Show answer and solution" under a question to check your work.

By Sunil Kumar. Updated 26 November 2026.

All 24 questions

JEE Main 202604 Apr Shift 1

Single correct optionMarks +4, -1
Let be a set of matrices. Then the number of matrices in , for which the sum of the diagonal elements is equal to , is:
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (D)

With trace , every such matrix satisfies , so the condition is : and . : , impossible. : , which has solutions each. : , only . Total: .

Open question: Let S = A = beginbmatrix a, b; c, d endbmatrix : a, b...

JEE Main 202624 Jan Shift 1

Numerical answerMarks +4, -1
The number of matrices , which can be formed using the elements of the set such that the sum of all the diagonal elements of is , is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 312 (exact integer)

The sum of the diagonal elements of is the sum of the squares of the six entries. To total : one entry , one entry and four s: . Or five entries and one : . Total: .

Open question: The number of 3 x 2 matrices A, which can be formed...

JEE Main 202507 Apr Shift 1

Numerical answerMarks +4, -1
The number of singular matrices of order , whose elements are from the set is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 36 (exact integer)

is singular when . All four entries equal: matrices. Exactly two different numbers : the singular ones are , and the two with and swapped, so for each of the pairs: . Exactly three different numbers: none, since no square of one of the numbers equals the product of two others. All four different: only , with one pair and the other: . Total: .

Open question: The number of singular matrices of order 2, whose...

JEE Main 202528 Jan Shift 1

Numerical answerMarks +4, -1
Let denote the set of all real matrices of order and let . Let , , . If , then equals ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 1613 (exact integer)

: six free entries, . : a skew-symmetric matrix needs on the diagonal, and , so is empty. : the diagonal can be an arrangement of , or : ways, with six free entries: . : . Union: . So .

Open question: Let M denote the set of all real matrices of order 3 x...

JEE Main 202313 Apr Shift 1

Single correct optionMarks +4, -1
The number of symmetric matrices of order , with all the entries from the set is
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (B)

A symmetric matrix of order is fixed by its diagonal entries and the entries above the diagonal. Each of these entries can be chosen in ways: .

Open question: The number of symmetric matrices of order 3, with all...

JEE Main 202331 Jan Shift 2

Numerical answerMarks +4, -1
Let , , . The number of matrices such that the sum of all entries is a prime number is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 204 (exact integer)

Four entries, each from to , with sum , , or . Sum : . Sum : (remove one entry equal to ). Sum : (remove an entry of or more). Sum : . Total: .

Open question: Let A = [a_ij], a_ij in Z cap [0, 4], 1 le i, j le 2....

JEE Main 202324 Jan Shift 2

Single correct optionMarks +4, -1
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
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (B)

Each row and each column must contain exactly one . Choose the place of the in row 1 in ways, in row 2 in ways (a different column), and so on: .

Open question: The number of square matrices of order 5 with entries...

JEE Main 202229 Jul Shift 1

Numerical answerMarks +4, -1
The number of matrices of order , whose entries are either or and the sum of all the entries is a prime number, is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 282 (exact integer)

The sum is the number of s, which must be , , or . The counts are .

Open question: The number of matrices of order 3 x 3, whose entries...

JEE Main 202227 Jul Shift 1

Numerical answerMarks +4, -1
Let be the set containing all matrices with entries from . The total number of matrices such that the sum of all the diagonal elements of is is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 5376 (exact integer)

The sum of the diagonal elements of is the sum of the squares of the nine entries, so exactly six entries are non-zero. Choose the three zero places in ways and the signs of the other six in ways: .

Open question: Let S be the set containing all 3 x 3 matrices...

JEE Main 202226 Jul Shift 2

Numerical answerMarks +4, -1
The number of matrices , where , such that , is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 50 (exact integer)

gives , and . If : and : matrices. If : . For : , which has solutions each: . For : , so or : . Total: .

Open question: The number of matrices A = beginbmatrix a, b; c, d...

JEE Main 202229 Jun Shift 1

Single correct optionMarks +4, -1
The probability that a randomly chosen matrix with all the entries from the set of first primes, is singular, is equal to
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (B)

There are matrices . Singular means ; with primes this forces . If : choices and ways to place : . If : : . Probability .

Open question: The probability that a randomly chosen 2 x 2 matrix...

JEE Main 202227 Jun Shift 2

Numerical answerMarks +4, -1
Let be a matrix of order , whose entries are from the set . If the sum of all the entries of is a prime number , , then the number of such matrices is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 180 (exact integer)

is , or . Sum : ways (no entry can exceed ). Sum : ways. Sum : ways without the upper limit; remove those with an entry (the rest add to : ) or an entry (): . Total: .

Open question: Let A be a matrix of order 2 x 2, whose entries are...

JEE Main 202225 Jun Shift 1

Numerical answerMarks +4, -1
Let be a matrix having entries from the set . The number of all such matrices having sum of all the entries equal to , is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 414 (exact integer)

Five s and four s: . Six s, one and two s: . Seven s and two s: . Total: .

Open question: Let A be a 3 x 3 matrix having entries from the set -1...

JEE Main 202131 Aug Shift 2

Numerical answerMarks +4, no negative
The number of elements in the set , where is identity matrix, is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 8 (exact integer)

, so the condition is . , so , and . Thus . If : choices of . If : , choices, giving matrices. Total: .

Open question: The number of elements in the set A = beginbmatrix...

JEE Main 202125 Jul Shift 1

Numerical answerMarks +4, no negative
Let . Define , as , for all where is set of all integers. Then the number of such that is equal to ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 16 (exact integer)

We need . Each product is at most in size, and the possible products are ; so either , or , . : ways; : ways; that is . : ways; : ways; another . Total: .

Open question: Let M = A = beginbmatrix a, b; c, d endbmatrix : a, b...

JEE Main 202122 Jul Shift 1

Numerical answerMarks +4, no negative
Let . Then the number of matrices with entries from the set and satisfying is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 3125 (exact integer)

swaps the first two rows of ; swaps its first two columns. With , equality gives , , and . So with five free entries: matrices.

Open question: Let A = beginbmatrix 0, 1, 0; 1, 0, 0; 0, 0, 1...

JEE Main 202116 Mar Shift 1

Numerical answerMarks +4, no negative
The total number of matrices having entries from the set such that the sum of all the diagonal entries of is , is equal to ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 766 (exact integer)

The sum of the diagonal entries of is the sum of the squares of the nine entries; the squares are . Ways to total : all nine entries : way. One and eight s: ways. One , five s, three s: . Two s, one , six s: . Total: .

Open question: The total number of 3 x 3 matrices A having entries...

JEE Main 202126 Feb Shift 1

Single correct optionMarks +4, -1
Let be a symmetric matrix of order with integer entries. If the sum of the diagonal elements of is , then the possible number of such matrices is:
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (B)

Let . The diagonal of adds up to . With integers, and : or . That is matrices.

Open question: Let A be a symmetric matrix of order 2 with integer...

JEE Main 202124 Feb Shift 1

Numerical answerMarks +4, no negative
Let be any matrix with entries from the set . The maximum number of such matrices, for which the sum of diagonal elements of is seven, is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 540 (exact integer)

The sum of the diagonal elements of is the sum of the squares of the nine entries. The squares are . To total : seven s and two s, in ways; or one , three s and five s, in ways. Total: .

Open question: Let M be any 3 x 3 matrix with entries from the set 0...

JEE Main 202008 Jan Shift 1

Numerical answerMarks +4, no negative
The number of all matrices , with entries from the set such that the sum of the diagonal elements of is , is ______.

Numerical answer. Work it out before you open the answer.

Show answer and solution

Answer: 672 (exact integer)

The sum of the diagonal elements of is the sum of the squares of all nine entries. Each square is or , so exactly three entries are non-zero. Choose their places in ways and their signs in ways: .

Open question: The number of all 3 x 3 matrices A, with entries from...

JEE Main 201909 Apr Shift 2

Single correct optionMarks +4, -1
The total number of matrices , for which is:
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (C)

means each column has squared length and the columns are perpendicular. Column 1: . Column 2: . Column 3 has squared length already, and the three dot products vanish for any . So , (never equal): matrices.

Open question: The total number of matrices A = beginpmatrix 0, 2y, 1...

JEE Main 201325 Apr

Single correct optionMarks +4, -1
Let . Then the number of non-singular matrices in the set is:
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (D)

There are matrices. A matrix is singular when . For : , pairs. For : only . For : only . So are singular and are non-singular.

Open question: Let S = beginpmatrix a_11, a_12; a_21, a_22 endpmatrix...

JEE Main 201219 May

Single correct optionMarks +4, -1
If denotes the transpose of the matrix , where and are integers such that , then the number of such matrices for which is
  1. A
  2. B
  3. C
  4. D
Show answer and solution

Answer: (C)

means : the columns have length and are perpendicular to each other. Column 1 is , so . Column 2 is : perpendicular to column 1 gives , so . Column 3 is : perpendicular to the first two gives and , so . That gives matrices.

Open question: If A^T denotes the transpose of the matrix A =...

JEE Main 2010

Single correct optionMarks +4, -1
The number of non-singular matrices, with four entries as and all other entries as , is
  1. A
  2. B
  3. Cat least
  4. Dless than
Show answer and solution

Answer: (C)

Take any of the permutation matrices (one in each row and column) and put a fourth in any of the empty places. Expanding the determinant along the row and column of the extra shows it is still . These matrices are all different, so the number is at least .

Open question: The number of 3 x 3 non-singular matrices, with four...

More from Matrices

Powers of a matrix (43), Matrix equations and polynomials (30), Adjoint and its determinant (18), Miscellaneous (14), Inverse of a matrix (16), Transpose, symmetric and skew-symmetric matrices (17), Matrix algebra and products (10). All 172 Matrices questions.