SlideShare a Scribd company logo
1 of 44
Download to read offline
Lecture № 3
Inverse Matrices.
Matrix Rank
Senior lecturer Marina Hotomceva
Inverse Matrices. Matrix Rank
1. Definition of Inverse Matrix.
2. Examples of Invertible and Noninvertible Matrices
3. Theorem of Inverse Matrix
4. Examples of Calculations of Inverse Matrices
5. Properties of Inverse Matrices
6. Calculation of Inverse Matrices by Elementary
Transformations
7. Solving System of Linear Equation
8. Matrix Rank
1. Definition of Inverse Matrix
 Let A be a square matrix.
A matrix A−¹ is called an inverse matrix of A if
A−¹A = A A−¹ = I ,
where I is an identity matrix.
In such case A is called invertible.
Note: Non-square matrix cannot be invertible.
 If the determinant of a matrix is equal to zero,
then the matrix is called singular; otherwise, if det A
≠ 0 , the matrix A is called regular.
 If A−¹ is an inverse of A, then A is an inverse of A−¹,
i.e., A and A−¹ are inverses to each other.
2. Examples of Invertible and
Noninvertible Matrices
 Example 1 B is an inverse of A.
𝐴𝐴 =
2 1
5 3
𝐵𝐵 =
3 −1
−5 2
So, A is invertible and B=A−¹
𝐴𝐴𝐴𝐴 =
2 1
5 3
3 −1
−5 2
=
2 ⋅ 3 + 1 −5 2 −1 + 1 ⋅ 2
5 ⋅ 3 + 3 −5 5 −1 + 3 ⋅ 2
=
1 0
0 1
𝐵𝐵𝐵𝐵 =
3 −1
−5 2
2 1
5 3
=
3 ⋅ 2 + −1 5 3 ⋅ 1 + −1 3
−5 2 + 2 ⋅ 5 −5 1 + 2 ⋅ 3
=
1 0
0 1
2. Examples of Invertible and
Noninvertible Matrices
 Example 2. Not all the square matrix is invertible
3. Theorem of Inverse Matrix
 If each element of a square matrix A is replaced by
its cofactor, then the transpose of the matrix
obtained is called the adjoint matrix of A:
Matrix of cofactors of A:
Adjoint matrix of A:
[ ]
11 12 1
21 22 2
1 2
n
n
ij
n n nn
A A A
A A A
A
A A A
 
 
 
=
 
 
 


  

11 21 1
12 22 2
1 2
( )
n
T n
ij
n n nn
A A A
A A A
adj A A
A A A
 
 
 
 
= =
   
 
 


  

3. Theorem of Inverse Matrix
For any regular matrix A there exists the unique inverse
matrix:
Any singular matrix has no an inverse matrix.
( )
1 1
adj
det
A A
A
−
=
4. Examples of Calculations of Inverse
Matrices
Example 3. Given the matrix find the inverse
of A
,
a b
A
c d
 
=  
 
