Nullspace Calculator
Right nullspace of a small real square matrix from RREF. Same engine as Linear System. Trivial kernel is {0}. Left-nullspace is a sibling. Runs locally.
Enter values to calculate.
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- all published modes
- Assurance
- Core
- Declared partition coverage
- PASS · 19/19 declared partitions (solve, det, inverse, multiply, transpose, rank, eigen, lu, chol, qr, svd, lstsq, rref, condition, nullspace, columnspace, rowspace, leftnullspace, invalid-domain) · Matrix
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- A basis for ker A of a small real square matrix (order 2–4), with dim = n − rank.
- Scope
- Real square matrices
- Verification
- Engine tested · Source checked · v1.14.16 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.14.16 · CVP protocol 1.0.0-proposed · Evidence 2026-10-30.cholesky-numeric-contract-v2
- Verification revision
- 2026-10-30.cholesky-numeric-contract-v2 · 10/10 property · digest 2f8af10fde34
- Legacy regression
- 58/58 tests · Production surface contract 6/6
- Trust layers
- Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
- Reference
- O1 model · O2 expected_values · O2 expected_values · O2 expected_values · O2 expected_values · O2 expected_values · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 478/478 golden · 8/8 CVP boundary · 78/78 invalid · 10/10 property · 2/2 metamorphic · 3/3 round-trip · 67/67 cross-interface · 2/2 cross-calculator · 6/6 CVP contract · Manifest
- Sources
- ISO 80000-2:2019 Quantities and units — Mathematics
- MIT OpenCourseWare — The Four Fundamental Subspaces
- Evidence
- 29 legacy golden · 6 legacy boundary · legacy regression suite · 478/478 oracle-backed golden · 78/78 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Enter a square matrix
2×2 or 3×3. Larger composition lives at /workspace/matrix. Rank and RREF are sibling discovery URLs.
Read the basis
A full-rank matrix returns {0}. Rank-deficient matrices return one vector per free column, with residual ‖Av‖.
Example calculations
Common configurations with formula and result.
Rank 1
[[1,2],[2,4]]
Identity
I₂
Nullspace calculator specification
Version 1.14.16 · Engine tested
- Engine tested 58/58 tests · Production surface contract 6/6
- Named expert review Not performed
- Calculation version 1.14.16
- Definition
- ker A = {x | Ax = 0}. This page is mode=nullspace on math.linear_algebra. Basis vectors come from RREF with free variables set to 1. Not a second engine. Left-nullspace is /calc/math/left-nullspace.
- What it calculates
- A basis for ker A of a small real square matrix (order 2–4), with dim = n − rank.
- Inputs
- order
- a11…
- Outputs
- basis
- dimension
- rank
- trivial
- residual_max
- Formula
dim ker A = n − rank A- Assumptions
- Real square matrices
- Order ≤ 4
- Planar ℝ² figure when order=2; order 3+ omits it
- Float64
- Not a CAS
- Not Jordan form as a product
- Units
- dimensionless
- Boundary conditions
- full rank → trivial kernel {0}
- unknown mode (including jordan-form) → INVALID_MODE
- Example
- [[1,2],[2,4]] → basis [[-2,1]], dim=1
- Validation cases
2 published on this page · 58/58 tests · Production surface contract 6/6 · View evidence
- order=2 a11=1 a12=2 a21=2 a22=4 → dimension=1, basis=[[-2,1]]
- mode=jordan-form order=2 a11=1 a12=0 a21=0 a22=1 → INVALID_MODE
- Sources
- ISO 80000-2:2019 Quantities and units — MathematicsSupports: Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.
- MIT OpenCourseWare — The Four Fundamental SubspacesSupports: Column space, row space, nullspace, left nullspace, and their dimensions.
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.14.16
Background
Interpretation and common distinctions.
What does this nullspace calculator compute?
ker A = {x | Ax = 0}.
The published formula or method is dim ker A = n − rank A. The following references support the stated mathematics or method:
- MIT OpenCourseWare — The Four Fundamental Subspaces: Column space, row space, nullspace, left nullspace, and their dimensions.
Which inputs and limits should you check?
Rank, inverse, subspace, and least-squares decisions depend on the stated tolerance and conditioning. Inspect residuals and warnings before interpreting a nearly singular matrix.
The worked example uses [[1,2],[2,4]] with dim = 1. Compare it with the Example calculations and the complete result for the same inputs.
How can you verify and cite this result?
CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.linear_algebra v1.14.16 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.
Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.
Input replay and numerical range
All entries share math.linear_algebra v1.14.16. Enter every cell as a finite decimal, including scientific notation. Empty cells and nonzero decimals below the binary64 range are rejected. QR, SVD, and least squares accept dimensions from 2 to 4; other operations require square matrices. Matching aliases may be supplied, while conflicting aliases or nested and flat cells are rejected.
A singular system may be consistent with infinitely many solutions or inconsistent; read the status and warnings. Tolerance-based rank and subspace decisions are not exact symbolic certificates. Results outside the numerical range refuse with NUMERIC_PRECISION_LIMIT. An unavailable auxiliary determinant is omitted with a warning, rather than reported as zero or null.
Calculations run locally in the browser. Shared query links contain inputs, are sent to the server when opened, and may appear in server or third-party logs. Anyone receiving a shared link can read its inputs. JSON and CSV exports include the original inputs, complete structured result, warnings, and calculation version.
Related tools
Other calculators in this family: Cholesky Factorization Calculator, Column Space Calculator, Condition Number Calculator, Least Squares Calculator, Left Nullspace Calculator, Linear System Calculator, LU Factorization Calculator, Matrix Determinant Calculator . Explore all Linear Algebra.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second linear-algebra engine?
No. It is mode=nullspace on math.linear_algebra, the same engine as /calc/math/linear-system and /workspace/matrix. It reuses the RREF already used by /matrix-rref.
Does this return the left-nullspace or rowspace?
No. This seed is the right kernel. Rowspace is /calc/math/row-space. Left-nullspace (cokernel) is /calc/math/left-nullspace on this same engine.