[Math] Rank-$1$ matrices

linear algebramatrices

I am struggling to understand the lecture notes (I have not learned linear algebra, but I do know some basic stuff). I understand the concept of rank of a matrix. A rank of matrix $A$ is given by the number of linearly independent rows/columns (same result). It is possible to find a rank by looking at the number of non zero rows in row echelon form of the matrix. A matrix is full rank if the number of linearly independent rows/columns equals to the number of rows/columns (whichever is smaller).

Now in the lecture notes, I have the following:

If $A$ is rank-$1$, then $\operatorname{range}(A)=\operatorname{span}\{b\}$, that is $Ax=\lambda(x)b$, totally lost now. And then the notes proceed: by linearity $\lambda(x)=c^{T}x$. We arrive to the expression: $A=bc^{T}$

Can I please inquire about what is going on there?

$b$ must be either a row/column of matrix, and thus range of $A$ is the span of that $b$, which is fair enough. But then I do not understand anything.

Best Answer

It’s highly compressed and very sloppy; I’ll try to expand it. I’ll assume that you’re working over the field of real numbers. Let $A$ be an $n\times n$ matrix of rank $1$. This means that $\{Ax:x\in\Bbb R^n\}$ is a one-dimensional vector space, so it has a one-element basis $\{b\}$. This means that every vector $Ax$ is a scalar multiple of that basis vector $b$, so for each $x\in\Bbb R^n$ there is a scalar $\lambda(x)\in\Bbb R$ such that $Ax=\lambda(x)b$.

For $k=1,\ldots,n$ let $e_k$ be the $n\times 1$ matrix with a $1$ in the $k$-th row and zeroes everywhere else, and let $c=\begin{bmatrix}\lambda(e_1)&\lambda(e_2)&\ldots&\lambda(e_n)\end{bmatrix}^T$. If $x=\begin{bmatrix}x_1&x_2&\ldots&x_n\end{bmatrix}^T$, then $x=\sum_{k=1}^nx_ke_k$, and multiplication by $A$ is a linear transformation, so

$$\begin{align*} Ax&=A\sum_{k=1}^nx_ke_k=\sum_{k=1}^nx_kAe_k=\sum_{k=1}^nx_k\lambda(e_k)b\\ &=\left(\begin{bmatrix}\lambda(e_1)&\lambda(e_2)&\ldots&\lambda(e_n)\end{bmatrix}\begin{bmatrix}x_1\\x_2\\\vdots\\x_n\end{bmatrix}\right)b\\ &=\left(c^Tx\right)b\;. \end{align*}$$

Thus, for each $x\in\Bbb R^n$ we have $\lambda(x)b=Ax=c^Txb$, so $\lambda(x)=c^Tx$. Now $c^Tx$ is a scalar, so

$$Ax=\left(c^Tx\right)b=b\left(c^Tx\right)=\left(bc^T\right)x$$

for each $x$, and $bc^T$ is an $n\times n$ matrix, so $A=bc^T$.