Matrix Settings
Enter Matrix A (m × n)
Results
Visualizations
Interactive heatmap of |A| through elimination steps and a pivot-column indicator chart. Use controls to step the algorithm and export PNGs.
Step-by-Step Elimination Log
Example Data Table
| Example | Matrix A | Check | Rank | Decision | Action |
|---|---|---|---|---|---|
| Independent columns | [[1,0,0],[0,1,0],[0,0,1]] |
Columns | 3 | Independent | |
| Dependent columns | [[1,2,3],[2,4,6],[0,1,1]] |
Columns | 2 | Dependent | |
| Independent rows | [[1,2,0,1],[0,1,1,0]] |
Rows | 2 | Independent |
Formula Used
- Linear independence (columns): columns of A are independent ⇔ rank(A) = n.
- Linear independence (rows): rows are independent ⇔ rank(A) = m.
- Determinant test (square only): det(A) ≠ 0 ⇒ independent columns.
- RREF pivots: independent ⇔ every column (or row) has a pivot; free columns imply dependencies.
- Nullity: for columns, nullity = n − rank; a positive nullity gives a basis of dependencies. For rows, compute the left null space of A.
We use Gaussian elimination with partial pivoting and a tolerance ε = 1e-10.
How to Use
- Set matrix size (m rows, n columns).
- Choose whether to test columns or rows.
- Enter numbers or load an example.
- Click Check Independence to compute rank, pivots, determinant, and nullity.
- Review RREF table and visualize elimination steps and pivot columns.
- Download CSV or a PDF summary; export PNGs of charts.
For near-singular matrices, small numerical errors may affect decisions.