Let $M = \left(M_{ij}\right)$ be a square matrix and let $v = (v_{i}) \neq 0$ be such that $Mv = 0$. This can be rephrased into requiring that $\sum_{i} v_{i} M_{i} = 0$, where $\{M_{i}\}$ are the column vectors in $M$, i.e. $(v_{j})$ gives a linear relation on the columns of $M$. I can think of multiple proofs that the existence of $v$ implies the existence of a $w=(w_{j})$ such that $M^{t}w = 0$, but none of them are constructive.
How can we write done the coordinates of such a $w$ in terms of the coordinates of $v$ and $M$? In other words, how can we translate a linear relation of columns into a linear relation of rows?
To be more explicit, I would like a non-trivial expression $w_j = f(v,M)$ such that when I compute $\sum_j w_j M_j$ (where $M_j$ are the row vectors in $M$) I obtain $0$ by using the fact that $\sum_{i} v_{i} M_{i} = 0$. Does such an expression exist?