Docsity

Linear Algebra: Determining the Dependence and Spanning Properties of Matrices, Study notes of Linear Algebra

Toggle sidebar
bg1
1
Examples for Oct 15
Example 1
A=
2 3 5
3 1 4
−3−4−7
Gauss-Jordan
−−−−−−−→ C=
101
011
000
RREF
m= # rows of A= 3.
n= # columns of A= 3.
r= rank(A) = # non-zero rows of C= 2 .
v1, v2, v3∈Rmare the columns of Aand u1, u2, u3∈R1×nare the rows of A.
r= # non-zero rows of C < # columns of C=m=⇒the system Ax =¯
0 has free
variables. Hence the system Ax =¯
0 does not have a unique solution and the columns of A
are linearly dependent.
r= # non-zero rows of C < # rows of C=n=⇒we can find b∈Rmsuch that
Ax =bdoes not have solution. Hence the columns of Aare non-spanning.
AT=
2 3 −3
3 1 −4
5 4 −7
Gauss-Jordan
−−−−−−−→ D=
1 0 −9/7
0 1 −1/7
0 0 0
RREF
r= # non-zero rows of D < # columns of D=n=⇒the system ATy=¯
0 has free
variables. Hence the system ATy=¯
0 does not have a unique solution and the columns of
ATare linearly dependent. Thus the rows of Aare linearly dependent.
r= # non-zero rows of D < # rows of D=m=⇒we can find b∈Rnsuch that
ATy=bdoes not have solution. Hence the columns of ATare non-spanning. Thus the rows
of Aare non-spanning.
Let
B1=
2 3
3 1
−3−4
(columns of Acorresponding to lead variables in C). Then the columns of B1form a basis
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Linear Algebra: Determining the Dependence and Spanning Properties of Matrices and more Study notes Linear Algebra in PDF only on Docsity!

Examples for Oct 15 Example 1

A =

 −Gauss-Jordan−−−−−−→ C =

RREF

m = # rows of A = 3. n = # columns of A = 3. r = rank(A) = # non-zero rows of C = 2. v 1 , v 2 , v 3 ∈ Rm^ are the columns of A and u 1 , u 2 , u 3 ∈ R^1 ×n^ are the rows of A. r = # non-zero rows of C < # columns of C = m =⇒ the system Ax = ¯0 has free variables. Hence the system Ax = ¯0 does not have a unique solution and the columns of A are linearly dependent. r = # non-zero rows of C < # rows of C = n =⇒ we can find b ∈ Rm^ such that Ax = b does not have solution. Hence the columns of A are non-spanning.

AT^ =

 −Gauss-Jordan−−−−−−→ D =

RREF

r = # non-zero rows of D < # columns of D = n =⇒ the system AT^ y = ¯0 has free variables. Hence the system AT^ y = ¯0 does not have a unique solution and the columns of AT^ are linearly dependent. Thus the rows of A are linearly dependent. r = # non-zero rows of D < # rows of D = m =⇒ we can find b ∈ Rn^ such that AT^ y = b does not have solution. Hence the columns of AT^ are non-spanning. Thus the rows of A are non-spanning. Let

B 1 =

(columns of A corresponding to lead variables in C). Then the columns of B 1 form a basis

of span(A). Hence dim span(A) = 2. C corresponds to the system x 1 = −x 3 and x 2 = −x 3. Let

B 2 =

The columns of B 2 form a basis for N (A). Hence dim N (A) = 1 and dim span(A) + dim N (A) = 2 + 1 = 3 = n. Also we have that

(−1)v 1 + (−1)v 2 + 1v 3 = ¯ 0

and [− 1 , − 1 , 1] 6 ∈ rowspan(A).

This can be verified by checking that the system AT^ y = [− 1 , − 1 , 1]T^ is inconsistent. Let B 3 =

[

]

(rows of A corresponding to lead variables of D). Then the rows of B 3 form a basis of rowspan(A). Hence dim rowspan(A) = 2. D corresponds to the system y 1 = (9/7)y 3 and y 2 = (1/7)y 3. Let

B 4 =

The columns of B 4 form a basis for N (AT^ ). Hence dim N (AT^ ) = 1 and dim rowspan(A) + dim N (AT^ ) = 2 + 1 = 3 = m. Also we have that

9 u 1 + 1u 2 + 7u 3 = ¯ 0

and [9, 1 , 7]T^6 ∈ span(A).

B 1 =

The columns of B 1 form a basis of span(A).

B 2 =

The columns of B 2 form a basis for N (A). Also