bc
ad
A −
=
⇒ )
det( 





−
−
=
a
c
b
d
A
adj )
(
( )
)
(
det
1
1
A
adj
A
A =
⇒ −






−
−
−
=
a
c
b
d
bc
ad
1
4. Examples of Calculations of Inverse
Matrices
Example 4 Let A be the matrix
Find A–1 and verify that AA–1 = A–1A = I2
4 5
2 3
A
 
=  
 
1
3 5
2 2
3 5
1
2 4
4 3 5 2
3 5
1
2 4 1 2
2
A− −
 
=  
−
⋅ − ⋅  
− −
 
 
= =  
 
− −
   
To verify that this is indeed the inverse of A,
we calculate AA–1 and A–1A.
4. Examples of Calculations of Inverse
Matrices
3 5
1 2 2
3 5
2 2
3 5
2 2
3 5
1 2 2
3 5 3 5
2 2 2 2
4 5
2 3 1 2
4 5( 1) 4( ) 5 2 1 0
2 3( 1) 2( ) 3 2 0 1
4 5
2 3
1 2
1 0
4 ( )2 5 ( )3
0 1
( 1)4 2 2 ( 1)5 2 3
AA
A A
−
−
−
 
 
=  
  −
   
⋅ + − − + ⋅
   
=
   
⋅ + − − + ⋅  
 
−
   
=    
−  
 
⋅ + − ⋅ + −
   
=
   
− + ⋅ − + ⋅  
 
4. Examples of Calculations of Inverse
Matrices
Example 4
1
−
A










−
−
−
=
2
0
1
1
2
0
2
3
1
A
(a) Find the adjoint of A.
(b) Use the adjoint of A to find
11
2 1
4,
0 2
A
−
⇒ =
+ =
−
12
0 1
1,
1 2
A =
− =
− 13
0 2
2
1 0
A
−
=
+ =
( 1)i j
ij ij
A M
+
= −

21
3 2
6,
0 2
A =
− =
22
1 2
0,
1 2
A
−
=
+ =
23
1 3
3
1 0
A
−
=
− =
31
3 2
7,
2 1
A =
+ =
−
32
1 2
1,
0 1
A
−
=
− =
33
1 3
2
0 2
A
−
=
+ =
−
4. Examples of Calculations of Inverse
Matrices
cofactor matrix of A
⇒
4 1 2
6 0 3
7 1 2
ij
A
 
 
  =
   
 
 
adjoint matrix of A
⇒
4 6 7
( ) 1 0 1
2 3 2
T
ij
adj A A
 
 
 
= =
   
 
 










=
2
3
2
1
0
1
7
6
4
3
1
⇒ inverse matrix of A
( )
)
(
det
1
1
A
adj
A
A =
−
( ) 3
det =
A











=
3
2
3
2
3
1
3
1
3
7
3
4
1
0
2
 Check: I
AA =
−1
5. Properties of Inverse Matrices
Inverse for matrix product
A and B are invertible n x n matrices, AB is invertible,
and
Let 𝐴𝐴1, 𝐴𝐴2, ⋯ , 𝐴𝐴𝑘𝑘 be n x n invertible matrices. The product
𝐴𝐴1𝐴𝐴2 ⋯ 𝐴𝐴𝑘𝑘 is invertible, and
𝐴𝐴𝐴𝐴 −1 = 𝐵𝐵−1𝐴𝐴−1
𝐵𝐵−1𝐴𝐴−1 𝐴𝐴𝐴𝐴 = 𝐵𝐵−1 𝐴𝐴−1𝐴𝐴 𝐵𝐵 = 𝐵𝐵−1 𝐵𝐵 = 𝐼𝐼
𝐴𝐴𝐴𝐴 𝐵𝐵−1𝐴𝐴−1 = 𝐴𝐴 𝐵𝐵𝐵𝐵−1 𝐴𝐴−1 = 𝐴𝐴 𝐴𝐴−1 = 𝐼𝐼
𝐴𝐴1𝐴𝐴2 ⋯ 𝐴𝐴𝑘𝑘
−1
= 𝐴𝐴𝑘𝑘
−1
𝐴𝐴𝑘𝑘−1
−1
⋯ 𝐴𝐴1
−1
5. Properties of Inverse Matrices
Inverse for matrix transpose
 If A is invertible, then AT is invertible, and
𝐴𝐴−1
𝐴𝐴 = 𝐼𝐼
𝐴𝐴𝐴𝐴−1 = 𝐼𝐼
𝐴𝐴𝐴𝐴 𝑇𝑇 = 𝐵𝐵𝑇𝑇𝐴𝐴𝑇𝑇
𝐴𝐴−1𝐴𝐴 𝑇𝑇 = 𝐼𝐼
𝐴𝐴𝐴𝐴−1 𝑇𝑇 = 𝐼𝐼
𝐴𝐴𝑇𝑇
𝐴𝐴−1 𝑇𝑇
= 𝐼𝐼
𝐴𝐴𝑇𝑇 −1 = 𝐴𝐴−1 𝑇𝑇
𝐴𝐴−1 𝑇𝑇𝐴𝐴𝑇𝑇 = 𝐼𝐼
7.Calculation of Inverse Matrices
by Elementary Transformations
 Reduced Row Echelon Form
1. If a row does not consist entirely of zeros, then the first nonzero number
in the row is a 1. We call this a leading 1.
2. If there are any rows that consist entirely of zeros, then they are
grouped together at the bottom of the matrix.
3. In any two successive rows that do not consist entirely of zeros, the
leading 1 in the lower row occurs farther to the right than the leading 1 in
the higher row.
4. Each column that contains a leading 1 has zeros everywhere else in
that column.
1. Each nonzero row lies above every zero row
2. The leading entries are in echelon form
7.Calculation of Inverse Matrices by
Elementary Transformations
 Reduced Row Echelon Form (RREF)
No zero rows
7.Calculation of Inverse Matrices
by Elementary Transformations
 Reduced Row Echelon Form (RREF)
1-2 The matrix is in row
echelon form
3. The columns
containing the leading
entries are standard
vectors.
7.Calculation of Inverse Matrices
by Elementary Transformations
Gaussian Elimination
 Gaussian elimination: an algorithm for finding the reduced row
echelon form of a matrix.
Original
matrix
A row echelon
form
The reduced row
echelon form
forward pass backward pass
Elementary row
operations
Elementary row
operations
7.Calculation of Inverse Matrices
by Elementary Transformations
elementary row operations
A ……
A’ A’’ R
1. Interchange any two rows of the matrix
2. Multiply every entry of some row by the same nonzero
scalar
3. Add a multiple of one row of the matrix to another row
Note: Every elementary row operations are reversible
reduced row echelon form
7.Calculation of Inverse Matrices
by Elementary Transformations
1
-2
3
The pivot positions of A are (1,1),
Example 5 Reduce matrix to reduced row echelon form.
7.Calculation of Inverse Matrices
by Elementary Transformations
-1
7.Calculation of Inverse Matrices
by Elementary Transformations
-2
7.Calculation of Inverse Matrices
by Elementary Transformations
7.Calculation of Inverse Matrices
by Elementary Transformations
7.Calculation of Inverse Matrices
by Elementary Transformations
7.Calculation of Inverse Matrices by
Elementary Transformations
7.Calculation of Inverse Matrices
by Elementary Transformations
Elementary Row Operation
Every elementary row operation can be performed by
matrix multiplication.
 1. Interchange
 2. Scaling
 3. Adding k times row i to row j:
0
0
1
1
1
k
0
0
1
1
k
0
7.Calculation of Inverse Matrices
by Elementary Transformations
 Every elementary row operation can be performed by
matrix multiplication.
 How to find elementary matrix?
𝐸𝐸
1 0 0
0 1 0
0 0 1
E.g. the elementary matrix that exchange the 1st
and 2nd rows
0 1 0
1 0 0
0 0 1
=
𝐸𝐸
1 4
2 5
3 6
=
2 5
1 4
3 6
𝐸𝐸 =
0 1 0
1 0 0
0 0 1
7.Calculation of Inverse Matrices
by Elementary Transformations
 How to find elementary matrix?
 Apply the desired elementary row operation on
Identity matrix
𝐸𝐸1 =
1 0 0
0 0 1
0 1 0
𝐸𝐸2 =
1 0 0
0 −4 0
0 0 1
𝐸𝐸3 =
1 0 0
0 1 0
2 0 1
Exchange the
2nd and 3rd
rows
Multiply the
2nd row by -4
Adding 2
times row 1 to
row 3
1 0 0
0 1 0
0 0 1
1 0 0
0 1 0
0 0 1
1 0 0
0 1 0
0 0 1
7.Calculation of Inverse Matrices
by Elementary Transformations
 How to find elementary matrix?
 Apply the desired elementary row operation on
Identity matrix
𝐸𝐸1 =
1 0 0
0 0 1
0 1 0
𝐸𝐸2 =
1 0 0
0 −4 0
0 0 1
𝐸𝐸3 =
1 0 0
0 1 0
2 0 1
𝐴𝐴 =
1 4
2 5
3 6
𝐸𝐸1𝐴𝐴 =
1 4
3 6
2 5
𝐸𝐸2𝐴𝐴 =
1 4
−8 −20
3 6
𝐸𝐸3𝐴𝐴 =
1 4
2 5
5 14
7.Calculation of Inverse Matrices
by Elementary Transformations
The inverse of elementary matrix is another
elementary matrix that do the reverse row operation.
𝐸𝐸1 =
1 0 0
0 0 1
0 1 0
𝐸𝐸2 =
1 0 0
0 −4 0
0 0 1
𝐸𝐸3 =
1 0 0
0 1 0
2 0 1
Exchange the 2nd and 3rd
rows
Multiply the 2nd row by
-4
Adding 2 times row 1 to
row 3
Exchange the 2nd and 3rd
rows
𝐸𝐸1
−1
=
1 0 0
0 0 1
0 1 0
Multiply the 2nd row by -1/4
𝐸𝐸2
−1
=
1 0 0
0 −1/4 0
0 0 1
Adding -2 times row 1 to
row 3
𝐸𝐸3
−1
=
1 0 0
0 1 0
−2 0 1
Reverse elementary row operation
7.Calculation of Inverse Matrices by
Elementary Transformations
RREF versus Elementary Matrix
 Let A be a n x n matrix with reduced row echelon form
R.
 There exists an invertible n x n matrix P such that PA=R
𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1𝐴𝐴 = 𝑅𝑅
𝑃𝑃 = 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1
𝑃𝑃−1
= 𝐸𝐸1
−1
𝐸𝐸2
−1
⋯ 𝐸𝐸𝑘𝑘
−1
7.Calculation of Inverse Matrices by
Elementary Transformations
Invertible
Let A be an n x n matrix. A is invertible if and only if
The reduced row echelon form of A is In
In
Invertible
Not Invertible
RREF
RREF
7.Calculation of Inverse Matrices
by Elementary Transformations
Invertible
The reduced row
echelon form of A is In
A is a product of
elementary matrices
An n x n matrix A is
invertible. R=RREF(A)=In
𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1𝐴𝐴 = 𝐼𝐼𝑛𝑛
𝐴𝐴 = 𝐸𝐸1
−1
𝐸𝐸2
−1
⋯ 𝐸𝐸𝑘𝑘
−1
𝐼𝐼𝑛𝑛
= 𝐸𝐸1
−1
𝐸𝐸2
−1
⋯ 𝐸𝐸𝑘𝑘
−1
Algorithm for Matrix Inversion
 Let A be an n x n matrix. Transform [ A In ] into its RREF
[ R B ]
R is the RREF of A
B is a n x n matrix (not RREF)
 If R = In, then A is invertible B = A-1
𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1 𝐴𝐴 𝐼𝐼𝑛𝑛 = 𝑅𝑅 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1
𝐴𝐴−1
𝐼𝐼𝑛𝑛
7.Calculation of Inverse Matrices
by Elementary Transformations
Example 6 Algorithm for Matrix Inversion
In Invertible
RREF
7.Calculation of Inverse Matrices by
Elementary Transformations
7. Solving System of Linear Equation
We solve this matrix equation by multiplying each
side by the inverse of A—provided the inverse exists.
AX = B
A–1(AX) = A–1B
(A–1A)X = A–1B Associative Property
I3X = A–1B Property of Inverse
X = A–1B
However, this method is computationally inefficient.
7. Solving System of Linear Equation
Example 7 �
2𝑥𝑥 − 5𝑦𝑦 = 15
3𝑥𝑥 − 6𝑦𝑦 = 36
a) Write the system of equations as a matrix equation.
b) Solve the system by solving the matrix equation
Sol: We write the system as a matrix equation of the form
AX = B: 2 −5
3 −6
𝑥𝑥
𝑦𝑦 =
15
36
𝐴𝐴−1 =
2 −5
3 −6
−1
=
1
2 −6 − −5 3
−6 − −5
−3 2
=
1
3
−6 5
−3 2
=
−2
5
3
−1
2
3
𝑥𝑥
𝑦𝑦 =
−2
5
3
−1
2
3
15
36
=
30
9
8. Matrix Rank
 An m x n matrix A is said to be the matrix of rank r, if
