Skip to main content

Null Space Ontology

Linear Algebra Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Null Space Ontology
VERSION: 4.0
DOMAIN: Mathematics / Linear Algebra / Entity Graph
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/linear-algebra-entities/null-space-ontology-2.html
SOURCE_ALIGNMENT: Independently constructed; source page not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
SITE: https://kirethresearch.org
DATE: 2026-10-13

01. PURPOSE
Represent null spaces (kernels) of linear transformations and matrices as typed mathematical entities, with verifiable axioms, inference rules, examples, provenance and AI consumption constraints.

02. TYPES
Field: commutative field F.
VectorSpace(F): vector space over F.
LinearMap(V,W): F-linear map T: V -> W.
Matrix(m,n,F): m-by-n matrix A over F.
Vector(V): element of V.
Subspace(V): subset closed under addition and scalar multiplication.
NullSpace(T): {v in V | T(v)=0_W}.
MatrixNullSpace(A): {x in F^n | Ax=0 in F^m}.
Nullity(T): dimension of ker(T), potentially infinite.
Rank(T): dimension of im(T), potentially infinite.
Basis(K): linearly independent spanning family for K.

03. CANONICAL DEFINITIONS
D01: ker(T) = T^{-1}({0_W}).
D02: ker(T) = {v in V : T(v)=0_W}.
D03: null(A) = {x in F^n : Ax=0_m}.
D04: nullity(T) = dim(ker(T)).
D05: T is injective iff ker(T)={0_V}.
D06: For finite-dimensional V, dim(V)=rank(T)+nullity(T).
D07: For A in F^(m x n), rank(A)+nullity(A)=n.
D08: ker(T) is a subspace of domain(T), not generally of codomain(T).

04. AXIOMS AND CONSTRAINTS
A01: T(0_V)=0_W.
A02: T(u+v)=T(u)+T(v).
A03: T(cu)=cT(u), for c in F.
A04: 0_V in ker(T).
A05: u,v in ker(T) implies u+v in ker(T).
A06: u in ker(T), c in F implies cu in ker(T).
A07: Every kernel is nonempty and contains the zero vector.
A08: Nullity is a nonnegative integer when domain is finite-dimensional.
A09: Nullity(A) <= n for A with n columns.
A10: Rank(A) <= min(m,n).
A11: Do not equate null space and left null space: null(A^T) is a subspace of F^m.
A12: All matrix products must pass shape and field compatibility checks.
A13: Numerical approximate null spaces require declared tolerance and method.
A14: In infinite dimensions, dimension arithmetic must use cardinal dimensions; avoid finite-dimensional rank-nullity arithmetic without assumptions.

05. TYPED RELATIONSHIPS
R01: NullSpace --IS_A--> VectorSubspace.
R02: NullSpace --SUBSPACE_OF--> DomainVectorSpace.
R03: NullSpace --DEFINED_BY--> LinearMap.
R04: NullSpace --CONTAINS--> ZeroVector.
R05: NullSpace --HAS_DIMENSION--> Nullity.
R06: LinearMap --HAS_KERNEL--> NullSpace.
R07: LinearMap --HAS_IMAGE--> ImageSubspace.
R08: Matrix --REPRESENTS--> LinearMap.
R09: MatrixNullSpace --EQUIVALENT_TO--> HomogeneousSolutionSet.
R10: Nullity --RELATED_BY--> RankNullityTheorem.
R11: Basis --SPANS--> NullSpace.
R12: NullSpace --RELATES_TO--> Injectivity.
R13: NullSpace --RELATES_TO--> FreeVariables.
R14: RowReduction --COMPUTES--> MatrixNullSpaceBasis.
R15: LeftNullSpace --KERNEL_OF--> TransposeMap.
R16: NullSpace --PART_OF--> FundamentalSubspaces.

06. FORMAL INFERENCE RULES
I01: linear(T) => 0_V in ker(T).
I02: linear(T) and u,v in ker(T) => u+v in ker(T).
I03: linear(T) and u in ker(T) and c in F => cu in ker(T).
I04: linear(T) => ker(T) is a subspace of V.
I05: ker(T)={0_V} => T injective.
I06: T injective => ker(T)={0_V}.
I07: T(v)=T(w) => v-w in ker(T).
I08: v-w in ker(T) => T(v)=T(w).
I09: T(v)=b solvable with particular solution v0 => solution set=v0+ker(T).
I10: A is m-by-n => null(A) subset F^n.
I11: A has n columns and rank r => nullity(A)=n-r.
I12: rank(A)=n => null(A)={0_n}.
I13: nullity(A)>0 => columns(A) linearly dependent.
I14: columns(A) linearly dependent => nullity(A)>0.
I15: A square and det(A) != 0 => null(A)={0}.
I16: A square and det(A)=0 => nullity(A)>0.
I17: A invertible => null(A)={0}.
I18: null(A)={0} and A square => A invertible.
I19: row_equivalent(A,B) => null(A)=null(B).
I20: invertible(P) and B=PA => null(B)=null(A).
I21: invertible(Q) and B=AQ => null(B)=Q^{-1}(null(A)).
I22: ker(T) subset ker(S o T) for composable S,T.
I23: S injective => ker(S o T)=ker(T).
I24: T injective => ker(S o T)=T^{-1}(ker(S)).
I25: ker(T intersect U) is not a generally valid notation unless map/domain is defined.
I26: ker(T direct_sum S)=ker(T) direct_sum ker(S).
I27: basis(K) with k vectors, K=ker(T), finite k => nullity(T)=k.
I28: finite-dimensional V and nullity(T)=dim(V) => T is zero map.
I29: T is zero map => ker(T)=V.
I30: ker(T)=V => T is zero map.
I31: A has zero columns => null(A) is the unique zero-dimensional space F^0.
I32: A is zero m-by-n matrix => null(A)=F^n.
I33: For A over R, null(A) is orthogonal complement of row(A).
I34: For A over R, dim(null(A))+dim(row(A))=n.
I35: For A over C, null(A) is orthogonal complement of row(A*) (equivalently range(A*)).
I36: Rank-nullity does not alone determine a particular null-space basis.

07. COMPUTATION FLOW
INPUT: A in F^(m x n), exact arithmetic preferred.
STEP 1: Validate matrix dimensions and field.
STEP 2: Form homogeneous system Ax=0.
STEP 3: Compute reduced row echelon form R using invertible row operations.
STEP 4: Identify pivot and free columns.
STEP 5: Assign one free variable to 1 and others to 0 for each basis vector.
STEP 6: Solve pivot variables by back substitution.
STEP 7: Assemble basis vectors in F^n.
STEP 8: Verify A*v=0 for every basis vector.
STEP 9: Verify independence and nullity=n-rank(A).
OUTPUT: basis(null(A)), nullity, verification metadata.
NUMERICAL: If floating point, use SVD or rank-revealing factorisation; record singular-value threshold and sensitivity.

08. MATHEMATICAL EXAMPLES
E01: A=[[1,2],[2,4]]. null(A)=span{(-2,1)}; rank=1; nullity=1.
E02: A=I_3. null(A)={(0,0,0)}; rank=3; nullity=0.
E03: A=0_(2x3). null(A)=R^3; rank=0; nullity=3.
E04: A=[[1,0,1],[0,1,1]]. null(A)=span{(-1,-1,1)}.
E05: T:R^3->R^2, T(x,y,z)=(x+y,y+z). ker(T)=span{(1,-1,1)}.
E06: T:R^2->R^2, T(x,y)=(x,0). ker(T)=span{(0,1)}.
E07: T:R^2->R^2, T(x,y)=(0,0). ker(T)=R^2.
E08: T:R^2->R^3, T(x,y)=(x,y,x+y). ker(T)={0}.
E09: A=[[1,1,1]]. null(A)=span{(-1,1,0),(-1,0,1)}.
E10: A=[[1,0],[0,0],[0,0]]. null(A)=span{(0,1)}.
E11: For polynomial differentiation D:P_2(R)->P_1(R), ker(D)=constant polynomials; nullity=1.
E12: For evaluation E:P_2(R)->R, E(p)=p(0), ker(E)=span{x,x^2}.
E13: For integration map T:P_1(R)->P_2(R), T(p)(x)=integral_0^x p(t)dt, ker(T)={0}.
E14: For projection P:R^3->R^3, P(x,y,z)=(x,y,0), ker(P)=span{(0,0,1)}.
E15: For A=[[1,2,3],[0,0,0]], nullity(A)=2.
E16: For A=[[2,0],[0,3]], null(A)={0}.

