Matrices
3.1 Overview
A matrix is an ordered rectangular array of numbers or functions. For example, the matrix is: A=\begin{bmatrix}x&4&3\\ 4&3&x\\ 3&x&4\end{bmatrix} [cite_start]The numbers or functions within the matrix are called the elements or entries. The horizontal lines of elements form the rows, and the vertical lines form the columns.
3.1.2 Order of a Matrix
A matrix with rows and columns is called a matrix of order or simply an matrix. The matrix above is a matrix. In general, an matrix has the following rectangular array:
A=[a_{ij}]_{m \times n}=\begin{bmatrix}a_{11}&a_{12}&\dots&a_{1n}\\ a_{21}&a_{22}&\dots&a_{2n}\\ \vdots&\vdots&\ddots&\vdots\\ a_{m1}&a_{m2}&\dots&a_{mn}\end{bmatrix}
The element is the element in the row and column. An matrix contains elements.
3.1.3 Types of Matrices
The document defines several types of matrices:
- Row matrix: a matrix with only one row.
- Column matrix: a matrix with only one column.
- Square matrix: a matrix where the number of rows equals the number of columns, i.e., .
- Diagonal matrix: a square matrix where all non-diagonal elements are zero. For a matrix , this means when .
- Scalar matrix: a diagonal matrix where all diagonal elements are equal to a constant, . This means when and when .
- Identity matrix: a square matrix where all diagonal elements are 1 and the rest are all zeroes. A square matrix is an identity matrix if when and when .
- Zero matrix or null matrix: a matrix where all its elements are zero. It is denoted by O.
Two matrices, and , are equal if they have the same order and each element of A is equal to the corresponding element of B, i.e., for all and .
3.1.4 Addition of Matrices
Two matrices can be added only if they have the same order.
3.1.5 Multiplication of Matrix by a Scalar
If is a matrix and is a scalar, then the matrix is obtained by multiplying each element of A by the scalar , i.e., .
3.1.6 Negative of a Matrix
The negative of a matrix A is denoted by and is defined as .
3.1.7 Multiplication of Matrices
The multiplication of two matrices, A and B, is defined only if the number of columns in A is equal to the number of rows in B. If is an matrix and is an matrix, their product is a matrix C of order . The element of matrix C is obtained by multiplying the elements of the row of A with the corresponding elements of the column of B and summing the products.
Important notes on matrix multiplication:
- If the product is defined, the product is not necessarily defined.
- If both and are defined, they are not necessarily equal ().
- The product of two matrices can be a zero matrix even if neither of the original matrices is a zero matrix.
- For three matrices A, B, and C of the same order, if , then , but the converse is not always true.
3.1.8 Transpose of a Matrix
The transpose of an matrix A, denoted by or , is the matrix obtained by interchanging the rows and columns of A. If , then its transpose is .
Properties of a matrix transpose for matrices A and B of suitable orders:
- .
- , where is any constant.
- .
- .
3.1.9 Symmetric Matrix and Skew Symmetric Matrix
- A square matrix is symmetric if , which means for all and .
- A square matrix is skew symmetric if , which means for all and . The diagonal elements of a skew symmetric matrix are always zero.
Theorems:
- For any square matrix A with real number entries, is a symmetric matrix, and is a skew symmetric matrix.
- Any square matrix A can be expressed as the sum of a symmetric and a skew symmetric matrix: .
3.1.10 Invertible Matrices
A square matrix A of order is invertible if there exists another square matrix B of the same order such that . Matrix B is called the inverse of A and is denoted by .
Important notes on invertible matrices:
- A rectangular matrix does not have an inverse.
- If B is the inverse of A, then A is also the inverse of B.
- The inverse of a square matrix, if it exists, is unique.
- If A and B are invertible matrices of the same order, then .
3.1.11 Inverse of a Matrix using Elementary Row or Column Operations
To find using elementary row operations, you write and apply a sequence of row operations until you get the form . The matrix B is then the inverse of A. Similarly, for column operations, you start with and apply a sequence of column operations until you get . If, at any point, all elements in one or more rows (or columns) of the matrix on the left-hand side become zero, the inverse does not exist. [^1]
References
[^1] : "Matrices" from Maths.scot