– there exists at least one regular submatrix of order r ;
– every submatrix of a higher order is singular.
 The rank of a matrix can be evaluated by applying
just those elementary transformation which are used
to reduce matrix to reduced row echelon form.
 If a row or column consists of zeros, then it can be
omitted.
 Theorem: If a matrix à is obtained from A by
elementary transformations then rank à = rank A .
Maximum number
of Independent
Columns
Number of Pivot
Column
=
=
Number of Non-zero
rows
Pivot
column
Leading
Entry
Non-
zero row
Rank = ?
Rank = ? 3
3
8. Matrix Rank
Properties of Rank from RREF
Rank A ≤ Number of columns
Rank A ≤ Number of rows
Rank A ≤ Min( Number of
columns, Number of rows)
Number of Pivot
Column
=
=
Number of Non-zero
rows
Maximum number of
Independent
Columns
8. Matrix Rank
Example 9. Find the rank of the matrix
This matrix is in reduced echelon form. There are three
nonzero row namely (1, 2, 0, 0), (0, 0, 1, 0), and (0, 0, 0,
1). Rank(A) = 3.










=
0
0
0
0
1
0
0
0
0
1
0
0
0
0
2
1
A
8. Matrix Rank
Example 10. Given A. Determine its rank.
1 2 3
2 5 4
1 1 5
A
 
 
=  
 
 
Use elementary row operations to find a reduced
echelon form of the matrix A. We get
1 2 3 1 2 3 1 0 7
2 5 4 0 1 2 0 1 2
1 1 5 0 1 2 0 0 0
     
     
− −
     
     
−
     
 
Obtain two nonzero rows (1, 0, 7), (0, 1, -2) rows. Hence
rank(A) = 2.

