Skip to content

Mathematics · Ch 4 — Determinants

Solution of System of Linear Equations Using Inverse of a Matrix

4.6.1

Solution of System of Linear Equations Using Inverse of a Matrix

4.6.1 Solution of System of Linear Equations Using Inverse of a Matrix

Matrix Representation of a Linear System

Consider a system of three linear equations in three variables xx, yy, zz:

a1x+b1y+c1z=d1a2x+b2y+c2z=d2a3x+b3y+c3z=d3\begin{aligned} a_1 x + b_1 y + c_1 z &= d_1 \\ a_2 x + b_2 y + c_2 z &= d_2 \\ a_3 x + b_3 y + c_3 z &= d_3 \end{aligned}

We can write this system compactly using matrices. Define:

  • Coefficient matrix A=[a1b1c1a2b2c2a3b3c3]A = \begin{bmatrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{bmatrix}
  • Variable matrix X=[xyz]X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}
  • Constant matrix B=[d1d2d3]B = \begin{bmatrix} d_1 \\ d_2 \\ d_3 \end{bmatrix}

Then the system becomes the single matrix equation:

AX=BAX = B

Every system of linear equations can be written in this form when the number of equations equals the number of unknowns.

Note

The matrix AA must be a square matrix for this method to apply directly. If the system has a different number of equations than unknowns, other methods are needed.


Case I: Non-Singular Coefficient Matrix (Unique Solution)

When AA is a non-singular matrix, its determinant is non-zero (∣A∣≠0|A| \neq 0), and its inverse A−1A^{-1} exists.

Starting from AX=BAX = B, multiply both sides on the left by A−1A^{-1}:

A−1(AX)=A−1BA^{-1}(AX) = A^{-1}B

By the associative property of matrix multiplication:

(A−1A)X=A−1B(A^{-1}A)X = A^{-1}B

Since A−1A=IA^{-1}A = I (the identity matrix):

IX=A−1BIX = A^{-1}B

And since IX=XIX = X, we obtain:

X=A−1BX = A^{-1}B

This is the matrix method for solving a system of linear equations.

Important

The solution X=A−1BX = A^{-1}B is unique because the inverse of a matrix is unique. If AA is non-singular, the system has exactly one solution.

Procedure for the Matrix Method

  1. Write the system in matrix form AX=BAX = B
  2. Compute ∣A∣|A|. If ∣A∣≠0|A| \neq 0, proceed
  3. Find A−1A^{-1} using A−1=1∣A∣adj(A)A^{-1} = \frac{1}{|A|} \text{adj}(A)
  4. Compute X=A−1BX = A^{-1}B
  5. Read off the values of xx, yy, zz from XX

Case II: Singular Coefficient Matrix (No Solution or Infinite Solutions)

When AA is a singular matrix, ∣A∣=0|A| = 0 and A−1A^{-1} does not exist. In this case, we examine the product (adj A)B(\text{adj }A)B.

Watch out

A singular coefficient matrix does not automatically mean the system has no solution. It could have infinitely many solutions or no solution at all.

Subcase 1: (adj A)B≠O(\text{adj }A)B \neq O (zero matrix)

The system has no solution. Such a system is called inconsistent. …