4389 LA ch1
4389 LA ch1
This is a very brief outline of some basic definitions and theorems of linear
algebra. We will assume that you know elementary facts such as how to add
matrices, what an identity matrix is, and what a solution of a linear system
of equations is. Hardly any of the theorems will be proved. More complete
1. References
demic Press.
1
2
..
.
(1) Both sides of any equation may be multiplied by the same nonzero
constant.
Instead of working with the symbols for the variables (the xi ), it is eas-
ier to place the coefficients (the aij ) and the forcing terms (the bi ) in a
The steps of Gaussian elimination are carried out by elementary row oper-
(1) Any row of the matrix may be multiplied throughout by any nonzero
number.
When Gaussian elimination steps are applied to a linear system (i.e. when
elementary row operations are applied to the augmented matrix), the result
is an equivalent system, that is, one that has exactly the same set of solu-
Solved Problems:
Problem 1:
x+y+z =1
x − 2y + 3z = 2
2x − y + 4z = 3
Solution: Let M (i, c) denote the operation of multiplying row i by the con-
stant c. Let A(c, i, k) denote the operation of adding c times row i to row k.
Let S(i, k) denote the operation of swapping rows i and k. Then, starting
4
alent system is
5 2
x+ z =
3 3
2 1
y− z=
3 3
Thus, the original system has infinitely many solutions obtained by assigning
an arbitary value to z and computing x and y from the two equations above.
Problem 2: Solve
1 1 1 | 1
1 −2 3 | 2
2 −1 4 | −1
5
Solution:
1 1 1 | 1 1 1 1 | 1
A(−1,1,2) A(−2,1,3)
−→ 0 −3 2 | 1 −→ 0 −3 2 | 1
2 −1 4 | −1 0 −3 2 | −3
No further steps are necessary because it is obvious that the last two equa-
Again, it is obvious that the system has no solution because the last
equation has no solution. The matrix just above is in a special form called
reduced row echelon form or Hermite normal form. We will discuss it further
in a later section.
Unsolved Problems:
Find all solutions of the following systems. For systems with two or three
1.
x1 + 2x2 − x3 + 2x4 = 1
2x1 − x2 + 2x3 − x4 = 2
3x1 + x2 + x3 + x4 = 3
2.
1 1 1| 2
0
1 2 | 1
2
3 4 | 5
1 0 −1 | 1
3.
x1 + 2x2 − x3 = −1
2x1 + 2x2 + x3 = 1
4.
1 −4 −1 1 | 3
2 −8 1 −4 | 9
−1 4 −2 5 | −6
7
3. Matrix Notation
(3.1) Ax = b,
where
a11 a12 · · · a1n
.
..
A=
am1 am2 · · · amn
is the m × 1 column vector of forcing terms. All of these must have entries
or components from the same number field or scalar field F. Here the scalar
field will almost always be either the real numbers F = R or the complex
numbers F = C.
8
The set of all m × n matrices with entries from the field F is denoted by
B(A|b) = (BA|Bb).
(A1 |A2 | · · · |Ak ). This follows from the rules for matrix multiplication.
mentary row operation has an inverse operation of the same type, that is,
a row operation of the same type which undoes it. The inverse of A(c, i, k)
is A(−c, i, k), the inverse of M (i, c) is M (i, c−1 ), and the inverse of S(i, k)
is S(i, k).
Elementary Matrices:
trix. Therefore, two matrices are row equivalent if one can be obtained from
When we refer to a zero row of a matrix we mean a row whose entries are
(1) All the nonzero rows of B precede all the zero rows of B.
(3) The leading 1 in each nonzero row is to the right of the leading 1’s
(4) The leading 1 in each nonzero row is the only nonzero entry in its
column.
Example 4.1.
1 −2 0 1 0
0 0 1 −1 0
0 0 0 0 1
0 0 0 0 0
10
Fm×n such that B in in reduced row echelon form and is row equivalent to
A.
echelon form of A. The reduced row echelon form of a matrix may be found
by Gaussian elimination.
Definition 4.2. The rank of a matrix is the number of nonzero rows in its
rank of the coefficient matrix A is the same as the rank of the augmented
matrix (A|b).
Unsolved Problems: Find the reduced row echelon form and rank of each
1.
0 1 2 1
−2 0 2 0
3 2 1 2
11
2.
2 −2 1
1 0 0
2 −1 1
5. Invertible Matrices
invertible if and only if its reduced row echelon form is invertible. However,
the only reduced row echelon matrices that are invertible are the identity
(1) A is invertible.
until A is in reduced row echelon form. If the rank of A is less than n that
12
(In |A−1 ).
Theorem 5.2. A ∈ Fn×n is invertible if and only if for each b ∈ Fn×1 the
Solved Problems:
Solution: Adjoin a 3 × 3 identity matrix to the right of the given matrix and
then use gaussian elimination steps. Two or more steps may be combined.
2 −2 1 | 1 0 0 0 −2 1 | 1 −2 0
1 0 0 | 0 1 0 −→ 1 0 0 | 0 1 0
2 −1 1 | 0 0 1 0 −1 1 | 0 −2 1
1 0 0 | 0 1 0 1 0 0 | 0 1 0
−→ 0 1 −1 | 0 2 −1 −→ 0 1 −1 | 0
2 −1
0 −2 1 | 1 −2 0 0 0 1 | −1 −2 2
13
1 0 0 | 0 1 0
−→ 0 1 0 | −1 0 1
0 0 1 | −1 −2 2
HB = E1 · · · Ek
If the last row of H were zero, the last row of the right hand side above would
be zero also. Below you are asked to show that no product of elementary
1.
1 0 3
0 −2 −2
1 −3 1
14
2.
0 0 1
0 1 0
1 0 0
3. Show that if A ∈ Fm×n has a zero row its rank is less than m. Then
show that a product of elementary matrices does not have a zero row. This
E ∗ is elementary. matrix.
6. Determinants
on whether the number of pairs (i, j such that i < j and σ(i) > σ(j) is even
X n
Y
det(B) = sgn(σ) bi,σ(i) .
σ i=1
useful results are easily proved. In the following theorem, we use the same
i > j, lower triangular if bi,j = 0 for i < j, and triangular if it is either upper
det(B)det(C).
for each i, hi,i 6= 0. This occurs if and only if H = I, i.e., if and only if B is
invertible.
det(B) to the cross product of the plane vectors b,1 and b,2 , it can be seen
that the absolute value of det(B) is the area enclosed by the parallogram
16
with adjacent sides b,1 and b,2 . Similarly, if B is a real 3 × 3 matrix, the
Solved Problems:
The last matrix is triangular, so its determinant is the product of its di-
agonal entries, −2. This is equal to the product of the determinant of the
given matrix and the determinants of the elementary matrices used in the
reduction. Each of the elementary matrices was of type ”A”, which have
2.
i 2+i 0
−1 3 2i
0 −1 1 − i
17
Unsolved Problems: