Matrix1 MAT100
Matrix1 MAT100
Matrix
Reference:
Or
2x3
• For the following matrix K,
• Identify:
• The order of the matrix
• The elements: k12, k23, k33 and k41
K
Types of Matrices
1. Row Vector 2. Column Vector
• Made up of only one row. • Made up of only one column.
• Order will be 1 x c • Order will be r x 1
• Example: • Example:
0
2
A1x2 = 6 −3 C4x1 =
2
−3
B1x3= 11 130 0 10
D2x1=
9
3. Null/Zero Matrix 4. Square Matrix
• All of whose elements are 0. • The number of rows is the same
• Denoted as 0rxc as the number of columns
• A-A = 0 • Order will be r x r (r=c)
• A+0 = A
• Example:
• Multiplication with a null matrix = a
null matrix. 0 3
A2x2=
• Example:
0
1 70
02x1=
0
1 2 0
0 0
02x2=
0 0 B3x3= 0 3 4
0 0 0 0 0 5 0
03x4= 0 0 0 0
0 0 0 0
5. Diagonal Matrix
• A square matrix were each of its non-diagonal (or off-diagonal)
elements is zero and each of its leading (or principal) diagonal
elements is not zero.
• Leading diagonal = collection of elements starting from the
uppermost-left element to the lowermost-right element.
6. Identity Matrix
• A diagonal matrix were each of its off-diagonal elements is
0 and each of its leading diagonal elements is 1.
• Denoted as Ir or In
• AI = IA = A
7. Upper-triangular Matrix
• A square matrix in which all the elements below the leading
diagonal are zero.
• That is,
8. Lower-triangular Matrix
• A square matrix in which all the elements above the leading
diagonal are zero.
• That is,
Matrix Operations
Transpose
• The transpose of a matrix is found by replacing its rows by its
columns.
• The 1st row becomes the 1st column, the 2nd row becomes the 2nd
column, and so on.
• The transpose of a matrix A will be denoted as AT or A′
• The # of rows of A = the # of columns of A′ and vice versa.
• So if A has order r × c then A′ has order c × r.
Examples
4 11
B=
−2 0
4 −2
B′ =
11 0
Addition/Subtraction
• Only matrices of the same order can be added/subtracted.
• To add/subtract two matrices → add/subtract the corresponding
elements together.
• Example:
• kA = 2A = =
Some Properties of Matrices
• Matrix addition is commutative: A + B = B + A
• (A + B)T = AT + BT
• (A − B)T = AT − BT
• (AT )T = A