Professional Documents
Culture Documents
LINEAR ALGEBRA
Matrix Element
Linear a set–of
(or Matrix) Algebra basic principal: solving Row Column
linearNaming
equations
Convention:
(1) 7x1 + 3x2= 45
• First: Rows
(2) 4x1 + 5x2 = 29 • Second: Columns
Rewrite (2) and substitute in (1): tedious for larger systems
Express in matrix form
(3) A • x = b, where:
7 3 𝑥1 7𝑥1 + 3𝑥2 45
𝐀= , 𝐱 = 𝑥 then 𝐀 • 𝐱 = and 𝐛 =
4 5 2 4𝑥1 + 5𝑥2 29
Solution:
(4) x = A-1 • b, which involves amongst others:
• matrix multiplication
• matrix inverse
• getting number of rows and columns lined up
• getting the order of the multiplication right
Further Notational Issues
Matrix Multiplication A • B
Dot
# of columns in A = # rows in B
A • B not possible if:
3 6 9
1 2 3
𝐀= 4 5 12 and 𝐁 = Star
6 7 8
9 7 1
Matrix Multiplication ≠ Element by Element Multiplication
2 3 1 2 2 6
𝐀= and 𝐁 = ⇒𝐀∗𝐁=
2 4 3 4 6 16
1 2 2 4
𝐜=2 and 𝐁 = ⇒ 𝐜∗𝐁=
3 4 6 8
2 1 2 2 4
𝐝= and 𝐁 = ⇒𝐝∗𝐁=
1 3 4 3 4
Some Hints for Matrix Algebra in Excel