The product of two matrices and is possible if
Previous Year Questions · Question 11 of 24
The product AB of two matrices A and B is possible if
(A) and have the same number of rows.
- Correct answer
(B) the number of columns of is equal to the number of rows of .
(C) the number of rows of is equal to the number of columns of .
(D) and have the same number of columns.
Answer: (B) the number of columns of is equal to the number of rows of .
Concept: In , each row of is multiplied element by element with each column of , so a row of must have exactly as many elements as a column of .
Step 1 — Count the elements in a row of .
A row of has one element for each column of , so it has as many elements as has columns.
Step 2 — Count the elements in a column of .
A column of has one element for each row of , so it has as many elements as has rows.
Step 3 — Match them.
The elements are multiplied in pairs, so these two numbers must be equal. If is , must be , and then is . For example, a 2 × 3 matrix times a 3 × 4 matrix gives a 2 × 4 matrix.

Watch out: The condition is about the inner numbers of the two orders (columns of the first, rows of the second); the outer numbers give the order of the product.
Why the other options are wrong:
- (A) and have the same number of rows: two 2 × 3 matrices have the same number of rows, but columns of (3) ≠ rows of (2), so is not possible.
- (C) the number of rows of is equal to the number of columns of : this is the condition for . If is 2 × 3 and is 4 × 2, rows of and columns of are both 2, yet is not possible because columns of (3) ≠ rows of (4).
- (D) and have the same number of columns: two 2 × 3 matrices have the same number of columns, but a row of has 3 elements and a column of has only 2, so is not possible.
Therefore, is possible when the number of columns of equals the number of rows of , option (B).
