Nullity of Matrix Calculator

Enter any matrix to find rank and nullity. Review pivots, free variables, and basis vectors. Export clean reports for classroom work or quick checks.

Calculator

Use one row per line. Separate entries with spaces or commas.
Small values at or below this limit are treated as zero.
Choose how many digits to show in outputs.
Full mode shows row operations after calculation.
Examples: 2, -4.5, 3/7, and 0.125.
Rank is found from pivots in reduced form.

Example Data Table

Matrix Rows Columns Rank Nullity Meaning
[1 2 3 4; 2 4 6 8; 1 0 1 2] 3 4 2 2 Two free variables create a two dimensional null space.
[1 0 0; 0 1 0; 0 0 1] 3 3 3 0 Only the trivial solution exists.
[1 2 3; 2 4 6] 2 3 1 2 Dependent columns leave two free variables.

Formula Used

For an m × n matrix A, the nullity is found from the rank-nullity theorem.

nullity(A) = n - rank(A)

Here, n is the number of columns. Rank is the number of pivot columns after row reduction. Free variable columns form the null space directions.

How to Use This Calculator

  1. Enter each matrix row on a new line.
  2. Separate entries by spaces or commas.
  3. Use fractions when exact input is helpful.
  4. Set tolerance for near-zero pivot detection.
  5. Select decimal places for clean reporting.
  6. Press the calculate button and review the result above the form.
  7. Download the CSV or PDF report when needed.

Understanding Matrix Nullity

Matrix nullity tells how many independent solutions belong to Ax = 0. It measures the size of the null space. A larger nullity means more freedom in the variable set. A zero nullity means only the trivial solution exists. This calculator reduces a matrix to row echelon form. Then it counts pivots, rank, and free columns.

Why Nullity Matters

Nullity is important in linear algebra, engineering, coding theory, and data analysis. It shows whether columns depend on each other. It also helps check if a system has many homogeneous solutions. When a square matrix has nullity above zero, the matrix is singular. Its columns cannot span the whole space. In practical work, this can reveal redundant equations or repeated features.

How the Calculator Works

The tool reads rows from the matrix box. Entries may be whole numbers, decimals, or fractions. It checks that every row has the same number of columns. Then it performs Gaussian elimination with a selected tolerance. Small values can be treated as zero. This helps with rounded input. The reduced matrix is used to find the pivot columns. Rank is the number of pivots. Nullity is the number of columns minus that rank.

Reading the Result

The result panel shows matrix size, rank, nullity, pivot columns, and free variables. It also displays a basis for the null space when free variables exist. Each basis vector represents one direction in which Ax stays zero. If no free variable exists, the null space contains only the zero vector.

Good Input Tips

Put each matrix row on a new line. Separate values with spaces or commas. Avoid missing entries. Use fractions when exact values matter. Review the reduced row echelon form before using the result in a report. A very small tolerance can keep tiny rounding noise. A larger tolerance can hide meaningful small pivots. Choose it with care.

Use in Study and Work

Students can use the calculator to verify homework steps. Teachers can prepare examples quickly. Analysts can inspect feature dependency. Engineers can test constraint systems. Export buttons help save the calculation as a CSV file or a simple PDF summary. Saved records also support reviews, audits, and repeated classroom examples for future lessons clearly.

FAQs

What is matrix nullity?

Matrix nullity is the number of free variables in Ax = 0. It equals the dimension of the null space.

How is nullity calculated?

Nullity equals the number of columns minus the rank. Rank is found by counting pivot columns after row reduction.

Can nullity be zero?

Yes. Nullity is zero when every column is a pivot column. Then Ax = 0 has only the zero solution.

What does a high nullity mean?

A high nullity means more free variables. It often shows column dependence or many solutions to the homogeneous system.

Does the calculator accept fractions?

Yes. You can enter values like 1/2, -3/4, or 5/6. The tool converts them during calculation.

What is pivot tolerance?

Pivot tolerance controls which tiny values are treated as zero. It helps reduce noise from rounded decimal entries.

What is the null space basis?

The basis is a set of vectors that spans every solution of Ax = 0. Each vector comes from one free variable.

Can I export the result?

Yes. After calculation, use the CSV or PDF buttons in the result section to save the report.


Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.