Matrix Multiplication Compatibility: The Inner-Dimensions Rule
You cannot multiply just any two matrices. Multiplication is defined only when their sizes line up in a specific way, and this compatibility check is always the very first step of any product.
The Idea: A Row Meets a Column
When you multiply A by B, you take each row of A and pair it against each column of B, multiply corresponding entries, and add. For that pairing to work, a row of A must have exactly as many entries as a column of B.
Note
Think of a handshake: each finger of one hand must meet a finger of the other. If one hand has 4 fingers and the other has 3, the handshake fails.
The Precise Statement
Let A be m×n and B be p×q.
A×B is defined if and only if n=p — the number of columns of A equals the number of rows of B. The product C=AB then has order m×q.
Writing the sizes side by side, (m×n)(p×q), the inner numbers (n,p) must match; the outer numbers (m,q) give the result's shape.
Why the Rule Exists
Each entry of the product is
cij=∑k=1naikbkj.
Here k runs over the columns of A (up to n) and the rows of B (up to p). If n=p, the sum runs out of matching terms and is meaningless — that is exactly why compatibility demands n=p.
Watch out
Even when both AB and BA are defined, they usually differ. For A of order 2×3 and B of order 3×2, AB is 2×2 but BA is 3×3 — different sizes entirely. Matrix multiplication is not commutative.
Quick Check
A
B
Defined?
Result
2×3
3×4
Yes
2×4
2×3
2×4
No
—
1×4
4×1
Yes
1×1
Tip
Before multiplying, write both orders side by side and circle the inner numbers. If they are equal, multiply; if not, stop — the product does not exist.
Matrix Multiplication Compatibility — the rule that the number of columns of the first matrix must equal the number of rows of the second — is one of the first checks taught in the CBSE Class 12 Matrices chapter, and "matrix multiplication rules class 12" is a common search among students preparing for board exams and JEE Main. NCERT's own solved examples emphasize checking this condition before attempting any product.
Concept: Distributive property of matrix multiplication over addition.
AC+BC=91230+18−2=102028, which matches (A+B)C.
✓Final answer
The distributive property is verified: (A+B)C=AC+BC=102028.
The problem tests the distributive property of matrix multiplication over addition. We compute AC, BC, and (A+B)C directly, and verify that (A+B)C=AC+BC holds exactly.
The core idea here is the distributive property of matrix multiplication: for matrices of compatible sizes,
(A+B)C=AC+BC. This is not just a rule to memorise — it follows from the fact that matrix multiplication is defined entry‑wise as a sum of products, and addition of matrices is entry‑wise. So when you multiply a sum of matrices by a column vector, each entry in the result is a sum of two separate dot products, which can be rearranged.
We are given three matrices: A (a 3×3 skew‑symmetric matrix), B (another 3×3 matrix), and C (a 3×1 column vector). All multiplications are defined because the number of columns in A and B (3) matches the number of rows in C (3).
A common mistake is to forget that matrix addition must be done before multiplication when computing (A+B)C — you cannot multiply A and B separately by C and then add the matrices unless you are using the distributive property, which we are verifying here. The order matters: (A+B)C means add first, then multiply.
Tip
The distributive property works because matrix multiplication is linear in the left factor. This is the same reason that (A+B)C=AC+BC always holds when the dimensions are compatible — it’s not a coincidence, it’s built into the definition.
✓Final answer
The computed values are AC=91230, BC=18−2, (A+B)C=102028, and we have verified that (A+B)C=AC+BC.
Method: Verifying the distributive law (A+B)C=AC+BC
Use this when asked to confirm distribution of matrix multiplication over addition.
Steps
Step 1: Compute the left side by adding first, then multiplying.
Form A+B entry-wise, then multiply by C (row-by-column).
Step 2: Compute the right side by multiplying first, then adding.
Find AC and BC separately, then add them entry-wise.
Step 3: Compare the two results.
They must be identical, confirming distributivity.
Common Mistakes
Mistake 1: Computing (A+B)C as AC⋅BC or some product.
Why it's wrong: distribution gives a sumAC+BC, not a product of the two. Correct approach: add AC and BC.
Mistake 2: Adding A and B after multiplying by C on the left side incorrectly.
Why it's wrong: (A+B)C means add A,B first, then multiply once by C. Correct approach: respect the grouping — one multiplication on the left, two-then-add on the right.
Mistake 3: Sign errors in the column-vector dot products.
Why it's wrong: entries like (6)(−2)+(7)(3) need careful signs. Correct approach: track the sign of every term.
Same / Similar Concept — real previous-year questions on the same or a closely similar concept, not this exact question.
KEAM 2025Set eng-2025-04234 marksMCQ
Q.If −13−52−46(78)=αβ13, then the value of α+β is equal to
(A) −18
(B) 18
(C) 21
(D) −21
(E) −2
›Reveal solutionSolution
The product gives (9, -11, 13), so alpha + beta = 9 + (-11) = -2.
Concept and Intuition
Multiplying a 3x2 matrix by a 2x1 column yields a 3x1 column, each entry being a row dotted with (7, 8). The third entry checks the setup, and the first two give alpha and beta.
Step-by-Step Solution
Row 1: -17 + 28 = -7 + 16 = 9 = alpha.
Row 2: 3*7 + (-4)*8 = 21 - 32 = -11 = beta.
Row 3: -57 + 68 = -35 + 48 = 13 (matches the given entry).
alpha + beta = 9 - 11 = -2.
Common Mistakes
Arithmetic sign slips in the dot products.
✓Final answer
The correct option is (E) — -2.
ANSWER: E
KEAM 2025Set eng-2025-04264 marksMCQ
Q.Let B be a matrix of order 3×2 and C be a matrix of order 3×3. If A is a matrix such that BA=C, then the order of A is
(A) 2×2
(B) 2×3
(C) 3×2
(D) 3×4
(E) 3×3
›Reveal solutionSolution
Conformability: (3×2)(2×3)=(3×3), so A is 2×3.
Matching dimensions. For BA to be defined, the columns of B (=2) must equal the rows of A, so A has 2 rows. The product C is 3×3, so A has 3 columns.
Hence A is of order 2×3.
✓Final answer
The correct option is (B).
KEAM 2025Set eng-2025-04274 marksMCQ
Q.Let A=(aij)3×3, B=(bij)3×2 and C=(cij)3×1. Which one of the following products, is not defined?
(A) CTAB
(B) ATAB
(C) (AB)TC
(D) (AB)C
(E) BTC
›Reveal solutionSolution
(AB) is 3×2 and C is 3×1; multiplying them needs the middle dimensions to match (2=3), so (AB)C is undefined.
Sizes: A is 3×3, B is 3×2, C is 3×1. Note AB is 3×2.
(A) CTAB: (1×3)(3×3)(3×2)→1×2. Defined.
(B) ATAB: (3×3)(3×3)(3×2)→3×2. Defined.
(C) (AB)TC: (2×3)(3×1)→2×1. Defined.
(D) (AB)C: (3×2)(3×1) — inner dimensions 2 and 3 differ. Not defined.
(E) BTC: (2×3)(3×1)→2×1. Defined.
✓Final answer
The correct option is (D).
KEAM 2022Set eng-2022-P2-B14 marksMCQ
Q.If A=[206] and B=3765−26, then AB=
(A) [4246]
(B) [4246]
(C) 603610036
(D) [1719]
(E) [21412−4]
›Reveal solutionSolution
AB=[4246].
Concept and Intuition
A 1×3 times a 3×2 matrix yields a 1×2 row; each entry is a dot product of the row with a column.
Step-by-Step Solution
First entry: 2(3)+0(7)+6(6)=6+0+36=42.
Second entry: 2(5)+0(−2)+6(6)=10+0+36=46.
So AB=[4246].
Common Mistakes
Getting the product dimensions wrong (result is 1×2).
Mixing up which column pairs with each output entry.