Professional Documents
Culture Documents
Formal Definitions of Matrices and Vectors: A A A A A A
Formal Definitions of Matrices and Vectors: A A A A A A
• What is a matrix?
A rectangular array of numbers – m rows by n columns
Columns 1 2 3
9
Formal Definitions of
Matrices and Vectors
• What is a vector?
A one-dimensional array – a single column (or row)
a11
or a11 a12 a13
a21
10
Formal Definitions of
Matrices and Vectors
• What is a scalar?
A real number – a 1 by 1 array
11
Matrix Sum: A + B
The resulting matrix has the same number of rows and columns
as B. Scalar multiplication is commutative.
13
Matrix Vector Product: A B
•
a11 a12 a13 b11 a11 b11 + a12 b21 + a13 b31
=
a21 a22 a23 b21 a21 b11 + a22 b21 + a23 b31
b31
a11 a12 a13 b11 a11 b11 + a12 b21 + a13 b31
=
a21 a22 a23 b21 a21 b11 + a22 b21 + a23 b31
b31
15
Matrix Matrix Product: A B
•
a11 b11 + a12 b21 + a13 b31 a11 b12 + a12 b22 + a13 b32
a21 b11 + a22 b21 + a23 b31 a21 b12 + a22 b22 + a23 b32
a11 b11 + a12 b21 + a13 b31 a11 b12 + a12 b22 + a13 b32
a21 b11 + a22 b21 + a23 b31 a21 b12 + a22 b22 + a23 b32
17
Matrix Matrix Product: A B
•
a11 b11 + a12 b21 + a13 b31 a11 b12 + a12 b22 + a13 b32
a21 b11 + a22 b21 + a23 b31 a21 b12 + a22 b22 + a23 b32
18
Matrix Matrix Product: A B
•
a11 b11 + a12 b21 + a13 b31 a11 b12 + a12 b22 + a13 b32
a21 b11 + a22 b21 + a23 b31 a21 b12 + a22 b22 + a23 b32
19
Alternate View of Matrix Vector Product A B
•
1 0 0 b11 b11
0 1 0 b21 = b21
0 0 1 b31 b31
3 × 3 identity matrix, I
T
a11 a12 a13 a11 a21
=
a21 a22 a23 a12 a22
a13 a23
22
–1
Matrix Inverse: A
An n × n matrix A is said to have the inverse
A–1 if the following two commutative matrix
product relations are satisfied: