Docsity

Matrix Algebra - Linear Algebra - Lecture Notes | MATH 225, Study notes of Mathematics

Toggle sidebar
bg1
Chapter 4
Matrix Algebra
4.1MatrixAlgebra
Definition12.An m×nmatrix of coefficients in F,denoted by(aij)m×nor simply (aij )is
arectangular arraywithmrowand ncolumns. I.e.
(aij)m×n=
a11 a12 ... a1n
a21 a22 ... a2n
. . . .
am1am2... amn
The entry iindicatesthe rowand jindicatesthe column that aij belongsto. If m=n,then
the matrix is called the square matrix.
DenotebyMm×n(F)the set of all m×nmatrices with coefficients in F.If wedon’t need
to distinguish the field F,wesimply write Mm×nfor shortnotation.
For eachmatrix A=(aij)∈Mm×n,denote the ith rowofAby
ai=ai1ai2... ain∈M1×n,
and the jth column of Aby
aj=
a1j
a2j
.
.
.
amj
∈Mm×1.
34
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Matrix Algebra - Linear Algebra - Lecture Notes | MATH 225 and more Study notes Mathematics in PDF only on Docsity!

Chapter 4

Matrix Algebra

4.1 Matrix Algebra

Definition 12. An m × n matrix of coefficients in F , denoted by (aij )m×n or simply (aij ) is

a rectangular array with m row and n columns. I.e.

(aij )m×n =

a 11 a 12 ... a 1 n

a 21 a 22 ... a 2 n

....

am 1 am 2 ... amn

The entry i indicates the row and j indicates the column that aij belongs to. If m = n, then

the matrix is called the square matrix.

Denote by Mm×n(F ) the set of all m × n matrices with coefficients in F. If we don’t need

to distinguish the field F , we simply write Mm×n for short notation.

For each matrix A = (aij ) ∈ Mm×n, denote the i

th row of A by

ai =

ai 1 ai 2 ... ain

∈ M 1 ×n,

and the j

th column of A by

a

j

a 1 j

a 2 j

amj

∈ Mm× 1.

Thus A can be rewritten as

A =

a 1

a 2

.

am

a

1 a

2 ... a

n

On Mm×n, (+) and scalar multiplication can be defined as follows: Let A, B ∈ Mm×n,

and c ∈ F

A + B = (aij )m×n + (bij )m×n =

a 11 + b 11 a 12 + b 12 ... a 1 n + b 1 n

a 21 + b 21 a 22 + b 22 ... a 2 n + b 2 n

....

am 1 + bm 1 am 2 + bm 2 ... amn + bmn

= (aij + bij )m×n.

and

cA = c(aij )m×n =

ca 11 ca 12 ... ca 1 n

ca 21 ca 22 ... ca 2 n

cam 1 cam 2 ... camn

= (caij )m×n

Clearly, Mm×n is closed under (+) and scalar multiplication.

Proposition 14. With the above (+) and scalar multiplication, Mm×n becomes a vector space

over F. The zero matrix is given by

0 = (aij )m×n, where aij = 0, for all i, j.

For each A = (aij )m×n, the additive inverse is given by −A = (−aij )m×n.

Proposition 15. dim(Mm×n) = mn.

Proof. Let Ekl = (aij )m×n ∈ Mm×n such that

aij =

0 if i 6 = k, or j 6 = l

1 if i = k and j = l

Then clearly, Mm×n = Span({Ekl, k = 1, ..., m, l = 1, ..., n}). Moreover, {Ekl} is linearly

independent. This implies {Ekl} is a basis. Hence, dim(Mm×n) = mn which is the number

of elements in {Ekl, k = 1, ..., m, l = 1, ..., n}.

Definition 13. Let A = (aij )m×n ∈ Mm×n and B = (bjk)n×p ∈ Mn×p, then the product A · B

is the matrix C = (cik)m×p ∈ Mm×p, where

cik = ai · b

k = ai 1 b 1 k + ... + aij bjk + ... + ainbnk.

Proof. (Homework).

When there is multiplication, we can talk about the multiplicative dentity and existence

of inverse elements.

The identity matrix in Mn×n, denoted by In, is the matrix (aij )n×n such that aij = 0 if

i 6 = j and aij = 1 is i = j.

Remark 14. Let A ∈ Mm×n, then ImA = A = AIn.

