The system of linear equations can be written in many different forms. In this course we discuss only some of them. The form that includes unknown variables
was already considered in the previous chapter.
Now we take a look at the matrix representation of this system. The following table of numbers is a matrix of the system.
The right hand side of the system is the following column.
We use notations
in order to write the system in matrix form. The string of unknowns
is denoted by
. We can treat
as the following matrix.
Now we define the multiplication between
and
such that
Then the system of linear equation can be written in the matrix form.
has
rows and
columns.
Proof.
Let us show that
-th entries of
and
are the same.
Indeed,
Now we consider
- matrices. They are called square. Some of the square matrices possess the following very important property - they might be invertible.
Given a
- matrix
there is a simple and efficient algorithm of calculating its inverse
In other words, you need to play a game with
the goal of the game is to bring
into
by using only elementary row operations. If it is possible to make
out of
then
is invertible and as soon as
becomes
the augmented matrix
becomes
Solution. We start by writing the augmented matrix
To transform a square matrix
into the identity
one can start with Gaussian Elimination Procedure and try to bring
into a
triangular form. If
can be made triangular with all elements on the diagonal not zeroes, then
is invertible and moving upwards from the last row one can "kill" all elements above the diagonal. We illustrate this idea with the following example.
Solution. The augmented matrix
has the following form.
Now we apply Gaussian Elimination Procedure in order to bring
into a triangular form. After interchanging the first and the second row we have
We replace the second and the third row by their sums with the first row multiplied by
and
respectively.
We already have transformed
into a triangular form. That means
is invertible. To calculate
we have to zero all elements above the diagonal. We start with the last row and eliminate all elements above
Subtracting the last row from the second leads us to