More Related Content

What's hot

Null space, Rank and nullity theorem
Null space, Rank and nullity theoremNull space, Rank and nullity theorem
Null space, Rank and nullity theoremRonak Machhi
 
The History of Mathematics and Application of Matrices.pptx
The History of Mathematics and Application of Matrices.pptxThe History of Mathematics and Application of Matrices.pptx
The History of Mathematics and Application of Matrices.pptxSamjhauta Thapa
 
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsGauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsJanki Shah
 
Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIADheeraj Kataria
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsJaydev Kishnani
 
Nams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methodsNams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methodsRuchi Maurya
 
MATLAB - The Need to Know Basics
MATLAB - The Need to Know BasicsMATLAB - The Need to Know Basics
MATLAB - The Need to Know BasicsSTEM Course Prep
 
A presentation on differencial calculus
A presentation on differencial calculusA presentation on differencial calculus
A presentation on differencial calculusbujh balok
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equationssaahil kshatriya
 
Application of Calculus in Real World
Application of Calculus in Real World Application of Calculus in Real World
Application of Calculus in Real World milanmath
 
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinantssom allul
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationStudent
 
NAND and NOR connectives
NAND and NOR connectivesNAND and NOR connectives
NAND and NOR connectivesLakshmi R
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
Application of linear transformation in computer
Application of linear transformation in computerApplication of linear transformation in computer
Application of linear transformation in computerFavour Chukwuedo
 

What's hot (20)

Null space, Rank and nullity theorem
Null space, Rank and nullity theoremNull space, Rank and nullity theorem
Null space, Rank and nullity theorem
 
The History of Mathematics and Application of Matrices.pptx
The History of Mathematics and Application of Matrices.pptxThe History of Mathematics and Application of Matrices.pptx
The History of Mathematics and Application of Matrices.pptx
 
square matrix
square matrixsquare matrix
square matrix
 
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical MethodsGauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods
 
Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIA
 
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectors
 
Nams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methodsNams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methods
 
MATLAB - The Need to Know Basics
MATLAB - The Need to Know BasicsMATLAB - The Need to Know Basics
MATLAB - The Need to Know Basics
 
A presentation on differencial calculus
A presentation on differencial calculusA presentation on differencial calculus
A presentation on differencial calculus
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Application of Calculus in Real World
Application of Calculus in Real World Application of Calculus in Real World
Application of Calculus in Real World
 
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinants
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
 
Maths
MathsMaths
Maths
 
Merge sort
Merge sortMerge sort
Merge sort
 
NAND and NOR connectives
NAND and NOR connectivesNAND and NOR connectives
NAND and NOR connectives
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Application of linear transformation in computer
Application of linear transformation in computerApplication of linear transformation in computer
Application of linear transformation in computer
 

Similar to Lecture 3 Inverse matrices(hotom).pdf

Rank, Nullity, and Fundamental Matrix Spaces.pptx
Rank, Nullity, and Fundamental Matrix Spaces.pptxRank, Nullity, and Fundamental Matrix Spaces.pptx
Rank, Nullity, and Fundamental Matrix Spaces.pptxfroilandoblon1
 
Module 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdfModule 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdfPrathamPatel560716
 
Matrix and linear algebra Introduced by: Khalid Jawad Kadhim
Matrix and linear algebra Introduced by: Khalid Jawad KadhimMatrix and linear algebra Introduced by: Khalid Jawad Kadhim
Matrix and linear algebra Introduced by: Khalid Jawad KadhimKhalidJawadKadhimALK
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)Ranjay Kumar
 
