
Matrix Calculations
uDeterminant |
|
|
|
|
|
|
|
|
| |
Example | Obtain the determinant for the following matrix : | |||||||||
|
|
|
| 1 | 2 | 3 |
|
| ||
|
|
|
|
|
| |||||
| Matrix A = | 4 | 5 | 6 |
|
| ||||
|
|
|
|
| 0 |
|
| |||
| K2(MAT)3(Det)1(Mat) | |||||||||
| av(A)w |
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
| |
uMatrix Transposition |
|
|
|
|
|
|
|
| ||
A matrix is transposed when its rows become columns and its columns become rows. | ||||||||||
Example | To transpose the following matrix : | |||||||||
|
|
|
| 1 | 2 |
|
|
|
| |
|
|
|
|
|
|
|
|
| ||
| Matrix A = |
| 3 | 4 |
|
|
|
| ||
|
|
|
| 5 | 6 |
|
|
|
| |
|
|
|
|
|
|
|
|
|
K2(MAT)4(Trn)1(Mat) av(A)w
#Determinants can be obtained only for square matrices (same number of rows and columns). Trying to obtain a determinant for a matrix that is not square produces an error.
#The determinant of a 2 ⋅ 2 matrix is calculated as shown below.
A = |
| a11 | a12 |
| = a11a22 – a12a21 |
| a22 |
| |||
|
| a21 |
|
#The determinant of a 3 ⋅ 3 matrix is calculated as shown below.
a11 a12 a13
A = a21 a22 a23
a31 a32 a33
=a11a22a33 + a12a23a31 + a13a21a32
–a11a23a32 – a12a21a33 – a13a22a31
20050401