Professional Documents
Culture Documents
Lecture Set – 01
Chapter 1:
Systems of Linear Equations & Matrices
Chapter Contents
x1 = 5 + 4s – 7t, x2 = s, x3 = t
where s, t are arbitrary values
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
a11x1 a12 x2 ... a1n xn b1 a11 a12 ... a1n b1 1th row
a21x1 a22 x2 ... a2 n xn b2 a a ... a b2
21 22 2n
am1 x1 am 2 x2 ... am n xn bm am1 am 2 ... am n bm
am1 x1 am 2 x2 ... amn xn bm am1 am 2 ... am n bm
1 1 2 9 1 1 2 9 1 1 2 9 1 1 2 9
2 4 3 1 0 2 7 17 0 2 7 17 0 1 7 17
2 2
x y 2z 9 x y 2z 9 x 112 z 35
2 x 1
y 72 z 172 y z
7 17
y z
7 17
2 2 2 2 y 2
12 z 32 z 3 z 3 z 3
1 1 2 9 1 1 2 9 1 0 112 35
2 1 0 0 1
0 1 7
172 0 1 7 172 0 1 7
17 0 1 0 2
2 2 2 2
0 0 12 32 0 0 1 3 0 0 1 3 0 0 1 3
Row-echelon form:
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
1 0 0 5 1 0 0 4 1
0 1 0 2 0 1 0 2 6
0 0 0 4 0 0 1 3 2
1 6 0 0 4 2 1 0 0 0
0 0 1 0 3 1 0 1 2 0
0 0 0 1 5 2
0 0 0 1
0 0 0 0 0 0
1-2 Elimination Methods
0 0 2 0 7 12
2 4 10 6 12 28
2 4 5 6 5 1
Leftmost nonzero column
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 The 1th and 2th rows in the
preceding matrix were
2 4 5 6 5 1 interchanged.
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 6 14
0 0 2 0 7 12
The 1st row of the preceding
2 4 5 6 5 1 matrix was multiplied by 1/2.
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 6 14
0 0 2 0 7 -2 times the 1st row of the
12 preceding matrix was added to
0 0 5 0 17 29 the 3rd row.
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
1 2 5 3 6 14
0 0 2 0 7 12
0 0 5 0 17 29 Leftmost nonzero
column in the submatrix
1 2 5 3 6 14
0 0 1 0 7 6 The 1st row in the submatrix
2 was multiplied by -1/2 to
0 0 5 0 17 29 introduce a leading 1.
m < n, and there are r nonzero rows in reduced row-echelon form of the
augmented matrix, we will have r < n. It will have the form:
xk 1 () 0 xk1 ()
xk 2 () 0 xk 2 ()
a11x1 a12 x2 ... a1n xn b1
xkr () 0 xkr () a21x1 a22 x2 ... a2 n xn b2
(Theorem 1.2.1)
am1 x1 am 2 x2 ... amn xn bm
Remark
This theorem applies only to homogeneous system!
A nonhomogeneous system with more unknowns than equations
need not be consistent; however, if the system is consistent, it
will have infinitely many solutions.
e.g., two parallel planes in 3-space
AB Ab1 b 2 b n Ab1 Ab 2 Ab n
a1 a1 B
a a B
AB 2 B 2
a
m a
m B
1 2 n
a x
m1 1 m 2 2a x a x
mn n a
m1 a
m2 amn
The product y = Ax is
The product y = Bx is
1-3 Definitions
If A is any mn matrix, then the transpose of A, denoted
by AT, is defined to be the nm matrix that results from
interchanging the rows and columns of A
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
AB=AC = 3 4
6 8
AD = 0 0
0 0
Theorem 1.4.2 (Properties of Zero Matrices)
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
A–A=0
0 – A = -A
A0 = 0; 0A = 0
1-4 Identity Matrices
A square matrix with 1s on the main diagonal and 0s off
the main diagonal is called an identity matrix and is
denoted by I, or In for the nn identity matrix
If A is an mn matrix, then AIn = A and ImA = A
Example 4
Remark:
The inverse of A is denoted as A-1
Not every (square) matrix has an inverse
An inverse matrix has exactly one inverse
Theorem 1.4.5
a b
The matrix A
c d
is invertible if ad – bc 0, in which case the inverse is given by
the formula 1 d b
1
A
ad bc c a
Example 7
1 2 3 2 7 6
A B AB
1 3 2 2 9 8
1-4 Powers of a Matrix
If A is a square matrix, then we define the nonnegative
integer powers of A to be
A0 I An
AA
A (n 0)
n factors
Powers of matrix
1 2 1 3 2
A A
1 3 1 1
A3 = ?
A-3 =?
1-4 Polynomial Expressions Involving Matrices
Example 10
5 3 5 2
A A
T
2 1 3 1
Chapter Contents
th row of In by c 0
Eij(c) is the elementary matrix obtained by adding c times
Remark
Suppose we can find elementary matrices E1, E2, …, Ek such that
E k … E 2 E 1 A = In
then
A-1 = Ek … E2 E1 In
x1 2 x2 3 x3 0
2 x1 5 x2 3 x3 0 has only trivial solution
x1 8 x3 0
Example 4
d1 0 0 0
1 4 5 0
7 3 4 d2 0 0
3 3 0
7 0 0 d3 0
5 0 7
0 0 0 d4
Remark
The product of two symmetric matrices is symmetric if and only
if the matrices commute, i.e., AB = BA
Example 5
1 2 4 1 1 2 4 3
2 3 1 0 2 3 3 1
Remark:
In general, a symmetric matrix needs not be invertible.
When convenient, ordered n-tuples can be denoted in matrix notation as column vectors. For
example, the matrix
𝑠1
𝑠2
⋮ (2)
𝑠𝑛
can be used as an alternative to (1). We call (1) the comma-delimited form of a vector and (2)
the column-vector form.
T is called multiplication by A.
or
or
9/5/2021 128
Example 2 – Design of Traffic Patterns
p(x) = 𝑎𝑛 𝑥𝑛 + … + 𝑎1 𝑥+𝑎0
The matrix
1 x0 x02 x0n a0 y0
1 x1 x12 x0n a1 y1
n
1 xn 1 xn21 xn 1 an 1 yn 1
1 x xn2 xnn an yn
n