User:IssaRice/Linear algebra/Rank of polynomial matrix is constant everywhere except possibly at finitely many points
This is Corollary 6.2 in Linear Algebra Done Wrong.
I find the proof in the book pretty unclear, so I want to write up a clearer proof.
Corollary statement: Let be an polynomial matrix (i.e. a matrix whose entries are polynomials of ). Then is constant everywhere, except possibly at finitely many points, where the rank is smaller.
Proof:
We first show that takes on a maximum value, which we will call . To show that exists, we start at (this is the largest rank that an such that , then we have found our . If not, we replace by and continue. After finitely many steps, we either return a value or hit (because the rank of a matrix cannot be negative). So exists.