Академический Документы
Профессиональный Документы
Культура Документы
online.uwin.ac.id
Bachelor in Economics (S.E): Manajemen
Content
Part 1
Introduction
Part 2
Part 3
Matrix Multiplication
Powered by HarukaEdu.com
- 1507ME09-
S.3
Part1: Introduction
Introduction: Matrices
Powered by HarukaEdu.com
- 1507ME09-
S.5
Powered by HarukaEdu.com
- 1507ME09-
S.6
c.
d.
- 1507ME09-
S.7
Matrix: Definition
A Matrix
Defn: A rectangular array of numbers.
Powered by HarukaEdu.com
- 1507ME09-
S.8
a11
a
21
A
a
m1
a12
a22
am 2
a1n
a2 n
aij
amn
m rows
m n matrix
n columns
When m=n, A is called a square matrix.
Powered by HarukaEdu.com
- 1507ME09-
S.9
Matrix Components
a. Entries
Defn: Numbered by row &
column,
eg. mij is the entry in row i,
column j.
b. Start numbering at 1, not 0.
Powered by HarukaEdu.com
Square Matrices
a. Same number as rows as columns
b. Entries,
mij are called the diagonal
entries.
The others are called
nondiagonal entries.
- 1507ME09-
S.10
Matrix: Diagonal
>Symmetric Matrix
If A t A
1
4
A is called symmetric.
4 1
3
1 0
is symmetric.
Note, for A to be symmetric, is has to be square.
I n is trivially symmetric...
Powered by HarukaEdu.com
- 1507ME09-
S.11
Powered by HarukaEdu.com
- 1507ME09-
S.12
Matrix: Transpose
Transpose of a Matrix
1. The transpose of an r x c matrix M is a c x r matrix called MT.
2. Take every row & rewrite it as a column.
3. Equivalently, flip about the diagonal
Powered by HarukaEdu.com
- 1507ME09-
S.13
Transpose of a Vector
If v is a row vector,
vT is a column vector & vice-versa
Matrix Equality
Defn: Let A & B be 2 matrices.
A=B if they have the same number of rows &columns, &
every element at each position in A equals element at corresponding
position in B.
Powered by HarukaEdu.com
- 1507ME09-
S.14
1 1 3
4 4 3
4 1 4 4 0
1 1 3
4 3
4 2 5
4 1 4 2
Powered by HarukaEdu.com
- 1507ME09-
S.16
Solution
Total sales for each week will simply be the sum of,
the corresponding elements in matrices A & B.
For example, in week I the total sales of product Q will be 5 plus 8.
Total combined sales for Q & R can therefore be represented by the
matrix.
T=A+B=
=
Powered by HarukaEdu.com
12
10 12
5 8
49
7 8 9 3 4
14 8 18 21 5
123
7 4
108 1218 9 21 14 5
- 1507ME09-
13 13 15 11
18 30 30 19
S.17
12 30
15
& B=
7 35
Q: What is A-B?
A: Solution
12 30 7 35 12-7 30-35 5 -5
A-B =
4
7
8 15 4 8 8- 4 15-8
Powered by HarukaEdu.com
- 1507ME09-
S.18
Matrix: Properties
Powered by HarukaEdu.com
- 1507ME09-
S.19
Matrix: Multiplication
Powered by HarukaEdu.com
- 1507ME09-
S.20
- 1507ME09-
S.21
Matrix: Scalar
Multiplying by a scalar
a. Can multiply a matrix by a scalar.
b. Result is a matrix of the same dimension.
c. To multiply,
a matrix by a scalar,
each component by the scalar.
Powered by HarukaEdu.com
- 1507ME09-
S.22
Fletcher Dunn
Software Developer
(2011-Present)
Lead Engineer (20072009)
Multiplying an r x n matrix A by
an n x c matrix B gives an r x c result AB.
Powered by HarukaEdu.com
- 1507ME09-
S.24
Multiplication: Result
Powered by HarukaEdu.com
- 1507ME09-
S.25
Multiplication: Example
Powered by HarukaEdu.com
- 1507ME09-
S.26
Powered by HarukaEdu.com
- 1507ME09-
S.27
Multiplication: 2 x 2
2x2
AB
Case
Example
Powered by HarukaEdu.com
- 1507ME09-
S.28
Multiplication: 3 x 3 Case
Powered by HarukaEdu.com
- 1507ME09-
S.29
Multiplication: 3 x 3 Example
Powered by HarukaEdu.com
- 1507ME09-
S.30
Powered by HarukaEdu.com
- 1507ME09-
S.31
Powered by HarukaEdu.com
- 1507ME09-
S.32
Powered by HarukaEdu.com
- 1507ME09-
S.33
Common Mistake
MvT (vM)T, but MvT = (vMT)T
compare the following 2 results:
Powered by HarukaEdu.com
- 1507ME09-
S.34
online.uwin.ac.id
Associate Partners :
Powered
by HarukaEdu.com
Powered
by HarukaEdu.com
- 1507ME09-
S.35