SlideShare a Scribd company logo
T- 1-855-694-8886
Email- info@iTutor.com
By iTutor.com
Inverse matrix
Review
 AA-1 = I
 A-1A=I
 Necessary for matrix to be square to have unique
inverse.
 If an inverse exists for a square matrix, it is unique
 (A')-1=(A-1)‘
 Solution to A x = d
 A-1A x* = A-1 d
 I x* =A-1 d=> x* = A-1 d(solution depends on A-1)
 Linear independence a problem to get x*
Inverse of a Matrix: Calculation
100
010
001
|
ihg
fed
cba
Process:
 Append the identity matrix to A.
 Subtract multiples of the other
rows from the first row to reduce
the diagonal element to 1.
 Transform the identity matrix as
you go.
Theorem: Let A be an invertible (n x n) matrix. Suppose that a
sequence of elementary row-operations reduces A to the identity
matrix. Then the same sequence of elementary row-operations when
applied to the identity matrix yields A-1.
 When the original matrix is the identity, the identity has become
the inverse!
Determination of the Inverse
(Gauss-Jordan Elimination)
AX = I
I X = K
I X = X = A-1 => K = A-1
1) Augmented matrix
all A, X and I are (n x n)
square matrices
X = A-1
Gauss elimination Gauss-Jordan
elimination
UT: upper triangular
further row
operations
[A I ] [ UT H] [ I K]
2) Transform augmented matrix
Wilhelm Jordan (1842– 1899)
Find A-1 using the Gauss-Jordan method.
Gauss-Jordan Elimination: Example 1
211
121
112
A
100211
010121
00
2
1
2
1
2
1
1
100211
010121
001112
|.1
)2/1(1R
IA
10
2
1
2
3
2
1
0
01
2
1
2
1
2
3
0
00
2
1
2
1
2
1
1
100211
010121
00
2
1
2
1
2
1
1
.2
)1(&)1( 3121 RR
Process:
Expand A|I. Start scaling and adding rows to get I|A-1.
10
2
1
2
3
2
1
0
0
3
2
3
1
3
1
10
00
2
1
2
1
2
1
1
10
2
1
2
3
2
1
0
01
2
1
2
1
2
3
0
00
2
1
2
1
2
1
1
.3
)3/2(2
A
R
1
3
1
3
1
3
4
00
0
3
2
3
1
3
1
10
00
2
1
2
1
2
1
1
10
2
1
2
3
2
1
0
0
3
2
3
1
3
1
10
00
2
1
2
1
2
1
1
.4
)2/1(32R
4
3
4
1
4
1
100
0
3
2
3
1
3
1
10
00
2
1
2
1
2
1
1
1
3
1
3
1
3
4
00
0
3
2
3
1
3
1
10
00
2
1
2
1
2
1
1
.5
)4/3(3R
4
3
4
1
4
1
100
4
1
4
3
4
1
010
8
3
8
1
8
5
0
2
1
1
4
3
4
1
4
1
100
0
3
2
3
1
3
1
10
00
2
1
2
1
2
1
1
.6
)2/1(&)3/1( 1323 RR
4
3
4
1
4
1
100
4
1
4
3
4
1
010
8
2
8
2
8
6
001
4
3
4
1
4
1
100
4
1
4
3
4
1
010
8
3
8
1
8
5
0
2
1
1
.7
)2/1(12R
4
3
4
1
4
1
4
1
4
3
4
1
4
1
4
1
4
3
4
3
4
1
4
1
100
4
1
4
3
4
1
010
8
2
8
2
8
6
001
|.8
11
AAI
Gauss-Jordan Elimination: Example 2
DDI
DDI
D
DDI
I
I
I
I
I
I
I
XXYX
XYXXXXYXXYXXXXRR
XYXXYXYY
XXYX
XXXYXXR
XXYXXYXXYXYY
XXXYXXRR
YYYX
XXXYXXR
YYYX
XYXX
XYXX
XYXXYXYY
YX
XX
)(0
0
.4
][where
)(0
0
.3
0
0
.2
0
0
0
0
.1
1
1111
11
1
11
][
11
11
11
2
1
1
2
11
12
1
1
Partitioned inverse (using the Gauss-Jordan method).
Trace of a Matrix
 The trace of an n x n matrix A is defined to be the sum of the
elements on the main diagonal of A:
trace(A) = tr (A) = Σi aii.
where aii is the entry on the ith row and ith column of A.
 Properties:
- tr(A + B) = tr(A) + tr(B)
- tr(cA) = c tr(A)
- tr(AB) = tr(BA)
- tr(ABC) = tr(CAB) (invariant under cyclic permutations.)
- tr(A) = tr(AT)
- d tr(A) = tr(dA) (differential of trace)
- tr(A) = rank(A) when A is idempotent –i.e., A= A2.
Application: Rank of the Residual Maker
 We define M, the residual maker, as:
M = In - X(X′X)-1 X′ = In - P
where X is an nxk matrix, with rank(X)=k
 Let’s calculate the trace of M:
tr(M) = tr(In) - tr(P) = n - k
- tr(IT) = n
- tr(P) = k
Recall tr(ABC) = tr(CAB)
=> tr(P) = tr(X(X′X)-1 X′) = tr(X′X (X′X)-1) = tr(Ik) = k
 Since M is an idempotent matrix –i.e., M= M2-, then
rank(M) = tr(M) = n - k
Determinant of a Matrix
 The determinant is a number associated with any squared matrix.
 If A is an n x n matrix, the determinant is |A| or det(A).
 Determinants are used to characterize invertible matrices. A
matrix is invertible (non-singular) if and only if it has a non-zero
determinant
 That is, if |A|≠0 → A is invertible.
 Determinants are used to describe the solution to a system of
linear equations with Cramer's rule.
 Can be found using factorials, pivots, and cofactors! More on this
later.
 Lots of interpretations
 Used for inversion. Example: Inverse of a 2x2 matrix:
dc
ba
A bcadAA )det(||
ac
bd
bcad
A
11 This matrix is called the
adjugate of A (or adj(A)).
A-1 = adj(A)/|A|
Determinant of a Matrix (3x3)
cegbdiafhcdhbfgaei
ihg
fed
cba
ihg
fed
cba
ihg
fed
cba
ihg
fed
cba Sarrus’ Rule: Sum from left to
right. Then, subtract from right
to left
Note: N! terms
Determinants: Laplace formula
 The determinant of a matrix of arbitrary size
can be defined by the Leibniz formula or the
Laplace formula.
Pierre-Simon Laplace
(1749–1827).
 The Laplace formula (or expansion) expresses the determinant
|A| as a sum of n determinants of (n-1) × (n-1) sub-matrices of
A. There are n2 such expressions, one for each row and column
of A.
 Define the i,j minor Mij (usually written as |Mij|) of A as the
determinant of the (n-1) × (n-1) matrix that results from
deleting the i-th row and the j-th column of A.
 Define the Ci,j the cofactor of A as:
||)1( ,, ji
ji
ji
MC
 The cofactor matrix of A -denoted by C-, is defined as the nxn
matrix whose (i,j) entry is the (i,j) cofactor of A. The transpose
of C is called the adjugate or adjoint of A -adj(A).
 Theorem (Determinant as a Laplace expansion)
Suppose A = [aij] is an nxn matrix and i,j= {1, 2, ...,n}. Then the
determinant
njnjjjijij
ininiiii
CaCaCa
CaCaCaA
...
...||
22
2211
Example:
642
010
321
A
0)0(x4)3x2-x61)(1()0(x2
0))2x)1((x3)0(x)1(x2)6x1(x1
x3x2x1|| 131211
CCCA
 |A| is zero => The matrix is non-singular.
Determinants: Properties
 Interchange of rows and columns does not affect |A|.
(Corollary, |A| = |A’|.)
 To any row (column) of A we can add any multiple of any
other row (column) without changing |A|.
 (Corollary, if we transform A into U or L , |A|=|U| =
|L|, which is equal to the product of the diagonal element of
U or L.)
 |I| = 1, where I is the identity matrix.
 |kA| = kn |A|, where k is a scalar.
 |A| = |A’|.
 |AB| = |A||B|.
 |A-1|=1/|A|.
Notation and Definitions: Summary
 A (Upper case letters) = matrix
 b (Lower case letters) = vector
 n x m = n rows, m columns
 rank(A) = number of linearly independent vectors of A
 trace(A) = tr(A) = sum of diagonal elements of A
 Null matrix = all elements equal to zero.
 Diagonal matrix = all off-diagonal elements are zero.
 I = identity matrix (diagonal elements: 1, off-diagonal: 0)
 |A| = det(A) = determinant of A
 A-1 = inverse of A
 A’=AT = Transpose of A
 |Mij|= Minor of A
 A=AT => Symmetric matrix
 AT A =A AT => Normal matrix
 AT =A-1 => Orthogonal matrix
17
The End
Call us for more
Information:
www.iTutor.com
Visit
1-855-694-8886

More Related Content

What's hot

Eigen value and eigen vector
Eigen value and eigen vectorEigen value and eigen vector
Eigen value and eigen vector
Rutvij Patel
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
Aditya Vaishampayan
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrixitutor
 
MATRICES
MATRICESMATRICES
MATRICESfaijmsk
 
Lesson 5 a matrix inverse
Lesson 5 a   matrix inverseLesson 5 a   matrix inverse
Lesson 5 a matrix inverse
Jonathan Templin
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
Swetalina Pradhan
 
Matrix
MatrixMatrix
Matrix
Umar Farooq
 
Matrices
Matrices Matrices
Matrices
Karan Kukreja
 
Determinants
DeterminantsDeterminants
Determinants
Joey Valdriz
 
Group abstract algebra
Group  abstract algebraGroup  abstract algebra
Group abstract algebra
NaliniSPatil
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
Birinder Singh Gulati
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
 
Pascal triangle and binomial theorem
Pascal triangle and binomial theoremPascal triangle and binomial theorem
Pascal triangle and binomial theorem
rey castro
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
Nahin Mahfuz Seam
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Diler4
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices SlidesMatthew Leingang
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
saahil kshatriya
 
Volume of revolution
Volume of revolutionVolume of revolution
Volume of revolution
Christopher Chibangu
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbra
gandhinagar
 

What's hot (20)

Eigen value and eigen vector
Eigen value and eigen vectorEigen value and eigen vector
Eigen value and eigen vector
 
system linear equations and matrices
 system linear equations and matrices system linear equations and matrices
system linear equations and matrices
 
Introduction of matrices
Introduction of matricesIntroduction of matrices
Introduction of matrices
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
 
MATRICES
MATRICESMATRICES
MATRICES
 
Lesson 5 a matrix inverse
Lesson 5 a   matrix inverseLesson 5 a   matrix inverse
Lesson 5 a matrix inverse
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
Matrix
MatrixMatrix
Matrix
 
Matrices
Matrices Matrices
Matrices
 
Determinants
DeterminantsDeterminants
Determinants
 
Group abstract algebra
Group  abstract algebraGroup  abstract algebra
Group abstract algebra
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
Pascal triangle and binomial theorem
Pascal triangle and binomial theoremPascal triangle and binomial theorem
Pascal triangle and binomial theorem
 
Presentation on matrix
Presentation on matrixPresentation on matrix
Presentation on matrix
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Lesson02 Vectors And Matrices Slides
Lesson02   Vectors And Matrices SlidesLesson02   Vectors And Matrices Slides
Lesson02 Vectors And Matrices Slides
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Volume of revolution
Volume of revolutionVolume of revolution
Volume of revolution
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbra
 

Similar to Inverse Matrix & Determinants

Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
Ranjay Kumar
 
Notes of Matrices and Determinants
Notes of Matrices and DeterminantsNotes of Matrices and Determinants
Notes of Matrices and Determinants
KarunaGupta1982
 
Notes of matrices and determinants
Notes of matrices and determinantsNotes of matrices and determinants
Notes of matrices and determinants
KarunaGupta1982
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectors
Jaydev Kishnani
 
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
JinTaek Seo
 
Algebraic Properties of Matrix Operations
Algebraic Properties of Matrix OperationsAlgebraic Properties of Matrix Operations
Algebraic Properties of Matrix Operations
Nonie Diaz
 
Mat 223_Ch5-Eigenvalues.ppt
Mat 223_Ch5-Eigenvalues.pptMat 223_Ch5-Eigenvalues.ppt
Mat 223_Ch5-Eigenvalues.ppt
SatyabrataMandal7
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
Rai University
 
Matrices
MatricesMatrices
Matricesdaferro
 
saket.ppt
saket.pptsaket.ppt
saket.ppt
SagarBehera28
 
Basic concepts. Systems of equations
Basic concepts. Systems of equationsBasic concepts. Systems of equations
Basic concepts. Systems of equationsjorgeduardooo
 
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
veenatanmaipatlolla
 
Matrices
MatricesMatrices
Matrices
Preeti Kashyap
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
Drishti Bhalla
 
Matrices y determinants
Matrices y determinantsMatrices y determinants
Matrices y determinantsJeannie
 
eigenvalue
eigenvalueeigenvalue
eigenvalue
Asyraf Ghani
 
matrix algebra
matrix algebramatrix algebra
matrix algebra
kganu
 
CBSE Class 12 Mathematics formulas
CBSE Class 12 Mathematics formulasCBSE Class 12 Mathematics formulas
CBSE Class 12 Mathematics formulas
Parth Kshirsagar
 

Similar to Inverse Matrix & Determinants (20)

Engg maths k notes(4)
Engg maths k notes(4)Engg maths k notes(4)
Engg maths k notes(4)
 
Notes of Matrices and Determinants
Notes of Matrices and DeterminantsNotes of Matrices and Determinants
Notes of Matrices and Determinants
 
Notes of matrices and determinants
Notes of matrices and determinantsNotes of matrices and determinants
Notes of matrices and determinants
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectors
 
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
 
Algebraic Properties of Matrix Operations
Algebraic Properties of Matrix OperationsAlgebraic Properties of Matrix Operations
Algebraic Properties of Matrix Operations
 
Week3
Week3Week3
Week3
 
Mat 223_Ch5-Eigenvalues.ppt
Mat 223_Ch5-Eigenvalues.pptMat 223_Ch5-Eigenvalues.ppt
Mat 223_Ch5-Eigenvalues.ppt
 
Unit i
Unit iUnit i
Unit i
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Matrices
MatricesMatrices
Matrices
 
saket.ppt
saket.pptsaket.ppt
saket.ppt
 
Basic concepts. Systems of equations
Basic concepts. Systems of equationsBasic concepts. Systems of equations
Basic concepts. Systems of equations
 
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
 
Matrices
MatricesMatrices
Matrices
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
 
Matrices y determinants
Matrices y determinantsMatrices y determinants
Matrices y determinants
 
eigenvalue
eigenvalueeigenvalue
eigenvalue
 
matrix algebra
matrix algebramatrix algebra
matrix algebra
 
CBSE Class 12 Mathematics formulas
CBSE Class 12 Mathematics formulasCBSE Class 12 Mathematics formulas
CBSE Class 12 Mathematics formulas
 

More from itutor

Comparing Fractions
Comparing FractionsComparing Fractions
Comparing Fractionsitutor
 
Fractions
FractionsFractions
Fractionsitutor
 
Quadrilaterals
QuadrilateralsQuadrilaterals
Quadrilateralsitutor
 
Properties of Addition & Multiplication
Properties of Addition & MultiplicationProperties of Addition & Multiplication
Properties of Addition & Multiplicationitutor
 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theoremitutor
 
Equation of Hyperbola
Equation of HyperbolaEquation of Hyperbola
Equation of Hyperbolaitutor
 
Equation of Strighjt lines
Equation of Strighjt linesEquation of Strighjt lines
Equation of Strighjt linesitutor
 
Evolution and Changes
Evolution and ChangesEvolution and Changes
Evolution and Changesitutor
 
Slops of the Straight lines
Slops of the Straight linesSlops of the Straight lines
Slops of the Straight linesitutor
 
Equations of Straight Lines
Equations of Straight LinesEquations of Straight Lines
Equations of Straight Linesitutor
 
Parabola
ParabolaParabola
Parabolaitutor
 
Ellipse
EllipseEllipse
Ellipseitutor
 
Periodic Relationships
Periodic RelationshipsPeriodic Relationships
Periodic Relationshipsitutor
 
Living System
Living SystemLiving System
Living Systemitutor
 
Ecosystems- A Natural Balance
Ecosystems- A Natural BalanceEcosystems- A Natural Balance
Ecosystems- A Natural Balanceitutor
 
Ecosystems
EcosystemsEcosystems
Ecosystemsitutor
 
Gravitation
GravitationGravitation
Gravitationitutor
 
Home bound instruction presentation
Home bound instruction presentationHome bound instruction presentation
Home bound instruction presentationitutor
 
Gas Laws
Gas LawsGas Laws
Gas Lawsitutor
 
Valence Bond theory & Hybridization
Valence Bond theory & HybridizationValence Bond theory & Hybridization
Valence Bond theory & Hybridizationitutor
 

More from itutor (20)

Comparing Fractions
Comparing FractionsComparing Fractions
Comparing Fractions
 
Fractions
FractionsFractions
Fractions
 
Quadrilaterals
QuadrilateralsQuadrilaterals
Quadrilaterals
 
Properties of Addition & Multiplication
Properties of Addition & MultiplicationProperties of Addition & Multiplication
Properties of Addition & Multiplication
 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theorem
 
Equation of Hyperbola
Equation of HyperbolaEquation of Hyperbola
Equation of Hyperbola
 
Equation of Strighjt lines
Equation of Strighjt linesEquation of Strighjt lines
Equation of Strighjt lines
 
Evolution and Changes
Evolution and ChangesEvolution and Changes
Evolution and Changes
 
Slops of the Straight lines
Slops of the Straight linesSlops of the Straight lines
Slops of the Straight lines
 
Equations of Straight Lines
Equations of Straight LinesEquations of Straight Lines
Equations of Straight Lines
 
Parabola
ParabolaParabola
Parabola
 
Ellipse
EllipseEllipse
Ellipse
 
Periodic Relationships
Periodic RelationshipsPeriodic Relationships
Periodic Relationships
 
Living System
Living SystemLiving System
Living System
 
Ecosystems- A Natural Balance
Ecosystems- A Natural BalanceEcosystems- A Natural Balance
Ecosystems- A Natural Balance
 
Ecosystems
EcosystemsEcosystems
Ecosystems
 
Gravitation
GravitationGravitation
Gravitation
 
Home bound instruction presentation
Home bound instruction presentationHome bound instruction presentation
Home bound instruction presentation
 
Gas Laws
Gas LawsGas Laws
Gas Laws
 
Valence Bond theory & Hybridization
Valence Bond theory & HybridizationValence Bond theory & Hybridization
Valence Bond theory & Hybridization
 

Recently uploaded

ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 

Recently uploaded (20)

ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 

Inverse Matrix & Determinants

  • 2. Inverse matrix Review  AA-1 = I  A-1A=I  Necessary for matrix to be square to have unique inverse.  If an inverse exists for a square matrix, it is unique  (A')-1=(A-1)‘  Solution to A x = d  A-1A x* = A-1 d  I x* =A-1 d=> x* = A-1 d(solution depends on A-1)  Linear independence a problem to get x*
  • 3. Inverse of a Matrix: Calculation 100 010 001 | ihg fed cba Process:  Append the identity matrix to A.  Subtract multiples of the other rows from the first row to reduce the diagonal element to 1.  Transform the identity matrix as you go. Theorem: Let A be an invertible (n x n) matrix. Suppose that a sequence of elementary row-operations reduces A to the identity matrix. Then the same sequence of elementary row-operations when applied to the identity matrix yields A-1.  When the original matrix is the identity, the identity has become the inverse!
  • 4. Determination of the Inverse (Gauss-Jordan Elimination) AX = I I X = K I X = X = A-1 => K = A-1 1) Augmented matrix all A, X and I are (n x n) square matrices X = A-1 Gauss elimination Gauss-Jordan elimination UT: upper triangular further row operations [A I ] [ UT H] [ I K] 2) Transform augmented matrix Wilhelm Jordan (1842– 1899)
  • 5. Find A-1 using the Gauss-Jordan method. Gauss-Jordan Elimination: Example 1 211 121 112 A 100211 010121 00 2 1 2 1 2 1 1 100211 010121 001112 |.1 )2/1(1R IA 10 2 1 2 3 2 1 0 01 2 1 2 1 2 3 0 00 2 1 2 1 2 1 1 100211 010121 00 2 1 2 1 2 1 1 .2 )1(&)1( 3121 RR Process: Expand A|I. Start scaling and adding rows to get I|A-1.
  • 8. Gauss-Jordan Elimination: Example 2 DDI DDI D DDI I I I I I I I XXYX XYXXXXYXXYXXXXRR XYXXYXYY XXYX XXXYXXR XXYXXYXXYXYY XXXYXXRR YYYX XXXYXXR YYYX XYXX XYXX XYXXYXYY YX XX )(0 0 .4 ][where )(0 0 .3 0 0 .2 0 0 0 0 .1 1 1111 11 1 11 ][ 11 11 11 2 1 1 2 11 12 1 1 Partitioned inverse (using the Gauss-Jordan method).
  • 9. Trace of a Matrix  The trace of an n x n matrix A is defined to be the sum of the elements on the main diagonal of A: trace(A) = tr (A) = Σi aii. where aii is the entry on the ith row and ith column of A.  Properties: - tr(A + B) = tr(A) + tr(B) - tr(cA) = c tr(A) - tr(AB) = tr(BA) - tr(ABC) = tr(CAB) (invariant under cyclic permutations.) - tr(A) = tr(AT) - d tr(A) = tr(dA) (differential of trace) - tr(A) = rank(A) when A is idempotent –i.e., A= A2.
  • 10. Application: Rank of the Residual Maker  We define M, the residual maker, as: M = In - X(X′X)-1 X′ = In - P where X is an nxk matrix, with rank(X)=k  Let’s calculate the trace of M: tr(M) = tr(In) - tr(P) = n - k - tr(IT) = n - tr(P) = k Recall tr(ABC) = tr(CAB) => tr(P) = tr(X(X′X)-1 X′) = tr(X′X (X′X)-1) = tr(Ik) = k  Since M is an idempotent matrix –i.e., M= M2-, then rank(M) = tr(M) = n - k
  • 11. Determinant of a Matrix  The determinant is a number associated with any squared matrix.  If A is an n x n matrix, the determinant is |A| or det(A).  Determinants are used to characterize invertible matrices. A matrix is invertible (non-singular) if and only if it has a non-zero determinant  That is, if |A|≠0 → A is invertible.  Determinants are used to describe the solution to a system of linear equations with Cramer's rule.  Can be found using factorials, pivots, and cofactors! More on this later.  Lots of interpretations
  • 12.  Used for inversion. Example: Inverse of a 2x2 matrix: dc ba A bcadAA )det(|| ac bd bcad A 11 This matrix is called the adjugate of A (or adj(A)). A-1 = adj(A)/|A|
  • 13. Determinant of a Matrix (3x3) cegbdiafhcdhbfgaei ihg fed cba ihg fed cba ihg fed cba ihg fed cba Sarrus’ Rule: Sum from left to right. Then, subtract from right to left Note: N! terms
  • 14. Determinants: Laplace formula  The determinant of a matrix of arbitrary size can be defined by the Leibniz formula or the Laplace formula. Pierre-Simon Laplace (1749–1827).  The Laplace formula (or expansion) expresses the determinant |A| as a sum of n determinants of (n-1) × (n-1) sub-matrices of A. There are n2 such expressions, one for each row and column of A.  Define the i,j minor Mij (usually written as |Mij|) of A as the determinant of the (n-1) × (n-1) matrix that results from deleting the i-th row and the j-th column of A.  Define the Ci,j the cofactor of A as: ||)1( ,, ji ji ji MC
  • 15.  The cofactor matrix of A -denoted by C-, is defined as the nxn matrix whose (i,j) entry is the (i,j) cofactor of A. The transpose of C is called the adjugate or adjoint of A -adj(A).  Theorem (Determinant as a Laplace expansion) Suppose A = [aij] is an nxn matrix and i,j= {1, 2, ...,n}. Then the determinant njnjjjijij ininiiii CaCaCa CaCaCaA ... ...|| 22 2211 Example: 642 010 321 A 0)0(x4)3x2-x61)(1()0(x2 0))2x)1((x3)0(x)1(x2)6x1(x1 x3x2x1|| 131211 CCCA  |A| is zero => The matrix is non-singular.
  • 16. Determinants: Properties  Interchange of rows and columns does not affect |A|. (Corollary, |A| = |A’|.)  To any row (column) of A we can add any multiple of any other row (column) without changing |A|.  (Corollary, if we transform A into U or L , |A|=|U| = |L|, which is equal to the product of the diagonal element of U or L.)  |I| = 1, where I is the identity matrix.  |kA| = kn |A|, where k is a scalar.  |A| = |A’|.  |AB| = |A||B|.  |A-1|=1/|A|.
  • 17. Notation and Definitions: Summary  A (Upper case letters) = matrix  b (Lower case letters) = vector  n x m = n rows, m columns  rank(A) = number of linearly independent vectors of A  trace(A) = tr(A) = sum of diagonal elements of A  Null matrix = all elements equal to zero.  Diagonal matrix = all off-diagonal elements are zero.  I = identity matrix (diagonal elements: 1, off-diagonal: 0)  |A| = det(A) = determinant of A  A-1 = inverse of A  A’=AT = Transpose of A  |Mij|= Minor of A  A=AT => Symmetric matrix  AT A =A AT => Normal matrix  AT =A-1 => Orthogonal matrix 17
  • 18. The End Call us for more Information: www.iTutor.com Visit 1-855-694-8886