Let A ∈ Mn×n. We say A is invertible or non-sigular if there exists a matrix B ∈ Mn×n

such that

AB = In = BA.

The matrix B is called the inverse of A, which is denoted by A

− 1 .

Note that A

− 1 is the unique matrix such that AA

− 1 = A

− 1 A = I. Indeed, let B be a

matrix such that AB = BA = In, then

B = BIn = B(AA

− 1 ) = (BA)A

− 1 = IA

− 1 = A

− 1 .

Example 20. Computing the inverse of a 2 × 2 matrix. Let A =

. If A

− 1 exists, then

I = AA

− 1 ⇒

a 11 a 12

a 21 a 22

which show that

a 11 + 2a 21 = 1

a 12 + 2a 22 = 0

3 a 11 + 7a 21 = 1

3 a 12 + 7a 22 = 0.

This is a linear system of 4 equations and 4 unknowns. Solving this this system, one obtains

that

A

− 1

This is the most intuitive and naive way of solving the inverse of a matrix. In general, if A

is an n × n matrix, then we will need to solve a system of n

2 equations with n

2 unknowns,

which can be slow when n is large. We will discuss other methods for solving A

− 1 .

4.2 Matrix Coordinates

Recall from remark 13 that for each matrix A ∈ Mm×n, we can associate to it a linear

transformation T that maps F

n to F

m

. Now given any finite vector spaces U and V , and a

linear transformation T : U → V , we want to make the reverse connection.

Suppose U and V are finite dimensional vector spaces. Let B = {u 1 , ..., un} be a basis for

U. For any u ∈ U , we know that there exist unique {b 1 , ..., bn} in F such that

u = b 1 u 1 + ... + bnun, and T (u) = b 1 T (u 1 ) + ... + bnT (un).

Note that bj = 〈u, uj 〉/‖uj ‖

2 , for j = 1, ..., n, is the j

th coordinate of u with respect to B.

Thus, T (u) is completely determined by T (uj ), j = 1, ..., n.

Next, let B

′ = {v 1 , ..., vm} be a basis for V. Then, for each T (uj ) ∈ V , Let a 1 j =

〈T (uj ), v 1 〉/‖v 1 ‖

2 , ..., amj = 〈T (uj ), vm〉/‖vm‖

2

. Then

T (uj ) = a 1 j v 1 + ... + amj vm.

For each j, {a 1 j , ..., amj } are the coordinates of T (uj ) with respect to B

′ .

Now let A = (aij )m×n be a matrix with the ij-entry equals to aij. In other words, The

column vector a

j of A, j = 1, ..., n, is the vector

a

j

a 1 j

a 2 j

...

amj

The matrix A, denoted by M

B′ B T^ , is called the^ matrix coordinates^ of^ T^ with respect to

B and B

′

. Note that M

B′ B T^ is uniquely determined by^ T^.

Recall: for each u ∈ U and a basis B = {u 1 , ..., un}, we have u = b 1 u 1 + ... + bnun. The

column vector

u

B

b 1

b 2

bn

is the coordinates (column) vector of u ∈ U with respect to the basis B. Thus

u

B 1 =

, ... u

B j =

, ... u

B n =

Then

Au

B 1 =

a 11 a 12 ... a 1 n

a 21 a 22 ... a 2 n

...

am 1 am 2 ... amn

a 11

a 21

...

am 1.

Theorem 15. Let U , V , and W be finite dimensional vector spaces with basis A, B and C

respectively. Let S : U → V , and T : V → W be linear maps. Then

M

C B T^ ·^ M^

B AS^ =^ M^

C A(T S).

Proof. Let A = {u 1 , ..., um}, B = {v 1 , .., vn} and C = {w 1 , ..., wp}.

For each j = 1, .., m, let

S(uj ) = a 1 j v 1 + ... + aij vi + ... + anj vn.

Similarly, For each i = 1, ..., n, let

T (vi) = b 1 iw 1 + ... + bkiwk + ... + bpiwp.

Next, for each j = 1, ..., m, we have

(T S)(uj ) = T (S(uj )) = T (a 1 j v 1 + ... + sij vi + ... + anj vn)

= a 1 j T (v 1 ) + ... + aij T (vi) + ... + anj T (vn)

