Skip to content
MathsCBSE Class 12 · Matrices

Multiplication of Matrices: Rules, Properties and Solved Questions (Class 12)

Updated 15 October 2026 · Fact-checked

The product AB is defined only when the number of columns of A equals the number of rows of B. If A is m × n and B is n × p, AB is m × p; its (i, j) entry is row i of A times column j of B, term by term, added. In general AB ≠ BA.

Check that the inner numbers match, then walk along a row of A and down a column of B, multiply pairs and add to get one entry.

Illustration drawn for QuestionBuddy.

Understand Multiplication of Matrices

Matrix multiplication is the operation that makes matrices useful: it combines quantities with rates, prices with amounts, or one step of a process with the next. It is also the operation with the most traps, so learn it carefully.

When is AB defined? Write the orders side by side: . The two inner numbers must match (columns of A = rows of B); the outer numbers give the order of the product, . So a matrix times a matrix gives a matrix, while the reverse product is . If the inner numbers do not match, the product does not exist.

How to compute it. The entry in row and column of is
,
that is, walk along row of A and down column of B, multiply matching entries and add. Place your left finger on the row and your right finger on the column. Work entry by entry and write each sum before simplifying; most lost marks are arithmetic slips with negative signs.

Properties that hold (when the products are defined):

  • Associative: .
  • Distributive: and .
  • Identity: for a square matrix A and the identity I of the same order.
  • Scalars move freely: .

Properties that fail.

  • Not commutative: in general , even for square matrices of the same order. Sometimes only one product exists, sometimes both exist with different orders, and even when both are they usually differ. So , which equals only when ; likewise .
  • Zero products: does not force or . For example . Also, does not let you cancel A.

The 2026-27 syllabus restricts these two 'failure' facts to square matrices of order 2, so your examples should be .

Powers and matrix polynomials. For a square matrix, and . A matrix polynomial such as is evaluated by replacing the constant term with a multiple of . A popular board question asks you to show or to find ; once proved, such a relation lets you write , or later , in terms of and without further multiplication.

Matrix multiplication is NCERT Section 3.4.5 (Chapter 3) and feeds directly into determinants, inverses and solving equations by the matrix method.

Multiplication of Matrices: formulas to remember

Condition and order
Inner numbers equal; outer numbers give the order.
Entry of the product
Row i of A times column j of B.
Associative and distributive laws
Valid whenever the products are defined.
Identity
I has the same order as the square matrix A.
Square of a sum
Equals only if .
Non-commutativity
Check by computing both, or by comparing orders.
Matrix polynomial
The constant becomes a multiple of the identity.

How to solve Multiplication of Matrices questions

Use this for computing products, finding unknowns from a product, and matrix polynomial questions.

  1. 1Write the orders of the matrices and check that the inner numbers match; write the order of the product.
  2. 2For each entry, write the full sum of products (for example ) before simplifying.
  3. 3If both and are asked, compute them separately; never assume they are equal.
  4. 4For a polynomial like , compute first, then and , and subtract entry by entry.
  5. 5To find unknowns from a product such as , multiply from left to right, keeping the order of the matrices, and equate the result to zero.
  6. 6To find a constant in , compare one convenient entry (usually an off-diagonal one) and check the others.
  7. 7When you prove , use it to get higher powers: multiply both sides by A and substitute again.

Multiplication of Matrices in real life

Each concept, met in an everyday situation. Read the situation, try the problem, then check the solution. The one-line hook is what to remember.

Product of a quantity row and a price matrix

Suppose a family buys 2 kg of apples, 3 kg of bananas and 1 kg of grapes every week, and two nearby shops X and Y charge (per kg) Rs 120 and Rs 110 for apples, Rs 40 and Rs 45 for bananas, and Rs 60 and Rs 50 for grapes.

Write the weekly quantities as a matrix and the prices as a matrix (one column per shop). Use matrix multiplication to find the weekly bill at each shop and say which is cheaper.

Try it first, then show the solutionSolution
  1. and . Orders and , so is .
  2. Shop X: .
  3. Shop Y: .
  4. .

Answer: Rs 420 at shop X and Rs 405 at shop Y, so shop Y is cheaper by Rs 15 a week.

Memory hook: Quantities times prices, row into column: that is a shopping bill.

Repeated multiplication and powers

Imagine two towns, A and B. Each year 10% of A's residents move to B and 20% of B's residents move to A; nobody else moves. If and are this year's populations, next year's are given by .

Starting with 1200 people in A and 300 in B, find the populations after one year and after two years. Check your two-year answer using .

Try it first, then show the solutionSolution
  1. Year 1: ; .
  2. Year 2: ; .
  3. .
  4. , matching.

Answer: After one year: 1140 and 360. After two years: 1098 and 402 (the total stays 1500).

Memory hook: Two years of moving = multiply by M twice = multiply once by ; that is associativity at work.

