TITLE: Find dimension of the space of all linear maps from $\Bbb R^{13}$ to $\mathbb R^{31}$
QUESTION [6 upvotes]: Let $V$ be a subspace of $\mathbb R^{13}$ of dimension $6$ and $W$ be a subspace of $\Bbb R^{31}$ of dimension $29$. What's the dimension of the space of all linear maps from $\Bbb R^{13}$ to $\mathbb R^{31}$ whose kernel contains $V$ and whose image is contained in $W$.

Here,  $ \dim(V)=6$ and $\dim(W)=29$. Also , $V\subset \ker(T)$ and $\text{Im}(T) \subset W$.
So, $\dim(\text{Im}(T))\le 29$ and $\dim(\ker(T))\ge 6$.
Now, $\dim(\ker(T))+\dim(\text{Im}(T))=13=\begin{cases}6+7\\7+6\\8+5\\9+4\\10+3\\11+2\\12+1\end{cases}$ 
So there are $7$ cases. So dimension of the space of all linear maps from $\Bbb R^{13}$ to $\mathbb R^{31}$ is $7$.
Is it correct or there are something wrong?

REPLY [3 votes]: To make things clear (correct answers having been already provided) and in order to understand what is needed, it's easier to think in terms of the corresponding matrices. 
Let's construct the matrix of a linear map $f:\mathbb{R}^{13} \rightarrow \mathbb{R}^{31}$ that fits your description. 
Let $(u_{1},..., u_{13})$ be the canonical base of $\mathbb{R}^{13}$ and consider without loss of generality that $V = span(u_{1},...,u_{6})$. 
Similarly, let $(v_{1},..., v_{31})$ be the canonical base of $\mathbb{R}^{31}$ and consider that $W = span(v_{1},...,v_{29})$. 
The matrix representation of $f$ has 13 columns and 31 rows, the $i^{th}$ column corresponding to the image of $u_{i}$ i.e., and sorry for stating the obvious, if $f(u_{1}) = \sum_{j = 1}^{31}a_{j}.v_{j}$ then the first column will be 
$$\begin{pmatrix}
a_{1}\\ 
.\\ 
.\\
.\\
a_{31}
\end{pmatrix}$$
Now you need $V \subseteq Ker(f)$ which means that the first 6 columns (corresponding to the image of $(u_{1},...,u_{6})$) must be zero. You also need $Im(f) \subseteq W$ which means that the last two rows must be zero. The Matrix $A$ looks like this:
$$
A=
\left[
\begin{array}{c|c}
0 & B \\
\hline
0 & 0
\end{array}
\right]
$$
Where the bottom zeros are 2 rows of zeros and $B$ has ($29$ rows $\times$ $7$ colmuns). 
The dimension of the space of the corresponding linear maps is simply the size of $B$ which is $203$ (a possible base is formed by matrices with only one element of $B$ being equal to $1$).