Matrix
Matrix
In this example:
• The matrix A has 3 rows and 3 columns, making it a 3x3 (3 by 3) matrix
• The element in the first row and second column is 2, denoted as a(1,2)=2
Types of Matrices
1. Row Matrix: A matrix with only one row
3. Square Matrix: A matrix with the same number of rows and columns (e.g.,
3x3, 4x4)
4. Diagonal Matrix: A square matrix in which all the elements outside the main
diagonal are zero
5. Identity Matrix: A diagonal matrix where all the elements on the main
diagonal are 1
7. Inverse: A square matrix has an inverse if there is another matrix that, when
multiplied with the original, yields the identity matrix
Example 1: Solve the system of linear equations using matrices