Given a matrix $Y\in M_n(\mathbb{R})$, consider the set $C(Y)=\{X\in M_n(\mathbb{R}):YX=XY\}$. I was asked to show that $C(Y)$ is a vector space. I did this by showing that $C(Y) $ is a subspace of $M_n(\mathbb{R})$. ( I think this is what I was supposed to do, but feel free to point out if this does not prove/is not enough to prove what I was asked)
Now, consider the linear transformations $I_Y, D_Y: M_n(\mathbb{R})\to M_n(\mathbb{R})$, determined by $K \mapsto YK, K\mapsto KY$, respectively. My question here is: is it possible to determine $C(Y)$ from $I_Y $ and $D_Y$? Or perhaps their matrices?