Tricks to remember Multiplication of Matrices

Short memory aids. Say each one aloud once, then use it on a question the same day.

  • Inner match, outer order

    Write : if the inner pair matches, the product exists, and the outer pair is its order.

    Use it when: Order and conformability MCQs.

  • Row runs, column falls

    Your left finger runs along a row of the first matrix; your right finger falls down a column of the second. Multiply what they touch, then add.

    Use it when: Computing every entry without mixing rows and columns.

  • Order matters: AB is not BA

    Putting on socks then shoes is not shoes then socks. Matrix products are actions in order.

    Use it when: Expanding and correctly.

  • Constants wear an I

    In a matrix polynomial, a plain number must wear an identity matrix: becomes .

    Use it when: Questions like 'show that '.

Multiplication of Matrices: solved examples

Ordered from board level to HOTS. Try each one before you open the solution.

Example 1: Product of a 2 × 3 and a 3 × 2 matrix · 2 marks · Very short answerBoard level

Let and . Find . Are and of the same order?

Try it first, then show the solutionSolution
  1. Orders: is and is , so is and is . (½ mark)
  2. Row 1: ; . (½ mark)
  3. Row 2: ; . (½ mark)
  4. ; and have different orders, so they cannot be equal. (½ mark)

Answer: ; is while is .

Example 2: Find k in a matrix polynomial · 3 marks · Short answerBoard level

If , find such that .

Try it first, then show the solutionSolution
  1. . (1 mark)
  2. . (½ mark)
  3. Equating the (1, 2) entries: , so . (½ mark)
  4. Check the rest: , , . All entries match. (1 mark)

Answer: , that is .

Example 3: Two non-zero matrices with a zero product · 3 marks · Short answerHarder board level

(i) Show that and do not commute. (ii) Give two non-zero matrices whose product is the zero matrix.

Try it first, then show the solutionSolution
  1. (i) . (½ mark)
  2. . (½ mark)
  3. The (1, 1) entries differ, so . (½ mark)
  4. (ii) Take and , both non-zero. (½ mark)
  5. . (1 mark)

Answer: (i) . (ii) , give .

Example 4: An unknown inside a triple product · 3 marks · Short answerHarder board level

Find if .

Try it first, then show the solutionSolution
  1. First product ( times ): . (1 mark)
  2. Second product ( times ): . (1 mark)
  3. , so . (1 mark)

Answer:

Example 5: When does (A + B)² equal A² + B²? · 5 marks · Long answerHOTS / competency

Let and . Find and such that .

Try it first, then show the solutionSolution
  1. , so the condition is . (1 mark)
  2. . (1 mark)
  3. . (1 mark)
  4. gives , and : , . (1 mark)
  5. Check the (1, 1) entry: . All four entries vanish. (1 mark)

Answer: ,

Example 6: Case study: a school canteen's sales · 4 marks · Case-basedHOTS / competency

Suppose a school canteen records sales of samosas, juice packs and sandwiches over three days. Day 1: 40, 30, 20; Day 2: 35, 25, 30; Day 3: 50, 20, 25. The prices are Rs 15, Rs 20 and Rs 30 respectively.
(i) Write the sales as a matrix S and the prices as a column matrix P, and state the order of SP. (1 mark)
(ii) Find the revenue on each day using SP. (2 marks)
(iii) If every price rises by Rs 5, by how much does each day's revenue increase? (1 mark)

Try it first, then show the solutionSolution
  1. (i) (), (), so is . (1 mark)
  2. (ii) Day 1: . Day 2: . Day 3: . (2 marks)
  3. (iii) New prices , so the increase is (row sums of S): , , . (1 mark)

Answer: (i) is . (ii) Rs 1800, Rs 1925, Rs 1900 (total Rs 5625). (iii) Rs 450, Rs 450 and Rs 475.

Where students lose marks in Multiplication of Matrices

The slips examiners see most often, and what to write instead.

  • Mistake: Multiplying entry by entry

    Matrix product is row-by-column, not position-by-position.

    Wrong working

    .

    Right working

    .

    Do this: Write each entry as a sum of products before simplifying.

    Usually costs: Every mark that depends on the product.

  • Mistake: Expanding (A + B)² as A² + 2AB + B²

    and are usually different, so they cannot be combined.

    Wrong working

    .

    Right working

    .

    Do this: Expand brackets keeping the left-right order of every product.

    Usually costs: The method marks in identity-type questions.

  • Mistake: Writing a number instead of a multiple of I

    You cannot add a number to a matrix.

    Wrong working

    .

    Right working

    : the 5 goes only on the diagonal, giving .

    Do this: Replace the constant by before computing.

    Usually costs: The final answer mark.

  • Mistake: Cancelling A from AB = AC

    Zero products exist, so A cannot be cancelled unless it is invertible.

    Wrong working

    .

    Right working

    , , : but .

    Do this: Cancel only after multiplying by , and only when exists.

    Usually costs: A full assertion-reason or MCQ.

