Let $A$ and $B$ be matrices $n\times n$.
Suppose $AX=BX$ for every $n\times 1$ column matrix $X$.
How can I prove this implies $A=B$?
Let $A$ and $B$ be matrices $n\times n$.
Suppose $AX=BX$ for every $n\times 1$ column matrix $X$.
How can I prove this implies $A=B$?
Let $e_i$ denote the $i^{th}$ standard basis vector. Then for all $1\leq i \leq n$,
$$Ae_i = Be_i.$$
But $Ae_i$ and $Be_i$ are just the $i^{th}$ columns of $A$ and $B$ respectively.