[Linear Algebra] 4. Matrix multiplication as composition

2022. 3. 12. 12:36Mathematics/Linear Algebra

Linear transformation is completely determined by where the basis vectors(ˆi^i and ˆj^j) land.

Matrix multiplication

Let's describe the effect of applying one transformation and then another. The overall effect is a new distinct linear transformation, called composition of the two separate transformations. Like any other linear transformation, it can be described with a matrix, by following ˆi^i and ˆj^j.

How to describe new linear transformation by matrix? If you have vector xx, and apply it through AA linear transformation, then apply to BB linear transformation. 1). Multiply xx by AA matrix (M1) then 2). multipy that on B matrix (M2). But, whatever the result is, it will be the same as just applying new composition matrix (M3).

[abcd]M2[efjh]M1[xy]x=[ijkl]M3[xy]x

It's reasonable to call this new matrix (M3), the product of the original two matrices.

Always remember, that multiplying two matrices like this has the geometric meaning of applying one transformation then another.

But to find its composition matrix, we need to use the numerical entries in each matrix. 1). figure out where ˆi and ˆj go after applying M1. (the new coordinates of ˆi and ˆj are columns of M1), then 2). to see what happens after applying M2, multiply the M2 by each columns of M1.

[abcd]M2[efgh]M1=[????]M3

[abcd][eg]=e[ac]+g[bd]=[a×e+b×gc×e+d×g]

[abcd][fh]=f[ac]+h[bd]=[a×f+b×hc×f+d×h]

[abcd]M2[efgh]M1=[a×e+b×ga×f+b×hc×e+d×gc×f+d×h]M3

 

 

Let's think more about matrix mulitiplication calculating process. 

더보기

first matrix calculating process is ˆieˆi+gˆj,  ˆjfˆi+hˆj.


so let's think different way about second matrix calculating process like below.

ˆilandaˆiland+cˆjland,  ˆjlandbˆiland+dˆjland(ˆiland=eˆi+gˆj, ˆjland=fˆi+hˆj)

aˆiland+cˆjland=a[eg]+c[fh]=[a×e+c×fa×g+c×h]

bˆiland+dˆjland=b[eg]+d[fh]=[b×e+d×fb×g+d×h]

[abcd][efgh]=[a×e+c×fb×e+d×fa×g+c×hb×g+d×h]

This calculating process makes nonsense result. For example, we all know that [efgh][10] and [eg] is equal, but [abcd][efgh][10] and [abcd][eg] is not equal. Because former [abcd] use ˆiland, ˆjland as basis vectors and latter [abcd] use ˆi, ˆj as basis vectors. So to make them equal, we have to use the same basis vectors(ˆi and ˆj). Additionally, ˆiland and ˆjland might not be a basis vectors.