Minimal Polynomial Calculator
Enter matrix entries.

What Is the Minimal Polynomial?

For a square matrix A, the minimal polynomial is the monic polynomial of least degree m such that m(A)=0. It divides the characteristic polynomial and shares the same roots, yet reflects deeper information about repeated eigenvalues and the structure of A.

For a 2×2 matrix, the characteristic polynomial takes the form p(λ)=λ2-trAλ+detA. Let the eigenvalues be λ1 and λ2. If they are distinct, m(λ)=(λ-λ1)(λ-λ2). If λ1 equals λ2, the minimal polynomial is either λ-λ1 or λ-λ12 depending on whether A is diagonalizable.

Procedure Used Here

The calculator first computes the trace and determinant of your matrix. From these it derives the eigenvalues using the quadratic formula. If the eigenvalues are distinct, the minimal polynomial coincides with the characteristic polynomial. When they coincide, the script checks whether A-λ1I is the zero matrix. If not, the minimal polynomial is squared to reflect the defective nature of the matrix.

Example

Take A = 2102. The eigenvalue calculation yields a repeated root λ=2. Because A is not already 2I, the minimal polynomial is λ-22. Applying the polynomial to A indeed produces the zero matrix.

Why It Matters

The minimal polynomial reveals the size of Jordan blocks associated with each eigenvalue. In turn, this information determines whether the matrix is diagonalizable and helps classify linear transformations up to similarity. The polynomial also enters the Cayley–Hamilton theorem, matrix functions, and solution formulas for differential equations.

By exploring various matrices, you can see how repeated eigenvalues alter the minimal polynomial and connect to geometric multiplicity. This understanding is fundamental when analyzing systems that cannot be fully diagonalized.

Related Calculators

Hilbert Transform Calculator - Analytic Signal Explorer

Compute the discrete Hilbert transform of a sequence to build an analytic signal and study amplitude and phase.

hilbert transform calculator analytic signal instantaneous phase

Spectral Decomposition Calculator - Diagonalize Symmetric Matrices

Compute eigenvalues and eigenvectors of a symmetric 2x2 matrix and display its spectral decomposition.

spectral decomposition calculator symmetric matrix eigenvalues eigenvectors

Cauchy-Schwarz Inequality Calculator - Verify Vector Bounds

Test the Cauchy-Schwarz inequality for two vectors and explore its geometric interpretation with an in-depth explanation.

Cauchy-Schwarz inequality calculator inner product vector norm