Beruflich Dokumente
Kultur Dokumente
Algebra
Anton & Rorres, 9th Edition
Lecture Set 01
Chapter 1:
Systems of Linear Equations & Matrices
Chapter Contents
03/27/16
03/27/16
03/27/16
Solution:
We can assign arbitrary values to any two variables and
solve for the third variable
For example
x1 = 5 + 4s 7t,
x2 = s,
x3 = t
where s, t are arbitrary values
03/27/16
x ... a1n xn b1
12 2
03/27/16
03/27/16
The location of the +s, the xs, and the =s can be abbreviated
by writing only the rectangular array of numbers.
This is called the augmented matrix for the system.
It must be written in the same order in each equation as the
unknowns and the constants must be on the right
1th column
b
2n
2
21 22
03/27/16
1th row
bm
b
2n
2
21 22
03/27/16
bm
1-1 Example 3
(Using Elementary Row
x y 2z 9
x Operations)
y 2z 9
x y 2z 9
2 y 7 z 17
2 x 4 y 3z 1
x y 2z
y 72 z 172
2 y 7 z 1 7
3x 6 y 5 z 0
1 1 2 9
2 4 3 1
3 6 5 0
x y 2z
y 72 z 172
12 z 32
1 1 2
0 1 7
2
0 0 12
03/27/16
9
172
32
3x 6 y 5 z
9
1 1 2
0 2 7 17
3 6 5
0
1 1
0 2
x y 2z
y z
7
2
9
17
2
2
7
112 z
9
172
3
35
2
y z
7
2
35
2
17
2
1
y
2
z 3
1 0 0 1
0 1 0 2
0 0 1 3
x
17
2
z 3
1 0 112
7
0
1
0 0 1
9
1 1 2
0 1 7 17
2
2
0 3 11 27
9
17
0 3 11 27
z 3
1 1 2
0 1 7
2
0 0 1
3 y 11z
3 y 11z 27
11
Chapter Contents
03/27/16
12
1 0 0 1
0 1 0 2
0 0 1 3
03/27/16
13
1-2 Example 1
1 0 0
, 0 1 0
0 0 1 1 0 0 1
4
7
0
0
,
0
1 2 0 1
0 0 1 3 0 0
,
0 0 0 0 0 0
0 0 0 0
Row-echelon form:
1 4 3 7 1 1 0
0 1 6 2 , 0 1 0
0 0 1 5 0 0 0
03/27/16
0 1 2 6 0
, 0 0 1 1 0
0 0 0 0 1
14
1-2 Example 2
*
1
0
0
*
*
1
0
*
*
*
1
0
,
0
*
1
0
0
*
*
1
0
*
*
*
1
0
,
0
*
1
0
0
*
*
0
0
*
*
0
, 0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
*
1
0
0
*
*
1
0
*
*
*
0
*
*
*
0
1
0
03/27/16
0
1
0
0
0
0
1
0
0 1
0 0
,
0 0
1 0
0
1
0
0
0
0
1
0
* 1
* 0
,
* 0
0 0
0
1
*
*
0
0
0
0
*
0
*
, 0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
*
*
*
*
0
0
0
0
0
0
0
0
1
0
*
0
*
0
*
*
*
1
*
*
*
*
0 *
0 *
0 *
0 *
1 *
15
1-2 Example 3
Solutions of linear systems
1 0 0 4 1
0 1 0 2 6
0 0 1 3 2
1 0 0 5
0 1 0 2
0 0 0 4
1 6 0 0 4 2
0 0 1 0 3 1
0 0 0 1 5 2
0 0 0 0 0
1 0 0 0
0 1 2 0
0 0 0 1
2 4 5 6 5 1
03/27/16
17
0 0 2 0 7
2 4 10 6 12
2 4
28
6 5 1
Step1. Locate the leftmost column that does not consist entirely of
zeros.
0 0 2 0 7 12
2 4 10 6 12 28
2 4 5 6 5 1
12
Step2. Interchange the top row with another row, to bring a nonzero
entry to top of the column found in Step1
2 4 10 6 12 28
0 0 2 0 7 12
2 4 5 6 5 1
03/27/16
18
Step3. If the entry that is now at the top of the column found in
Step1 is a, multiply the first row by 1/a in order to introduce a
leading 1.
1 2 5 3
0 0 2 0
6
7
14
12
2 4 5 6 5 1
Step4. Add suitable multiples of the top row to the rows below so
that all entries below the leading 1 become zeros
1 2 5 3
0 0 2 0
0 0
03/27/16
14
12
0 17 29
6
7
19
Step5. Now cover the top row in the matrix and begin again with
Step1 applied to the submatrix that remains. Continue in this way
until the entire matrix is in row-echelon form
14
1 2 5 3 6
0 0 2 0 7
12
0 0 5 0 17 29
14
1 2 5 3 6
0 0 1 0 7 6
2
0 0 5 0 17 29
03/27/16
Leftmost nonzero
column in the
submatrix
The 1st row in the
submatrix was multiplied
by -1/2 to introduce a
leading 1.
20
1 2 5 3 6 14
0 0 1 0 72 6
0 0 0 0 12
1
1 2 5 3 6 14
0 0 1 0 7 6
2
0 0 0 0 12 1
1 2 5 3 6 14
0 0 1 0 7 6
2
0 0 0 0 1 2
03/27/16
21
03/27/16
22
1-2 Example 4
2 x5
2 x1 6 x2 5 x3 2 x4 4 x5 3 x6 1
5 x3 10 x4
2 x1 6 x2
15 x6 5
8 x4 4 x5 18 x6 6
1-2 Example 5
0 0
0 0
0
0
0
1
0 0 1 1 / 3
0 0 0 0
2 x5
0
3 x6 1
x6 1/3
1-2 Example 6
03/27/16
26
1-2 Example 7
0
0
1
0
0
1
1
0
0
0
x5 0
x1 x2 2 x3 3 x4 x5 0
x1 x2 2 x3
x5 0
x3 x4 x5 0
2 2 1 0 1 0
1 1 2 3 1 0
1 1 2 0 1 0
0
0
0
1
0
0
03/27/16
x3 t , x4 0, x5 t
27
xk 1
xk 2
() 0
(Theorem 1.2.1)
03/27/16
xk 2 ()
xkr () 0
xk1 ()
xkr ()
28
Theorem 1.2.1
Remark
03/27/16
29
Chapter Contents
03/27/16
30
a11
a
21
am1
a12
a22
... a1n
... a2 n
am 2 ... amn
03/27/16
31
1-3 Definition
03/27/16
32
1-3 Definition
1-3 Definitions
am1
a12
a22
ai 2
am 2
a1r
a2 r
air
amr
03/27/16
34
1-3 Example 5
Multiplying matrices
1 2 4
A
2
6
0
4 1 4 3
B 0 1 3 1
2 7 5 2
1-3 Example 6
A
A
21
22
and A22
a31 a32 a33 a34
03/27/16
a11
A a21
a31
a12
a22
a13
a23
a32
a33
a11
A a21
a31
a12
a13
a22
a32
a23
a33
a14 r1
a24 r2
a34 r3
a14
a24 c1 c 2
a34
c3
c4
37
If a1, a2, ..., am denote the row matrices of A and b1 ,b2, ...,bn
denote the column matrices of B,then
AB A b1 b 2 b n Ab1
AB
03/27/16
a1
a
2
am
Ab 2 Ab n
a1 B
a B
2
a
B
m
Elementary Linear Algorithm
38
1-3 Example 7
2
6
0
4 1 4 3
B 0 1 3 1
2 7 5 2
Let
a11
a
A 21
am1
a12 a1n
a22 a2 n
am 2 amn
x1
x
and x 2
xn
Then
03/27/16
a x a x a x
21
1
22
2
2
n
n
x
Ax
1
a
x
a
x
a
x
mn n
m1 1 m 2 2
a11
a21
x2
am1
a12
a22
xn
am 2
a1n
a2 n
amn
40
1-3 Example 8
03/27/16
41
1-3 Example 9
03/27/16
42
a21 x1 a22 x2 a2 n xn b2
am1 x1 am 2 x2 amn xn bn
a11
a
21
am1
a12 a1n x1 b1
a22 a2 n x2 b2
am 2 amn xm bm
am1 x1 am 2 x2 amn xn bm
Ax b
am1
03/27/16
b1
a2 n
b2
am 2 amn
bm
a22
43
1-3 Example 10
0 1
a
x
b
The product y = Ax is
The product y = Bx is
0 1
1 0
1-3 Definitions
That is, the first column of AT is the first row of A, the second
column of AT is the second row of A, and so forth
aii
For an nn matrix A = [aij], tr ( A)
i 1
03/27/16
45
2 3
A 1 4
5 6
Trace of matrix:
7
0
1 2
3
8
4
B
1
2
7 3
2
1
0
Chapter Contents
03/27/16
47
03/27/16
48
Theorem 1.4.1
(Properties of Matrix
Assuming that the sizes of the matrices are such that the indicated
Arithmetic)
A+B=B+A
A + (B + C) = (A + B) + C
A(BC) = (AB)C
A(B + C) = AB + AC
(B + C)A = BA + CA
A(B C) = AB AC,
a(B + C) = aB + aC,
(a+b)C = aC + bC,
a(bC) = (ab)C,
03/27/16
49
1-4 Example 2
03/27/16
51
03/27/16
52
1-4 Example 3
3 4
0 1
A
0 2
AB=AC = 3 4
6 8
AD = 0 0
0 0
2 5
3 4
3 7
0 0
Assuming that the sizes of the matrices are such that the
indicated operations can be performed ,the following
rules of matrix arithmetic are valid
A+0=0+A=A
AA=0
0 A = -A
A0 = 0; 0A = 0
Example 4
03/27/16
55
Theorem 1.4.3
1-4 Invertible
Remark:
03/27/16
57
1
3
3 5
B
1
2
is singular
1-4 Theorems
Theorem 1.4.4
Theorem 1.4.5
a b
The matrix A
c
d
03/27/16
59
Theorem 1.4.6
Example 7
1 2
A
1 3
3 2
B
2
2
7 6
AB
9 8
An AA
A (n 0)
n factors
03/27/16
61
(kA)-
1-4 Example 8
Powers of matrix
1 2
A
1
3
A3 = ?
A-3 =?
3 2
A
1
1
03/27/16
64
03/27/16
65
03/27/16
((AT)T = A
(A + B)T = AT + BT and (A B)T = AT BT
(kA)T = kAT, where k is any scalar
(AB)T = BTAT
66
Example 10
5 3
A
1
2
5 2
A
3 1
T
Chapter Contents
03/27/16
68
03/27/16
69
Eij is the elementary matrix obtained by interchanging the ith and j-th rows of In
1-5 Example 1
03/27/16
71
03/27/16
72
03/27/16
73
03/27/16
Row operation on I
That produces E
Row operation on E
That produces I
Multiply row i by c0
74
Examples
Theorem 1.5.2
03/27/16
76
Theorem 1.5.3(Equivalent
Statements)
If A is an nn matrix, then the following statements are
equivalent, that is, all true or all false
A is invertible
Ax = 0 has only the trivial solution
The reduced row-echelon form of A is In
A is expressible as a product of elementary matrices
03/27/16
77
Remark
03/27/16
78
1-5 Example 4
(Using Row Operations to Find
-1
AFind
) the inverse of
1
A 2
1
2
5
0
3
3
8
Solution:
03/27/16
79
1-5 Example 4
03/27/16
80
03/27/16
81
1-5 Example 5
6
4
2
4
1
5
03/27/16
82
1-5 Example 6
2
5
0
3
3
8
x1 2 x2 3 x3 0
2 x1 5 x2 3x3 0
x1
03/27/16
8 x3 0
83
Chapter Contents
03/27/16
84
Theorems 1.6.1
03/27/16
85
Theorem 1.6.2
03/27/16
86
1-6 Example 1
03/27/16
87
03/27/16
88
1-6 Example 2
x1 2 x2 3x3 1
2 x1 5 x2 3 x3 5
2 x1 5 x2 3 x3 6
x1
03/27/16
8 x3 9
x1
8 x3 6
89
Theorems 1.6.3
03/27/16
90
A is invertible
Ax = 0 has only the trivial solution
The reduced row-echelon form of A is In
A is expressible as a product of elementary matrices
Ax = b is consistent for every n1 matrix b
Ax = b has exactly one solution for every n1 matrix b
03/27/16
91
Theorem 1.6.5
03/27/16
92
1-6 Example 3
x3 b 2
2 x1 x2 3x3 b 3
03/27/16
93
1-6 Example 4
2 x1 5 x2 3 x3 b 2
x1
03/27/16
8 x3 b 3
94
Chapter Contents
03/27/16
95
03/27/16
96
0
0
d
n
0
1 / d1
0 1/ d
0
2
1
0
0
1
/
d
n
d1k
0
Dk
03/27/16
0 0
d 2k 0
k
0 d n
97
03/27/16
98
03/27/16
99
03/27/16
100
Theorem 1.7.1
03/27/16
101
1-7 Example 3
03/27/16
3
2
0
1
4
5
3
B 0
0
2
0
0
2
1
1
102
Example 4
7
3
03/27/16
3
7
1
4
d1
0
d2
d3
0
0
0
d4
103
Theorem 1.7.2
Remark
AT is symmetric
A + B and A B are symmetric
kA is symmetric
Example 5
1 2 4 1
2 3 1 0
03/27/16
1 2 4 3
2 3 3 1
104
Theorem 1.7.3
Remark:
In general, a symmetric matrix needs not be invertible.
The products AAT and ATA are always symmetric
03/27/16
105
1-7 Example 6
03/27/16
106
Theorem 1.7.4
03/27/16
107