Skip to content

Matroid Rank

Matroid rank assigns each subset the maximum size of an independent subset, encoding a finite matroid as an integer-valued set function.

Version
v1 · 2026-10-03 · History
Domain-specific #
13421
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Matroid Theory → Mathematics
Aliases
Rank Function of a Matroid

Core Idea

For a finite matroid, the rank of a subset \(S\) is the largest number of its elements that can be chosen independently: \(r(S)=\max\{|I|:I\subseteq S,\ I\text{ independent}\}\). Rank is a function on all subsets, not only one total dimension. In a vector matroid it is span dimension; in a graph's edge matroid it is the maximum number of cycle-free selected edges.[1][2]

How would you explain it like I'm…

How Many Can I Keep?

Imagine a handful of crayons, where some colors are just mixes of others you already have. The rank is the most crayons you can keep from that handful so that none of them is just a mix of the others. You can ask this about any handful, big or small.

Biggest Independent Group Inside

A matroid is a set of items with a rule for which groups are 'independent,' meaning nothing in them is extra. The matroid rank answers a question about any group you pick: what's the largest independent group hidden inside it? For arrows, it's how many truly different directions they cover. For roads between towns, it's how many roads you can keep without making a loop. Knowing the rank of every group tells you everything about the matroid, but rank and the matroid aren't the same thing.

Matroid Rank Function

For a finite matroid with ground set E, the rank function r assigns to every subset S the size of the largest independent set contained in S. It measures how many elements of S you can keep without creating dependence. In a vector matroid, r(S) is the dimension of the span of the vectors in S; in a graphic matroid, it is the number of edges in a maximal forest inside S. Rank satisfies specific properties: it is between 0 and |S|, never decreases as S grows, and is submodular. Those properties are strong enough that the rank function determines the matroid completely, so it is an equivalent description, yet the matroid is the whole independence structure and rank is one way to present it.

 

For a finite matroid M = (E, I), matroid rank is the function r from subsets of E to nonnegative integers with r(S) = max{|I| : I a subset of S, I in I}. It counts how many elements of a selected subset can be retained without dependence, and it applies to every subset, not only to the full ground set. In a vector matroid r(S) is the dimension of the span of S, and in a graphic matroid it is the number of edges in a maximal spanning forest of S; these are different independence tests instantiating the same rank relation. Rank satisfies normalization (0 at most r(S) at most |S|), monotonicity, and submodularity, r(A union B) + r(A intersect B) at most r(A) + r(B). These axioms characterize matroids, so the rank function is an equivalent description from which independence can be recovered (I is independent exactly when r(I) = |I|). Even so, rank and matroid are not synonyms: the matroid is the whole independence structure, and rank is one functional presentation of it.

Scope of Application

Finite matroid theory uses rank to describe vector, graph and uniform independence through one set-function rule. On graph edges, rank equals the number of vertices minus the number of components of the spanning subgraph, including isolated vertices. In \(U(k,n)\), it is \(\min(k,|S|)\). These are mathematical realizations, not an invitation to call any numerical score a matroid rank.[1][2]

Clarity

Rank separates number chosen from number independently available. The three vectors \((1,0),(0,1),(1,1)\) are three elements but have rank two; three triangle edges likewise have graph rank two because a cycle forms. Always name the subset and independence criterion.

Manages Complexity

Instead of listing every feasible independent set, rank gives a maximal feasible size for every subset. Its boundedness, monotonicity and submodularity coordinate those answers. A number alone does not identify which elements form a basis or circuit.

Abstract Reasoning

For a valid finite matroid rank function, \(S\) is independent exactly when \(r(S)=|S|\). A zero change \(r(S\cup\{e\})-r(S)\) says \(e\) adds no independent capacity. In vectors this is span dependence; in graphs the edge closes a path into a cycle.[1][2]

Knowledge Transfer

The rank rule carries literally among linear, graphic and uniform matroids, but each requires its own independence test for calculation. The live Matroid entry is a strict prerequisite under composition, not a rank-function genus; organizational “rank” with no matroid structure is not the same abstraction.

Relationships to Other Abstractions

Local relationship map for Matroid RankParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Matroid RankDOMAINDomain-specific abstraction: Matroid — presupposesMatroidDOMAIN

Current abstraction Matroid Rank Domain-specific

Parents (1) — outgoing typed relations

  • Matroid Rank presupposes Matroid Domain-specific

    Matroid rank requires a matroid independence structure but is not itself a matroid subtype.

Hierarchy path (1) — routes to 1 parentless root

  • Matroid Rank → presupposes Matroid

Neighborhood in Abstraction Space

Matroid Rank sits in a sparse region of the domain-specific corpus (70th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Codes, Matrices & Combinatorial Problems (33 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Stanford matroid lecture notes, §2.3 and examples. registry ↩a ↩b ↩c

[2] MIT matroid notes, rank properties and graphic formula. registry ↩a ↩b ↩c