Skip to content
MathsISC Class 12 · Matrices

Matrix Multiplication and Powers of a Matrix: Rules, Traps and Examples

Updated 15 October 2026 · Fact-checked

The product AB exists only when A has as many columns as B has rows, and then AB has the rows of A and the columns of B. Each entry is a row of A times a column of B. AB and BA usually differ, and AB can be zero with neither matrix zero.

Check that the inner orders match; the outer orders give the size of AB, and each entry is one row times one column.

Illustration drawn for QuestionBuddy.

Understand Matrix Multiplication and Powers

When is AB defined? If is and is , the "inner" orders match () and exists with order , the "outer" orders. If the inner orders differ, the product is not defined. So may exist while does not: a matrix times a matrix is fine, but the reverse is not.

How to multiply. The entry of is row of multiplied term by term with column of , and added: . Work one entry at a time and write the products before adding; most errors here are arithmetic slips, as the ISC 2025 examiners noted.

Rules that hold. Multiplication is associative, , and distributive, and . The identity matrix behaves like 1: . Scalars move freely: .

Rules that fail. Three habits from ordinary algebra break down, and the syllabus asks for examples of each (with square matrices of order up to 3):

  • Non-commutativity: in general , even when both exist.
  • Zero products: is possible with and .
  • No cancellation: does not imply unless is invertible.

Because , the familiar expansions change: , which equals only if . Likewise .

Powers. For a square matrix, , , and so on. Powers of the same matrix always commute: . If , then for every positive integer , a fact tested in ISC 2024. Some special behaviours are worth recognising on sight:

  • Nilpotent: for some . Any matrix of the form has , so every higher power is .
  • Idempotent: , so .
  • Involutory: , so even powers are and odd powers are .
  • Patterns: .

Matrix polynomials. Questions such as "show that " are evaluated term by term: compute , scale , add the multiple of . For a matrix the coefficients are always the trace and the determinant: , a useful check on your arithmetic. Such an equation also gives the inverse: multiplying by gives .

Matrices for data. A table of quantities times a column of prices gives a column of totals. In ISC 2025, candidates had to write the quantities of three kinds of bag used by three shopkeepers as a matrix and multiply by the price column; the examiners noted that some candidates did not see it as a matrix product at all.

Matrix Multiplication and Powers: formulas to remember

Compatibility
Inner orders must match; outer orders give the product.
Entry of a product
Row i of A times column j of B.
Associative and distributive
Brackets can move; factors cannot swap.
Non-commutative square
Equals A² + 2AB + B² only when AB = BA.
Commuting powers
Proved by moving B past one A at a time.
Upper unitriangular power
Check n = 2 to see the pattern.
2 × 2 matrix equation
For A = [a b; c d]. A quick check on matrix-polynomial questions.

How to solve Matrix Multiplication and Powers questions

Use this routine for products, powers and matrix-polynomial questions.

  1. 1Write the orders under each matrix and check that the inner orders match. State the order of the product.
  2. 2Compute the product entry by entry: for each row of the first matrix, multiply by each column of the second. Write each sum before simplifying.
  3. 3For or , multiply step by step () and look for a pattern (zero rows, identity, a multiple of ).
  4. 4For a matrix polynomial such as , compute each term as a separate matrix, then combine entry by entry.
  5. 5For "find " questions (), compare one off-diagonal entry to find , then confirm with a diagonal entry.
  6. 6For data questions, put the items being counted along the rows of one matrix and the matching prices or weights in a column, so that the inner orders match.
  7. 7Check one entry of your answer by a second method (for example, the trace-determinant equation for matrices).

Matrix Multiplication and Powers 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.

Matrix product for totals

Suppose two school canteens place a daily order with a caterer. Canteen 1 orders 40 samosas, 30 sandwiches and 50 juices; canteen 2 orders 60 samosas, 20 sandwiches and 40 juices. A samosa costs Rs 12, a sandwich Rs 25 and a juice Rs 15.

Write the orders as a matrix and the prices as a column , find each canteen's bill using , and explain why is not defined.

Try it first, then show the solutionSolution
  1. is ; is . Inner orders match, so is .
  2. Canteen 1: .
  3. Canteen 2: .
  4. would be : the inner orders 1 and 2 differ, so it is not defined.

Answer: : Rs 1980 and Rs 1820. is not defined.

Memory hook: Quantities times prices: rows of items meet a column of prices, and the bill drops out.

Non-commutativity of matrix multiplication