(−3)v 1 + (−25)v 2 + (−1)v 3 + 37v 4 = ¯ 0

and [− 3 , − 25 , − 1 , 37] 6 ∈ rowspan(A). No free variables in D =⇒ the rows of A form a basis of rowspan(A). N (AT^ ) = {¯ 0 } =⇒ the only y ∈ Rm^ such that y 1 u 1 + y 2 u 2 + y 3 u 3 = ¯0 is y = ¯0 (the rows are linearly independent) and there is no y not in span(A) (the columns are spanning). B 3 = I = [e 1 e 2 e 3 ] forms of basis for span(A) = R^3 (the standard basis). The transition matrix from {v 1 , v 2 , v 3 } to the standard basis is T = B 1 (hardly a surprise). Example 3

A =

 −Gauss-Jordan−−−−−−→ C =

AT^ −Gauss-Jordan−−−−−−→ D =

m = 3, n = 4, r = rank(A) = 2.

r < n =⇒ the columns of A are linearly dependent (too many columns) and the rows are not spanning (not enough rows). r < m =⇒ the rows of A are linearly dependent and the columns are not spanning. dim span(A) = dim rowspan(A) = r = 2. dim N (A) = n − r = 4 − 2 = 2. dim N (AT^ ) = m − r = 3 − 2 = 1.

B 1 =

The columns of B 1 form a basis of span(A).

B 2 =

The columns of B 2 form a basis for N (A). Also

(−1)v 1 + (−2)v 2 + 1v 3 + 0v 4 = ¯ 0

and [− 1 , − 2 , 1 , 0] 6 ∈ rowspan(A).

B 3 =

The columns of B 3 form a basis for N (AT^ ). Also

14 u 1 + 5u 2 + (−3)u 3 = ¯ 0

and [14, 5 , −3]T^6 ∈ span(A).

Exampe 5 Let

A =

 B =

Let v 1 , v 2 , v 3 ∈ R^3 be the columns of A and u 1 , u 2 , u 3 ∈ R^3 be the columns of B. We have that

A −Gauss-Jordan−−−−−−→ C =

and

B −Gauss-Jordan−−−−−−→ D =

Hence dim span(A) = dim span(B) = 2, {v 1 , v 2 } is a basis for span(A), {u 1 , u 2 } is a basis for span(B). The systems [v 1 v 2 ]x = u 1 has a unique solution x = [− 2 , 0]T^. The system [v 1 v 2 ]y = u 2 has a a unique solution y = [3, 3]T^. Hence span(A) = span(B) and the matrix

T =

[

]

is the transition matrix of the change of basis from {u 1 , u 2 } to {v 1 , v 2 }. Exampe 6 Let

A =

 B =

Let v 1 , v 2 ∈ R^3 be the columns of A and u 1 , u 2 , u 3 , u 4 ∈ R^3 be the columns of B. We have that

A −Gauss-Jordan−−−−−−→ C =

and

B −Gauss-Jordan−−−−−−→ D =

Hence dim span(A) = dim span(B) = 2, {v 1 , v 2 } is a basis for span(A), {u 1 , u 2 } is a basis for span(B). The systems [v 1 v 2 ]x = u 1 has a unique solution x = [− 1 , 3]T^. The system [v 1 v 2 ]y = u 2 has a a unique solution y = [2, 3]T^. Hence span(A) = span(B) and the matrix

T =

[

]

is the transition matrix of the change of basis from {u 1 , u 2 } to {v 1 , v 2 }. Example 6 Consider S =

B ∈ R^2 ×^2 : ∀ A ∈ R^2 ×^2 AB = BA

Let us see that S is subspace of R^2 ×^2. This example is different from the one of the exercises because there we looked at all matrices which commute with a fixed matrix A and this is about matrices which commute with all matrices A. Let C, D ∈ S. Then for every A ∈ R^2 ×^2 we have that AC = CA and AD = DA. Hence A(C + D) = AC + AD = CA + DA = (C + D)A. Since this holds for every A ∈ R^2 ×^2 we have that C + D ∈ S.. Let α ∈ R and C ∈ S. Then for every A ∈ R^2 ×^2 we have that AC = CA. Hence A(αC) = α(AC) = α(CA) = (αC)A. Since this holds for every A ∈ R^2 ×^2 we have that αC ∈ S. Let us find a basis for S. B =

[ (^) u v x y

]

∈ S iff for every A =

[ (^) a b c d

]

we have that AB = BA, i.e.

au + bx = ua + vc av + by = ub + vd cu + dx = xa + yc cv + dy = xb + yd