MATRIX:
A matrix is a rectangular array of numbers, each of which is called an entry of the matrix.
If a given matrix has rows and columns, it is called an matrix, and the number and are the dimensions of the matrix
for example, in this matrix, it has 2 rows, and 3 columns, so the dimensions of this matrix would be
We sometimes refer to an matrix as a column vector and a matrix as a row vector
the one on the left is referred to as a column vector since it has 1 column and rows, the one on the right is referred to as a row vector since it has 1 row and columns
A matrix is a square if it has the same number of rows as columns, In this case, the number of rows or columns is called the order of the matrix
The way we denoted matrices is by using capital letters, and the entries of a matrix are denoted by the corresponding lowercase letter with “double subscripts”. As an example, if we had this matrix:
If we wanted the value in the 2nd row 3rd column, instead of saying “the entry in the matrix A in the 2nd row 3rd column is…” you can just say , just makes naming easier
So, if we had this matrix:
and we wanted the value of the 1st row, 2nd column, we would write . If we wanted the value of the 3rd row 1st column, this would be
SUM OF MATRICIES:
Let and be matrices with the same dimensions. The sum of and , written as , is the matrix obtained by adding corresponding entries of and . So, you would add and so on
Example:
Find the sum of these two matrices
MULTIPLICATION BY SCALAR:
Let be a matrix and be a scalar. Then, the scalar multiple is the matrix obtained by multiplying each entry of by
Example:
Find the value of
There is also something called a zero matrix but I am not making a header for it… can you GUESS what a zero matrix is…………………… this isn't rocket science
MATRIX MULTIPLICATION:
Let and be matrices such that the number of columns of is equal to the number of rows in . Let be a matrix, and be . Then, the product is the matrix, such that the entry in the row and column is the dot product of the row of with the column of
- So, if you wanted to multiply a and matrix, this is fine, you end up with a matrix.
- However, if you wanted to multiply a and a matrix, you CAN’T, since the column of the first matrix is not equal to the row of the second matrix
It is also very important to know that
The best way to explain this is through an example
Examples: Find the value of
Given the below values of and , find the values of and
DIAGONAL MATRIX:
The entries of a square matrix form the main diagonal of . For example, in the below matrix, the main diagonal of the matrix consists of 1, 2, 4
A square matrix in which every element NOT on the main diagonal is zero is called a diagonal matrix. It is important to know that it MUST be a square matrix
these are considered diagonal matrices, all the non main diagonal entries are 0
IDENTITY MATRIX:
An identity matrix, denoted by , is a square matrix which has ’s all along the main diagonal, and zero everywhere else
If you multiply a non-zero matrix with an identity matrix, you are just going to get again