Matriks dan Ruang Vektor : Dasar-dasar Matriks dan Operasi Matriks
Matrix
Definition of a matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix
Size of matrix: number of rows × number of columns. Example : for the matrices above: 2×2, 1×3, 3×3, 1×1, respectively
Matrix with only one row is called row matrix. Thus, matrix with only one column is called column matrix. We will use capital letters to denote matrices and lowercase letter to denote numerical quantities
Square Matrix
A matrix A with n rows and n columns is called a square matrix of order n. The shaded entries a_11,a_22,…,a_nn are said to be on the main diagonal of A
Equality of Matrices
Two matrices are defined to be equal if they have same size and their corresponding entries are equal
Addition and Subtraction
The expression A+C, B+C, A-C, and B-C are undefined
Scalar Multiples
Syntax for Scalar Multiples :
Syntax for Scalar Multiples :
Multiplying Matrices
If A is an m×r matrix and B is an r×n matrix, then the product AB is the m×n matrix whose entries are determined as follows. To find the entry in row i and column j of AB, we can do :
- Single out row i from the matrix A and column j from the matrix B
- Multiply the corresponding entries from the row and column together
- Add up the resulting products
Example 1
Example 2
The matrix A is called the coefficient matrix
Transpose Matrix
If A is any m×n matrix, then the transpose of A (A^T ): the n×m matrix that results by interchanging the rows and columns of A;
Exercise 2
Trace
If A is a square matrix, then the trace of A (tr(A)): sum of the entries on the main diagonal of A.
EmoticonEmoticon