Differences between revisions 3 and 15 (spanning 12 versions)
Revision 3 as of 2022-03-19 20:42:27
Size: 1613
Comment:
Revision 15 as of 2024-01-27 23:43:23
Size: 2682
Comment: Determinants
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from LinearAlgebra/InverseMatrices
= Inverse Matrices =
= Matrix Inversion =
Line 4: Line 3:
== Introduction == For some matrices '''''A''''', the '''inverse matrix''' ('''''A'''^-1^'') is a matrix which can be multiplied by the original matrix to produce the [[LinearAlgebra/SpecialMatrices#Identity_Matrix|identity matrix]]. The calculation of an inverse matrix, if it exists, is called '''inversion'''.
Line 6: Line 5:
An '''inverse matrix''' is a matrix A^-1^ where multiplying it by matrix A results in the identity matrix. <<TableOfContents>>
Line 8: Line 7:
If A^-1^ exists, then A is '''invertible''' and '''non-singular'''. Not all matrices are invertible. ----
Line 10: Line 9:
Consider the below problem:

== Definition ==

An inverse matrix satisfies the equation '''''AA'''^-1^ = '''I'''''.

[[LinearAlgebra/Determinants|Determinants]] are the test for '''invertability'''. if ''|'''A'''| != 0'', then '''''A''''' is invertable and non-singular. Conversely, if ''|'''A'''| = 0'', then '''''A''''' is singular and non-invertable.



=== Properties ===

The core principle of inversions is that a matrix '''''A''''' can be canceled out from a larger equation. '''''AA'''^-1^ = '''I''''', so the two terms cancel out.

An invertible matrix has only one vector in the [[LinearAlgebra/NullSpaces|null space]]: the zero vector.

For [[LinearAlgebra/Orthogonality#Matrices|orthogonal matrices]] (such as [[LinearAlgebra/SpecialMatrices#Permutation_Matrices|permutation matrices]]), the inverse is also the [[LinearAlgebra/MatrixTransposition|transpose]]: '''''Q'''^-1^ = '''Q'''^T^''.

For a square matrix '''''A''''', the '''left inverse''' is the same as the '''right inverse'''. '''''AA'''^-1^ = '''A'''^-1^'''A''' = '''I'''''

----



== Calculation ==

Consider the below system, which shows an unknown matrix ('''''A'''^-1^'') multiplied by a known matrix ('''''A''''') creating an [[LinearAlgebra/SpecialMatrices#Identity_Matrix|identity matrix]] ('''''I''''').
Line 13: Line 38:
         -1
  A A = I
Line 19: Line 47:
The inverse matrix is calculated with [[LinearAlgebra/Elimination|elimination]] and [[LinearAlgebra/Elimination#Reduced_Row_Echelon_Form|reverse elimination]]. [[LinearAlgebra/Elimination#Simplification_with_Augmented_Matrices|Augment]] '''''A''''' with '''''I'''''.
Line 20: Line 49:

== Properties ==

For a permutation matrix, the inverse is also the transpose: P^-1^ = P^T^.

For a square matrix A, the left inverse is the same as the right inverse. AA^-1^ = A^-1^A = I



== Gauss-Jordan Calculation ==

The inverse matrix can be calculated through elimination and reverse elimination.

First step:
The elimination proceeds as:
Line 40: Line 56:

2 - 1m = 0
   m = 2

   2 7 0 1
- 1m - 3m - 1m - 0m
____ ____ ____ ____
   0 1 -2 1


│ [1] 3 │ 1 0│
│ 0 1 │ -2 1│
└ ┘

│ [1]  3  │ 1 0│
│ 0 [1] │ -2 1│
  
Line 55: Line 62:
Second step: The reverse elimination proceeds as:
Line 62: Line 69:

3 - 1m = 0
   m = 3

   1 3 1 0
- 0m - 1m - -2m - 1m
____ ____ _____ ____
   1 0 7 -3


│ 1 0 │ 7 -3│
│ 0 [1] │ -2 1│
└ ┘

[1] 0 │ 7 -3│
 0  [1] │ -2 1│
  
Line 77: Line 75:
The inverse matrix of A is: '''''A'''^-1^'' is:

Matrix Inversion

For some matrices A, the inverse matrix (A-1) is a matrix which can be multiplied by the original matrix to produce the identity matrix. The calculation of an inverse matrix, if it exists, is called inversion.


Definition

An inverse matrix satisfies the equation AA-1 = I.

Determinants are the test for invertability. if |A| != 0, then A is invertable and non-singular. Conversely, if |A| = 0, then A is singular and non-invertable.

Properties

The core principle of inversions is that a matrix A can be canceled out from a larger equation. AA-1 = I, so the two terms cancel out.

An invertible matrix has only one vector in the null space: the zero vector.

For orthogonal matrices (such as permutation matrices), the inverse is also the transpose: Q-1 = QT.

For a square matrix A, the left inverse is the same as the right inverse. AA-1 = A-1A = I


Calculation

Consider the below system, which shows an unknown matrix (A-1) multiplied by a known matrix (A) creating an identity matrix (I).

         -1
  A     A    =   I

┌    ┐┌    ┐   ┌    ┐
│ 1 3││ a b│   │ 1 0│
│ 2 7││ c d│ = │ 0 1│
└    ┘└    ┘   └    ┘

The inverse matrix is calculated with elimination and reverse elimination. Augment A with I.

The elimination proceeds as:

┌            ┐
│ [1] 3 │ 1 0│
│  2  7 │ 0 1│
└            ┘
┌               ┐
│ [1]  3  │  1 0│
│  0  [1] │ -2 1│
└               ┘

The reverse elimination proceeds as:

┌             ┐
│ 1  3  │  1 0│
│ 0 [1] │ -2 1│
└             ┘
┌                ┐
│ [1]  0  │  7 -3│
│  0  [1] │ -2  1│
└                ┘

A-1 is:

┌      ┐
│  7 -3│
│ -2  1│
└      ┘


CategoryRicottone

LinearAlgebra/MatrixInversion (last edited 2024-06-06 02:58:56 by DominicRicottone)