Advanced Matrix Testing
A square matrix is singular when its determinant is zero. It is nonsingular when its determinant is not zero. This calculator checks that condition with row reduction. It also reports rank, nullity, pivots, row swaps, and inverse status. These details help students see more than one final label.
Why Singularity Matters
Singularity tells whether a matrix has a unique inverse. A nonsingular coefficient matrix gives one solution in many linear systems. A singular matrix can create no solution or many solutions. The result depends on the right side vector. In engineering, finance, graphics, and statistics, this test helps detect weak models, duplicate equations, and dependent variables.
What The Tool Checks
The calculator starts with a selected square size. It accepts decimals, negative values, and fractions. The script uses Gaussian elimination with partial pivoting. A tolerance setting controls when a small pivot is treated as zero. That is useful when entries come from measurements or rounded data. The determinant is built from pivots and row swaps. Rank is counted from independent pivot rows.
How To Read The Output
If the determinant is zero within tolerance, the matrix is classified as singular. The nullity shows the number of free variables. A positive nullity means the columns are dependent. If the determinant is outside tolerance, the matrix is nonsingular. The inverse table then becomes available. The pivot list shows which columns drive independence.
Good Input Practice
Use exact fractions when values are known exactly. Use decimals for measured values. Pick a tolerance that matches your data quality. A very large tolerance can mark useful matrices as singular. A very small tolerance can hide numerical problems. For classroom examples, the default setting usually works well.
Study And Export Uses
The export buttons help save calculations for assignments, checks, and reports. CSV is useful for spreadsheets. PDF is useful for printing or sharing. The example table gives quick tests before using custom data. You can copy its values into the form and compare the result. This makes the calculator practical for learning, verification, and documentation.
For better notes, keep the chosen tolerance beside every final answer. This context explains borderline results and helps reviewers repeat the same calculation later without confusion easily.