Matrix Operations & Eigenvalue Calculator Back
Matrix Calculator

Matrix Operations & Eigenvalue Calculator

Instantly compute matrix addition, subtraction, multiplication, determinant, inverse, transpose, eigenvalues/eigenvectors and solve Ax=b — all in your browser. 2×2 to 4×4 support with CAE applications.

Input Settings
Matrix Size
Matrix A
Matrix B (for add/subtract/multiply)
Operation
Presets
det(A)
Rank
Trace
Frobenius Norm
Press "Calculate" to see the result.

Theory

Eigenvalue problem: $\det(A - \lambda I) = 0$ → roots of characteristic polynomial are eigenvalues

$$A\vec{v} = \lambda\vec{v}$$

Inverse (cofactor expansion): $A^{-1} = \dfrac{1}{\det(A)} \cdot \mathrm{adj}(A)$

LU decomposition: $A = LU$ → $Ly = b$ (forward), $Ux = y$ (backward)

Trace equals sum of eigenvalues: $\mathrm{tr}(A) = \sum_i \lambda_i$

CAE Connection: FEM modal analysis solves the generalized eigenvalue problem (K−λM)v=0 for stiffness K and mass M matrices. Principal stresses are eigenvalues of the stress tensor (symmetric matrix). Buckling analysis is formulated as an eigenvalue problem of the geometric stiffness matrix K_σ.