Imagine a photo-editing app that moves points of a picture using matrices. Rotating by anticlockwise is and flipping in the x-axis is .

Where does the point go if the app rotates then flips? If it flips then rotates? Find and .

Try it first, then show the solutionSolution
  1. Rotate then flip means . , then .
  2. Flip then rotate means . , then .
  3. and , which are different.

Answer: Rotate then flip sends to ; flip then rotate sends it to . .

Memory hook: Rotate-then-flip is not flip-then-rotate: the order of matrices matters.

Tricks to remember Matrix Multiplication and Powers

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

  • Inner match, outer order

    Write the orders side by side: (m × n)(n × p). Inner numbers must match; outer numbers give the answer.

    Use it when: Every "is AB defined / what is its order" question.

  • Row runs, column falls

    Run your left finger along a row of A while your right finger falls down a column of B.

    Use it when: Avoiding mixed-up entries when multiplying.

  • Three broken rules

    Not commutative, zero products possible, no cancellation: "NZN".

    Use it when: Assertion-reason items on properties of multiplication.

  • Zero above, zero after

    A matrix with zeros on and below the diagonal becomes O after enough multiplications (order 2: square; order 3: cube).

    Use it when: Spotting nilpotent matrices such as the ISC 2025 MCQ on A¹⁶.

Matrix Multiplication and Powers: solved examples

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

Example 1: Orders of products · 1 mark · MCQBoard level

If is a matrix and is a matrix, the orders of and are:
(a) and
(b) and
(c) both
(d) is not defined

Try it first, then show the solutionSolution
  1. gives ; gives .

Answer: (a) and .

Example 2: A matrix equation and the inverse · 3 marks · Short answerBoard level

For , show that and hence find .

Try it first, then show the solutionSolution
  1. . (1 mark)
  2. . (1 mark)
  3. Multiply by (it exists, since ): , so . (1 mark)

Answer: and .

Example 3: A zero product and non-commutativity · 2 marks · Short answerHarder board level

Let and . Find and . What do the results show?

Try it first, then show the solutionSolution
  1. . (½ mark)
  2. . (½ mark)
  3. Neither nor is the zero matrix, yet : zero products are possible. And : multiplication is not commutative. (1 mark)

Answer: but .

Example 4: Spotting a pattern in powers · 3 marks · Short answerHarder board level

If , find and , write , and hence find .

Try it first, then show the solutionSolution
  1. . (1 mark)
  2. . (1 mark)
  3. Each multiplication by adds 2 to the top-right entry, so and . (1 mark)

Answer: ; .

Example 5: A nilpotent 3 × 3 matrix · 1 mark · MCQHarder board level

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

Try it first, then show the solutionSolution
  1. ; multiplying once more by gives the zero matrix, because the only non-zero entry of meets the zero bottom row of .

Answer: (c) .

Example 6: Revenue and profit of three stalls · 5 marks · Case-basedHOTS / competency

Suppose three food stalls at a fair sell tea, coffee and juice. The cups sold are given by (rows: stalls 1, 2, 3; columns: tea, coffee, juice). Selling prices are Rs 10, 15, 20 a cup and costs are Rs 6, 9, 12 a cup.
(i) Find each stall's revenue. (2 marks)
(ii) Find each stall's profit and the total profit. (2 marks)
(iii) If every selling price rises by 10%, write the new revenue column without multiplying again. (1 mark)

Try it first, then show the solutionSolution
  1. (i) .
  2. (ii) Profit per cup . . Total .
  3. (iii) New prices are times the old, so revenue .

Answer: Revenues Rs 800, 1000, 950; profits Rs 320, 400, 380 (total Rs 1100); new revenues Rs 880, 1100, 1045.

Where students lose marks in Matrix Multiplication and Powers

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

  • Mistake: Using (A + B)² = A² + 2AB + B²

    This assumes AB = BA, which is not true in general.

    Wrong working

    .

    Right working

    .

    Do this: Expand brackets as products, keeping the order of every factor.

    Usually costs: The whole part in a proof or simplification.

  • Mistake: Arithmetic slips in multiplication

    The ISC 2025 examiners reported basic multiplication errors on a simple power question.

    Do this: Write each entry as a sum of products (for example 2·3 + 3·4) before simplifying, and check one entry by another route.

    Usually costs: 1 mark in Section A; more in longer questions.

  • Mistake: Cancelling a matrix

    AB = AC does not give B = C unless A is invertible.

    Wrong working

    .

    Right working

    and .

    Do this: Only "cancel" by multiplying both sides by an inverse, and say that it exists.

    Usually costs: 1 to 2 marks.

  • Mistake: Not recognising data as a matrix product

    In ISC 2025 some candidates could not write the shopkeepers' bag data as a matrix multiplication.

    Do this: Put the counts in a matrix (one row per person) and the prices in a column; check the inner orders match.

    Usually costs: Both marks of a 2-mark data question.

