Matrix
Matrix
Semester 1 2018/2019
CHAPTER 7
MATRICES
CHAPTER 7
MATRICES
aij indicates the element in the ith row and the jth
column.
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.1 Elementary Row Operations (ERO)
• Important method to find the inverse of a matrix and to solve
the system of linear equations.
• The following notations will be used while applying ERO.
What is echelon
matrix and
reduced echelon
matrix?
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.1 Elementary Row Operations (ERO) (cont)
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.1 Elementary Row Operations (ERO) (cont)
Given
Example 2
obtain
a) Echelon matrix
b) Reduced echelon matrix
c) Rank of matrix A
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.1 Elementary Row Operations (ERO) (cont)
a) Echelon matrix
Example 2 (cont)
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.1 Elementary Row Operations (ERO) (cont)
c) Rank of matrix A
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix
A scalar value that can be used to find the inverse of a matrix.
The inverse of the matrix will be used to solve a system of linear
equations.
The determinant of a matrix A is a scalar value and
denoted by |A| or det(A)
Definition
I. The determinant of a 2 × 2 matrix is defined by
Definition
The determinant of a 3 × 3 matrix can be calculated by its
diagonal.
Minor
If
Definition
then the minor of aij, denoted by Dij is the
determinant of the submatrix that results from
removing the ith row and jth column of A.
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
Solution
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
2) Given
Example 3 (cont)
Solution
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
Cofactor
Definition
If A is a square matrix n × n, then the cofactor of aij
is given by
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
Cofactor Expansion
If A is an n × n matrix
Definition
The determinant of A (det(A)) can be written as the sum
of its cofactors multiplied by the entries that generated
them.
a) Cofactor expansion along the jth column.
b) Cofactor expansion along the ith row.
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
Cofactor Expansion
a) Cofactor expansion along the jth column.
Definition
a) Cofactor expansion along the ith row.
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
1) Compute the determinant of the following matrix
Solution
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.2 Determinant of a Matrix (cont)
2) Compute the determinant of the following matrix
Example 5 (cont)
Definitio
If A and B are n × n matrices, then the matrix B is the inverse
n
of matrix A (or vice versa) if and only if AB = BA = I
Using ERO
Write AI in the form of augmented matrix (A|I).
STEP 2:
Perform ERO until we get the new augmented matrix (I|B).
STEP 3:
Therefore A−1 = B.
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.3 Inverse Matrices (cont)
1) Compute the inverse of the following matrix
STEP 1:
Example 6
STEP 2:
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.3 Inverse Matrices (cont)
Example 6 (cont)
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.3 Inverse Matrices (cont)
Example 6 (cont)
STEP 3:
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.3 Inverse Matrices (cont)
Adjoint of a Matrix
STEP 3: Adjoint of A
a) b)
Exercises
c)
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.4 System of Linear Equations
to an echelon matrix
a) b)
Example 7
c) d)
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.4 System of Linear Equations (cont)
Gauss-Jordan Method
to a reduced echelon matrix
Inverse Matrix
If A ≠ 0 and Ax = b represents the linear equations
where A is an n × n matrix and b is an n × 1 matrix,
then the solution for the system is given as
x = A−1b
ERO Adjoint
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.4 System of Linear Equations (cont)
Cramer’s Rule
matrices. If |A| ≠ 0, then the solution to the
system is given by,
Definition
Ax = λx
The scalar λ is called an eigenvalue of A
corresponding to the eigenvector x.
Eigenvalues
The eigenvalues of an n × n matrix A are the n zeroes of
the polynomial P(λ)= |A – λI| or equivalently the nth
roots of the nth degree polynomial equation
|A – λI| = 0.
SSCE 1693 ENGINEERING MATHEMATICS 1
Semester 1 2018/2019
7.5 Eigenvalues & Eigenvectors (cont)
Determine the eigenvalues and eigenvector for the matrix
|A – λI| = 0
Step 2: Find the roots/eigenvalues
P(λ) = |A – λI| = 0
Step 3: Use the eigenvalues to find the eigenvectors using
formula
Ax = λx