MATRICES – COMPLETE STUDY NOTES WITH EXAMPLES
1. Square Matrix: A matrix A = [a_ij] is square if number of rows = number of columns (m = n).
Example: [1 2 3 4]
2. Main Diagonal: Elements a_11, a_22, ..., a_nn are called the main diagonal. Example: In [1 2; 3
4], diagonal elements are 1 and 4.
3. Diagonal Matrix: All non-diagonal elements are zero. Condition: a_ij = 0 for i ≠ j Example: [5 0 0 0
3 0 0 0 1]
4. Scalar Matrix: A diagonal matrix where all diagonal elements are equal. Example: [4 0 0 0 4 0 0 0
4]
5. Identity Matrix: Diagonal elements = 1, others = 0. Example: [1 0 0 0 1 0 0 0 1]
6. Zero Matrix: All elements are zero. Example: [0 0 0 0]
7. Upper Triangular Matrix: All elements below main diagonal are zero. Condition: a_ij = 0 for i > j
Example: [1 2 3 0 4 5 0 0 6]
8. Lower Triangular Matrix: All elements above main diagonal are zero. Condition: a_ij = 0 for i < j
Example: [1 0 0 2 3 0 4 5 6]
9. Triangular Matrix: A matrix that is either upper or lower triangular.
10. Transpose of a Matrix: Interchange rows and columns. Example: A = [1 2 3 4 5 6]
A^T = [1 4 2 5 3 6]
-------------------------------------
IMPORTANT RELATIONSHIPS: - Every scalar matrix is diagonal. - Every identity matrix is scalar. -
Not every diagonal matrix is scalar.
-------------------------------------
PRACTICE QUESTIONS:
1. Identify the type of matrix: [2 0 0 2]
2. Is this matrix diagonal? [1 2 0 3]
3. Find transpose of: [1 0 2 3 4 5]
4. Give an example of lower triangular matrix.
-------------------------------------
SHORT TIPS: - Look at diagonal first. - Check zeros above/below diagonal. - Equal diagonal →
scalar. - Ones on diagonal → identity.