6.4 inverse matrices
6.4 inverse matrices6.4 inverse matrices
6.4 inverse matricesmath260
 
Matrix and its applications by mohammad imran
Matrix and its applications by mohammad imranMatrix and its applications by mohammad imran
Matrix and its applications by mohammad imranMohammad Imran
 
Lesson 8: Determinants III
Lesson 8: Determinants IIILesson 8: Determinants III
Lesson 8: Determinants IIIMatthew Leingang
 
Linear Algebra Presentation including basic of linear Algebra
Linear Algebra Presentation including basic of linear AlgebraLinear Algebra Presentation including basic of linear Algebra
Linear Algebra Presentation including basic of linear AlgebraMUHAMMADUSMAN93058
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and DeterminantsAarjavPinara
 
MODULE_05-Matrix Decomposition.pptx
MODULE_05-Matrix Decomposition.pptxMODULE_05-Matrix Decomposition.pptx
MODULE_05-Matrix Decomposition.pptxAlokSingh205089
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matricesStudent
 
Determinants, crammers law, Inverse by adjoint and the applications
Determinants, crammers law,  Inverse by adjoint and the applicationsDeterminants, crammers law,  Inverse by adjoint and the applications
Determinants, crammers law, Inverse by adjoint and the applicationsNikoBellic28
 

Similar to Lecture 3 Inverse matrices(hotom).pdf (20)

Rank, Nullity, and Fundamental Matrix Spaces.pptx
Rank, Nullity, and Fundamental Matrix Spaces.pptxRank, Nullity, and Fundamental Matrix Spaces.pptx
Rank, Nullity, and Fundamental Matrix Spaces.pptx
 
APM.pdf
APM.pdfAPM.pdf
APM.pdf
 
Module 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdfModule 1 Theory of Matrices.pdf
Module 1 Theory of Matrices.pdf
 
Matrix and linear algebra Introduced by: Khalid Jawad Kadhim
Matrix and linear algebra Introduced by: Khalid Jawad KadhimMatrix and linear algebra Introduced by: Khalid Jawad Kadhim
Matrix and linear algebra Introduced by: Khalid Jawad Kadhim
 
7 4
7 47 4
7 4
 
Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
 
6.4 inverse matrices
6.4 inverse matrices6.4 inverse matrices
6.4 inverse matrices
 
Matrix and its applications by mohammad imran
Matrix and its applications by mohammad imranMatrix and its applications by mohammad imran
Matrix and its applications by mohammad imran
 
Ma3bfet par 10.5 31 julie 2014
Ma3bfet par 10.5 31 julie 2014Ma3bfet par 10.5 31 julie 2014
Ma3bfet par 10.5 31 julie 2014
 
Lesson 8: Determinants III
Lesson 8: Determinants IIILesson 8: Determinants III
Lesson 8: Determinants III
 
Matrices
MatricesMatrices
Matrices
 
Unit i
Unit iUnit i
Unit i
 
Linear Algebra Presentation including basic of linear Algebra
Linear Algebra Presentation including basic of linear AlgebraLinear Algebra Presentation including basic of linear Algebra
Linear Algebra Presentation including basic of linear Algebra
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
MODULE_05-Matrix Decomposition.pptx
MODULE_05-Matrix Decomposition.pptxMODULE_05-Matrix Decomposition.pptx
MODULE_05-Matrix Decomposition.pptx
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matrices
 
Determinants, crammers law, Inverse by adjoint and the applications
Determinants, crammers law,  Inverse by adjoint and the applicationsDeterminants, crammers law,  Inverse by adjoint and the applications
Determinants, crammers law, Inverse by adjoint and the applications
 
Slide_Chapter1_st.pdf
Slide_Chapter1_st.pdfSlide_Chapter1_st.pdf
Slide_Chapter1_st.pdf
 

Recently uploaded

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 

