In the mathematical theory of matroids, the rank of a matroid is the maximum size of an independent set in the matroid. The rank of a subset S of elements of the matroid is, similarly, the maximum size of an independent subset of S, and the rank function of the matroid maps sets of elements to their ranks. The rank function is one of the fundamental concepts of matroid theory via which matroids may be axiomatized. Matroid rank functions form an important subclass of the submodular set functions. The rank functions of matroids defined from certain other types of mathematical object such as undirected graphs, matrices, and field extensions are important within the study of those objects.
Examples In all examples, E is the base set of the matroid, and B is some subset of E.
Let M be the free matroid, where the independent sets are all subsets of E. Then the rank function of M is simply: r(B) = |B|. Let M be a uniform matroid, where the independent sets are the subsets of E with at most k elements, for some integer k. Then the rank function of M is: r(B) = min(k, |B|). Let M be a partition matroid: the elements of E are partitioned into categories, each category c has capacity kc, and the independent sets are those containing at most kc elements of category c. Then the rank function of M is: r(B) = sumc min(kc, |Bc|) where Bc is the subset B contained in category c. Let M be a graphic matroid, where the independent sets are all the acyclic edge-sets (forests) of some fixed undirected graph G. Then the rank function r(B) is the number of vertices in the graph, minus the number of connected components of B (including single-vertex components).
Properties and axiomatization The rank function of a matroid obeys the following properties. (R1) The value of the rank function is always a non-negative integer and the rank of the empty set is 0. (R2) For any two subsets A {\displaystyle A} and B {\displaystyle B} of E {\displaystyle E} , r ( A ∪ B ) + r ( A ∩ B ) ≤ r ( A ) + r ( B ) {\displaystyle r(A\cup B)+r(A\cap B)\leq r(A)+r(B)} . That is, the rank is a submodular set function. (R3) For any set A {\displaystyle A} and element x {\displaystyle x} , r ( A ) ≤ r ( A ∪ { x } ) ≤ r ( A ) + 1 {\displaystyle r(A)\leq r(A\cup \{x\})\leq r(A)+1} . These properties may be used as axioms to characterize the rank function of matroids: every integer-valued submodular set function on the subsets of a finite set that obeys the inequalities r ( A ) ≤ r ( A ∪ { x } ) ≤ r ( A ) + 1 {\displaystyle r(A)\leq r(A\cup \{x\})\leq r(A)+1} for all A {\displaystyle A} and x {\displaystyle x} is the rank function of a matroid. The above properties imply additional properties:
If A ⊂ B ⊂ E {\displaystyle A\subset B\subset E} , then r ( A ) ≤ r ( B ) ≤ r ( E ) {\displaystyle r(A)\leq r(B)\leq r(E)} . That is, the rank is a monotonic function.
r ( A ) ≤ | A | {\displaystyle r(A)\leq |A|} .
Other matroid properties from rank The rank function may be used to determine the other important properties of a matroid:
A set is independent if and only if its rank equals its cardinality, and dependent if and only if it has greater cardinality than rank. A nonempty set is a circuit if its cardinality equals one plus its rank and every subset formed by removing one element from the set has equal rank. A set is a basis if its rank equals both its cardinality and the rank of the matroid. A set is closed if it is maximal for its rank, in the sense that there does not exist another element that can be added to it while maintaining the same rank. The difference | A | − r ( A ) {\displaystyle |A|-r(A)} is called the nullity of the subset A {\displaystyle A} . It is the minimum number of elements that must be removed from A {\displaystyle A} to obtain an independent set. The corank of a subset A {\displaystyle A} can refer to at least two different quantities: some authors use it to refer to the rank of A {\displaystyle A} in the dual matroid, r ∗ ( A ) = | A | + r ( E ∖ A ) − r ( E ) {\displaystyle r^{*}(A)=|A|+r(E\setminus A)-r(E)} , while other authors use corank to refer to the difference r ( E ) − r ( A ) {\displaystyle r(E)-r(A)} .
… excerpt ends here. Continue reading the full article.


