Minimal Polynomial Matrix Guide
What the result means
A square matrix can satisfy many polynomial equations. The minimal polynomial is the shortest monic equation among them. It contains strong information about the matrix. It also divides the characteristic polynomial. That link follows from the Cayley Hamilton theorem. The result helps in linear algebra, control systems, differential equations, and matrix functions. It shows which powers of A are truly needed.
Why exact arithmetic matters
Many web tools use floating point arithmetic. That can hide small errors. This calculator uses rational arithmetic for the elimination step. Entries like 1/3 stay exact. Decimal entries are converted into fractions. The output includes fraction values and decimal previews. This makes the answer easier to audit. It also helps when the matrix has repeated eigenvalues.
How the calculator searches
The method starts with the identity matrix. It then multiplies by A to create each power. For every possible degree, it asks one question. Can the newest power be written as a combination of earlier powers? If the answer is yes, those coefficients define the polynomial. The calculator then evaluates the polynomial at A. A zero matrix confirms the answer.
Reading special cases
A scalar matrix has a degree one minimal polynomial. A diagonal matrix uses each distinct diagonal value once. A nilpotent block uses a power of the variable. A Jordan block may need a higher exponent for the repeated root. These patterns make the minimal polynomial useful. It explains diagonalizability, recurrence of powers, and matrix simplification.
Checking your answer
After calculation, inspect the coefficient table. The leading coefficient is always one. Lower coefficients may be zero. That is normal. For teaching, compare the displayed relation with hand calculations. For applications, keep units outside the matrix. The calculator treats entries as pure numbers. Large matrices with many fractions may create long rational values. In that case, use simpler equivalent entries when possible. Exact checks remain the safest final test before saving or sharing the result with others.
Practical use
Use the example loader before entering a large matrix. Compare the power table with the final identity. If entries are long, use fractions. Save the CSV for records. Save the PDF for class notes or reports.