Let $A$ be a $8 \times 8$ matrix and the rank of $A$ is $5$.
Let $M_{m \times n}(\Bbb{R})$ denotes the the vector space of all $m \times n$ matrices with real entries.
$$S=\{B\in M_{8 \times 10}(\Bbb{R}) \mid AB=0\}$$
Question: What is the dimension of set $S$ ?
My try: As rank of $AB$ is $0$ and matrix $A$ only have to face the range of $B$ in product $AB$. So range space of $B$ must be contained in null space of $A$. So rank of $B \le 3$. I can't conclude forward from right here.
Hint: As you have correctly noted, $AB = 0$ if and only if the range of $B$ is a subset of the nullspace of $A$. Equivalently, $AB = 0$ if and only if each column of $B$ is an element of the nullspace of $A$. With that in mind, start with a basis $\{v_1,v_2,v_3\}$ of the nullspace of $A$ and use this to construct a basis of $S$ such that each element of the basis has exactly one non-zero column.
How many elements are in this basis?
The basis I am hinting at is $\mathcal B = (M_1,M_2,M_3,\dots,M_k)$, where $$ M_1 = \pmatrix{v_1 & 0 & 0 & \cdots & 0},\\ M_2 = \pmatrix{v_2 & 0 & 0 & \cdots & 0},\\ M_3 = \pmatrix{v_3 & 0 & 0 & \cdots & 0},\\ M_4 = \pmatrix{0 & v_1 & 0 & \cdots & 0},\\ \vdots\\ M_k = \pmatrix{0 & 0 & 0 & \cdots & v_3}. $$