UnitCompiler
🧮

Advanced Matrix Solver

Calculate properties like eigenvalues, LU decomposition, rank, and more.

Use numbers (e.g. 5, -3.2 ) or algebraic expressions. Advanced properties require numeric matrices.
Matrix A
×

Matrix Operations

Determinants & Properties

Compute Determinant, Trace, Inverse, Transpose, Rank, and RREF instantly.

Matrix Factorization

Provides Eigenvalues and LU Decomposition for square matrices.

How This Calculation Works

Matrices organize coefficients, vectors, and linear mappings into structured rectangular arrays. Matrix addition adds corresponding coordinates, whereas matrix multiplication composes linear transformations via row-by-column dot products. Square matrices further permit inverses, Reduced Row Echelon Form (RREF), LU decomposition, and spectral eigenvalue analysis.

Core Formulas & Identities

Element-wise Addition
(A ± B)ᵢⱼ = Aᵢⱼ ± Bᵢⱼ
Matrix Multiplication
(AB)ᵢⱼ = Σₖ Aᵢₖ · Bₖⱼ (cols(A) = rows(B))
Inverse Identity
A · A⁻¹ = A⁻¹ · A = I

Variable Legend:Index i selects the row, j selects the column, and I denotes the square identity matrix with 1s along the main diagonal.

Step-by-Step Worked Examples

Example1

2×2 Dot Product: [1, 2; 3, 4] × [5, 6; 7, 8]

  1. Row 1 · Col 1 = 1(5) + 2(7) = 19; Row 1 · Col 2 = 1(6) + 2(8) = 22.
  2. Row 2 · Col 1 = 3(5) + 4(7) = 43; Row 2 · Col 2 = 3(6) + 4(8) = 50.
  3. Assemble resulting 2×2 matrix.
Result:[19, 22; 43, 50]
Example2

Trace and Transpose of A = [2, 9; −1, 7]

  1. Transpose swaps rows into columns: Aᵀ = [2, −1; 9, 7].
  2. Sum main diagonal entries for Trace: 2 + 7 = 9.
  3. Verify determinant det(A) = 14 − (−9) = 23 ≠ 0 so A⁻¹ exists.
Result:tr(A) = 9, det(A) = 23

Practical Applications & Accuracy Tips

  • Matrix multiplication is non-commutative: A × B usually differs from B × A.
  • Addition requires exact identical dimensions (m × n) for both matrices.
  • Only non-singular square matrices with det(A) ≠ 0 have an exact matrix inverse A⁻¹.