 # Introduction In this topic, we will discuss the applications of determinants and matrices for solving the system of linear equations in two or three variables and for checking the consistency of the system of linear equations.

## Solution of a system of linear equations in two variables

Consider the system of equations,
a1x+b1y=d1
a2x+b2y=d2 Then the system of equations can be written as AX=B If A is a non singular matrix then inverse exists and X=A-1B

For example: Solve the system of equations 2x+5y=1
3x+2y=7 Hence x = 1 and y = -1

## Solution of a system of linear equations in three variables

Consider the system of equations a1x+b1y+c1z=d1
a2x+b2y+c2z=d2
a3x+b3y+c3z=d3
As in the previous case, take the coefficients of x, y and z as A unknown values as X and constants after equality sign as B. Here also, we can write the system of equations as AX=B
If A is non-singular matrix then inverse exists and X=A-1B
Example: The sum of three numbers is 6.  If we multiply third number by 3 and add second number to it, we get 11.  By adding first and third numbers, we get double of the second number.  Represent it algebraically and find the numbers using matrix method.
Solution: Let first, second and third numbers be x, y and z respectively.
According to the given conditions, we have
x + y + z = 6
y + 3z = 11
x + z = 2y

This system can be written as AX = B, where Hence inverse exists, so X=A-1B Hence x = 1, y = 2 and z = 3

## Consistent System :

A system of equations is said to be consistent if its solution one or more exists.
For example:  The system of equations given above, 2x + 5y = 1 and 3x + 2y = 7 are consistent since they have unique solution.

## Inconsistent System :

A system of equations is said to be inconsistent if its solution does not exist.

## Conditions for the consistency of a given system of equations  :

Given a system of equations, take the coefficient matrix as A, matrix with unknown things as X and matrix with the constants after the equality sign in the system of equations as B, so that the system can be written in the form AX = B
Case I: Find |A|, If |A|≠0, then inverse exists and system has unique solution which is given by X=A-1B
Case II:  If |A|=0, then find (Adj A)B
•    If (Adj A)B≠0, then the solution does not exists and the system of equations is said to be inconsistent.
•    If (Adj A)B ;=0, then the system may be either consistent or inconsistent according as the system have either infinitely many solutions or no solution.
For example: Examine the consistency of the following system of equations
i) x+2y=2
2x+3y=3 Since |A|≠0, the system is consistent and has unique solution.
ii) x+3y=5
2x+6y=8 ≠ 0
Since (Adj A) B ≠ 0, the system is inconsistent and has no solution.

Now try it yourself!  Should you still need any help, click here to schedule live online session with e Tutor!