Skip to content
MathsISC Class 12 · Determinants

Solving Linear Equations by the Matrix Method (Martin's Rule)

Updated 15 October 2026 · Fact-checked

Write the equations as AX = B, with A the coefficient matrix, X the unknowns and B the constants. If |A| ≠ 0, the system is consistent with the unique solution X = A⁻¹B = (adj A)B/|A|. If |A| = 0, find (adj A)B: if it is non-zero, the system has no solution.

First test |A|: non-zero gives the unique answer X = A⁻¹B; if zero, a non-zero (adj A)B means no solution.

Illustration drawn for QuestionBuddy.

Understand Solving Equations by Matrix Method (Martin's Rule)

A system of linear equations such as

can be written as one matrix equation , where

The CISCE syllabus calls solving this with the inverse Martin's rule. Each row of holds the coefficients of one equation, in the same order of variables, and missing variables get a 0.

The method. If , then exists and multiplying on the left by gives

So you need three things: , the adjoint (transpose of the matrix of cofactors), and one matrix product. The answer is unique, because the inverse is unique.

Consistency. A system is consistent if it has at least one solution and inconsistent if it has none. The syllabus asks for the conditions using matrices:

  • : consistent, with a unique solution.
  • and : inconsistent (no solution).
  • and : the system may have infinitely many solutions or none; check by trying to solve the equations directly. For two variables (with not the zero matrix), it always has infinitely many.

Notice that whether a solution is unique depends only on , not on . In ISC 2025, an MCQ asked what the uniqueness of the solution of , depends on; the answer is alone, since . The examiners noted that candidates did not see how the determinant decides existence and uniqueness.

Why the test works. If , then . Multiplying by gives . So if , no can exist.

A shortcut from a given product. Some questions give a second matrix and ask you to find first. If , then , and you can solve the system without computing any cofactors. This is a favourite way of shortening a 5-mark question.

Word problems. Most real-life questions in the ISC paper (for example the 2024 furniture-factory question on three kinds of wood) need you to form the equations first. Choose clear variable names, write one equation per condition with the same order of variables, and only then build and . The 2024 examiners reported that candidates lost marks both in forming the system and in computing the inverse.

Solving Equations by Matrix Method (Martin's Rule): formulas to remember

Matrix form
Rows of A: coefficients of each equation, in a fixed order of variables.
Martin's rule
Valid when |A| ≠ 0; the solution is unique.
Inverse
Adjoint = transpose of the matrix of cofactors.
Unique solution
Depends only on the coefficients, not on B.
No solution
Inconsistent system.
Further check needed
Infinitely many solutions or none; solve directly to decide.
Inverse from a product
Use when the question supplies a second matrix.

How to solve Solving Equations by Matrix Method (Martin's Rule) questions

This order of work earns the method marks at each stage of a Martin's rule question.

  1. 1Arrange every equation with the variables in the same order (, , ) and the constant on the right. Put 0 for a missing variable.
  2. 2Write , and , and state "the system is ".
  3. 3Find . If it is non-zero, write " is non-singular, so the system has a unique solution".
  4. 4Find all nine cofactors , then transpose to get . Check one entry of .
  5. 5Compute , keeping the scalar outside until the end.
  6. 6Substitute the answer into at least one original equation to check it.
  7. 7If , compute : non-zero means no solution; zero means test further by solving the equations directly.

Solving Equations by Matrix Method (Martin's Rule) 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.

Three-variable system by Martin's rule

Suppose three friends order at a café. Asha has 2 coffees, 1 sandwich and 1 muffin for Rs 250; Ben has 1 coffee, 2 sandwiches and 1 muffin for Rs 280; Charu has 1 coffee, 1 sandwich and 2 muffins for Rs 230.

Find the price of each item using the matrix method.

Try it first, then show the solutionSolution
  1. Let the prices be . Then , .
  2. .
  3. (the cofactor matrix is symmetric here).
  4. .
  5. Check: .

Answer: Coffee Rs 60, sandwich Rs 90, muffin Rs 40.

Memory hook: Three bills, three prices: one inverse matrix solves them all at once.

Two-variable system and its matrix

Imagine your mobile bill is a fixed monthly charge plus a charge per GB of data. In one month you used 10 GB and paid Rs 350; the next month you used 16 GB and paid Rs 440.

Find the fixed charge and the charge per GB by the matrix method.

Try it first, then show the solutionSolution
  1. Let the fixed charge be and the rate . Then , : , .
  2. , .
  3. .

Answer: Fixed charge Rs 200; Rs 15 per GB.

Memory hook: Bill = fixed + rate × use: two months give two equations, and A⁻¹ splits the bill.

Tricks to remember Solving Equations by Matrix Method (Martin's Rule)

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

  • A-X-B line-up

    Coefficients in A, unknowns in X, constants in B, all in the same order. "A times X is B, so X is A-inverse B."

    Use it when: Setting up and the first line of every answer.

  • Determinant decides

    |A| ≠ 0: one answer. |A| = 0: look at (adj A)B; non-zero means no answer.

    Use it when: Consistency questions.

  • Transpose the cofactors

    Adjoint = cofactors placed in transposed positions. Cofactor of row 1 goes into column 1.

    Use it when: Avoiding the commonest error in finding A⁻¹.

  • Check with one equation

    Always put your x, y, z back into the first equation; it takes ten seconds.

    Use it when: Catching sign errors before the examiner does.

Solving Equations by Matrix Method (Martin's Rule): solved examples

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

Example 1: An inconsistent pair of equations · 1 mark · MCQBoard level

The system , is:
(a) consistent with a unique solution
(b) consistent with infinitely many solutions
(c) inconsistent
(d) consistent only if

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

Answer: (c) inconsistent. (The left side of the second equation is twice the first, but 9 is not twice 4.)

Example 2: Two variables by the matrix method · 3 marks · Short answerBoard level

Solve by the matrix method: , .

Try it first, then show the solutionSolution
  1. , . , so there is a unique solution. (1 mark)
  2. . (1 mark)
  3. . (1 mark)

Answer: , .

Example 3: Martin's rule in three variables · 5 marks · Long answerHarder board level

Solve by the matrix method: , , .

Try it first, then show the solutionSolution
  1. , .
  2. . (1 mark)
  3. Cofactors: ; ; . (1½ marks)
  4. . (½ mark)
  5. . (1½ marks)
  6. Check in the third equation: . (½ mark)

Answer: , , .

Example 4: Showing a 3-variable system is inconsistent · 3 marks · Short answerHarder board level

Show that the system , , is inconsistent.

Try it first, then show the solutionSolution
  1. . Rows 1 and 2 are proportional, so . (1 mark)
  2. . (1 mark)
  3. , so the system is inconsistent. (1 mark)

Answer: Inconsistent: and .

Example 5: Using a given product to find the inverse · 5 marks · Long answerHarder board level

Let and . Find , hence , and solve , , .

Try it first, then show the solutionSolution
  1. Row 1 of times the columns of : , , . Rows 2 and 3 give and . So . (2 marks)
  2. Hence , so . (1 mark)
  3. The system is with . . (1½ marks)
  4. Check: . (½ mark)

Answer: , , .

Example 6: Fruit packs: forming and solving the system · 5 marks · Case-basedHOTS / competency

Suppose a fruit seller sells packs of mangoes, bananas and apples at fixed prices. One customer buys 2 mango packs, 3 banana packs and 1 apple pack for Rs 190; a second buys 1, 2 and 3 packs for Rs 180; a third buys 3, 1 and 2 packs for Rs 230.
(i) Form the equations. (1 mark)
(ii) Find . (1 mark)
(iii) Find . (2 marks)
(iv) Find the price of each pack. (1 mark)

Try it first, then show the solutionSolution
  1. (i) Prices : , , .
  2. (ii) .
  3. (iii) .
  4. (iv) .

Answer: Mango pack Rs 50, banana pack Rs 20, apple pack Rs 30.

Where students lose marks in Solving Equations by Matrix Method (Martin's Rule)

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

  • Mistake: Forming the wrong system from a word problem

    The ISC 2024 examiners reported that candidates could not form the three equations in the furniture question.

    Do this: Write a word equation for each condition ("teakwood used = 29") before writing symbols, and keep the variables in the same order in every row.

    Usually costs: The whole 5- or 6-mark question.

  • Mistake: Forgetting to transpose the cofactor matrix

    adj A is the transpose of the cofactor matrix; using the cofactors directly gives a wrong inverse unless the matrix is symmetric.

    Wrong working

    .

    Right working

    .

    Do this: Write the cofactors of row 1 down column 1 of adj A.

    Usually costs: 2 to 3 marks, as every unknown comes out wrong.

  • Mistake: Writing X = BA⁻¹

    The inverse must multiply B from the left, because AX = B has A on the left.

    Do this: Write as a line of working.

    Usually costs: Usually the product is undefined, so the rest is lost.

  • Mistake: Not checking |A| before inverting

    If |A| = 0 the inverse does not exist and the consistency test is needed instead.

    Do this: Compute |A| first and state the conclusion it gives.

    Usually costs: 1 mark for the existence statement, more if the method is wrong.

Exam tips

  • State the conclusion from in words (", so the system is consistent with a unique solution"); it is usually worth a mark on its own.
  • List the nine cofactors before writing the adjoint, so the examiner can give part credit even if one is wrong.
  • Keep outside the matrices until the last line; it reduces fraction errors.
  • If the question gives a second matrix, multiply it with first: you will usually get a multiple of and save several minutes.
  • Finish with a check in one equation and a sentence answering the question in context (prices, amounts).

Practice questions on Solving Equations by Matrix Method (Martin's Rule)

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

    For which value of does the system , have infinitely many solutions?
    (a) 3
    (b) 6
    (c) 0
    (d) no value

    Hint

    Make , then check .

    Answer

    (b) 6. ; then , and the second equation is twice the first.

  2. Q2 · 3 marks · Short answerBoard level

    Solve by the matrix method: , .

    Hint

    .

    Answer

    ; . So , .

  3. Q3 · 5 marks · Long answerHarder board level

    Solve by the matrix method: , , .

    Hint

    .

    Answer

    , so : , , .

  4. Q4 · 3 marks · Short answerHarder board level

    Show that the system , , has no solution.

    Hint

    Row 3 of is the sum of rows 1 and 2.

    Answer

    (row 3 = row 1 + row 2). , so the system is inconsistent. (Adding the first two equations gives , not 8.)

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

    Assertion (A): If and , then has infinitely many solutions.
    Reason (R): If , then has the unique solution .
    (a) Both true, R explains A. (b) Both true, R does not explain A. (c) A true, R false. (d) A false, R true.

    Hint

    Try , , .

    Answer

    (d). Counter-example: , , . Every minor of is zero, so and , giving ; yet the equations contradict each other, so there is no solution. A is false; R is true.

  6. Q6 · 3 marks · Short answerHOTS / competency

    For the system , , , find the conditions on and for (i) a unique solution, (ii) no solution, (iii) infinitely many solutions.

    Hint

    Subtract the second equation from the third.

    Answer

    . (i) . If , the third equation minus the second gives . (ii) , . (iii) , .

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

    Case study: Suppose Rs 50 000 is split among three savings schemes paying 5%, 6% and 8% simple interest a year. The total yearly interest is Rs 3300, and the amount in the 8% scheme equals the total of the other two.
    (i) Form the equations, using for the amounts. (1 mark)
    (ii) Show that . (1 mark)
    (iii) Find the amounts by the matrix method. (2 marks)

    Hint

    Clear the percentages: .

    Answer

    (i) , , . (ii) . (iii) , so : Rs 20 000 at 5%, Rs 5000 at 6%, Rs 25 000 at 8%.

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.Write the solution of when .Show answer

    .

  2. 2.What does and tell you?Show answer

    The system is inconsistent (no solution).

  3. 3.Does the uniqueness of the solution depend on B?Show answer

    No, only on whether .

  4. 4.What is ?Show answer

    .

  5. 5.If , what is ?Show answer

    .

  6. 6.Solve , using .Show answer

    , so , .

Solving Equations by Matrix Method (Martin's Rule): frequently asked questions

What is Martin's rule in ISC Maths?

It is the CISCE syllabus name for solving a system of linear equations with matrices: write it as AX = B and, when |A| is not zero, find X = A⁻¹B using the adjoint.

How do I know if a system of equations has no solution?

Find |A|. If it is zero, compute (adj A)B. If that product is not the zero matrix, the system is inconsistent and has no solution.

What if |A| = 0 and (adj A)B = O?

Then the matrix test is inconclusive for three variables: the system may have infinitely many solutions or none. Solve the equations by elimination to decide. For two variables (with A not the zero matrix) it always has infinitely many solutions.

Is Cramer's rule needed for ISC?

No. The CISCE 2027 syllabus asks for the matrix method (Martin's rule) and consistency conditions using matrices. Cramer's rule is not listed.

How many marks does the matrix method carry in the ISC paper?

Algebra (matrices and determinants) carries 10 marks in the 2027 paper, and a full matrix-method question is usually one of the longer questions, often set in a real-life context such as the 2024 furniture-factory problem.