Matrix 3
Matrix 3
Matrix 3
RANK OF A MATRIX
Let A be any m n matrix. Then A consists of n column vectors
a₁, a₂ ,....,a, which are m-vectors.
DEFINTION:
The rank of A is the maximal number of linearly
independent column vectors in A, i.e. the maximal number
of linearly independent vectors among {a₁, a₂,......, a}.
If A = 0, then the rank of A is 0.
We write rk(A) for the rank of A. Note that we may compute
the rank of any matrix-square or not
2
RANK OF 2×2MATRIX
Let us see how to compute 2 2 matrix:
EXAMPLE :
a b
The rank of a 2 2 matrix A = is given by
c d
rk ( A) 2 if det A ad bc 0, since both column vectors are
independent in this case.
0 0
rk(A) = 1 if det(A) = 0 but A 0 = ,since both column vectors
0 0
are not linearly independent, but there is a single column vector that is
linearly independent (i.e. non-zero).
rk(A) = 0 if A = 0
3
2. BY DETERMINANTS
3. BY MINORS
4. BY NORMAL FORM
4
GAUSS ELIMINATION:
Use elementary row operations to reduce A to echelon form. The rank of A is the
number of pivots or leading coefficients in the echelon form. In fact, the pivot
columns (i.e. the columns with pivots in them) are linearly independent.
Note that it is not necessary to and the reduced echelon form –any
echelon form will do since only the pivots matter.
POSSIBLE RANKS:
Counting possible number of pivots, we see that rk(A) m and rk(A) n
for any m n matrix A.
5
EXAMPLE
1 0 2 1
A= 0 2 4 2
0 2 2 1
6
SOLUTION
We use elementary row operations:
1 0 2 1 1 0 2 1
A= 0 2 4 2 0 2 4 2
0 2 2 1 0 0 2 1
Since the echelon form has pivots in the first three columns,
A has rank, rk(A) = 3. The first three columns of A are linearly independent.
7
2. USING DETERMINANTS
Definition:
Let A be an m n matrix. A minor of A of order k is a determinant of a k X k
sub-matrix of A.
We obtain the minors of order k from A by first deleting m rows and n -k
columns, and then computing the determinant. There are usually many
minors of A of a give order.
3. USING MINORS
Proposition:
Let A be an m X n matrix. The rank of A is the maximal order of a non-zero minor of A.
Idea of proof:
If a minor of order k is non-zero, then the corresponding columns of A are linearly
independent.
Solution:
The maximal minors have order 3, and we found that the one obtained by
deleting the last column is 4 0. Hence rk(A) = 3.
11
Solution:
1 2 1
9 5 2 = 7(-1) + (-1)(-7) =0
7 1 0
The other three are also zero. Since all minors of order 3 are zero, the rank must be
rk(A)<3. we continue to look at the minors or order two
1 2 = 5 – 18 = -13 ≠ 0
9 5
It is not necessary to compute any more minors, and we conclude that rk(A) =2. in fact, the
first two columns of A are linearly independent.
12
A*A=AA*
ECHELON FORMS
A matrix with the following properties is in reduced row-echelon form, (RREF).
1. If a row does not consist entirely of zeros, then the first nonzero number in the row,
called its pivot, equals 1.
2. If there are any rows that consist entirely of zeros, then they are grouped together
at the bottom of the matrix.
3. In any two successive rows that do not consist entirely of zeros, the pivot in the
lower row occurs farther to the right than the pivot in the higher row.
• A matrix that has the first three properties is said to be in row-echelon form.
• A matrix in reduced row-echelon form is of necessity in row-echelon form,
but not conversely.
15
• 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
16
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 1st and 2nd rows in the
preceding matrix were
2 4 5 6 5 1 interchanged.
19
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 pivot 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.
20
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 sub-matrix
2 was multiplied by -1/2 to
0 0 5 0 17 29 introduce a pivot 1.
21
• Transportation requires
• gasoline from the oil industry
• transportation of equipment from the transportation industry
• We will look at a single oil company and a single transportation company as a closed
system
25
• If the companies produce exactly this amount, then the amount used in
production is:
– .32(15) + .50(1.2) = $5.4 billion in oil
– .12(15) + .20(1.2) = $2.0 billion in transportation
• This leaves only $9.6 billion of oil and $1.0 billion of transportation to
meet the demand.
26
LEONTIEF ANALYSIS ALLOWS US TO CALCULATE
HOW MUCH EACH COMPANY SHOULD PRODUCE
TO MEET A GIVEN DEMAND
The internal demand for each is the combined demand from the oil industry
and from the transportation industry
27
x .32 x .50 y d1
y .12 x .20 y d2
x .32 .50 x d1
y .12 .20 y d
2
Expressed as a matrix equation:
X MX D
28
x .32 .50 x d1
y .12 .20 y d
2
In our example:
THE SOLUTION