Академический Документы
Профессиональный Документы
Культура Документы
Andrei Antonenko
February 12, 2003
Multiplicative inverse
!
1 0
a b
Example 1.1. The matrix
doesnt have an inverse, since if
is an inverse,
0 0
c d
!
!
!
!
!
1 0
a b
1 0
a b
1 0
than
=
, from what
=
which is never the case.
0 0
c d
0 1
0 0
0 1
!
!
1 2
5 2
Example 1.2. The inverse for the matrix
is
since
3 5
3 1
!
!
!
1 2
5 2
1 0
=
3 5
3 1
0 1
Now were ready to give a formula for an inverse of 2 2-matrix.
!
a b
exists if and only if ad bc 6= 0 and
Proposition 1.3. The inverse of 2 2-matrix
c d
!1
!
a b
d b
1
=
ad bc c a
c d
Proof. If ad bc 6= 0 then we can simply check that this matrix is the inverse:
!
!
a b
d b
ad bc ab + ab
1 0
1
1
=
=
ad bc c a
ad bc cd cd cb + da
c d
0 1
1
We will not give a proof that if a matrix has an inverse, then ad bc 6= 0. This fact can be
generalized to the case of larger matrices, and well prove it later in more general form.
The proposition above is useful when you want to get an inverse of a 2 2-matrix. Later
well provide a method of finding the inverses of larger matrices, but for 2 2-matrices this is
the easiest one.
Transpose of a matrix
Definition 2.1. Matrix B is called transpose of a matrix A (notation: B = A> ) if bij = aji .
In other words, we should take rows of a matrix A and write them as columns of matrix B.
Then B = A> . In general form, if
.
.
.
.
am1 am2 amn
then
A = .
..
..
..
.
.
.
.
.
a1n a2n amn
!
1 2
1
3
Example 2.2. Let A =
. Than A> =
.
3 4
2 4
1
2
Example 2.3. Let A = 1 2 3 4 . Than A> = . In general,
3
4
a1 a2
>
a1
a1
>
a2
a2
= . , and . = a1 a2
an
..
..
an
an
an
1 2 3
1 4 7
1. (A> ) = A.
2. For any number we have (A)> = A> . So, we can first multiply a matrix by a
number, and than take a transpose, or first take a transpose and than multiply the result
by a number well get the same result.
3. For any equal-size matrices A and B we have (A + B)> = A> + B > .
4. For any matrices A and B such that AB is defined we have (AB)> = B > A> .
Properties 1-3 are obvious, and the property 4 requires a proof. But first well give appropriate examples.
!
1 2
1 1
5 5
Example 2.5. Let A =
and B =
. Then AB =
, and (AB)>
3 4
2 2
11 11
!
5 11
1
3
1
2
4
8
equals to
. Now, A> =
, and B > =
. So, A> B > =
, and
5 11
2 4
1 2
6 12
!
5
11
B > A> =
. So we see, that (AB)> = B > A> and (AB)> 6= A> B > .
5 11
Proof of the property 4. Let AB = C = (cik ). Then
c>
ki = cik =
aij bjk =
>
b>
kj aji ,
...
a x + a x + + a x = b
m1 1
m2 2
mn n
m
3
a11
a21
.
.
.
an m (n + 1)-matrix
a12 a1n b1
a22 a2n b2
..
..
..
..
.
.
.
.
am1 am2
amn bm
As for systems, for matrices we can define elementary operations, REF, RREF, and use the
same algorithms as for systems to reduce matrices to REF and RREF. So, given a system, we
can write its matrix, and then perform all the operations to transpose it to some of these forms,
and then get back to the system and write the solution for it.
Lets consider a linear system:
a x + a x + + a x = b
21 1
22 2
2n n
2
(1)
.
.
.
a11 a12 a1n
b1
x1
a21 a22 a2n
b2
x2
A=
, B=
, X=
..
..
..
..
..
..
.
.
.
.
.
.
am1 am2 amn
bm
xn
(2)
Now we can see that the system (1) can be written in the following form:
AX = B
Lets check it:
a11
a21
AX = B
..
.
a12
a22
..
.
..
.
a1n
x1
b1
a2n x2 b2
..
.. = ..
. . .
b1
a11 x1 + a12 x2 + + a1n xn
a x + a x + + a x b2
21 1
22
2
2n
n
=
..
...
a x + a x + + a x = b
21 1
22 2
2n n
2
...
(3)
4.1
Interchanging
Lets imagine that we want to interchange two rows if a matrix. It can be done by multiplying
by the appropriate matrix. So, if we want to interchange rows i and j then we should use the
following matrix:
..
..
1
.
.
..
. . . ..
.
.
.
.
.
.
.
.
0
.
.
.
1
.
.
.
.
.
.
i
.. . . ..
= Pij
.
.
.
j
.
.
.
.
.
.
1
.
.
.
0
.
.
.
.
.
.
..
.. . .
.
.
.
..
..
.
.
1
where all the elements that are not shown are the same as the elements of the identity matrix.
If we multiply this matrix by A, i.e. take Pij A, well get:
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
Pij A = . . . . . . . . . . . . . . . . . . . for A = . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
4.2
Multiplication
Lets imagine that we want to multiply a row of a matrix by a given number c 6= 0. It can be
done by multiplying by the appropriate matrix. So, if we want to multiply row i by c 6= 0 then
we should use the following matrix:
..
.
. . ..
. .
i . . . . . . c . . . . . .
= Qi (c)
.
.. . . .
..
.
1
5
where all the elements that are not shown are the same as the elements of the identity matrix.
If we multiply this matrix by A, i.e. take Qi (c)A, well get:
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
ca
i1
i2
in
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
am1 am2 amn
am1 am2 amn
4.3
Addition
Lets imagine that we want to add one row multiplied by a number to some other row. It can
be done by multiplying by the appropriate matrix. So, if we want to add row j multiplied by
c to row i then we should use the following matrix:
..
1
.
..
...
i
. . . . . . 1 . . . c . . . . . .
.
... .
= I + cIij 1
.
j
1
.
.
.. . .
..
.
1
where all the elements that are not shown are the same as the elements of the identity matrix.
If we multiply this matrix by A, i.e. take (I + cIij )A, well get:
a1n
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(I + cIij )A = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . for A = . . . . . . . . . . . . . . . . . . .
ajn
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
amn
Now well give some examples.
Example 4.1. Lets suppose we want to interchange the 2nd and the 3rd rows of the matrix
1 2 3
4 5 6
7 8 9
1
by Iij we will denote the matrix which has 1 at (i, j)-th place and zeros on all other places.
1 0 0
1 2 3
1 2 3
0 0 1 4 5 6 = 7 8 9
0 1 0
7 8 9
4 5 6
Example 4.2. Lets suppose we want to multiply the 2nd row of the matrix
1 2 3
4 5 6
7 8 9
by 4. We will do it
0
0
1 2 3
1
2
3
1 2 3
0 0
4 0 4 5 6 = 4 4 4 5 4 6 = 16 20 24
7 8 9
7
8
9
7 8 9
0 1
4
7
multiplied by
0
3
3 to the 3rd
1
0 0
1 0 4
7
0 1
2 3
5 6
8 9
1 2 3
1
2
3
2 3
5
6 =4 5 6
5 6 = 4
10 14 18
31+7 32+8 33+9
8 9
So, as we can see, all elementary row operations can be considered as a multiplication by
the appropriate matrix.