Chapter 1. System of Linear Equations and Matrices
Chapter 1. System of Linear Equations and Matrices
1
CONTENTS
1.1 Introduction to Systems of Linear Equations
1.2 Gaussian Elimination
1.3 Matrices and Matrix Operations
1.4 Inverses; Rules of Matrix Arithmetic
1.5 Finding Inverse by Elementary Matrices
1.6 Further Results on Systems of Equations
and Invertibility
1.7 Diagonal, Triangular & Symmetric Matrices
2
1.1. INTRODUCTION TO SYSTEMS
OF LINEAR EQUATIONS
3
1.1.1 LINEAR EQUATIONS
Any straight line in the xy-plane is represented by a
linear equation of the form
a1x + a2y = b
where a1, a2, and b are real constants and a1, a2 are
not simultaneously zeros
x = 3 and y = 112
6
We can also assign to y an arbitrary value t, then
x = 12 t + 14 y =t
Note. The two sets of solutions are the same.
8
Example. Consider the system
4x1 – x2 + 3x3 = –1
3x1 + x2 + 9x3 = –4
Then x1 = 1, x2 = 2, x3 = –1 is a solution.
However, x1 = 1, x2 = 8, x3 = 1 is not a solution since
these values satisfy only the first equation.
am1 x1 + am 2 x2 + + amn xn = bm
The double subscripting on the coefficients of the
unknowns allows us to specify their location:
- The first subscript on the coefficient aij indicates
the equation in which this coefficient occurs (i)
- The second subscript indicates which unknown this
coefficient multiplies (j)
12
1.1.3 AUGMENTED MATRICES
x + y + 2z = 9 1 1 2 9
2 x + 4 y − 3z = 1
aug := 2 4 -3 1
3x + 6 y − 5 z = 0
3 6 -5 0
Solution. Add –2 times the 1st equation to the 2nd
16
Add –2 times the 1st equation to the 2nd
x + y + 2z = 9 1 1 2 9
2 y − 7 z = −17 aug := 0 2 -7 -17
3x + 6 y − 5 z = 0
3 6 -5 0
Add –3 times the 1st equation to the 3rd
x + y + 2z = 9 1 1 2 9
2 y − 7 z = −17 aug := 0 2 -7 -17
3 y − 11z = −27 0 3 -11 -27
1
Multiply 2nd equation by 2
1 1 2 9
x + y + 2z = 9
-7
-17
aug := 0 1
y − 72 z = − 172
2 2
3 y − 11z = −27 0 3 -11 -27
17
Add –3 times the 2nd equation to the 3rd
1
x + y + 2z = 9
1 2 9
-7 -17
y − 72 z = − 172 aug :=
0 1
2 2
-3
− 12 z = − 32 -1
0 0
2 2
Multiply 3rd equation by –2 1 1 2 9
x + y + 2z = 9
-7 -17
aug := 0
y− z =−
7
2
17
2
1
2 2
z= 3 0 0 1 3
Add –1 times the 2nd equation to the 1st
11 35
1 0
2
x + z=
11
2
35
2
2
aug := -17
y − 72 z = − 172
-7
0 1
2 2
z= 3
0 0 1
3 18
11 35
x + z=
11 35
1 0
2 2
2 2
y − 72 z = − 172
aug := -7 -17
0 1
z= 3
2 2
0 0 1 3
Add − 112 times the 3rd equation to the 1st , and 7
2
times the 3rd equation to the 2nd
1 0 0 1
x =1
y =2 aug := 0 1 0 2
z =3 0 0 1 3
19
1.2. GAUSSIAN ELIMINATION
20
1.2.1 ECHELON FORMS
In the last section a linear system in the unknowns x, y, z
is solved by reducing the augmented matrix to the form
1 0 0 1
aug := 0 1 0 2
0 0 1 3
22
A row-echelon matrix has the form of a staircase
0
0 0
0 0
0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
Where the entry may be any nonzero number (the
leading entry), and may be any number
1 4 -3 7 1 1 0 0 1 2 6 0
0 1 6 2 0 1 0 0 0 1 -1 0
0 0 1 5 0 0 0 0 0 0 0 1
24
Example. Solve the following systems where the
augmented matrices are in reduced row-echelon form.
1 0 0 5
(a) 0 1 0 -2
0 0 1 4
25
1 0 0 4 -1
(b)
0 1 0 2 6
0 0 1 3 2
x1 + 4 x4 = −1
x2 + 2 x4 = 6
x3 + 3 x4 = 2
27
1 6 0 0 4 -2
(c)
0 0 1 0 3 1
0 0 0 1 5 2
0 0 0 0 0 0
Solution. The last row doesn't contribute to find the
solutions of the system. We can write the system as
x1 + 6 x2 + 4 x5 = −2
x3 + 3x5 = 1
x4 + 5 x5 = 2
We can solve for the leading variables x1, x3, x4 in
terms of the free variables x2 and x5
x1 = −2 − 6 x2 − 4 x5
x3 = 1 − 3x5
x4 = 2 − 5 x5 28
We can assign arbitrary values, say s and t to the free
variable x2 and x5. The general solution is
x1 = –2 – 6s – 4t , x2 = s, x3 = 1 – 3t ,
x4 = 2 – 5t, x5 = t
1 0 0 0
(d) 0 1 2 0
0 0 0 1
0 0 -2 0 7 12
2 4 -10 6 12 28
2 4 -5 6 -5 -1 30
Step 1. Locate the leftmost nonzero column: column 1
0 0 -2 0 7 12
2 4 -10 6 12 28
2 4 -5 6 -5 -1
2 4 -10 6 12 28
0 0 -2 0 7 12
2 4 -5 6 -5 -1
31
Step 3. Multiply the 1st row with a suitable scalar (1/2)
to introduce a leading 1
1 2 -5 3 6 14
0 0 -2 0 7 12
2 4 -5 6 -5 -1
1 2 -5 3 6 14
Add –5 times new row 1
0 0 1 0
-7
-6
2
to new row 2
0 0 5 0 -17 -29
1 2 -5 3 6 14
Cover the new row 1 and
-7
begin again with Step1
0 0 1 0
2
-6
1
1
0 0 0 0
2 33
1 2 -5 3 6 14
Multiply new row 1 by 2
-7
0 0 1 0 -6
to introduce leading 1
2
1
1
0 0 0 0
2
1 2 -5 3 6 14 1 2 -5 3 6 14
-7 -7
0 0 1 0 -6 0 0 1 0 -6
2 2
0 0 0 0 1 2 0 0 0 0 1 2
34
Note. Gaussian Elimination procedure as presented
is convenient for hand computations
Traditionally, Step 3 is not included since it causes
more computations
2 4 -10 6 12 28
0 0 -2 0 7 12
1
0 0 0 0 1
2 35
2 4 -10 6 12 28 1 2 -5 3 6 14
0 0 -2 0 7 12 -7
0 0 1 0 -6
2
1
0 0 0 0 1
2 0 0 0 0 1 2
36
Step 6. Working upward from the last nonzero row. Add
suitable multiples of each row to the rows above it so
that all entries above the pivot becomes zeros
1 2 -5 3 6 14
1 2 -5 3 6 14
(2)+7/2*(3)
-7
0
0 1 0 -6
0 0 1 0 0 1
2
0 0 0 0 1 2 0 0 0 0 1 2
1 2 -5 3 0 2 1 2 0 3 0 7
0 0 1 0 0 1 0 0 1 0 0 1
(1) + 5*(2)
0 0 0 0 1 2 0 0 0 0 1 2
38
Apply the row-reduction to the augmented matrix
1 3 -2 0 2 0 0 1 3 -2 0 2 0 0
0 0 -1 -2 0 -3 -1 0 0 -1 -2 0 -3 -1
0 0 5 10 0 15 5 0 0 0 0 0 0 0
0 0 4 8 0 18 6 0 0 0 0 0 6 2
1 3 -2 0 2 0 0
0 0 -1 -2 0 -3 -1
0 0 0 0 0 6 2
0 0 0 0 0 0 0
1 3 0 4 2 0 0
0 0 1 2 0 0 0
1
0 0 0 0 0 1
3
0 0 0 0 0 0 0
x6 = 13 x5 = t x4 = s
x3 = 1 − 2 x4 − 3x6 = 1 − 2s − 3( 13 ) = −2s x2 = r
x1 = −3x2 + 2 x3 − 2 x5 = −3r + 2(−2s) − 2t = −3r − 4s − 2t
44
1.2.4 HOMOGENEOUS LINEAR
SYSTEMS
A system of linear equation is said to be homogeneous
if all the constant terms are zero
a11 x1 + a12 x2 + + a1n xn = 0
a21 x1 + a22 x2 + + a2 n xn = 0
am1 x1 + am 2 x2 + + amn xn = 0
x1= 0, x2= 0, …, xn = 0 is always a solution called the
trivial solution.
All other solutions, if exist, are non trivial
45
Thus a homogeneous linear system either has
✓ only the trivial solution, or
✓ infinitely many solutions
A general homogeneous linear system of two
equations in two unknowns has the form:
a1x + b1y = 0
a2x + b2y = 0
46
Example. Solve by Gauss-Jordan elimination.
2 x1 + 2 x2 − x3 + x5 = 0
− x1 − x2 + 2 x3 − 3x4 + x5 = 0
x1 + x2 − 2 x3 − x5 = 0
x3 + x4 + x5 = 0
Solution. The augmented matrix of the system
and its reduced row-echelon form are
2 2 -1 0 1 0 1 1 0 0 1 0
-1 -1 2 -3 1 0 0 0 1 0 1 0
1 1 -2 0 -1 0 0 0 0 1 0 0
0 0 1 1 1 0 0 0 0 0 0 0
47
The corresponding system of equations is
x1 + x2 + x5 = 0
x3 + x5 = 0
x4 = 0
49
50
1.3. MATRICES AND MATRIX
OPERATIONS
51
1.3.1 MATRIX NOTATION &
TERMINOLOGY
Definition. A matrix is a rectangular array of numbers.
The numbers in the array are called the entries in the
matrix
Example. e
− 2
1 2
0 1
1 1
3 0 [2 1 0 -3] [ 4]
2
3
-1 4 0 0 0
54
b1
b
a = a1 a2 an] b= 2
bm
55
1.3.2 OPERATIONS ON MATRICES
Definition. Two matrices are equal if they have the
same size and their corresponding entries are equal.
c A = c A + c A
i =1
i i 1 1 2 2 + + cn An
Example.
2 3 4 0 2 7 9 -6 3
A :=
B :=
C :=
1 3 1 -1 3 -5 3 0 12
7 2 2
2 A − B + 13 C = 2 A + (−1) B + 13 C =
4 3 11
59
Definition. Let A be an m r matrix and B an r n
matrix, then the product AB is the m n matrix whose
entries are defined as
(AB)ij = (A)i1(B)1j + (A)i2(B)2j + … + (A)ir(B)rj
= k =r1 (A)ik(B)kj
Example. Let 4 1 4 3
1 2 4
B= 0 1
A =
-1 3
2 6 0
2 7 5 2
To get (AB)23 we will multiply the corresponding entries
in row 2 and column 3 and sum up the products
60
To get (AB)23 we will multiply the corresponding entries
in row 2 and column 3 and sum up the products
4 1 4 3
1 4
2
0 -1 3 1 (AB)23=24+63+05 = 26
2 6 0
2 7 5 2
12 27 30 13
AB =
8 -4 26 12
61
In general
a11 a12 a1r
a b11 b12 b1 j b1n
21 a22 a2 r
b b b b
21 22 2j 2n
AB =
ai1 ai 2 air
r1 r 2
b b b brn
rj
am1 am 2 amr
r
Then ( AB ) ij = aik bkj = ai1b1 j + ai 2b2 j + + air brj
k =1
63
1.3.4 MATRIX FORM OF
A LINEAR SYSTEM
Consider the system of m equations in n unknowns
a11 x1 + a12 x2 + + a1n xn = b1
a21 x1 + a22 x2 + + a2 n xn = b2
am1 x1 + am 2 x2 + + amn xn = bm
We can view this as an equality of the corresponding
entries of two m1 matrices
70
a11 x1 + a12 x2 + + a1n xn b1 The left hand side is
a x + a x + + a x b the product of A with
21 1 22 2 2n n
= 2
an1 an 2 amn xn bm
x1 b1
x b
where x= 2 and b= 2
xn bm 71
1.3.5 TRANSPOSE OF A MATRIX
72
Example. The transposes of some matrices.
74
1.4. INVERSES; RULES OF
MATRIX ARITHMETIC
75
1.4.1 PROPERTIES OF MATRIX
OPERATIONS
A(B – C) = AC – BC
(B – C)A = BA – CA
a(B – C) = aB – aC
(a – b) C = aC – bC 77
1 2
Example. Let 4 3 1 0
A= 3 4 B =
C =
2 1 2 3
0 1
Then 8 5
10 9
AB = 20 13 and BC =
4 3
2 1
Thus 8 5 18 15
1 0
(AB)C = 20 13 = 46 39
2 3
2 1 4 3
and
1 2 18 15
10 9
A(BC) = 3 4 = 46 39
= (AB)C
4 3
0 1
4 3 78
Note. Due to the associativity of the addition and
the multiplication we may write
A + (B + C) = (A + B) + C = A + B + C
A(BC) = (AB)C = ABC
79
-1 0 1 2
Example. Let A =
and B =
2 3 3 0
Then
-1 -2 3 6
AB =
BA =
11 4 -3 0
1 0 0
1 0
I 3 = 0 1 0 I2 =
0 0 1 0 1
82
Example.
1 0 0
a11 a12 a13 a11 a12 a13
a a =
a23
0 1 0
21 22 0 0 1 a21 a22 a23
85
0 1 3 7
Example. A = 0 and B = 0
0 2 0 0
but
0 1 3 7
AB = =0
0 2 0 0
❖ We can look at the Cancellation Law for
multiplication of real numbers in another way,
namely if a is invertible (has an inverse), then
ab = 0 b = 0
The same result also holds for matrix multiplication
Let's define what is an invertible matrix first
86
Definition. A square matrix A is said to be invertible if
there is a matrix of same size B such that
AB = BA = I
B is called the inverse of A, and denoted by A–1.
A square matrix without inverse is called a singular
matrix
3 5 2 − 5
Example. B = is an inverse of A =
1 2 − 1 3
2 − 5 3 5 1 0
since AB = = =I
− 1 3 1 2 0 1
3 5 2 − 5 1 0
and BA = = =I
1 2 − 1 3 0 1 87
Now if A is an invertible matrix, then
AB = 0 B = 0
A–1(AB) = (A–1A)B = IB = B
Hence B=0
88
The above result may also be rephrased as follows:
1 4 0
Example. The matrix A = 2 5 0
is singular since 3 6 0
1 4 0 0 0
AB = 2 5 0 0 = 0 while B = 0 0
3 6 0 1 1
89
Theorem. If A and B are invertible matrices of the
same size, then AB is invertible and
(AB)–1 = B–1A–1
Proof.
(AB)(B–1A–1) = A(BB–1)A–1 = AIA–1 = AA–1 = I
Similarly
(B–1A–1)(AB) = I
Corollary. If A1, A2, …, An are invertible matrices of
the same size, then
3 −2 3 −2 3 −2 41 −30
−3 −1 3
A = (A ) = =
−1 1 −1 1 −1 1 −15 11
11 30 41 −30
−3
A A =
3
= I2
15 41 −15 11 92
Let A be a square matrix of order m, and
p(x) = a0 + a1x + … + anxn
is a polynomial of degree n, then we define
p(A) = a0I + a1A + … + anAn
where I is the identity matrix of order m
− 1 2
Example. Let A= and p(x) = 2x2 –3x + 4
0 3
then p( A) = 2 A2 − 3 A + 4 I
−1 2 −1 2 1 0 = 9 2
2
= 2 −3 + 4 0 13
0 3 0 3 0 1
93
1.4.5. PROPERTIES OF THE
TRANSPOSE
Theorem. Assuming the following matrix operations
are defined, then we have
(a) (AT )T = A
(b) (A + B)T = AT + BT
(c) (A – B)T = AT – BT
(d) (kA)T = kAT
(e) (AB)T = BTAT
More generally
(A1A2…An)T = AnT An–1T… A2T A1T
94
Theorem. If A is an invertible matrix, then AT is also
invertible and
(AT )–1 = (A–1)T
− 5 − 3
Example. Let A =
2 1
− 5 2 1
−1 3
then A =
T
and A =
− 3 1 − 2 − 5
We have 1 − 2
(A )
−1 T
=
− =( )
AT −1
3 5
95
1.5. FINDING INVERSES BY
ELEMENTARY MATRICES
96
1.5.1 ELEMENTARY MATRICES
Definition. A square matrix of order n is elementary if
it can be obtained from the identity matrix In by
performing a single elementary row operation
99
Example. 1 0 1 0 1 0
0 1 → 0 7 → 0 1
1
multiply row 2 by 7 multiply row 2 by 7
1 0 0 1 1 0
0 1 → 1 0 → 0 1
interchange rows 1, 2 interchange rows 1, 2
1 0 1 5 1 0
0 1 → 0 1 → 0 1
Add 5 times row 2 to row 1 Add –5 times row 2 to row 1
100
Theorem. Every elementary matrix is invertible, and
the inverse is also an elementary matrix
105
Thus we have proved
1 2 3
Example. Find the inverse of A = 2 5 3
1 0 8
1 2 3 1 0 0 1 2 3 1 0 0
0 1 − 3 − 2 1 0 0 1 − 3 − 2 1 0
0 0 − 1 − 5 2 1 0 0 1 5 − 2 − 1
108
1 2 3 1 0 0 1 2 0 − 14 6 3
0 1 − 3 − 2 1 0 0 1 0 13 − 5 − 3
0 0 1 5 − 2 − 1 0 0 1 5 − 2 − 1
1 0 0 − 40 16 9
0 1 0 13 − 5 − 3
0 0 1 5 − 2 − 1
− 40 16 9
A−1 = 13 − 5 − 3
5 − 2 − 1
109
Note. If we do not know in advance that A is invertible,
then we can still carry out the foregoing reduction
steps on [ A I ] until:
▪ The left side is I so that A is invertible and the right
side is A–1
▪ The left side contains a zero row and we conclude that
A is not invertible 1 6 4
Example. Consider the matrix A = 2 4 − 1
− 1 2 5
Apply the reduction steps on [ A I ]
1 6 4 1 0 0
0 − 8 − 9 − 2 1 0 Hence A is not
invertible
0 0 0 − 1 1 1
110
Application. We have already seen that the following
matrix A is invertible
1 2 3
A = 2 5 3
1 0 8
Hence the corresponding homogeneous linear
system has only the trivial solution
x1 + 2 x2 + 3x3 = 0
2 x1 + 5 x2 + 3x3 = 0
x1 + 8 x3 = 0
111
1.6. SYSTEMS OF EQUATIONS
AND INVERTIBILITY
112
1.6.1. SOLVING LINEAR SYSTEMS BY
MATRIX INVERSION
Theorem. Every system of linear equations either has
no solution, exactly one solution, or infinitely many
solutions.
Example. Let
x1 + 2 x2 + 3x3 = 5
2 x1 + 5 x2 + 3x3 = 3
x1 + 8 x3 = 17
Or putting in matrix form Ax = b, where
1 2 3 x1 5
A = 2 5 3 x = x2 b = 3
1 0 8 x3 17
114
We already compute the inverse of A
− 40 16 9
A−1 = 13 − 5 − 3
5 − 2 − 1
Therefore
− 40 16 9 5 1
x = A−1 Ax = A−1b = 13 − 5 − 3 3 = − 1
5 − 2 − 1 17 2
or x1 = 1, x2 = –1, and x3 = 2
115
❖ Consider now k systems of linear equations
Ax = b1
Ax = b2
…
Ax = bk
with the common invertible coefficients matrix A.
The solutions are
x1 = A–1b1
x2 = A–1b2
…
xk = A–1bk
These solutions may be computed using one
matrix inversion and k matrix multiplications
116
However this method is not efficient
An efficient method is to augment the coefficient
matrix A by k columns that are the right hand sides
of the systems
[ A | b1| b2| …| bk ]
117
Example. Solve the systems
x1 + 2 x2 + 3x3 = 4 x1 + 2 x2 + 3x3 = 1
2 x1 + 5 x2 + 3x3 = 5 and 2 x1 + 5 x2 + 3x3 = 6
x1 + 8 x3 = 9 x1 + 8 x3 = − 6
1 2 3 4 1
A = 2 5 3 5 6
1 0 8 9 − 6
118
Reduce this augment matrix to reduced row-
echelon form
1 0 0 1 2
0 1 0 0 1
0 0 1 1 −1
This leads to two systems
x1 = 1 x1 = 2
x2 = 0 and x2 = 1
x3 = 1 x3 = − 1
The solutions are x1 = 1, x2 = 0, x3 = 1;
and x1 = 2, x2 = 1, x3 = –1 respectively
119
1.6.2. PROPERTIES OF INVERTIBLE
MATRICES
Theorem. Let A be a square matrix, then A is
invertible if one of the following conditions holds
(a) There exists a matrix B such that BA = I
(b) There exists a matrix B such that AB = I
Moreover the matrix B in (a) or (b) is precisely A–1
Proof. Assume that (a) holds and x is any solution of
the homogeneous linear system Ax = 0. Then
x = BAx = B0 = 0
Therefore A is invertible and B = BAA–1 = IA–1 = A–1
Similarly if (b) holds then A = B–1. Hence B = A–1
120
Corollary. If A is an n n matrix, then A is
invertible if and only if the system Ax = b is
consistent for every n 1 matrix b.
122
Example. Find conditions on b1, b1, …, bn such that
x1 + x2 + 2 x3 = b1
x1 + x3 = b2
2 x1 + x2 + 3x3 = b3
is consistent
Solution. The augmented matrix is
1 1 2 b1
A = 1 0 1 b2
2 1 3 b3
123
The reduced row-echelon form is
1 1 2 b1
0 1 1 b − b
1 2
0 0 0 b3 − b2 − b1
The 3rd row may be written as
0x1 + 0x2 + 0x3 = b3 – b2 – b1
i.e. b3 = b1 + b2
In other words, the column matrix b has the form
b1
b
2
b1 + b2
124
Example. Find conditions on b1, b1, …, bn such that
x1 + 2 x2 + 3x3 = b1
2 x1 + 5 x2 + 3x3 = b2
x1 + 8 x3 = b3
is consistent
Solution. The augmented matrix is
1 2 3 b1
2 5 3 b
2
1 0 8 b3
125
The reduced row-echelon form is
1 0 0 − 40b1 + 16b2 + 9b3
0 1 0 13b − 5b − 3b
1 2 3
126
1.7. DIAGONAL, TRIANGULAR &
SYMMETRIC MATRICES
127
1.7.1 DIAGONAL MATRICES
Definition. A square matrix is said to be a diagonal
matrix if all entries off the main diagonal are zero
Example. 6 0 0 0
0 − 4 0 0
1 0 0
2 0 0 1 0 0 0 0 0
0 − 5
0 0 1 0 0 0 8
128
A general n n diagonal matrix may be written as
d1 0 0
0 d 0
D= 2
0 0 dn
This matrix is invertible if and only all diagonal
entries are non zero. Moreover
1 0 0
d1
0 1 0
D −1 = d2
1
0 0
d n 129
Powers of a diagonal matrix are simple to compute
d1k 0 0
k
0 d2 0
D =
k
k
0 0 d n
The product of a matrix with a diagonal matrix is
also simple to compute
132
d1r1
d r
And DA = 2 2 where r1, r2, …, rn are row vectors of A
d nrn
1 5 9 1 10 27
2 1 0 0
6 1 2 12 3
Example. 0 2 0 =
3 7 2 3 14 6
0 0 3
4 8 3 4 16 9
1 0 0 1 2 3 4 1 2 3 4
0 2 0 5 6 7 8 = 10 12 14 16
0 0 3 9 1 2 3 27 3 6 9
133
1.7.2 TRIANGULAR MATRICES
Definition. A square matrix is a lower (upper)
triangular matrix if all entries above (below) the
main diagonal are zero. A matrix is a triangular if it is
either lower triangular or upper triangular
Example.
a11 0 0 a11 a12 a1r
a 0
21 a22 0 a22 a2 r
an1 an 2 anr 0 0 air
134
Note. Let A = [aij] be a square matrix, then
▪ A is lower triangular if aij = 0 for i<j
▪ A is upper triangular if aij = 0 for i>j
Theorem.
(a) The transpose of a lower (upper) triangular matrix
is an upper (lower) triangular matrix
(b) The product of lower (upper) triangular matrices is
a lower (upper) triangular matrix
(c) The inverse of a lower (upper) triangular matrix is a
lower (upper) triangular matrix
(d) A triangular matrix is invertible if and only if its
diagonal entries are all nonzero
135
Example. Let
1 3 − 1 3 − 2 2
A = 0 2 4 and B = 0 0 − 1
0 0 5 0 0 1
Then
1 − 32 75 3 − 2 − 2
−1 1 2
A = 0 2 − 5 and AB = 0 0 2
0 0 1
5
0 0 5
136
1.7.3 SYMMETRIC MATRICES