A linear equation in two variables is of the form ax + by + c = 0, where a, b, and c are constants (real numbers). Similarly, a linear equation in three variables is of the form ax + by + cz + d = 0, where a, b, c, and d are constants. We have different methods of solving given linear equations in two or three variables in maths. Let us first understand why we prefer using matrices to solve a system of linear equations?
Consider the linear equation in one variable 5x = 2x + 3. We can easily figure out x = 1. When we are given a pair of linear equations consisting of two variables, we use the simultaneous linear equations concept to find out the value of the unknown variables. Similarly, suppose we have a number of linear equations consisting of a number of variables. In that case, finding out the value of the unknown variables becomes tedious and complex. To solve such equations, the use of an inverse matrix is comparatively easier.
There are three methods of solving linear equations in two variables. They are:
Now you will learn how to use an inverse matrix to solve the system of linear equations in three variables.
Solving Linear Equations Using Inverse Matrix
Consider the system of equations:
where
Let
a_1 & b_1 & c_1\cr
a_2 & b_2 & c_2\cr
a_3 & b_3 & c_3
\end{bmatrix}\end{array} \)
x\cr
y\cr
z
\end{bmatrix}\end{array} \)
d_1\cr
d_2\cr
d_3
\end{bmatrix}\end{array} \)
A is known as the coefficient matrix of the system of linear equations.
We can write the given equations in as follows:
a_1 & b_1 & c_1\cr
a_2 & b_2 & c_2\cr
a_3 & b_3 & c_3
\end{bmatrix}\begin{bmatrix}
x\cr
y\cr
z
\end{bmatrix} \begin{bmatrix}
d_1\cr
d_2\cr
d_3
\end{bmatrix}\end{array} \)
We can abbreviate the above system of equations as, AX = B , i.e.
Now two cases arise which are explained further,
Case I: If A  is non-singular matrix
We know that if a matrix is non-singular (i.e. the value of determinant of the matrix is not zero) then the inverse of such a matrix exists.
Since AX = B
Multiplying both sides by A-1
(Using associative property)
As inverse of a matrix is unique therefore this matrix equation gives unique solution for the given system of linear equations.
Case II: If  A is a singular matrix
If a matrix is singular, then the determinant of A Â is zero. Then we will have to calculate the value of
Now, in a case when
On the other hand, if
Example
Example:
Solve the given system of linear equation
Solution:
We can write the above equations in form of matrix as follows:
1 & 3 & -2\cr
2 & -1 & 6\cr
1 & 1 & -2
\end{bmatrix}\begin{bmatrix}
x\cr
y\cr
z
\end{bmatrix} = \begin{bmatrix}
10\cr
3\cr
5
\end{bmatrix}\end{array} \)
To find the matrix
X = A-1 B
Determinant of the matrix A is:
|A| = 1(2 – 6) – 3(-4 – 6) – 2(2 + 1)
= -4 -3(-10) -2(3)
= -4 + 30 – 6
= 20
Let us find the adjoint of matrix A.
Now, A-1 = (adj A)/|A|
A-1 =
\frac{-1}{5} & \frac{1}{5} & \frac{4}{5}\cr
\frac{1}{2} & 0 & \frac{-1}{2}\cr
\frac{3}{20} & \frac{1}{10} & \frac{-7}{20}
\end{bmatrix}\end{array} \)
\frac{-1}{5} & \frac{1}{5} & \frac{4}{5}\cr
\frac{1}{2} & 0 & \frac{-1}{2}\cr
\frac{3}{20} & \frac{1}{10} & \frac{-7}{20}
\end{bmatrix}\begin{bmatrix}
10\cr
3\cr
5
\end{bmatrix}\end{array} \)
x\cr
y\cr
z
\end{bmatrix} \end{array} \)
\frac{60}{23}\cr
\frac{57}{23}\cr
\frac{1}{23}
\end{bmatrix}\end{array} \)
Thus the solution of the above equations is:
Practice Problems
Solve the following questions to get a thorough understanding of the method of solving linear equations in three variables using matrix inverse.
- Solve the following system of linear equations in three variables.
-3x + 2y – 5z = -14
2x – 3y + 4z = 10
x + y + z = 4 - Find the solution of the system of three linear equations in three variables.
3x – 4y + 2z = -9
-4x + 4y + 10z = 32
-x + 2y – 7z = -7 - What is the solution of the following system of linear equations?
4a + 3b = 4
2a + 2b – 2c = 0
5a + 3b + c = -2
Let us learn hand in hand with BYJU’s and explore the depths of knowledge in a way you have never thought before. Please download our app-BYJU’s-The Learning App to keep learning.
Comments