# Matroid rank

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. The rank functions of matroids form an important subclass of the submodular set functions, and the rank functions of the 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.

## Properties and axiomatization

The rank function of a matroid obeys the following properties.

- The value of the rank function is always a non-negative integer.
- For any two subsets and of , . That is, the rank is a submodular function.
- For any set and element , . From the first of these two inequalities it follows more generally that, if , then . That is, the rank is a monotonic function.

These properties may be used as axioms to characterize the rank function of matroids: every integer-valued submodular function on the subsets of a finite set that obeys the inequalities for all and is the rank function of a matroid.^{[1]}^{[2]}

## 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.
^{[3]} - A nonempty set is a circuit if its rank equals one plus its cardinality and every subset formed by removing one element from the set has equal rank.
^{[3]} - A set is a basis if its rank equals both its cardinality and the rank of the matroid.
^{[3]} - 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 is called the
**nullity**or**corank**of the subset . It is the minimum number of elements that must be removed from to obtain an independent set.^{[4]}

## Ranks of special matroids

In graph theory, the circuit rank (or cyclomatic number) of a graph is the corank of the associated graphic matroid; it measures the minimum number of edges that must be removed from the graph to make the remaining edges form a forest.^{[5]} Several authors have studied the parameterized complexity of graph algorithms parameterized by this number.^{[6]}^{[7]}

In linear algebra, the rank of a linear matroid defined by linear independence from the columns of a matrix is the rank of the matrix,^{[8]} and it is also the dimension of the vector space spanned by the columns.

In abstract algebra, the rank of a matroid defined from sets of elements in a field extension *L*/*K* by algebraic independence is known as the transcendence degree.^{[9]}

## See also

## References

- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑
^{3.0}^{3.1}^{3.2}Template:Harvtxt, p. 25. - ↑ Template:Harvtxt, p. 34.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.