









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










JOHN QUIGG
A matrix is a rectangular array of numbers. The general notation for a matrix is
a 11 a 12 · · · a 1 n a 21 a 22 · · · a 2 n
................... am 1 am 2 · · · amn
This matrix has size m × n, which means it has m rows and n columns. The ij-entry is aij , which is the number in the ith row and jth column. The set of all m × n matrices is written Rm×n.
Example:
is a 4 × 3 matrix, and the 2, 3-entry, the entry in the 2nd row and 3rd column, is a 23 = 6.
If A = [aij ] and B = [bij ] are both m × n matrices, then the sum of A and B is the m × n matrix A + B with ij-entry aij + bij. Addition of different-size matrices is undefined.
Example: If
, and C =
then
A + B =
Date: October 3, 2004. 1
2 JOHN QUIGG
and A + C is undefined.
If A = [aij ] is an m × n matrix and c is a number, then cA is the m × n matrix with ij-entry caij. A scalar is just a number, and cA is a scalar multiple of A.
Example: 3
The zero matrix of any size m × n is called O and has every entry equal to 0. The negative of a matrix A is −A = (−1)A. If A and B matrices of the same size, then A − B = A + (−B).
Properties:
A row matrix has 1 row, and a column matrix has 1 column. The rows of any matrix can be regarded as row matrices, and similarly with the columns.
Warning: We also write a column matrix
x =
x 1 x 2 .. . xn
as an ordered n-tuple x = (x 1 , x 2 ,... , xn). Be careful not to confuse this with a row matrix
x 1 x 2 · · · xn
. We write Rn^ for Rn×^1. A vector is a column matrix.
4 JOHN QUIGG
has the unique solution (1, 1).
Example: The system x 1 + x 2 = 1 x 1 + x 2 = 2
is inconsistent.
Two systems are equivalent if they have:
and − 2 u − 4 v = − 6
are equivalent, because they both have 1 equation, 2 variables, and solution set (3 − 2 t, t).
The general strategy for solving a linear system is to change it into an equivalent system for which the solution set is obvious.
CHAPTER 1 5
The augmented matrix of a system a 11 x 1 + · · · + a 1 nxn = b 1
.................................. am 1 x 1 + · · · + amnxn = bm
is (^)
a 11 · · · a 1 n b 1
.................. am 1 · · · amn bm
Every matrix with at least 2 columns is the augmented matrix of a unique system.
Example: The augmented matrix of the system 2 x 1 + x 2 = 5 x 1 − 3 x 2 + 2 x 3 = 0 5 x 2 + x 3 = 1
is (^)
Example: The matrix [ 1 1 2 2 1 3
is the augmented matrix of the system
x 1 + x 2 = 2 2 x 1 + x 2 = 3
To solve a linear system, it’s easier to work with the augmented matrix rather than the system itself.
For some augmented matrices the solution set of the associated sys- tem is obvious:
Example: The system associated to the augmented matrix [ 1 0 6 0 1 3
is x 1 = 6 x 2 = 3
so the solution set is (6, 3).
CHAPTER 1 7
If the augmented matrix of a linear system is in reduced echelon form, the leading variables correspond to leading columns, and the free variables do not.
The above examples show that when the augmented matrix of a linear system is in reduced echelon form, the solution set is obvious:
So, to solve a system, we’d like to convert the augmented matrix into reduced echelon form, keeping the systems equivalent. Here are the operations we’ll use: an elementary row operation on a matrix is one of the following:
(i) multiply a row by a nonzero scalar (ii) interchange two rows (iii) add a scalar multiple of one row to another row
A matrix A is row equivalent to another matrix B if A can be trans- formed into B by a finite sequence of elementary row operations.
Properties:
Gauss-Jordan elimination uses elementary row operations to change a matrix into reduced echelon form. This is always possible. Although the sequence of elementary row operations used to convert a matrix A into a reduced echelon matrix B is not unique, the matrix B itself is unique, and it’s called the reduced echelon form of A.
8 JOHN QUIGG
Example: Consider the system
3 x 2 = 2 2 x 1 + 4 x 2 = − 2
We apply Gauss-Jordan elimination to the augmented matrix: [ 0 3 2 2 4 − 2
swap rows 1 and 2
(1/2)R 1 −−−−→
multiply row 1 by 1/
(1/3)R 2 −−−−→
multiply row 2 by 1/
− 2 R 2 +R 1 −−−−−→
add -2 times row 2 to row 1
Thus the reduced echelon form of [ 0 3 2 2 4 − 2
is
so the solution of the system is (− 7 / 3 , 2 /3).
Example: System:
x 1 − 2 x 2 − 7 x 3 − 6 x 4 = − 10 −x 1 + x 3 − 2 x 4 = 0
Gauss-Jordan elimination: [ 1 − 2 − 7 − 6 − 10 − 1 0 1 − 2 0
R 1 +R 2 −−−−→
− 1 / 2 R 2 −−−−→
2 R 2 +R 1 −−−−→
Solution set:
(s − 2 t, 5 − 3 s − 5 t, s, t)
10 JOHN QUIGG
x 1 .. . xn
(^) = (x 1 ,... , xn)
b 1 .. . bm
(^) = (b 1 ,... , bm)
The augmented matrix of a system with coefficient matrix A and constant term matrix b is
A b
The system is homogeneous if the constant terms are all 0, that is, b = 0. A homogeneous system always has the trivial solution x = 0. Because there are as many leading variables as nonzero rows in the reduced echelon form of the augmented matrix, a homogeneous sys- tem with more variables than equations has nontrivial (hence infinitely many) solutions.
If c 1 ,... , cn are scalars and A 1 ,... , An are matrices of the same size, then
∑n i=1 ciAi^ is a^ linear combination^ of^ A^1 ,... , An, with^ coefficients c 1 ,... , cn. The general solution of a homogeneous system can be ex- pressed as a linear combination of particular solutions, one for each parameter.
Example: The general solution of the homogeneous system with augmented matrix [ 1 − 2 0 − 3 0 0 0 1 − 4 0
is
(2s + 3t, s, 4 t, t) = s(2, 1 , 0 , 0) + t(3, 0 , 4 , 1),
which is a linear combination of the particular solutions (2, 1 , 0 , 0) and (3, 0 , 4 , 1) with coefficients s and t.
An m×n matrix is square if m = n. The diagonal entries of a square matrix [aij ] are a 11 , a 22 ,... , ann, and the other entries are nondiagonal. A square matrix is diagonal if its nondiagonal entries are all 0. The n×n identity matrix, denoted I, is diagonal and has all diagonal entries equal to 1.
Properties:
CHAPTER 1 11
CHAPTER 1 13
The matrix form of a linear system a 11 x 1 + · · · + a 1 nxn = b 1
.................................. am 1 x 1 + · · · + amnxn = bm
is Ax = b. Thus, the system is consistent if and only if b is a linear combination of the columns of A.
A matrix A is invertible if there exists a matrix B such that AB = BA = I.
In this case, A and B must both be n × n for some n. If A is invertible, the matrix B is unique, and is called the inverse of A and written A−^1. A square matrix is singular if it is not invertible.
Example: [ 1 3 1 2
because [ 1 3 1 2
Example: A square nonzero matrix might be singular: if
A =
then for any 2 × 2 matrix B the second row of AB is zero, so A is singular.
If A is a square matrix and n is an integer, the nth power of A is
An^ =
n ︷ ︸︸ ︷ A · · · A if n > 0 I if n = 0 (A−^1 )|n|^ if n < 0 and A is invertible
Properties:
If A is invertible and B has the same number or rows as A, then the matrix equation AX = B has the unique solution X = A−^1 B.
14 JOHN QUIGG
An elementary matrix is obtained from an identity matrix by a single elementary row operation.
Properties:
A square matrix is invertible if and only if it is row equivalent to an identity matrix.
A 2 × 2 matrix [ a bc d ] is invertible if and only if ad − bc 6 = 0, in which case [ a b c d
ad − bc
d −b −c a
If A and B are n × n, and AB = I or BA = I, then A is invertible and B = A−^1.
If A is invertible then A−^1 B can be computed using elementary row operations:
[ A B
] (^) ero’s −−→
Example:
− 2 R 2 +R 1 −−−−−→
(1/5)R 3 −−−−→