Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and...
Transcript of Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and...
![Page 1: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/1.jpg)
Fo DA Linear Algebra•
Review # I :
L I° Vectors
,Matrices
,
Addition, Multiplication
![Page 2: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/2.jpg)
Vectors & Matrices
vector N = ( ya ,vz
, . . .
,ud ) e- IRA
aScalar
n data points✓ = ( VEG
.ve
. . . ud ]
d dimension rowattributes column vector vector
matrix nxd matrix A EIR'd
N rows a , care ,. . . an C- Rfd
* eaiai . - is
![Page 3: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/3.jpg)
vectorv =
fizzy EIR"
mat a ,=(3 ,
-7,
2) HR"
A- - C ?-
I⇒ e IR" '
transpose i change roll if rows
& columns
At --f÷÷s]eR"
![Page 4: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/4.jpg)
a6.5 ,7.5 )
i. 5- 112?
Xz byA
"
""
"
as :* .⇒
-÷. !#¥:S.
A- Ea.
'
ER"
![Page 5: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/5.jpg)
Lineations3 x
,
- 7×2 t 2×3 = -2
II}:} i.§ .
-i ×
.
+ 2x.
-5×3 = 6
Ax = b
A = f ?I.E) HR" '
b = [f) ER" '
x= ER'
![Page 6: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/6.jpg)
Addition element - wise
X = ( x.
,X
, ,. . .
xd ) y = ( y , , 42 ,. . - ya )
×, geld?! $ lmathbbcr)^dd$
Z = Xx y = ( x, -1g ,
,Xz -192
,. . .
,Xd -1yd ) END
^
ga..
- ¥?Z - * s
¥*jR ?
![Page 7: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/7.jpg)
A,
B e IRnxd
C = At B ⇒ Ci;
- Ais + Be ;
A ⇒ . EI:De. a .IE#:::iT
![Page 8: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/8.jpg)
MultiplicationHEIR
"dBe 112dam
C = AB EIRn 'm
Cii . E÷ainEf¥!!q:* ''
#re#coliA#wBA
, B. ( matrices AB legal maybe BA not legalnative CAB) c = A CBC ) ( unless a- m )
distributive ACB = ABT AC
not commutative AB # BA
![Page 9: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/9.jpg)
G - fi, ⇒ tip
"
B = f ? I ? ] ER 'D
OBE:::::3( GB )
, ,
= I . 2 -13.4
2 t 12 = 14
-
B = a A Ai Be Rmdx EIR ← scalar
Be ; = a . Ai ; element wise
![Page 10: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/10.jpg)
vector-veeformottipli.at#inner product and o - terprodoef
X EIR "
y EIR"
column vectors
outer productok if n # m
× . a " "
C- 112mm
![Page 11: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/11.jpg)
lnnerldotlprod.deX
, g E Rd column vectors
x-y.x.ge 'T:!gJ" Iea. . .
. !4aigieR
output is scalar
associative,
distributive,
commutative
X. g. Z END a EIR
Lax, gtz > = ale , gtz7-akx.pt# ⇒
![Page 12: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/12.jpg)
DotprodoctI w-
- ( E. I ) Vale , D
airtight.li?sieo:s!Y
*•"'
e " ,
if leastID -
-11*11=1
)o
I
GR?
u'
= Cleo )then245=11TEND)#I
315 Lv, U' D= 2. I t ↳= 2
![Page 13: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/13.jpg)
Matrix - vector Multiplication-
A EIR" ''d
× ⇐ Rd
y -- Ax C- 112"
A
I aioiizd
' axesx.
E:÷÷÷t*
![Page 14: Fo DA Algebrajeffp/teaching/FoDA/Lnotes/FoDA-L8.pdf · vector-veeformottipli.at# inner product and o-terprodoef X EIR y EIR column vectors outer product ok if n # m ×. a " " C-112mm](https://reader033.fdocuments.us/reader033/viewer/2022052615/608c863554b1056c8f232a2c/html5/thumbnails/14.jpg)
^ N( Vectors )•
× If ?k
how bis .
I vector v - Cv,
,ve
,. . .
,Vd ) C- Rd↳?µq
, ,qµ,q , ,,u,,u,,...µ#,µq
Hv - xh --E¥di-x = Euclidean distanceftp..ee: .
. iii.'
si:" ⇒
I i = I
Kubo - III. a ] Hit