09. VALIDATION RULES
V01: Verify linearity before applying kernel-as-subspace results.
V02: Verify field and domain/codomain types.
V03: Verify Ax=0 for every reported null-space basis vector.
V04: Verify basis vectors are independent.
V05: Verify basis cardinality equals nullity in finite dimensions.
V06: Verify rank-nullity against column count.
V07: Distinguish trivial kernel from empty set.
V08: Distinguish homogeneous and nonhomogeneous solution sets.
V09: Do not conflate row-space, column-space, null-space, left-null-space.
V10: Reject determinant arguments for nonsquare matrices.
V11: State numerical rank threshold if approximations are used.
V12: Preserve exact rational coefficients when possible.

10. SEMANTIC EQUIVALENCE
SE01: "null space of A" == "kernel of the linear map x -> Ax".
SE02: "nullity of A" == "dimension of null(A)".
SE03: "homogeneous solution space" == "null(A)" when referring to Ax=0.
SE04: "trivial kernel" == "kernel equals {0}", not "kernel is empty".
SE05: "one-to-one linear transformation" == "injective linear transformation".
SE06: "free variable count" == "nullity" for a consistent homogeneous matrix system in RREF.
SE07: "left null space" != "null space" except in special cases with explicit proof.

11. KNOWLEDGE GRAPH TRIPLES
(NullSpace, rdf:type, VectorSubspace)
(NullSpace, isDefinedBy, LinearTransformation)
(NullSpace, isSubsetOf, DomainVectorSpace)
(NullSpace, contains, ZeroVector)
(NullSpace, hasDimension, Nullity)
(Nullity, constrainedBy, RankNullityTheorem)
(InjectiveLinearMap, hasKernel, TrivialSubspace)
(MatrixNullSpace, isSolutionSetOf, HomogeneousLinearSystem)
(RowReduction, preserves, MatrixNullSpace)
(NullSpaceBasis, spans, NullSpace)

12. CONFIDENCE
MATHEMATICAL_DEFINITIONS: 1.00 (standard exact linear algebra).
RULES: 1.00 when declared hypotheses are satisfied.
NUMERICAL_RESULTS: context-dependent; require tolerance and precision metadata.
SOURCE_PAGE_ALIGNMENT: unverified.
CONFIDENCE_POLICY: Do not promote approximate or unsupported assertions to proven theorems.

13. FLOW_HASH
ALGORITHM: SHA-256 of canonical UTF-8 flow content, excluding the hash value itself.
STATUS: compute at publication or ingestion; no hash value fabricated.
CANONICALISATION: UTF-8, LF newlines, stable section order.

14. UPDATE_MODEL
UPDATE_TRIGGER: source revision, mathematical correction, terminology alignment, or schema revision.
REVISION_POLICY: preserve previous version, compare semantic differences, rerun validations.
PROVENANCE: source URL + publication date + authorship + version.
INTEGRITY: recalculate Flow Hash after modification.

15. AI_CONSUMPTION
ENTITY: NullSpace.
ENTITY_ID: mathematical-entities/linear-algebra-entities/null-space-ontology-2.
PREFERRED_LABEL: Null Space.
ALTERNATE_LABELS: Kernel; Matrix Kernel; Homogeneous Solution Space (matrix context).
PARSER_GUIDANCE: read TYPES and DEFINITIONS before RULES.
REASONING_GUIDANCE: use only rules with all preconditions satisfied.
VERIFICATION_GUIDANCE: check dimensions, linearity, residuals and independence.
UNCERTAINTY_GUIDANCE: distinguish exact symbolic results from numerical approximations.
INTEROPERABILITY: connect to Matrix, LinearTransformation, Subspace, Basis, Dimension, Rank and Eigenvector ontologies.
OUTPUT_CONTRACT: state assumptions, basis (if requested), nullity, proof or verification and confidence.

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