Solution of the linear system of two equations with two unknowns using determinant
Let us consider the system of two linear equations with two unknowns.
The most general form of such a system is as follows

, (1)

, (2)
where

,

,

,

are coefficients;

,

are right side constants;

and

are unknowns.
Constants

,

,

,

,

and

are given, the unknown values

and

have to be found to satisfy equations (1) and (2).
There are few different methods to solve the linear system of equations (1), (2).
Substitution method is described in the lesson
Solution of the linear system of two equations with two unknowns by the substitution method in this module.
Elimination method is described in the lesson
Solution of the linear system of two equations with two unknowns by the Elimination method.
In this lesson we describe the
determinant method for the solution of the linear equation system (1), (2).
Calculation formulas
Coefficients of the linear equation system (1), (2) form
the matrix 
(2x2 matrix with 2 rows and 2 columns),
while the right side coefficients

,

form the vector

(which you can consider as the matrix with 2 rows and 1 column).
The
determinant of the 2x2 matrix

is the value

. (3)
If the determinant

of the matrix

is not equal to zero, then the solution of the linear equation system (1), (2) does exist, is unique and
is expressed by the formulas

, (4)

. (5)
Note that the numerator of formulas (4), (5) is the determinant of the matrix obtained from the basic matrix replacing the
first column by the right side vector for

, and replacing the
second column by the right side vector for

. So, you can rewrite formulas (4) and (5) in the form

, (4b)

, (5b)
Example
Solve the system of the two equations
First calculate the determinant of the matrix

:

.
Since the determinant is not equal to zero, then according to the theory, the solution does exist, is unique and is calculated by formulas

,

.
Let us check the calculated solution. Simply substitute the found values of

and

to the original system of equations. You will get

for the left side of the first equation, which coincides with its right side;

for the left side of the second equation, which coincides with its right side.
The check is done, the solution is correct.
Checking validity of the general solution formula
We can check the validity of the general formulas (4) and (5).
To do this, simply substitute the formulas (4) and (5) to the equation (1) first.
For simplicity, let us do it for numerators only.
We have

=

.
After canceling the terms shown by red this is equal to

.
Canceling the numerator and denominator by the determinant, you will get exactly the right side

.
Similar proof is for the second equation. You can do it yourself.
How to derive the general solution formulas
If you want to derive the general solution formulas (4) and (5), simply apply the method "multiply and add" to solve equations (1) and (2).
Multiply equation (1) by

, equation (2) by

and then add them to eliminate

. You will get

.
Express

from this equation, and you will get exactly the formula (4) for

.
Similar method works for

. Do it yourself please.
This lesson has been accessed 393 times.