|
|
|
| |||
|
|
|
| Matrix Calculations | ||
|
|
|
|
|
| |
uMatrix Inversion |
|
| ||||
Example | To invert the following matrix : | |||||
| Matrix A = |
| 1 | 2 |
|
|
|
|
|
| |||
|
| 3 | 4 |
|
| |
|
|
|
|
|
K2(MAT)1(Mat)
uSquaring a Matrix |
|
| |||
Example To square the following matrix : | |||||
Matrix A = |
| 1 | 2 |
|
|
|
|
| |||
| 3 | 4 |
|
| |
|
|
|
| ||
|
|
|
|
K2(MAT)1(Mat)av(A)xw
#Only square matrices (same number of rows and columns) can be inverted. Trying to invert a matrix that is not square produces an error.
#A matrix with a determinant of zero cannot be inverted. Trying to invert a matrix with determinant of zero produces an error.
#Calculation precision is affected for matrices whose determinant is near zero.
#A matrix being inverted must satisfy the conditions shown below.
A |
| 1 | 0 |
|
| 0 | 1 |
The following shows the formula used to invert Matrix A into inverse matrix
A = |
| a | b |
|
|
|
|
|
| c | d |
|
|
|
| ||
|
|
|
|
|
| |||
|
| 1 |
|
|
|
| d | |
|
|
|
|
|
| |||
| ad – bc |
|
|
| ||||
|
|
|
|
|
Note that ad – bc G0.
20050401