Slide (Sec 1)
Slide (Sec 1)
An Example
Basics of Matrices
An Example for Motivation
Solve the simultaneous linear equations:
x − y − z = 2, 3x − 3y + 2z = 16, 2x − y + z = 9.
An Example for Motivation
Solve the simultaneous linear equations:
x − y − z = 2, 3x − 3y + 2z = 16, 2x − y + z = 9.
x − y − z = 2 1 −1 −1 2
3x − 3y + 2z = 16 3 −3 2 16
2x − y + z = 9 2 −1 1 9
Step 2: Subtract 3 times the 1st equation from the 2nd
equation; Subtract 3 times the 1st row from the 2nd row.
x − y − z = 2 1 −1 −1 2
5z = 10 0 0 5 10
2x − y + z = 9 2 −1 1 9
Step 2: Subtract 3 times the 1st equation from the 2nd
equation; Subtract 3 times the 1st row from the 2nd row.
x − y − z = 2 1 −1 −1 2
5z = 10 0 0 5 10
2x − y + z = 9 2 −1 1 9
x − y − z = 2 1 −1 −1 2
5z = 10 0 0 5 10
y + 3z = 5 0 1 3 5
Step 4: Interchange the 2nd and 3rd equation; Interchange
the 2nd and 3rd row.
x − y − z = 2 1 −1 −1 2
y + 3z = 5 0 1 3 5
5z = 10 0 0 5 10
Step 4: Interchange the 2nd and 3rd equation; Interchange
the 2nd and 3rd row.
x − y − z = 2 1 −1 −1 2
y + 3z = 5 0 1 3 5
5z = 10 0 0 5 10
Definition:
A matrix A = [aij ], of size m × n, is an array of numbers in
m rows and n columns:
a11 a12 . . . a1n
a21 a22 . . . a2n
A= . .. .. .. .
. . . . .
am1 am2 . . . amn
Matrices
Definition:
A matrix A = [aij ], of size m × n, is an array of numbers in
m rows and n columns:
a11 a12 . . . a1n
a21 a22 . . . a2n
A= . .. .. .. .
. . . . .
am1 am2 . . . amn
Definition:
A matrix A = [aij ], of size m × n, is an array of numbers in
m rows and n columns:
a11 a12 . . . a1n
a21 a22 . . . a2n
A= . .. .. .. .
. . . . .
am1 am2 . . . amn
Definition:
A matrix A = [aij ], of size m × n, is an array of numbers in
m rows and n columns:
a11 a12 . . . a1n
a21 a22 . . . a2n
A= . .. .. .. .
. . . . .
am1 am2 . . . amn
Result
Let A be a square matrix and let r and s be non-negative
integers. Then Ar As = Ar +s and (Ar )s = Ars .
Result
Let A be an m × n matrix, ei an 1 × m standard unit row vector,
and ej an n × 1 standard unit column vector. Then ei A is the
i-th row of A and Aej is the j-th column of A.
Result
Let A be a square matrix and let r and s be non-negative
integers. Then Ar As = Ar +s and (Ar )s = Ars .
Result
Let A, B and C be matrices of size m × n, and let s, r ∈ C. Then
Result
Let A be an m × n matrix, ei an 1 × m standard unit row vector,
and ej an n × 1 standard unit column vector. Then ei A is the
i-th row of A and Aej is the j-th column of A.
Result
Let A be a square matrix and let r and s be non-negative
integers. Then Ar As = Ar +s and (Ar )s = Ars .
Result
Let A, B and C be matrices of size m × n, and let s, r ∈ C. Then
1 Commutative Law: A + B = B + A.
Result
Let A be an m × n matrix, ei an 1 × m standard unit row vector,
and ej an n × 1 standard unit column vector. Then ei A is the
i-th row of A and Aej is the j-th column of A.
Result
Let A be a square matrix and let r and s be non-negative
integers. Then Ar As = Ar +s and (Ar )s = Ars .
Result
Let A, B and C be matrices of size m × n, and let s, r ∈ C. Then
1 Commutative Law: A + B = B + A.
2 Associative Law: (A + B) + C = A + (B + C).
Result
Let A be an m × n matrix, ei an 1 × m standard unit row vector,
and ej an n × 1 standard unit column vector. Then ei A is the
i-th row of A and Aej is the j-th column of A.
Result
Let A be a square matrix and let r and s be non-negative
integers. Then Ar As = Ar +s and (Ar )s = Ars .
Result
Let A, B and C be matrices of size m × n, and let s, r ∈ C. Then
1 Commutative Law: A + B = B + A.
2 Associative Law: (A + B) + C = A + (B + C).
3 1A = A and s(rA) = (sr )A.
Result
Let A be an m × n matrix, ei an 1 × m standard unit row vector,
and ej an n × 1 standard unit column vector. Then ei A is the
i-th row of A and Aej is the j-th column of A.
Result
Let A be a square matrix and let r and s be non-negative
integers. Then Ar As = Ar +s and (Ar )s = Ars .
Result
Let A, B and C be matrices of size m × n, and let s, r ∈ C. Then
1 Commutative Law: A + B = B + A.
2 Associative Law: (A + B) + C = A + (B + C).
3 1A = A and s(rA) = (sr )A.
4 s(A + B) = sA + sB and (s + r )A = sA + rA.
Result
Let A, B and C be matrices, and let s ∈ C. Then
Result
Let A, B and C be matrices, and let s ∈ C. Then
1 Associative Law: (AB)C = A(BC), if the respective matrix
products are defined.
Result
Let A, B and C be matrices, and let s ∈ C. Then
1 Associative Law: (AB)C = A(BC), if the respective matrix
products are defined.
2 Distributive Law:
A(B + C) = AB + AC, (A + B)C = AC + BC,
if the respective matrix sum and matrix products are
defined.
Result
Let A, B and C be matrices, and let s ∈ C. Then
1 Associative Law: (AB)C = A(BC), if the respective matrix
products are defined.
2 Distributive Law:
A(B + C) = AB + AC, (A + B)C = AC + BC,
if the respective matrix sum and matrix products are
defined.
2 Distributive Law:
A(B + C) = AB + AC, (A + B)C = AC + BC,
if the respective matrix sum and matrix products are
defined.
4 Im A = A = AIn , if A is of size m × n.
Result
Let A and B be two matrices and k ∈ C. Then
Result
Let A and B be two matrices and k ∈ C. Then
0 0 1 5 0 0 1 5
1 0 0 2 1 0 0 2
0 1 1 1 0 1 1 1
A= , A=
0
.
0 0 2 1 0 2 1
0 0 1 5 0 0 1 5
A given matrix can have several partitions possible.
A given matrix can have several partitions possible.