1

I am reading the definition of almost diagonal matrix:

DEFINITION. A matrix $A$ is almost diagonal (a.d.) if there exist a diagonal matrix $D$ and vectors $x$ and $y$ such that $$A=D+xy^T$$ That is, $A$ is a.d. if it differs from a diagonal matrix by a matrix of rank one.

Why is $x y^T$ rank one?

chloe
  • 1,072
  • 5
  • 16

4 Answers4

2

If you apply $xy^T$ to an arbitrary vector $z$, you get $$ xy^Tz=(y^Tz)\,x. $$ That is, the range consists of scalar multiples of $x$, which is precisely the meaning of being rank-one.

Martin Argerami
  • 217,281
1

Hint:

$xy^T$ is a matrix where the columns are $x$ multiplied by the elements in $y$

wd violet
  • 1,360
0

A rank one matrix is a matrix in which either the column space and the row space are 1-dimensional. This means you need only one vector to identify such subspaces. By having $xy^\top$ you can see that every column is a scaled version of the first column, and every row is a scaled version of the first row:

$\begin{align}xy^T&=\begin{pmatrix}x_1\\x_2\\\vdots \\x_n\end{pmatrix}\cdot\begin{pmatrix}y_1&y_2&\ldots &y_n\end{pmatrix}=\begin{pmatrix}x_1y_1&x_1y_2&\ldots&x_1y_n\\x_2y_1&x_2y_2&\ldots &x_2y_n\\\vdots&\vdots&\dots&\vdots\\x_ny_1&x_ny_2&\ldots&x_ny_n \end{pmatrix} \end{align}$

This means that apart from the first column and first row, all the other vectors are linearly dependent.

yes
  • 888
0

Assuming $x, y$ are non zero column vectors in $K^n$ where $x=\begin{pmatrix}x_1\\x_2\\\vdots \\x_n\end{pmatrix}$ and $y=\begin{pmatrix}y_1\\y_2\\\vdots \\y_n\end{pmatrix}$

Then $y^T=\begin{pmatrix}y_1&y_2&\ldots &y_n\end{pmatrix}$

$\begin{align}xy^T&=\begin{pmatrix}x_1\\x_2\\\vdots \\x_n\end{pmatrix}\cdot\begin{pmatrix}y_1&y_2&\ldots &y_n\end{pmatrix}\\&=\begin{pmatrix}x_1y_1&x_1y_2&\ldots&x_1y_n\\x_2y_1&x_2y_2&\ldots &x_2y_n\\\vdots&\vdots&\dots&\vdots\\x_ny_1&x_ny_2&\ldots&x_ny_n \end{pmatrix} \end{align}$

Now use elimination to clean up all the rows below the first one. Hence the rank of $xy^T$ is $1$ .

If at least one $x$ or $y$ is the zero vector the $xy^T=\begin{pmatrix}0\end{pmatrix} _{n×n}$ whose rank is $0$.

SoG
  • 13,327