Difference between revisions of "Adjugate Formula"
Line 1: | Line 1: | ||
{{Navigation|before=[[Gauß-Jordan-Algorithm]]|overview=[[Matrix inversion]]|next=[[Transformations]]}} | {{Navigation|before=[[Gauß-Jordan-Algorithm]]|overview=[[Matrix inversion]]|next=[[Transformations]]}} | ||
− | The adjugate formula defines the inverse of an n-by-n square matrix <math>\mathbf{A}</math> as | + | The adjugate formula defines the inverse of an n-by-n square matrix <math>\mathbf{A}</math> as |
− | <math>\mathbf{A}^{-1}=\frac{1}{\det(\mathbf{A})}\text{adj}(\mathbf{A})</math | + | :<math>\mathbf{A}^{-1}=\frac{1}{\det(\mathbf{A})}\text{adj}(\mathbf{A})</math> |
− | where <math>\text{adj}(\mathbf{A})</math> is the so called '''adjugate matrix''' of <math>\mathbf{A}</math>. The adjugate matrix is the transposed of the cofactor matrix: | + | where <math>\text{adj}(\mathbf{A})</math> is the so called '''adjugate matrix''' of <math>\mathbf{A}</math>. The adjugate matrix is the transposed of the cofactor matrix: |
− | <math> | + | :<math> |
\text{adj}(\mathbf{A})=\mathbf{C}(\mathbf{A})^T | \text{adj}(\mathbf{A})=\mathbf{C}(\mathbf{A})^T | ||
</math><br/><br/> | </math><br/><br/> | ||
− | And the '''cofactor matrix''' <math>\mathbf{C}(\mathbf{A})</math> is just a matrix where each cell corresponds to the related [[Minors_and_cofactors|cofactor]]: | + | And the '''cofactor matrix''' <math>\mathbf{C}(\mathbf{A})</math> is just a matrix where each cell corresponds to the related [[Minors_and_cofactors|cofactor]]: |
− | <math> | + | :<math> |
\mathbf{C}(\mathbf{A})=\left[\begin{array}{cccc} | \mathbf{C}(\mathbf{A})=\left[\begin{array}{cccc} | ||
C_{11}(\mathbf{A}) & C_{12}(\mathbf{A}) & \cdots & C_{1n}(\mathbf{A})\\ | C_{11}(\mathbf{A}) & C_{12}(\mathbf{A}) & \cdots & C_{1n}(\mathbf{A})\\ | ||
Line 15: | Line 15: | ||
C_{n1}(\mathbf{A}) & C_{n2}(\mathbf{A}) & \cdots & C_{nn}(\mathbf{A}) | C_{n1}(\mathbf{A}) & C_{n2}(\mathbf{A}) & \cdots & C_{nn}(\mathbf{A}) | ||
\end{array}\right] | \end{array}\right] | ||
− | </math | + | </math> |
− | So to determine the inverse of an n-by-n square matrix you have to compute the n square cofactors, then transpose the resulting cofactor matrix and divide all the values by the determinant. | + | So to determine the inverse of an n-by-n square matrix you have to compute the n square cofactors, then transpose the resulting cofactor matrix and divide all the values by the determinant. |
{{Example | {{Example | ||
Line 90: | Line 90: | ||
For a proof please have a look at the example in the main article of [[Matrix inversion|matrix inversion]]. | For a proof please have a look at the example in the main article of [[Matrix inversion|matrix inversion]]. | ||
}} | }} | ||
− | |||
{{Example | {{Example | ||
Line 141: | Line 140: | ||
For a proof please have a look at the example in the main article of [[Matrix inversion|matrix inversion]]. | For a proof please have a look at the example in the main article of [[Matrix inversion|matrix inversion]]. | ||
}} | }} | ||
− | |||
{{Example | {{Example |
Revision as of 18:15, 13 November 2015
← Back: Gauß-Jordan-Algorithm | Overview: Matrix inversion | Next: Transformations → |
The adjugate formula defines the inverse of an n-by-n square matrix as
where is the so called adjugate matrix of . The adjugate matrix is the transposed of the cofactor matrix:
And the cofactor matrix is just a matrix where each cell corresponds to the related cofactor:
So to determine the inverse of an n-by-n square matrix you have to compute the n square cofactors, then transpose the resulting cofactor matrix and divide all the values by the determinant.
Example: inverse of a 2-by-2 matrix using the adjugate formula
The following matrix is already used in examples for the minors and cofactors and for the determinant.
The computation of the cofactors is easy in this case because the minors correspond to the determinants of 1-by-1 matrices, that are the value itself. So the cofactor matrix of matrix is The transposed of the cofactor matrix which corresponds to the adjugate matrix then appears as
The determinant is computed in the example for a determinant of a matrix and equals 1. So the inverse of is determined as For a proof please have a look at the example in the main article of matrix inversion. |
Example: inverse of a 3-by-3 matrix using the adjugate formula
The following matrix is already used in examples for the minors and cofactors and for the determinant.
The calculation of two of the cofactors of has already been described in the example for minors and cofactors. The resulting cofactor matrix of matrix is The transposed of the cofactor matrix which corresponds to the adjugate matrix then appears as
The determinant is computed in the example for a determinant of a matrix and equals 1. So the inverse of is determined as For a proof please have a look at the example in the main article of matrix inversion. |
Example: inverse of a 4-by-4 matrix using the adjugate formula
In this example again the transformation matrix that is introduced in the robotics script in chapter 3 on page 3-37 is used:
The calculation of two of the cofactors of has already been described in the example for minors and cofactors. The resulting cofactor matrix of matrix is The transposed of the cofactor matrix which corresponds to the adjugate matrix then appears as
The determinant is computed in the example for a determinant of a matrix and equals 1. So the inverse of is determined as For a proof please have a look at the example in the main article of matrix inversion. |