Lecture 3 Inverse matrices(hotom).pdf

  • 1. Lecture № 3 Inverse Matrices. Matrix Rank Senior lecturer Marina Hotomceva
  • 2. Inverse Matrices. Matrix Rank 1. Definition of Inverse Matrix. 2. Examples of Invertible and Noninvertible Matrices 3. Theorem of Inverse Matrix 4. Examples of Calculations of Inverse Matrices 5. Properties of Inverse Matrices 6. Calculation of Inverse Matrices by Elementary Transformations 7. Solving System of Linear Equation 8. Matrix Rank
  • 3. 1. Definition of Inverse Matrix  Let A be a square matrix. A matrix A−¹ is called an inverse matrix of A if A−¹A = A A−¹ = I , where I is an identity matrix. In such case A is called invertible. Note: Non-square matrix cannot be invertible.  If the determinant of a matrix is equal to zero, then the matrix is called singular; otherwise, if det A ≠ 0 , the matrix A is called regular.  If A−¹ is an inverse of A, then A is an inverse of A−¹, i.e., A and A−¹ are inverses to each other.
  • 4. 2. Examples of Invertible and Noninvertible Matrices  Example 1 B is an inverse of A. 𝐴𝐴 = 2 1 5 3 𝐵𝐵 = 3 −1 −5 2 So, A is invertible and B=A−¹ 𝐴𝐴𝐴𝐴 = 2 1 5 3 3 −1 −5 2 = 2 ⋅ 3 + 1 −5 2 −1 + 1 ⋅ 2 5 ⋅ 3 + 3 −5 5 −1 + 3 ⋅ 2 = 1 0 0 1 𝐵𝐵𝐵𝐵 = 3 −1 −5 2 2 1 5 3 = 3 ⋅ 2 + −1 5 3 ⋅ 1 + −1 3 −5 2 + 2 ⋅ 5 −5 1 + 2 ⋅ 3 = 1 0 0 1
  • 5. 2. Examples of Invertible and Noninvertible Matrices  Example 2. Not all the square matrix is invertible
  • 6. 3. Theorem of Inverse Matrix  If each element of a square matrix A is replaced by its cofactor, then the transpose of the matrix obtained is called the adjoint matrix of A: Matrix of cofactors of A: Adjoint matrix of A: [ ] 11 12 1 21 22 2 1 2 n n ij n n nn A A A A A A A A A A       =             11 21 1 12 22 2 1 2 ( ) n T n ij n n nn A A A A A A adj A A A A A         = =              
  • 7. 3. Theorem of Inverse Matrix For any regular matrix A there exists the unique inverse matrix: Any singular matrix has no an inverse matrix. ( ) 1 1 adj det A A A − =
  • 8. 4. Examples of Calculations of Inverse Matrices Example 3. Given the matrix find the inverse of A , a b A c d   =     bc ad A − = ⇒ ) det(       − − = a c b d A adj ) ( ( ) ) ( det 1 1 A adj A A = ⇒ −       − − − = a c b d bc ad 1
  • 9. 4. Examples of Calculations of Inverse Matrices Example 4 Let A be the matrix Find A–1 and verify that AA–1 = A–1A = I2 4 5 2 3 A   =     1 3 5 2 2 3 5 1 2 4 4 3 5 2 3 5 1 2 4 1 2 2 A− −   =   − ⋅ − ⋅   − −     = =     − −    
  • 10. To verify that this is indeed the inverse of A, we calculate AA–1 and A–1A. 4. Examples of Calculations of Inverse Matrices 3 5 1 2 2 3 5 2 2 3 5 2 2 3 5 1 2 2 3 5 3 5 2 2 2 2 4 5 2 3 1 2 4 5( 1) 4( ) 5 2 1 0 2 3( 1) 2( ) 3 2 0 1 4 5 2 3 1 2 1 0 4 ( )2 5 ( )3 0 1 ( 1)4 2 2 ( 1)5 2 3 AA A A − − −     =     −     ⋅ + − − + ⋅     =     ⋅ + − − + ⋅     −     =     −     ⋅ + − ⋅ + −     =     − + ⋅ − + ⋅    
  • 11. 4. Examples of Calculations of Inverse Matrices Example 4 1 − A           − − − = 2 0 1 1 2 0 2 3 1 A (a) Find the adjoint of A. (b) Use the adjoint of A to find 11 2 1 4, 0 2 A − ⇒ = + = − 12 0 1 1, 1 2 A = − = − 13 0 2 2 1 0 A − = + = ( 1)i j ij ij A M + = −  21 3 2 6, 0 2 A = − = 22 1 2 0, 1 2 A − = + = 23 1 3 3 1 0 A − = − = 31 3 2 7, 2 1 A = + = − 32 1 2 1, 0 1 A − = − = 33 1 3 2 0 2 A − = + = −
  • 12. 4. Examples of Calculations of Inverse Matrices cofactor matrix of A ⇒ 4 1 2 6 0 3 7 1 2 ij A       =         adjoint matrix of A ⇒ 4 6 7 ( ) 1 0 1 2 3 2 T ij adj A A       = =                   = 2 3 2 1 0 1 7 6 4 3 1 ⇒ inverse matrix of A ( ) ) ( det 1 1 A adj A A = − ( ) 3 det = A            = 3 2 3 2 3 1 3 1 3 7 3 4 1 0 2  Check: I AA = −1
  • 13. 5. Properties of Inverse Matrices Inverse for matrix product A and B are invertible n x n matrices, AB is invertible, and Let 𝐴𝐴1, 𝐴𝐴2, ⋯ , 𝐴𝐴𝑘𝑘 be n x n invertible matrices. The product 𝐴𝐴1𝐴𝐴2 ⋯ 𝐴𝐴𝑘𝑘 is invertible, and 𝐴𝐴𝐴𝐴 −1 = 𝐵𝐵−1𝐴𝐴−1 𝐵𝐵−1𝐴𝐴−1 𝐴𝐴𝐴𝐴 = 𝐵𝐵−1 𝐴𝐴−1𝐴𝐴 𝐵𝐵 = 𝐵𝐵−1 𝐵𝐵 = 𝐼𝐼 𝐴𝐴𝐴𝐴 𝐵𝐵−1𝐴𝐴−1 = 𝐴𝐴 𝐵𝐵𝐵𝐵−1 𝐴𝐴−1 = 𝐴𝐴 𝐴𝐴−1 = 𝐼𝐼 𝐴𝐴1𝐴𝐴2 ⋯ 𝐴𝐴𝑘𝑘 −1 = 𝐴𝐴𝑘𝑘 −1 𝐴𝐴𝑘𝑘−1 −1 ⋯ 𝐴𝐴1 −1
  • 14. 5. Properties of Inverse Matrices Inverse for matrix transpose  If A is invertible, then AT is invertible, and 𝐴𝐴−1 𝐴𝐴 = 𝐼𝐼 𝐴𝐴𝐴𝐴−1 = 𝐼𝐼 𝐴𝐴𝐴𝐴 𝑇𝑇 = 𝐵𝐵𝑇𝑇𝐴𝐴𝑇𝑇 𝐴𝐴−1𝐴𝐴 𝑇𝑇 = 𝐼𝐼 𝐴𝐴𝐴𝐴−1 𝑇𝑇 = 𝐼𝐼 𝐴𝐴𝑇𝑇 𝐴𝐴−1 𝑇𝑇 = 𝐼𝐼 𝐴𝐴𝑇𝑇 −1 = 𝐴𝐴−1 𝑇𝑇 𝐴𝐴−1 𝑇𝑇𝐴𝐴𝑇𝑇 = 𝐼𝐼
  • 15. 7.Calculation of Inverse Matrices by Elementary Transformations  Reduced Row Echelon Form 1. If a row does not consist entirely of zeros, then the first nonzero number in the row is a 1. We call this a leading 1. 2. If there are any rows that consist entirely of zeros, then they are grouped together at the bottom of the matrix. 3. In any two successive rows that do not consist entirely of zeros, the leading 1 in the lower row occurs farther to the right than the leading 1 in the higher row. 4. Each column that contains a leading 1 has zeros everywhere else in that column. 1. Each nonzero row lies above every zero row 2. The leading entries are in echelon form
  • 16. 7.Calculation of Inverse Matrices by Elementary Transformations  Reduced Row Echelon Form (RREF) No zero rows
  • 17. 7.Calculation of Inverse Matrices by Elementary Transformations  Reduced Row Echelon Form (RREF) 1-2 The matrix is in row echelon form 3. The columns containing the leading entries are standard vectors.
  • 18. 7.Calculation of Inverse Matrices by Elementary Transformations Gaussian Elimination  Gaussian elimination: an algorithm for finding the reduced row echelon form of a matrix. Original matrix A row echelon form The reduced row echelon form forward pass backward pass Elementary row operations Elementary row operations
  • 19. 7.Calculation of Inverse Matrices by Elementary Transformations elementary row operations A …… A’ A’’ R 1. Interchange any two rows of the matrix 2. Multiply every entry of some row by the same nonzero scalar 3. Add a multiple of one row of the matrix to another row Note: Every elementary row operations are reversible reduced row echelon form
  • 20. 7.Calculation of Inverse Matrices by Elementary Transformations 1 -2 3 The pivot positions of A are (1,1), Example 5 Reduce matrix to reduced row echelon form.
  • 21. 7.Calculation of Inverse Matrices by Elementary Transformations
  • 22. -1 7.Calculation of Inverse Matrices by Elementary Transformations
  • 23. -2 7.Calculation of Inverse Matrices by Elementary Transformations
  • 24. 7.Calculation of Inverse Matrices by Elementary Transformations
  • 25. 7.Calculation of Inverse Matrices by Elementary Transformations
  • 26. 7.Calculation of Inverse Matrices by Elementary Transformations
  • 27. 7.Calculation of Inverse Matrices by Elementary Transformations Elementary Row Operation Every elementary row operation can be performed by matrix multiplication.  1. Interchange  2. Scaling  3. Adding k times row i to row j: 0 0 1 1 1 k 0 0 1 1 k 0
  • 28. 7.Calculation of Inverse Matrices by Elementary Transformations  Every elementary row operation can be performed by matrix multiplication.  How to find elementary matrix? 𝐸𝐸 1 0 0 0 1 0 0 0 1 E.g. the elementary matrix that exchange the 1st and 2nd rows 0 1 0 1 0 0 0 0 1 = 𝐸𝐸 1 4 2 5 3 6 = 2 5 1 4 3 6 𝐸𝐸 = 0 1 0 1 0 0 0 0 1
  • 29. 7.Calculation of Inverse Matrices by Elementary Transformations  How to find elementary matrix?  Apply the desired elementary row operation on Identity matrix 𝐸𝐸1 = 1 0 0 0 0 1 0 1 0 𝐸𝐸2 = 1 0 0 0 −4 0 0 0 1 𝐸𝐸3 = 1 0 0 0 1 0 2 0 1 Exchange the 2nd and 3rd rows Multiply the 2nd row by -4 Adding 2 times row 1 to row 3 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 1
  • 30. 7.Calculation of Inverse Matrices by Elementary Transformations  How to find elementary matrix?  Apply the desired elementary row operation on Identity matrix 𝐸𝐸1 = 1 0 0 0 0 1 0 1 0 𝐸𝐸2 = 1 0 0 0 −4 0 0 0 1 𝐸𝐸3 = 1 0 0 0 1 0 2 0 1 𝐴𝐴 = 1 4 2 5 3 6 𝐸𝐸1𝐴𝐴 = 1 4 3 6 2 5 𝐸𝐸2𝐴𝐴 = 1 4 −8 −20 3 6 𝐸𝐸3𝐴𝐴 = 1 4 2 5 5 14
  • 31. 7.Calculation of Inverse Matrices by Elementary Transformations The inverse of elementary matrix is another elementary matrix that do the reverse row operation.
  • 32. 𝐸𝐸1 = 1 0 0 0 0 1 0 1 0 𝐸𝐸2 = 1 0 0 0 −4 0 0 0 1 𝐸𝐸3 = 1 0 0 0 1 0 2 0 1 Exchange the 2nd and 3rd rows Multiply the 2nd row by -4 Adding 2 times row 1 to row 3 Exchange the 2nd and 3rd rows 𝐸𝐸1 −1 = 1 0 0 0 0 1 0 1 0 Multiply the 2nd row by -1/4 𝐸𝐸2 −1 = 1 0 0 0 −1/4 0 0 0 1 Adding -2 times row 1 to row 3 𝐸𝐸3 −1 = 1 0 0 0 1 0 −2 0 1 Reverse elementary row operation
  • 33. 7.Calculation of Inverse Matrices by Elementary Transformations RREF versus Elementary Matrix  Let A be a n x n matrix with reduced row echelon form R.  There exists an invertible n x n matrix P such that PA=R 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1𝐴𝐴 = 𝑅𝑅 𝑃𝑃 = 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1 𝑃𝑃−1 = 𝐸𝐸1 −1 𝐸𝐸2 −1 ⋯ 𝐸𝐸𝑘𝑘 −1
  • 34. 7.Calculation of Inverse Matrices by Elementary Transformations Invertible Let A be an n x n matrix. A is invertible if and only if The reduced row echelon form of A is In In Invertible Not Invertible RREF RREF
  • 35. 7.Calculation of Inverse Matrices by Elementary Transformations Invertible The reduced row echelon form of A is In A is a product of elementary matrices An n x n matrix A is invertible. R=RREF(A)=In 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1𝐴𝐴 = 𝐼𝐼𝑛𝑛 𝐴𝐴 = 𝐸𝐸1 −1 𝐸𝐸2 −1 ⋯ 𝐸𝐸𝑘𝑘 −1 𝐼𝐼𝑛𝑛 = 𝐸𝐸1 −1 𝐸𝐸2 −1 ⋯ 𝐸𝐸𝑘𝑘 −1
  • 36. Algorithm for Matrix Inversion  Let A be an n x n matrix. Transform [ A In ] into its RREF [ R B ] R is the RREF of A B is a n x n matrix (not RREF)  If R = In, then A is invertible B = A-1 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1 𝐴𝐴 𝐼𝐼𝑛𝑛 = 𝑅𝑅 𝐸𝐸𝑘𝑘 ⋯ 𝐸𝐸2𝐸𝐸1 𝐴𝐴−1 𝐼𝐼𝑛𝑛 7.Calculation of Inverse Matrices by Elementary Transformations
  • 37. Example 6 Algorithm for Matrix Inversion In Invertible RREF 7.Calculation of Inverse Matrices by Elementary Transformations
  • 38. 7. Solving System of Linear Equation We solve this matrix equation by multiplying each side by the inverse of A—provided the inverse exists. AX = B A–1(AX) = A–1B (A–1A)X = A–1B Associative Property I3X = A–1B Property of Inverse X = A–1B However, this method is computationally inefficient.
  • 39. 7. Solving System of Linear Equation Example 7 � 2𝑥𝑥 − 5𝑦𝑦 = 15 3𝑥𝑥 − 6𝑦𝑦 = 36 a) Write the system of equations as a matrix equation. b) Solve the system by solving the matrix equation Sol: We write the system as a matrix equation of the form AX = B: 2 −5 3 −6 𝑥𝑥 𝑦𝑦 = 15 36 𝐴𝐴−1 = 2 −5 3 −6 −1 = 1 2 −6 − −5 3 −6 − −5 −3 2 = 1 3 −6 5 −3 2 = −2 5 3 −1 2 3 𝑥𝑥 𝑦𝑦 = −2 5 3 −1 2 3 15 36 = 30 9
  • 40. 8. Matrix Rank  An m x n matrix A is said to be the matrix of rank r, if – there exists at least one regular submatrix of order r ; – every submatrix of a higher order is singular.  The rank of a matrix can be evaluated by applying just those elementary transformation which are used to reduce matrix to reduced row echelon form.  If a row or column consists of zeros, then it can be omitted.  Theorem: If a matrix à is obtained from A by elementary transformations then rank à = rank A .
  • 41. Maximum number of Independent Columns Number of Pivot Column = = Number of Non-zero rows Pivot column Leading Entry Non- zero row Rank = ? Rank = ? 3 3
  • 42. 8. Matrix Rank Properties of Rank from RREF Rank A ≤ Number of columns Rank A ≤ Number of rows Rank A ≤ Min( Number of columns, Number of rows) Number of Pivot Column = = Number of Non-zero rows Maximum number of Independent Columns
  • 43. 8. Matrix Rank Example 9. Find the rank of the matrix This matrix is in reduced echelon form. There are three nonzero row namely (1, 2, 0, 0), (0, 0, 1, 0), and (0, 0, 0, 1). Rank(A) = 3.           = 0 0 0 0 1 0 0 0 0 1 0 0 0 0 2 1 A
  • 44. 8. Matrix Rank Example 10. Given A. Determine its rank. 1 2 3 2 5 4 1 1 5 A     =       Use elementary row operations to find a reduced echelon form of the matrix A. We get 1 2 3 1 2 3 1 0 7 2 5 4 0 1 2 0 1 2 1 1 5 0 1 2 0 0 0             − −             −         Obtain two nonzero rows (1, 0, 7), (0, 1, -2) rows. Hence rank(A) = 2.