= a 1 j (b 11 w 1 + ... + bk 1 wk + ... + bp 1 wp) + ...

  • aij (b 1 iw 1 + ... + bkiwk + ... + bpiwp) + ...

  • anj (b 1 nw 1 + ... + bknwk + ... + bpnwp)

= (b 11 a 1 j + ... + b 1 iaij + ... + b 1 nanj )w 1 + ...

  • (bk 1 a 1 j + ... + bkiaij + ... + bknanj )wk + ...

  • (bpnanj + ... + .bknanj + ... + bpnanj )wp

= c 1 j w 1 + ... + ckj wk + ... + cpnwp,

where ckj = bk 1 a 1 j + ... + bkiaij + ... + bknanj , for k = 1, .., p and j = 1, .., m. Thus

M

C B (T S) = (ckj^ )p×m

On the other hand, we have

M

B AS^ = (aij^ )n×m,^ and^ M^

C B T^ = (bki)p×n.

Thus

M

C B T^ ·^ M^

B AS^ = (dkj^ )p×m,

where dkj = bk 1 a 1 j + ... + bkiaij + ... + bknanj. But ckj = dkj for all k = 1, ..., p and j = 1, ..., m.

Therefore,

M

C B T^ ·^ M^

B AS^ =^ M^

C B (T S).

Theorem 16. Let U and V be vector space with dim(U ) = n and dim(V ) = m respectively.

Let B and B

′ be fixed basis for U and V respectively. Then the map L : Hom(U, V ) → Mm×n

given by

L(T ) = M

B′ B T,

is an isomorphism.

Proof. Clearly, L is linear and injective. To show L is surjective: Let B = {u 1 , ..., un} and

B

′ = {v 1 , ..., vm}. Pick any A = (aij )m×n ∈ Mm×n. We want to show that there exists

T ∈ Hom(U, V ) s.t. M

B′ B =^ A. Indeed, define

T (uj ) =

∑^ m

i=

aij vi.

Then T ∈ Hom(U, V ), and M

B′ B T^ =^ A

By the above Theorem and proposition 15, we have the following result.

Lemma 2. Let U and V be finite dimensional vector spaces. Then

dim(Hom(U, V )) = dim(U ) · dim(V ).

Let U be a vector space and B a basis for U. We know that for each T ∈ Hom(U, U ), we

can associate to it uniquely the matrix M

B′ B T^. We want to say that^ T^

− 1 exists if and only if

(M

B′ B T^ )

− 1 exists. Note that the matrix associated to T

− 1 is M

B′ B T^

− 1

. Moreover,

I = M

B′ B (T T^

− 1 ) = M

B′ B T^ ·^ M^

B′ B T^

− 1 .

Thus it must be that

(M

B′ B T^ )

− 1 = M

B′ B T^

− 1

Indeed, we have the following result.

Proposition 19. Let A ∈ Mn×n(F ) Suppose B ∈ Mn×n(F ) is a matrix such that AB = In.

Then BA = In, which shows that A

− 1 exists and is equal to B.

Proof. Let U be a vector space over F of dimension n, and B be a basis for U. Let TA and

TB be elements in Hom(U, U ) that corespond to A and B respectively. Since AB = In, we

have

M

B B (TATB^ ) =^ M^

B B TA^ ·^ M^

B B TB^ =^ AB^ =^ In,

which shows that TATB = IU is the identity map from U to U. We claim that both TA and

TB are isomorphisms, which show that both TA and TB have inverses (see proposition 12).

Hence

TB = IU TB = (T

− 1 A TA)TB^ =^ T^

− 1 A (TATB^ ) =^ T^

− 1 A IU^ =^ T^

− 1 A.

This implies B = M

B B T^ =^ M^

B B S

− 1

. Moreover,

AB = M

B B TA^ ·^ M^

B B T^

− 1 A

= M

B B (TAT^

− 1 A

) = M

B B (T^

− 1 A

TA) = M

B B T^

− 1 A

· M

B B TA^ =^ BA^ =^ I.

To show that both TA and TB are isomorphisms: First let us note that Ker(TATB ) = { 0 }

and Im(TATB ) = U. Hence rank(TATB ) = n.

Let x ∈ Ker(TB ), then TB (x) = 0. This implies

0 = TA(0) = TA(TB (x)) = TATB (x),