Consider the system $Ax=y$ where $A \in Mat_{n\times n}(\mathbb R)$, and $x,y \in \mathbb R^n$.
Suppose that $A,y$ are known to us, and we want to find $x$.
It is clear to see that if $rank(A)=n$ then we have no problem and we can easily find $x$.
My question is, does it work the other way around? suppose we don't know the rank of $A$, but a wizard comes and says "Don't worry, I guarantee you that for any $y$ of your choice, we can find $x$.", can we infer that $rank(A)=n$?