Exam tips

  • Write the orders under the matrices before multiplying; it prevents undefined products and tells you the shape of the answer.
  • For powers, compute carefully, then look for a pattern before multiplying further. ISC MCQs often hide a nilpotent or involutory matrix.
  • In matrix-polynomial questions, show , the multiple of and the multiple of separately, then combine.
  • When an assertion-reason item involves , first check whether by direct multiplication.
  • In a data question, label the rows and columns of each matrix in words; it shows the examiner your matrix is set up correctly.

Practice questions on Matrix Multiplication and Powers

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 , then equals:
    (a)
    (b)
    (c)
    (d)

    Hint

    Find first.

    Answer

    (b) , since and 50 is even.

  2. Q2 · 2 marks · Short answerBoard level

    Find and if .

    Hint

    Multiply out and compare entries.

    Answer

    ; .

  3. Q3 · 2 marks · Short answerHarder board level

    Show that for and , and describe what multiplying by does on each side.

    Hint

    Look at what happens to rows and columns.

    Answer

    (columns of swapped); (rows of swapped). They differ.

  4. Q4 · 2 marks · Short answerHarder board level

    If and , find .

    Hint

    Compare an off-diagonal entry.

    Answer

    . Off-diagonal: . Check diagonal: .

  5. Q5 · 1 mark · MCQHarder board level

    If is a matrix and is a matrix such that both and are defined, then the order of is:
    (a)
    (b)
    (c)
    (d)

    Hint

    is .

    Answer

    (a) : needs 3 rows in , and needs 4 columns in .

  6. Q6 · 3 marks · Short answerHOTS / competency

    If , show that , and find the value of in for which .

    Hint

    Use double-angle formulas; then you need and .

    Answer

    Top-left: ; top-right: ; similarly for the bottom row. needs to be a multiple of , so in .

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

    Case study: Suppose a district has a town and its surrounding villages. Each year 10% of town residents move to the villages and 20% of village residents move to the town; nobody else moves. With , the populations after one year are , where (town, villages) now.
    (i) Find the populations after one year. (1 mark)
    (ii) Find and use it to find the populations after two years. (2 marks)
    (iii) Explain why the total population stays 8000. (1 mark)

    Hint

    Look at the column sums of .

    Answer

    (i) . (ii) , . (iii) Each column of adds to 1, so everyone is counted exactly once in the new totals.

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 defined?Show answer

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

  2. 2.Give the order of if is and is .Show answer

    .

  3. 3.Find for .Show answer

    , the zero matrix.

  4. 4.Expand for square matrices.Show answer

    .

  5. 5.If , what can you say about ?Show answer

    .

  6. 6.What is ?Show answer

    .

Matrix Multiplication and Powers: frequently asked questions

Why is matrix multiplication not commutative?

Because AB pairs the rows of A with the columns of B, while BA pairs the rows of B with the columns of A. These are different calculations, and they may not even give matrices of the same order. They agree only for special pairs, such as a matrix and its own powers or the identity.

Can the product of two non-zero matrices be zero?

Yes. For example, with A = [0 1; 0 2] and B = [1 0; 0 0], AB is the zero matrix. This is why you cannot conclude A = O or B = O from AB = O, unlike with numbers.

How do I find a high power of a matrix such as A¹⁶?

Compute A² and A³ and look for a pattern: a zero matrix (nilpotent), the identity (involutory), A itself (idempotent), or an entry that grows steadily. Then use the pattern instead of multiplying sixteen times.

Is the Cayley-Hamilton theorem in the ISC syllabus?

It is not named in the CISCE 2027 syllabus, but questions of the type "show that A² − 5A + 7I = O" are standard. For a 2 × 2 matrix the coefficients are the trace and determinant, which is a handy check rather than a method you need to quote.

What order of matrices can ISC questions use?

The 2027 syllabus restricts matrices to order m × n with m, n at most 3, and the examples of non-commutativity and zero products to square matrices of order up to 3.