Matrices Introduction
Matrices Introduction
Introduction
Q1 Q2 Q3 Q4
If one wants to know how many Copper tires were sold in Quarter 4, we go
along the row Copper and column Q4 and find that it is 27.
So what is a matrix?
A matrix is a rectangular array of elements. The elements can be symbolic
expressions or/and numbers. Matrix is denoted by
Row of has elements and is
Each matrix has rows and columns and this defines the size of the matrix.
If a matrix has rows and columns, the size of the matrix is denoted
by . The matrix may also be denoted by to show that is
a matrix with rows and columns.
Each entry in the matrix is called the entry or element of the matrix and is
denoted by where is the row number and is the column number of
the element.
The matrix for the tire sales example could be denoted by the matrix [A] as
There are 3 rows and 4 columns, so the size of the matrix is . In the
above matrix, .
Row Vector:
If a matrix has one row, it is called a row vector and
is the dimension of the row vector.
Example 1
Give an example of a row vector.
Solution
Example 2
Give an example of a column vector.
Solution
Submatrix:
If some row(s) or/and column(s) of a matrix are deleted (no rows or
columns may be deleted), the remaining matrix is called a submatrix of
.
Example 3
Find some of the submatrices of the matrix
Solution
Square matrix:
If the number of rows of a matrix is equal to the number of columns of
a matrix , that is, , then is called a square matrix. The entries
are called the diagonal elements of a square matrix.
Sometimes the diagonal of the matrix is also called the principal or main of
the matrix.
Example 4
Give an example of a square matrix.
Solution
is a square matrix as it has the same number of rows and columns, that is,
3. The diagonal elements of are .
Example 5
Give an example of an upper triangular matrix.
Solution
Example 6
Give an example of a lower triangular matrix.
Solution
Diagonal matrix:
A square matrix with all non-diagonal elements equal to zero is called a
diagonal matrix, that is, only the diagonal entries of the square matrix can
be non-zero, ( ).
Example 7
Give examples of a diagonal matrix.
Solution
is a diagonal matrix.
Any or all the diagonal entries of a diagonal matrix can be zero. For
example
Identity matrix:
A diagonal matrix with all diagonal elements equal to 1 is called an identity
matrix, ( for all and for all ).
Example 8
Give an example of an identity matrix.
Solution
is an identity matrix.
Zero matrix:
A matrix whose all entries are zero is called a zero matrix, ( for all
and ).
Example 9
Give examples of a zero matrix.
Solution
are all examples of a zero matrix.
Tridiagonal matrices:
A tridiagonal matrix is a square matrix in which all elements not on the
following are zero - the major diagonal, the diagonal above the major
diagonal, and the diagonal below the major diagonal.
Example 10
Give an example of a tridiagonal matrix.
Solution
is a tridiagonal matrix.
Example 11
What are the diagonal entries of
Solution
The diagonal elements of are
Example 12
Give examples of diagonally dominant matrices and not diagonally
dominant matrices.
Solution
and for at least one row, that is Rows 1 and 3 in this case, the inequality is a
strictly greater than inequality.
The inequalities are satisfied for all rows and it is satisfied strictly greater
than for at least one row (in this case it is Row 3).
Example 13
What would make
to be equal to
Solution
The two matrices and could be equal if and .
Key Terms:
Matrix
Vector
Submatrix
Square matrix
Equal matrices
Zero matrix
Identity matrix
Diagonal matrix
Upper triangular matrix
Lower triangular matrix
Tri-diagonal matrix
Diagonally dominant matrix