Matrix equation and matrix inverse |
Matrix equation and matrix inverse | ||
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 "x". We can treat "x" 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.

This form is convenient for theoretical analysis of linear systems. Notice that the matrix

has "m" rows and "n" columns ((m x n)-matrix) while "x" has "n" rows and only one column ((n x 1)-matrix). The result of their multiplication is "b" that has "m" rows and one column ((m x 1)-matrix).

As you can see the multiplication of "m x n" and "n x 1" matrices gives us an "m x 1" matrix. It is also true that the product of "m x n" and "n x k" matrices is an "m x k" matrix if the multiplication is defined as follows.
is an "m x k" matrix defined as

where
are columns of B.
has "m" rows and "k" columns.

is its "j"-th column. The product
is defined only when the number of columns in A is equal to the number of rows in "B". Moreover the product is associative. That means

as long as
is defined.
Theorem 2.1
Let
and
be
and
matrices, respectively. Then

Proof.
Let us show that "ij"-th entries of
and
are the same.
Indeed,

where
is the number of columns in C. For the "j"-th column we have

where
are entries for B. Thus, "ij"-th entry for
is
(2.1)
Multiplication of real numbers is associative and we can group terms in (2.1) as follows.


This is the "i"-th entry of

which is the "j"-th column of

Now we consider "n x n"- matrices. They are called square. Some of the square matrices possess the following very important property - they might be invertible.
An "n x n"- matrix A is invertible if there exists an "n x n"-matrix
such that

where
denotes the identity "n x n"-matrix,

that has all entries outside its diagonal equal to zero while on the diagonal they are equal to "1".
is called the inverse of A.

If the inverse
exists then the solution for the matrix equation

is given by

Indeed, after using
instead of "x" in
we obtain

Notice that

follows from the fact that the matrix multiplication is associative, Theorem 2.1.
Given a "n x n"- matrix A there is a simple and efficient algorithm of calculating its inverse

- i.
- Write the augmented matrix

where "n" is the number of rows (columns) in A.
- ii.
- Try to convert A into
by the elementary row operations (see Chapter 1) where the rows are from

- iii.
- If it is possible to convert A into
then the augmented matrix takes the form

In other words, you need to play a game with
the goal of the game is to bring A into
by using only elementary row operations. If it is possible to make
out of A then A is invertible and as soon as A becomes
the augmented matrix
becomes

Find the inverse
of the matrix

if
exists.
Solution. We start by writing the augmented matrix


After replacing the second row by its sum with the first row multiplied by "-3" the matrix becomes

Dividing the second row by "-5" brings it into the form

Replacing the first row by its sum with the second row multiplied by "-2" leads us to the following matrix.

The algorithm is completed. As you can see A is invertible and its inverse is

To transform a square matrix A into the identity
one can start with Gaussian Elimination Procedure and try to bring A into a triangular form. If A can be made triangular with all elements on the diagonal not zeroes, then A 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 A 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 "-2" and "-1", respectively.

Replacing the third row by its sum with the second row multiplied by "-3" gives us the following matrix.

We already have transformed A into a triangular form. That means A is invertible. To calculate
we have to zero all elements above the diagonal. We start with the last row and eliminate all elements above "2". Subtracting the last row from the second leads us to

Divide the third row by "2" and then substract from the first row.

Finally, subtracting the second row from the first gives us

The inverse matrix is calculated,

Next: Exercises Up: content Previous: Exercises Sergey Nikitin 2004-01-28
