Elementary Linear Algebra
Elementary Linear Algebra
Chapter I
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
am1 x1 am 2 x2 ... amn xn bm am1 am 2 ... amn bm
Elementary row operations
Multiply an equation through by a nonzero constant
Interchange two equation
Add a multiple of one equation to another
1 0 0 1
2. Gaussian Elimination 0 1 0 2
2.1. Echelon Forms 0 0 1 3
A matrix is in reduced row-echelon form
If a row does not consist entirely of zeros, then the first nonzero
number in the row is a 1. We call this a leader 1.
If there are any rows that consist entirely of zeros, then they are
grouped together at the bottom of the matrix.
In any two successive rows that do not consist entirely of zeros, the
leader 1 in the lower row occurs farther to the right than the leader 1
in the higher row.
Each column that contains a leader 1 has zeros everywhere else.
A matrix that has the first three properties is said to be in row-echelon form.
Note: A matrix in reduced row-echelon form is of necessity in row-echelon form,
but not conversely.
2.2. Elimination Methods
A step-by-step elimination procedure that can be used to reduce any matrix
to reduced row-echelon form
0 0 2 0 7 12
2 4 10 6 12 28
2 4 5 6 5 1
Step1. Locate the leftmost column that does not consist entirely of zeros.
Step2. Interchange the top row with another row, to bring a nonzero
entry to top of the column found in Step1
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.
Step4. Add suitable multiples of the top row to the rows below so that all
entries below the leading 1 become zeros
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
2 x1 2 x2 x3 x5 0
x1 x2 2 x3 3x4 x5 0
x1 x2 2 x3 x5 0
x3 x4 x5 0
Theorem 1.2.1
A homogeneous system of linear equations with more unknowns
than equations has infinitely many solutions.
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
Two matrices are defined to be equal if they have the same size and their
corresponding entries are equal
If A = [aij] and B = [bij] have the same size, then A = B if and only if
aij = bij for all i and j
If A and B are matrices of the same size, then the sum A + B is the matrix
obtained by adding the entries of B to the corresponding entries of A.
The difference A – B is the matrix obtained by subtracting the entries of B
from the corresponding entries of A
If A is any matrix and c is any scalar, then the product cA is the matrix
obtained by multiplying each entry of the matrix A by c. The matrix cA is
said to be the scalar multiple of A
If A = [aij], then cAij = cAij = caij
If A is an mr matrix and B is an rn matrix, then the product AB is the
mn matrix whose entries are determined as follows.
(AB)mn = Amr Brn
am1 am 2 amn bm
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
3 4
o AB=AC =
6 8
0 0
o AD = 0 0
Theorem 1.4.2 (Properties of Zero Matrices)
o 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
4.4. Invertible
If A is a square matrix, and if a matrix B of the same size can be found
such that AB = BA = I, then A is said to be invertible and B is called an
inverse of A. If no such matrix B can be found, then A is said to be
singular.
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.4
If B and C are both inverses of the matrix A, then B = C
Theorem 1.4.5
The matrix A
a b
c d
A n ( A1 ) n
A
1 1
A
A1 (n 0)
n factors
Theorem 1.4.7 (Laws of Exponents)
If A is a square matrix and r and s are integers, then ArAs = Ar+s,
(Ar)s = Ars
If A is an invertible matrix, then:
o A-1 is invertible and (A-1)-1 = A
o An is invertible and (An)-1 = (A-1)n for n = 0, 1, 2, …
o For any nonzero scalar k, the matrix kA is invertible and
(kA)-1 = (1/k)A-1
Example
Theorem 1.5.2
o Elementary Matrices and Nonsingularity
Each elementary matrix is nonsingular, and its inverse is
itself an elementary matrix. More precisely,
Eij-1 = Eji (= Eij)
Ei(c)-1 = Ei(1/c) with c 0
Eij(c)-1 = Eij(-c) with i j
Remark
Suppose we can find elementary matrices E1, E2, …, Ek such that
Ek … E2 E1 A = In
then
A-1 = Ek … E2 E1 In
Example 4
(Using Row Operations to Find A-1)
o Find the inverse of
1 2 3
A 2 5 3
1 0 8
o Solution:
To accomplish this we shall adjoin the identity matrix to the
right side of A, thereby producing a matrix of the form [A |
I]
We shall apply row operations to this matrix until the left
side is reduced to I; these operations will convert the right
side to A-1, so that the final matrix will have the form [I | A-
1]
6. Further Results on Systems of Equations and Invertibility
6.1. Theorems
Theorems 1.6.1
o Every system of linear equations has either no solutions, exactly
one solution, or in finitely many solutions.
Theorem 1.6.2
o If A is an invertible nn matrix, then for each n1 matrix b, the
system of equations Ax = b has exactly one solution, namely, x =
A-1b.
Example
Theorem 1.7.2
o If A and B are symmetric matrices with the same size, and if k is
any scalar, then
AT is symmetric
A + B and A – B are symmetric
kA is symmetric
o Remark
The product of two symmetric matrices is symmetric if and
only if the matrices commute, i.e., AB = BA
o Example
Theorem 1.7.3
o If A is an invertible symmetric matrix, then A-1 is symmetric.
o Remark:
In general, a symmetric matrix needs not be invertible.
The products AAT and ATA are always symmetric
o Example
Theorem 1.7.4
o If A is an invertible matrix, then AAT and ATA are also invertible