← LibraryVector Spaces and DimensionEngineering · MathematicsLesson 151/385← PrevNext →
ArticlePublished 7 Aug 20263 min readBy Kevin Jogin

Engineering  /  Mathematics  — Modules, Vector Spaces and Matrices

Vector Spaces and Dimension

Vector spaces over a field, the well-definedness of dimension, and the rank-nullity relation.

Page KV-MATH-0423Reading time 3 minReviewed 2026-08-07Author Kevin Jogin

Executive summary

A vector space is a module over a field, and the invertibility of non-zero scalars makes the theory uniformly well behaved: bases always exist and all have the same size.

Dimension is the resulting invariant, and rank-nullity is the accounting identity that governs every linear computation.

Learning objectives

  1. State the dimension theorem.
  2. Apply rank-nullity.
  3. Compute dimensions of finite field extensions.

01Dimension is well defined

Theorem

Dimension theorem

Every vector space has a basis, and any two bases have the same cardinality. That common cardinality is the dimension.

Well-definedness follows from the exchange lemma applied in both directions: each basis is independent and the other is spanning, so each has size at most the other's.

Standard dimensions
SpaceFieldDimension
F^nFn
Polynomials of degree < nFn
F[X]FInfinite, countable
F_{p^k}F_pk
Matrices m × nFmn

The finite field row is the one used constantly in this collection: the field with p^k elements is a k-dimensional vector space over its prime subfield, which is what makes its elements representable as coefficient vectors.

02Rank and nullity

Theorem

Rank-nullity

For a linear map f: V → W with V finite dimensional,

dim V = dim(ker f) + dim(im f).

This is the first isomorphism theorem combined with the additivity of dimension across a quotient. It is the identity behind every rank computation.

  1. Full rank square mapnullity 0Invertible; unique solution to any system
  2. Rank r < nnullity n − rSolution set is a coset of an (n−r)-dimensional kernel
  3. Zero mapnullity nKernel is everything

03Extension degrees

When a field L contains a field K, then L is a vector space over K, and its dimension is the degree of the extension.

Theorem

Tower law

For fields K ⊆ L ⊆ M with finite degrees,

[M : K] = [M : L] · [L : K].

The proof is a basis construction: products of a basis for M over L with one for L over K give a basis for M over K.

For finite fields this gives the subfield structure immediately: F_{p^d} sits inside F_{p^k} exactly when d divides k, since degrees must multiply. That divisibility condition governs the distinct degree factorisation algorithm.

04Frequently asked questions

Does every vector space have a finite dimension?

No. F[X] is infinite dimensional over F, with basis the powers of X. Infinite-dimensional spaces still have bases, but the exchange argument requires Zorn's lemma.

Is rank-nullity valid over a general ring?

Not in the stated form, since dimension may be undefined. Over a principal ideal domain a rank version holds for free modules, but torsion complicates the general statement.

Why does the tower law matter for finite fields?

Because it forces subfield degrees to divide the extension degree. That is why F_{p^k} contains exactly one copy of F_{p^d} for each divisor d of k, and no other subfields.

Sources and method

Structural reference: Victor Shoup, A Computational Introduction to Number Theory and Algebra, Version 1, Cambridge University Press, 2005 — book pages 309-315.

This page carries the durable method layer only: definitions, constructions, algorithms, complexity results and selection criteria, authored originally for KEVOS. No text is transcribed or paraphrased from the source, and no numeric tables or benchmark data are reproduced — these are routed to live authoritative sources instead.

Author: Kevin Jogin. Last reviewed 2026-08-07.

Continue learning

Linear Independence and BasesArticle · MathematicsNEXT LESSON →Matrices: Basic Definitions and PropertiesArticle · MathematicsModule Homomorphisms and IsomorphismsArticle · MathematicsMatrices and Linear MapsArticle · Mathematics