Difference between revisions of "Determinant of a matrix"
(One intermediate revision by the same user not shown) | |||
Line 46: | Line 46: | ||
\end{array}\right|=a_{11}a_{22}-a_{21}a_{12} | \end{array}\right|=a_{11}a_{22}-a_{21}a_{12} | ||
</math> | </math> | ||
− | |||
{{Example | {{Example | ||
Line 66: | Line 65: | ||
</math> | </math> | ||
}} | }} | ||
− | |||
===3-by-3 matrices=== | ===3-by-3 matrices=== | ||
Line 89: | Line 87: | ||
a_{11} a_{22} a_{33} + a_{12} a_{23} a_{31} + a_{13} a_{21} a_{32} - a_{13} a_{22} a_{31} - a_{11} a_{23} a_{32} - a_{12} a_{21} a_{33} | a_{11} a_{22} a_{33} + a_{12} a_{23} a_{31} + a_{13} a_{21} a_{32} - a_{13} a_{22} a_{31} - a_{11} a_{23} a_{32} - a_{12} a_{21} a_{33} | ||
</math> | </math> | ||
− | The Khan Academy<ref>[https://www.khanacademy.org/ ''https://www.khanacademy.org/''] Khan Academy</ref> provides a good video <ref>[https://www.khanacademy.org/math/algebra2/algebra-matrices/inverting_matrices/v/finding-the-determinant-of-a-3x3-matrix-method-1 ''https://www.khanacademy.org/.../finding-the-determinant-of-a-3x3-matrix-method-1''] Determinant of a 3-by-3 matrix</ref> where this formula is explained. Please watch the video for further information about the computation of the determinant of a 3-by-3 matrix. | + | The Khan Academy<ref>[https://www.khanacademy.org/ ''https://www.khanacademy.org/''] Khan Academy</ref> provides a good video <ref>[https://www.khanacademy.org/math/algebra2/algebra-matrices/inverting_matrices/v/finding-the-determinant-of-a-3x3-matrix-method-1 ''https://www.khanacademy.org/.../finding-the-determinant-of-a-3x3-matrix-method-1''] Determinant of a 3-by-3 matrix</ref> where this formula is explained. Please watch the video for further information about the computation of the determinant of a 3-by-3 matrix. |
− | |||
{{Example | {{Example | ||
Line 111: | Line 108: | ||
</math> | </math> | ||
}} | }} | ||
− | |||
===4-by-4 matrices=== | ===4-by-4 matrices=== | ||
Line 123: | Line 119: | ||
\det(\mathbf{A})=\sum_{j=1}^n a_{ij}\cdot C_{ij} \quad \text{for the choosen row } i | \det(\mathbf{A})=\sum_{j=1}^n a_{ij}\cdot C_{ij} \quad \text{for the choosen row } i | ||
</math> | </math> | ||
− | |||
{{Example | {{Example |
Latest revision as of 18:10, 13 November 2015
← Back: Multiplication of matrices | Overview: Matrices | Next: Minors and cofactors → |
There are exercises as selftest for this article. |
The determinant can be computed for an n-by-n square matrix. In the context of matrices the determinant of a matrix is a special function that assigns a scalar value to the matrix. It is denoted with or in matrix structure with vertical lines:
Considering a matrix as a linear system the determinant provides information about its solvability. If the determinant is nonzero the linear system is clearly solvable. This feature is also important for matrix inversion.
Properties
The determinant is a multiplicative mapping, such that
for all n-by-n square matrices and .
It holds for all n-by-n square matrices and all scalar values :
A matrix and its transposed have the same determinant:
The determinant of an identity matrix is always 1:
2-by-2 matrices
For a 2-by-2 matrix the determinant can easily computed as follows:
Example: Determinant of a 2-by-2 matrix
|
3-by-3 matrices
For 3-by-3 matrices there is a formula called Rule of Sarrus to compute the determinant. The first two columns of the matrix are noted anew on the right of matrix. Then six diagonals are formed that describe the arithmetic operations to be performed:
The sum of the diagonal elements then forms the determinant:
The Khan Academy[1] provides a good video [2] where this formula is explained. Please watch the video for further information about the computation of the determinant of a 3-by-3 matrix.
Example: Determinant of a 3-by-3 matrix
|
4-by-4 matrices
One possibility to compute the determinant of a 4-by-4 matrix is a formula that uses the minors and cofactors of a matrix. Please read the article about minors and cofactors before you continue with this article. First one row or column has to be choosen. The sum of the four corresponding values of the row or column multiplied by the related cofactors results in the determinant. If a column is choosen, it holds:
And if a row is choosen:
Example: determinant of a 4-by-4 matrix
This example describes the computation of the determinant of the transformation matrix that is introduced in the robotics script in chapter 3 on page 3-37 and used on the following pages.
It is always useful to choose a row or column with many zero values so that the corresponding products are omitted and the cofactors have not to be computed. For the matrix it is useful to choose row 4 because it contains three zero values and a one as factors: |
References
- ↑ https://www.khanacademy.org/ Khan Academy
- ↑ https://www.khanacademy.org/.../finding-the-determinant-of-a-3x3-matrix-method-1 Determinant of a 3-by-3 matrix