Escolar Documentos
Profissional Documentos
Cultura Documentos
MATRICES
A matrix is a rectangular array of elements in which the value and position of each element is important. The size of a matrix is described by the number of rows and columns in the matrix.
MATRIX NOTATION
Matrices are generally represented by a bold upper case letter A or an upper case letter between two square brackets [A]. The elements of a matrix are indexed by a double subscript indicating the row and column location of an element a(row)(column).
a11 a 21 A= M a n1 a12 a 22 M an2 L a1m L a 2m = [aij ] O M L a nm
i = 1, 2, K , n
j = 1, 2, K , m
where n and m are the number of rows and columns, consecutively. Single column matrices such as
b11 b 21 B= M bn1
Matrices
zmasoud.googlepages.com
are referred to as vectors and represented by a bold lower case letters. The elements are enclosed in either square or curly brackets.
b1 b1 b b 2 2 b= = M M bn bn
MATRIX OPERATIONS
Addition Matrices have to have the same size.
A+B =B+A (A + B) + C = A + (B + C)
k =1
aik bkj
zmasoud.googlepages.com
Identity Matrix The identity matrix is a square matrix (I), such that
IA = AI = A
The identity matrix has 1s on the diagonal and zeros everywhere else.
1 0 I= M 0
0 1 M 0
L L O L
0 0 M 1
Matrix Transpose To transpose a matrix, the rows and columns are interchanged. Example for
a11 a 21 A= M a n1
Matrices
a12 a 22 M an2
L a1m L a 2m O M L a nm
zmasoud.googlepages.com
L a n1 L an2 O M L a nm
or
A T = [aij ]T = [a ji ]
Matrix Trace The trace of a square matrix is the sum of all the elements on its principal diagonal. Example for
a11 a 21 A= M a n1
a12 a 22 M an2
L a1m L a 2m O M L a nm
n i =1
Matrix Augmentation Two matrices of the same row size can be horizontally augmented as
Matrices
zmasoud.googlepages.com
a11 a 21 A= M a n1
a12 a 22 M an2
a11 a 21 A MB = M a n1
Row operations are applied to both matrix A and matrix B at the same time without interaction between the elements of the A and B matrices. Special Matrices
a11 0 A= M 0 a11 0 A= M 0 a11 a 21 A= M a n1
Matrices
0 a 22 M 0 a12 a 22 M 0 0 a 22 M an2
Matrices
zmasoud.googlepages.com