Artificial intelligent assistant

Matrix rank and probability limit > If I have a random matrix $M$ (dimension $l\times l$) whose elements are stochastic and depend on $n$ such that for all $n$, the rank of $M$ is less than or equal to $k$, can I infer that $$ \text{plim}_{n\to\infty}M $$ has rank less than or equal to $k$? Here, we assume that the probability limit above exists and $l$ and $k$ do not depend on $n$. The result appears as an implicit step in a proof in my textbook. I know the Continuous Mapping Theorem but rank isn't a continuous map of a matrix so I'm stuck. Thanks for your help.

This follows from two facts:

1. The set of $l \times l$ matrices with rank $\leq k$ is closed.



This is true since, for $k
2. Given a closed subset $C$ of a metric space $E$ and a sequence of random elements $X_i$ of $E$, if $X_i$ converges in probability to a random variable $X$, and if $P(X_i \in C)=1$ for all $i$, then $P(X \in C)=1$.



This is true since convergence in probability implies a.s.-convergence on a subsequence.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 1e255629d89487b76f43b88fd8e45bc5