[Math] Proving that if $A$ is an $m\times n$ matrix and has rank equal to $m$ then $A$ has a right inverse.

linear algebramatricesmatrix-rank

By a "right inverse" I mean an $n\times m$ matrix $B$ such that $AB = I_m$, where $I_m$ is the $m\times m$ identity matrix.

So, obviously $m \leq n$ for $A$ to be of rank $m$.
I already know that if $m=n$ then $A$ is an $m$ x $m$ matrix with rank $m$ so it must be invertible.

Any hints on how to prove for when $m < n$? Am I going about it wrongfully in separating the problem into two different cases?

Best Answer

Let $A$ be an $m \times n$ matrix of rank $m.$ Let $b \in \mathbb{R}^m$ be arbitrary. If $A'$ is the reduced echelon form of $A$, then $A'$ has a pivot in every row, so the matrix $\begin{bmatrix}A \thinspace | \thinspace b \end{bmatrix}$ does not have a pivot in the last column and thus the system $Ax=b$ has a solution. Since $b$ was arbitrary, we conclude that the system $Ax=b$ has a solution for every $b \in \mathbb{R}^m.$ In particular, for all $i=1,\ldots,m,$ the system $Ax=e_i$ (where $e_i=(0,\ldots,1,\ldots,0)^{t},$ the 1 in the $i$th component) has a solution, say $r_i$ for every $i$, that is, $$ Ar_1=e_1, Ar_2=e_2,\hspace{0.4cm} \ldots \hspace{0.4cm} Ar_m=e_m.$$ Let $R=\begin{bmatrix} r_1 & \cdots & r_m\end{bmatrix}.$ Then $$ AR=A\cdot \begin{bmatrix} r_1 & \cdots & r_m\end{bmatrix}=\begin{bmatrix} Ar_1 & \cdots & Ar_m\end{bmatrix}=\begin{bmatrix} e_1 & \cdots & e_m\end{bmatrix}=I_m.$$