Input Matrix A (4×4)
Enter complex numbers like 3+2i, -4i, 5, or rationals like 1/3, 2/5+i/7. Spaces allowed. Use comma-paste from spreadsheets.
Results
Example Data Table
| Row | Values (use Load Example to fill inputs) |
|---|---|
| 1 | 2+i/2, 0, -1, 1/3 |
| 2 | 3-2i, i, 4, 0 |
| 3 | 0, 1-i, 2, -i/5 |
| 4 | 1/2, 0, 0, 1 |
Formula Used
We compute the inverse of a nonsingular complex matrix A by Gauss–Jordan elimination on the augmented block [A | I]. Using partial pivoting, we perform row scaling by the pivot and eliminate above and below to reduce the left block to I; the right block becomes A−1.
- Complex division: a/b = \(\frac{(a_r + i a_i)}{(b_r + i b_i)} = \frac{(a_r b_r + a_i b_i) + i(a_i b_r - a_r b_i)}{b_r^2 + b_i^2}\)
- Magnitude: |z| = \(\sqrt{r^2 + i^2}\); pivot chosen by maximal magnitude for stability.
- Verification: compute A · A−1 and measure the maximum absolute deviation from I.
How to Use
- Select the matrix order and enter complex or rational entries.
- Adjust decimal places or switch on Fraction display mode.
- Click Compute Inverse; status and error metrics will appear.
- Toggle the elimination log for detailed row operations and pivots.
- Export the inverse as CSV or PDF; copy to clipboard if needed.
- Use Load Example, Random, or paste CSV to accelerate input.