Sikshya Plus Get appGet the app free
Class 12 · Mathematics

Matrix based system of linear equation – Class 12 Mathematics Notes and Solutions

Complete solutions and answers for “Matrix based system of linear equation”, a chapter in Class 12 Mathematics (NEB exam preparation). This page covers The lesson in short, Section A: Matrix Equations and Inversion Method, Section B: Gaussian and Gauss-Jordan Elimination and Section C: Step-by-Step Solved Problems.

  • Free, no login needed
  • 2 min read
  • Updated 20 November 2026

Chapter at a glance

Comprehensive solutions and study guide for Class 12 Mathematics Chapter 5 Matrix based system of linear equation covering matrix inversion, Gaussian elimination, Gauss-Jordan method, and Cramer's rule.

  • Matrix Formulation AX = B of Linear Systems
  • Matrix Inversion Method X = A^(-1) B
  • Row Echelon Form and Gaussian Elimination
  • Gauss-Jordan Row Reduction to Reduced Echelon Form
  • Cramer's Rule for 3x3 Determinants

Exam focus: Step-by-step solving of 3-variable linear systems using Gauss-Jordan row operations and matrix inversion.

Key formulas and definitions

  • Matrix Inverse: A^(-1) = (1 / det(A)) adj(A)
  • Cramer's Rule: x = D_x / D, y = D_y / D, z = D_z / D
  • Consistency: det(A) != 0 ensures unique solution
On this page (10 sections)
  1. The lesson in short
  2. Section A: Matrix Equations and Inversion Method
  3. Method 1The Matrix Inversion Method
  4. Section B: Gaussian and Gauss-Jordan Elimination
  5. Row OpsElementary Row Operations
  6. TechniquesComparison of Row Reduction Methods
  7. Section C: Step-by-Step Solved Problems
  8. Problem 1Problem 1: Solving a 3-Variable System by Matrix Inversion
  9. Problem 2Problem 2: Solving by Gauss-Jordan Elimination
  10. Problem 3Problem 3: Cramer's Rule for 3 Variables

Solutions and answers

Class 12 Mathematics · Unit 5: Matrix based system of linear equation

The lesson in short

Linear systems of algebraic equations model equilibrium states across structural physics, electrical circuitry, chemical stoichiometry, and financial input-output models.

Matrix methods provide scalable algorithmic frameworks for determining whether a system possesses a unique solution, infinitely many solutions, or is inconsistent.

This chapter covers matrix representation (AX=B), matrix inversion method, Gaussian elimination via row operations, Gauss-Jordan reduction, and Cramer's Rule aligned with the NEB Class 12 curriculum.

Section A: Matrix Equations and Inversion Method

A system of three linear equations in three variables: a1​x+b1​y+c1​z=d1​, a2​x+b2​y+c2​z=d2​, a3​x+b3​y+c3​z=d3​ is expressed in compact matrix notation as AX=B, where A is the 3×3 coefficient matrix, X is the 3×1 column vector of variables, and B is the 3×1 column vector of constant terms.

Method 1The Matrix Inversion Method

If det(A)=0 (matrix A is non-singular), the system possesses a unique solution given by: X=A−1B, where A−1=det(A)1​adj(A).

  • Unique Solution: det(A)=0 (coefficient matrix A is full rank).
  • Inconsistent (No Solution): det(A)=0 and [adj(A)]B=O.
  • Infinitely Many Solutions: det(A)=0 and [adj(A)]B=O.

Section B: Gaussian and Gauss-Jordan Elimination

Row OpsElementary Row Operations

  • Ri​↔Rj​: Interchanging any two rows.
  • Ri​→kRi​: Multiplying every element of a row by a non-zero scalar k.
  • Ri​→Ri​+kRj​: Adding a scalar multiple of row j to row i.

TechniquesComparison of Row Reduction Methods

MethodTarget Form of Augmented Matrix [A∣B]Final Step
Gaussian EliminationUpper triangular / Row Echelon Form [U∣B′]Back-substitution starting from the bottom scalar equation
Gauss-Jordan EliminationReduced Row Echelon Form [I∣X]Direct readout of solution vector X without back-substitution

Section C: Step-by-Step Solved Problems

Problem 1Problem 1: Solving a 3-Variable System by Matrix Inversion

Solve the system using matrix inversion method: x+y+z=6, x+2y+3z=14, x+4y+9z=36.

Express the system in matrix form AX=B:

A=​111​124​139​​,X=​xyz​​,B=​61436​​.

Compute the determinant of A:

det(A)=1(18−12)−1(9−3)+1(4−2)=1(6)−1(6)+1(2)=2=0.

Since det(A)=0, matrix A is invertible.

Compute cofactors of matrix A:

C11​=+(18−12)=6,C12​=−(9−3)=−6,C13​=+(4−2)=2,

C21​=−(9−4)=−5,C22​=+(9−1)=8,C23​=−(4−1)=−3,

C31​=+(3−2)=1,C32​=−(3−1)=−2,C33​=+(2−1)=1.

The adjugate matrix is the transpose of the cofactor matrix:

adj(A)=​6−62​−58−3​1−21​​.

The matrix inverse is: A−1=21​​6−62​−58−3​1−21​​.

Multiply X=A−1B:

x=21​[6(6)−5(14)+1(36)]=21​[36−70+36]=21​(2)=1.

y=21​[−6(6)+8(14)−2(36)]=21​[−36+112−72]=21​(4)=2.

z=21​[2(6)−3(14)+1(36)]=21​[12−42+36]=21​(6)=3.

Answer: x=1,y=2,z=3.

Problem 2Problem 2: Solving by Gauss-Jordan Elimination

Solve using Gauss-Jordan elimination: x+2y+z=8, 2x+y−z=1, x−y+2z=5.

Construct the augmented matrix [A∣B]:

​121​21−1​1−12​815​​.

Step 1: Eliminate entries below the first pivot using R2​→R2​−2R1​ and R3​→R3​−R1​:

R2​:[2−2,1−4,−1−2∣1−16]=[0,−3,−3∣−15]. Scale R2​→−31​R2​: [0,1,1∣5].

R3​:[1−1,−1−2,2−1∣5−8]=[0,−3,1∣−3].

Step 2: Eliminate around the second pivot using R1​→R1​−2R2​ and R3​→R3​+3R2​:

R1​:[1,0,−1∣−2].

R3​:[0,0,4∣12]. Scale R3​→41​R3​: [0,0,1∣3].

Step 3: Eliminate above the third pivot using R1​→R1​+R3​ and R2​→R2​−R3​:

R1​:[1,0,0∣−2+3]=[1,0,0∣1].

R2​:[0,1,0∣5−3]=[0,1,0∣2].

R3​:[0,0,1∣3].

Direct readout from identity matrix [I∣X]: x=1,y=2,z=3.

Problem 3Problem 3: Cramer's Rule for 3 Variables

Solve using Cramer's rule: 2x−y+3z=9, x+y+z=6, x−y+z=2.

Evaluate coefficient determinant D:

D=​211​−11−1​311​​=2(1−(−1))−(−1)(1−1)+3(−1−1)=4+0−6=−2.

Since D=0, Cramer's rule guarantees a unique solution.

Evaluate Dx​ (replace column 1 by constants [9,6,2]T):

Dx​=​962​−11−1​311​​=9(2)+1(4)+3(−8)=18+4−24=−2.

Evaluate Dy​ (replace column 2 by constants [9,6,2]T):

Dy​=​211​962​311​​=2(4)−9(0)+3(−4)=8−12=−4.

Evaluate Dz​ (replace column 3 by constants [9,6,2]T):

Dz​=​211​−11−1​962​​=2(8)+1(−4)+9(−2)=16−4−18=−6.

Calculate variable values:

x=DDx​​=−2−2​=1,

y=DDy​​=−2−4​=2,

z=DDz​​=−2−6​=3.

Answer: x=1,y=2,z=3.

Frequently asked questions

What is Matrix based system of linear equation about?

Comprehensive solutions and study guide for Class 12 Mathematics Chapter 5 Matrix based system of linear equation covering matrix inversion, Gaussian elimination, Gauss-Jordan method, and Cramer's rule.

Which topics are covered in Matrix based system of linear equation?

Class 12 Mathematics “Matrix based system of linear equation” covers: Matrix Formulation AX = B of Linear Systems; Matrix Inversion Method X = A^(-1) B; Row Echelon Form and Gaussian Elimination; Gauss-Jordan Row Reduction to Reduced Echelon Form; Cramer's Rule for 3x3 Determinants.

What should I focus on in Matrix based system of linear equation for the exam?

Step-by-step solving of 3-variable linear systems using Gauss-Jordan row operations and matrix inversion.

What are the key formulas or definitions in Matrix based system of linear equation?

Matrix Inverse: A^(-1) = (1 / det(A)) adj(A); Cramer's Rule: x = D_x / D, y = D_y / D, z = D_z / D; Consistency: det(A) != 0 ensures unique solution.

Where can I read the Class 12 Mathematics “Matrix based system of linear equation” solutions?

Right on this page. They are free and you do not need to sign up. For chapter quizzes and the AI tutor, install the Sikshya Plus app.

Study tips

Free for Class 9 to 12

Do not just read it. Practice it.

You have read the solutions for Matrix based system of linear equation. Now test yourself, ask the AI tutor and keep your streak going.

Sikshya Plus chapter quiz screen with class, subject and difficulty options
Sikshya AI personal tutor chat inside the app
Sikshya Plus AI tools screen: question assistant, summarizer, translator, grammar checker
Chapter list with Past Q, materials, posts and books tabs
  • AI quizzes for this chapterTest yourself with instant feedback and explanations after every answer.
  • AI tutor, free, 24/7Stuck on a question? Ask in your own words and get a step-by-step explanation.
  • 14 AI tools in one appSummarizer, grammar checker, flashcards, essay help, math solver and more.
  • Past questions and notesPast papers and your own notes organized chapter by chapter.
Download free on Google Play Scan with your phone to install