Exam tips

  • Conformability and order MCQs on matrix products appeared in the 2024 and 2025 board papers; write the orders before choosing.
  • In 'show that ' questions, display , and as separate matrices; this earns method marks even if one entry slips.
  • For case studies, label rows and columns of each matrix (days, items, shops) so the product's meaning is clear.
  • When finding unknowns, multiply from left to right; never change the order of the matrices.
  • Check one entry of a long product by an independent quick estimate; sign errors are the most common slip.

Practice questions on Multiplication of Matrices

Write each answer on paper first. Open the hint only if you are stuck, and the answer only when you have finished.

  1. Q1 · 1 mark · MCQBoard level

    If A is a matrix and B is a matrix, then:
    (a) AB is and BA is not defined
    (b) AB is
    (c) both AB and BA are defined
    (d) AB is not defined

    Hint

    Match the inner numbers for each order of multiplication.

    Answer

    (a). For AB: gives . For BA: , and , so BA is not defined.

  2. Q2 · 1 mark · MCQBoard level

    If , then is:
    (a)
    (b)
    (c)
    (d)

    Hint

    Multiply row by column; every product has a zero factor.

    Answer

    (c) , although .

  3. Q3 · 2 marks · Very short answerBoard level

    If and , find and . Is ?

    Hint

    Compute each entry with its full sum.

    Answer

    ; . So .

  4. Q4 · 3 marks · Short answerHarder board level

    If , find and , guess , and write .

    Hint

    Watch the bottom-left entry as the power grows.

    Answer

    , , so and .

  5. Q5 · 1 mark · Assertion-reasonHarder board level

    Assertion (A): For any two square matrices A and B of the same order, .
    Reason (R): Matrix multiplication is not commutative in general.
    (a) Both A and R are true and R is the correct explanation of A.
    (b) Both A and R are true but R is not the correct explanation of A.
    (c) A is true but R is false.
    (d) A is false but R is true.

    Hint

    Expand keeping the order of each product.

    Answer

    (d). , which equals only if . So A is false in general; R is true.

  6. Q6 · 3 marks · Short answerHarder board level

    If , show that . Hence express in the form .

    Hint

    From the relation, ; multiply both sides by A.

    Answer

    and , so . Then . Check: .

  7. Q7 · 4 marks · Case-basedHOTS / competency

    Case study: Suppose two shops sell school kits. Shop P sells 3 notebooks, 2 pens and 1 geometry box in a kit; shop Q sells 2 notebooks, 4 pens and 2 geometry boxes. A notebook costs Rs 60, a pen Rs 40 and a geometry box Rs 100.
    (i) Write the contents as a matrix K and the prices as a column matrix C. (1 mark)
    (ii) Find KC and interpret it. (2 marks)
    (iii) Can CK be found? Give its order if so. (1 mark)

    Hint

    Kit price = sum of (number of items × price of item).

    Answer

    (i) , . (ii) : a kit costs Rs 360 at P and Rs 480 at Q. (iii) C is and K is ; inner numbers 1 and 2 differ, so CK is not defined.

Test your recall

Answer in your head or on paper first, then open the card. Pulling an answer out of memory makes it stick far better than re-reading.

  1. 1.When is the product AB defined?Show answer

    When the number of columns of A equals the number of rows of B.

  2. 2.If A is and B is , what is the order of AB?Show answer

    .

  3. 3.Expand for square matrices.Show answer

    .

  4. 4.Can with and ?Show answer

    Yes, for example .

  5. 5.What is for a square matrix A?Show answer

    (and too).

  6. 6.If , write in terms of A and I.Show answer

    .

Multiplication of Matrices: frequently asked questions

Why is matrix multiplication not commutative?

Because AB uses the rows of A with the columns of B, while BA uses the rows of B with the columns of A, which are different calculations. Sometimes only one product is defined, and even for square matrices of the same order the two products usually differ.

How do I check whether two matrices can be multiplied?

Write their orders side by side, for example (2 × 3)(3 × 4). If the middle numbers are equal, the product exists, and its order is given by the outer numbers, here 2 × 4.

Is A² the same as squaring each entry?

No. A² means A multiplied by A using the row-by-column rule. Squaring each entry gives a different matrix in general.

Which NCERT section covers multiplication of matrices?

Section 3.4.5 of Chapter 3, Matrices, in NCERT Mathematics Part I for Class 12, including the properties of multiplication and non-commutativity.

Are elementary row operations in the 2026-27 syllabus?

No. Elementary operations and finding an inverse by them were dropped. Inverses are found by the adjoint method (Determinants) or from a matrix equation such as A² − 5A + 7I = O.