06.09.2021 Views

Linear Algebra, 2020a

Linear Algebra, 2020a

Linear Algebra, 2020a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

236 Chapter Three. Maps Between Spaces<br />

IV.2<br />

Matrix Multiplication<br />

After representing addition and scalar multiplication of linear maps in the prior<br />

subsection, the natural next operation to consider is function composition.<br />

2.1 Lemma The composition of linear maps is linear.<br />

Proof (Note: this argument has already appeared, as part of the proof of<br />

Theorem I.2.2.) Let h: V → W and g: W → U be linear. The calculation<br />

g ◦ h ( ) (<br />

c 1 · ⃗v 1 + c 2 · ⃗v 2 = g h(c1 · ⃗v 1 + c 2 · ⃗v 2 ) ) = g ( c 1 · h(⃗v 1 )+c 2 · h(⃗v 2 ) )<br />

= c 1 · g ( h(⃗v 1 )) + c 2 · g(h(⃗v 2 ) ) = c 1 · (g ◦ h)(⃗v 1 )+c 2 · (g ◦ h)(⃗v 2 )<br />

shows that g ◦ h: V → U preserves linear combinations, and so is linear. QED<br />

As we did with the operation of matrix addition and scalar multiplication,<br />

we will see how the representation of the composite relates to the representations<br />

of the compositors by first considering an example.<br />

2.2 Example Let h: R 4 → R 2 and g: R 2 → R 3 , fix bases B ⊂ R 4 , C ⊂ R 2 ,<br />

D ⊂ R 3 , and let these be the representations.<br />

⎛ ⎞<br />

H = Rep B,C (h) =<br />

(<br />

4 6 8 2<br />

5 7 9 3<br />

)<br />

B,C<br />

⎜<br />

1 1 ⎟<br />

G = Rep C,D (g) = ⎝0 1⎠<br />

1 0<br />

To represent the composition g ◦ h: R 4 → R 3 we start with a ⃗v, represent h of<br />

⃗v, and then represent g of that. The representation of h(⃗v) is the product of h’s<br />

matrix and ⃗v’s vector.<br />

(<br />

)<br />

4 6 8 2<br />

Rep C ( h(⃗v))=<br />

5 7 9 3<br />

B,C<br />

⎛ ⎞<br />

v 1<br />

v 2<br />

⎜ ⎟<br />

⎝v 3 ⎠<br />

v 4<br />

B<br />

=<br />

C,D<br />

(<br />

)<br />

4v 1 + 6v 2 + 8v 3 + 2v 4<br />

5v 1 + 7v 2 + 9v 3 + 3v 4<br />

The representation of g( h(⃗v)) is the product of g’s matrix and h(⃗v)’s vector.<br />

⎛<br />

⎜<br />

1 1<br />

⎞<br />

(<br />

)<br />

⎟ 4v 1 + 6v 2 + 8v 3 + 2v 4<br />

Rep D ( g(h(⃗v)) )= ⎝0 1⎠<br />

5v 1 + 7v 2 + 9v 3 + 3v 4<br />

1 0<br />

C<br />

C,D<br />

⎛<br />

⎜<br />

1 · (4v 1 + 6v 2 + 8v 3 + 2v 4 )+1 · (5v 1 + 7v 2 + 9v 3 + 3v 4 )<br />

⎞<br />

⎟<br />

= ⎝0 · (4v 1 + 6v 2 + 8v 3 + 2v 4 )+1 · (5v 1 + 7v 2 + 9v 3 + 3v 4 ) ⎠<br />

1 · (4v 1 + 6v 2 + 8v 3 + 2v 4 )+0 · (5v 1 + 7v 2 + 9v 3 + 3v 4 )<br />

C<br />

D

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!