Unit 1 Matrix, determinant and system
Unit 1 Matrix, determinant and system
Definition: A rectangular array of numbers arranged in horizontal rows and vertical columns is
called a matrix.
( , [ ] ( )
The numbers in the row and column are called the elements or entries of the matrix.
The size or order of a matrix is indicated by the number of rows and columns. A matrix with m
rows and n columns is said to be of dimension (or order) m by n and denoted by m n matrix.
Matrices are denoted by upper case (capital) letters and the standard notation for the elements is
to use the same letter but with lower case and the two subscripts which describe the position of
the elements. In the above matrix the first subscript refers to the position of rows and second
subscript refers to the position of columns to which the element belongs. Thus, the above matrix
is denoted by ( ) for i 1, 2, 3, , m and j 1, 2, 3, , n . In the subscript the first
letter m denotes the number of rows and the second letter n denotes the number of columns. The
element in the row i and column j is called the (i, j ) th entry and often written as aij .
Example: The following arrangements of numbers give the distance between the indicted cities.
3. A matrix with all its elements zero is call a zero (or null) matrix.
4. A matrix with the number of rows m equal to the number of columns n is called a square
matrix of order n . For square matrix, the diagonal from the top left to the bottom right corner is
called the principal (or main) diagonal of the matrix.
5. A square matrix ( ) is called a diagonal matrix if all the elements off the main
6. A diagonal matrix of order n who’s all the diagonal elements are one is called a unit (or
identity) matrix and denoted by .
7. A square matrix is called an upper-triangular matrix if all the elements below the principal
diagonal are zero. On the other hand, if all the elements above the principal diagonal are zero,
then it is called a lower-triangular matrix.
In general; an upper triangular matrix or lower triangular matrices are known as triangular
matrix.
Addition of two matrices would be possible if and only if the two matrices have the same
dimension. In this case if ( ) and ( ) then ( ) .
Solution: Adding the components with the terms in the two matrices, we have
( + ( + ( + ( +.
a) (Addition is commutative)
b) (Addition is associative)
Scalar multiplication is the product of a real number by a matrix, which is completely different
from product of two matrices.
The product of a number with the matrix of dimension , the matrix denoted by , is a
matrix obtained by multiplying each entry of A by . The dimension of the resulting matrix is
also . That is
( ,
Solution: multiplying the components with the terms in the matrix, we have
⁄ ⁄
( + ( ⁄ +
⁄
( )
( + ( + ( + ( + ( +
( +.
b)
The multiplication of two matrices is a little bit more complicated than the sum or difference of two
matrices. Any pair of matrices cannot be multiplied together and the order in which matrices are
multiplied can matter.
Let ( , ( ,
We can find the product of two matrices A and B , denoted by AB , if and only if
i) the number of columns of and the number of rows of are equal (that is, is
defined, if dimension of is and dimension of is ).
ii) The dimension of the resulting matrix is determined by the number of rows of
and the number of columns of (that is, the dimension of is ).
iii) To obtain the entry of matrix , we take the dot product of the row of
matrix A with the column of matrix . That is
Solution: To find the product write the two matrices adjacent to each other and perform the
operations. The product is defined as the number of column of equal to the number of rows
of , that is 3. Also the resulting matrix is of order 2.
Applied Mathematics I by Mekonnen Elifnew (Assistant Professor) Page 6
( )( + ( * ( )
However, the product is also defined as the number of column of is 2 while the number of
rows of is also2, thus the resulting matrix is also of order 3 as shown below.
( +( ) ( )
( +
From this example we can observe that, matrix multiplication is not commutative.
( +( + ( )
( +
On the other hand, the number of columns of and the number of rows of is not equal, thus
the product is not possible.
The transpose of matrix is the matrix obtained by interchanging the rows and
columns of the given matrix and denoted by or .
Let ( ,, then ( ,.
A square matrix is said to be symmetric if its transpose is equal to the matrix, that is .
A square matrix is said to be skew symmetric if its transpose is equal to the negative of ,
that is .
a)
Applied Mathematics I by Mekonnen Elifnew (Assistant Professor) Page 8
b)
c)
Let be a square matrix of order . We say that is invertible or non-singular if there exists a
square matrix of order such that
b) The unique matrix where it exist is called the inverse of , and denoted by .
Example: Find the inverse of the square matrix ( ), using the definition of inverse of a
matrix.
Solution: Consider a square matrix of order two, let ( ) such that , then
( )( ) ( )
( * ( )
⁄ ⁄
⁄ ⁄
Therefore the inverse of matrix is the matrix ( *
⁄ ⁄
⁄ ⁄
( *( ) ( , ( )
⁄ ⁄
It also holds as we have. This is a system of four linear equations with four unknowns and we can
also split the system in to two simultaneous equations
To finding the inverse of a matrix we can use two techniques determinant of a matrix and
elementary raw operations.
Elementary raw operations involves the following operations on a given raw of a matrix.
1 5 7 6
( +, ( +, 0 1 7 4
0 0 0 1
Example: ( +, ( +
Solution: To reduce the given matrix into its row-echelon form we will use the elementary row
operation. Observe on the first hand each row has zero leading zero, thus to reduce the given
matrix into row echelon form the position of the element in the first row and first column have to
be one. Following this observations all the elements below the element in the first row and first
column have to be zero as we wish to increase the number of leading zeros as we move down the
rows.
element 2 to one multiply the first row by . That is the equation is applied on the first
row.
To change a nonzero element of a row to zero subtract from this row the ratio of the element that
becomes zero in the row by the corresponding element that becomes one in its column and
multiply with the corresponding row that becomes one. To change the element 5 to zero from row
two subtract the ratio multiplied by the first row . That is the equation is applied
( ) ( ) ( )
Definition: The rank of a matrix is the number of non-zero rows in its row-echelon form and
denoted by
3 5 1 4
Example: Reduce the matrix B 2 1 1 1 , in its row-echelon form and find its rank.
8 9 3 9
Solution: To find the rank of a given matrix, we reduce the given matrix in the row-echelon form
by using elementary row operations and decide its rank.
3 5 1 4 1 5 3 13 4 3 1 5 3 1 3 4 3
2 1 1 1 0 13 3 1 3 5 3 0 13 3 1 3 5 3
8 9 3 9 0 13 3 1 3 5 3 0 0
0 0
In finding the inverse of a square matrix of order using the elementary row operation;
augment the given matrix with the corresponding identity matrix; that is construct a rectangular
matrix whose dimension will be by attaching on the right side of an identity
matrix of order . Then use elementary row operation and reduce the matrix to the form
of which is always possible if is invertible matrix. Finally we take
Let ( ), then ( | ),
by using elementary row operation one can transform this matrix to the form of
( | ,.
Therefore, ( ,
Example: Find the inverse of the matrix ( ), using the augmented method.
Solution: Using the identity matrix of order 2 the augmented matrix will be:
( | )→ ( | )→ ( | *
⁄ ⁄ ⁄ ⁄
Therefore, ( *
⁄ ⁄
Example: Find the inverse of the matrix ( +, using the augmented method.
⁄ ⁄ ⁄ ⁄ ⁄
( | + ⁄ ( ⁄ ⁄ | ⁄ + ⁄
⁄ ⁄ ⁄ ⁄ ⁄
⁄ ⁄ ⁄ ⁄ ⁄ ⁄ ⁄
( ⁄ | ⁄ ⁄ + ⁄ ( | ⁄ ⁄ ⁄ +
⁄ ⁄ ⁄ ⁄ ⁄ ⁄ ⁄
⁄ ⁄ ⁄
Therefore, ( ⁄ ⁄ ⁄ +
⁄ ⁄ ⁄
The system (2.1) above can be written in matrix notation with the components as:
matrix and ( ,, called the constant term matrix. Therefore, the system (2.1) can be
written as
notation we have: ( +( + ( +
The general system of linear of -equations with -unknowns is given by (1.1) or (1.2) is said to be
inconsistent if it has no solution, otherwise it is said to be consistent; that is, it has one or many
solutions.
If , then the system (1.1) or (1.2) is said to be homogenous system and if , is system
(1.1) or (1.2) is said called non-homogenous system.
For a system of linear equations such as (2.1), we are interested in the following questions.
Definition: In a system of linear equation (2.1) or in its matrix notation (2.2) when we add on the
constant term matrix to the right hand of the coefficient matrix we obtain the
matrix
( | ,
( | +
Theorem: Let and be two systems of linear equations with -equations and -
unknowns each. If the augmented matrix and are row equivalent, then the
original linear systems of equations are also equivalent. Therefore, they have exactly the
same solution.
Theorem: The non-homogenous system of equations is consistent if rank of the coefficient matrix
is equal to the rank of the augmented matrix. Otherwise it is inconsistent.
To solve a system of -equations with -unknowns is given by using the Gauss-Jordan elimination
method we use the following procedures.
Step-2: Use elementary row operation on the augmented matrix and transform the system into
row echelon form of a matrix.
Step-3: At last; use the back substitution method to solve for the unknowns.
( | +
The last matrix is in the row echelon form, hence the corresponding equivalent system of equation
is:
Therefore, .
In solving system of linear equations (2.1) or (2.2) we start with the augmented matrix and
transform it into the row-echelon form. In such cases we have the following three alternatives.
Case-2 ( | , , from the last row ( or some rows) we have which imply
that rank of and rank of are equal but less than the number of unknowns , then
the system of linear equations (1.1) or (1.2) has an infinitely many solution.
which implies that rank of is less than the rank of and this implies that the system
of linear equations (1.1) or (1.2) has no solution.
⁄ ⁄ ⁄ ⁄
( | + ⁄ ( ⁄ ⁄ | ⁄ + ⁄
⁄ ⁄ ⁄ ⁄
⁄ ⁄ ⁄
( ⁄ | ⁄ +
{ }
If
If
If etc.
⁄ ⁄ ⁄
( | + ( | + ⁄
( | +
Theorem: A homogenous system of -linear equations with -unknowns has a non-trivia solution
if and only if rank .
⁄ ⁄ ⁄
( | + ⁄ ( ⁄ ⁄ ⁄ | + ⁄
⁄ ⁄ ⁄ ⁄ ⁄
⁄ ⁄ ⁄ ⁄
( ⁄ ⁄ | + ( ⁄ ⁄ | +
⁄ ⁄ ⁄ ⁄
Rank number of variables, hence we have non-trivial solutions. The corresponding system
of linear equations is:
{ }
If
If etc.
A determinant is a function that assigns a real number to each square matrix. Hence we will
consider how to find the determinant of square matrix of order .
A square matrix of order one is just the number system we have; thus
The determinant of a square matrix of order one is the number itself. That is if , then
.
given by:
| |
| |
Definition: Let be matrix. If we delete the row and column of we obtain a sub-
matrix of dimension corresponding to the entry of matrix .
The number:
The number:
Example: Given the square matrix ( +, then if we delete the first row and the
second column, we have the sub-matrix ( ) with the corresponding minor will be
| | and cofactor corresponding to the element in the first row and the
Now we can generalize the determinant of a matrix for any order based on the following
procedure on square matrix of order two.
| |
| |
| | | | | |
| | | |— | | | |
[ ] [ ] [ ]
[ ] [ ] [ ]
| | | | | | | |
{ | | | | | |} { | | | | | |}
{ | | | | | |} { | | | | | |}
{ }
Given a real number , and two square matrices of order , then we have the following
properties.
i)
ii)
iii)
iv) If two rows (or columns) are the same, then its determinant of the matrix is zero.
v) If two adjacent columns of are interchanged, then the determinant change in sign.
vi) If we add scalar multiple of a row (or column) vector to another row (or column) vector,
then the determinant does not change.
vii) If a row (or column) can be expressed as sum of two or more rows (or columns) then
the determinant is zero
( , ( ,
will be ( * ( ) and the transpose of the cofactor matrix of is called the adjoint
of and denoted by
( * ( ) ( )
Solution: By using the above theorem, first find the determinant and then the adjoint of the .
( * ( ) ( )
⁄ ⁄
( ) ( *.
⁄ ⁄
inverse of is given by : ( )
| | | | | | | |
[ ] [ ] [ ]
To find the :
| | | | | |
| | | | | |
| | | | | |
⁄ ⁄ ⁄
( + ( ⁄ ⁄ ⁄ +
⁄ ⁄ ⁄
Here we will use one of the matrix methods of solving system of equations when the number of
equation and the number of variables are equal.
One can use the square coefficient matrix, variable matrix, and the constant term matrix and
express equation as
( ,( , ( ,
In equation (2.4) as matrix is a square matrix we can find the determinant of . Thus the
Cramer’s rule will be stated as follows:
where is the matrix obtained from the coefficient matrix by replacing its column by
the constant term matrix . This rule is called the Cramer’s Rule.
(as )
(by associative property)
( +( + ( +
| | | | | | | | .
| | | | | | | | .
| | | | | | | |
Also one can find and solve for the unknown variable matrix .
To find the ;
| | | | | |
| | | | | |
Hence: ( + ( +
( +( + ( + ( +