Euler Hall — free maths guides

Read a column factor and a row factor out of a rank-one matrix

Recognise a rank-one matrix from its columns all lying on one line. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

A column times a row is a whole matrix

Multiply a column ofmm entries by a row ofnn entries and you get anm×nm\times n matrix, not a number:

Entry(i,j)(i,j) isuiwju_iw_j — multiply, never add. Every pair of entries meets exactly once.

Read it by columns: columnjj iswjuw_j\mathbf{u}, so every column is a multiple ofu\mathbf{u}. Allnn columns lie on one line.

Read it by rows: rowii isuiwTu_i\mathbf{w}^{\mathsf T}, so every row is a multiple ofwT\mathbf{w}^{\mathsf T}. Allmm rows lie on one line.

That is what "rank one" means: one direction of columns, one direction of rows.

Compare withuTw\mathbf{u}^{\mathsf T}\mathbf{w}, a row times a column, which is a single number — the dot product. Same two vectors, different shapes of answer, and mixing them up is the classic error here.

Why the factors are not unique

SupposeA=uwTA=\mathbf{u}\mathbf{w}^{\mathsf T}. Take any nonzero scalarcc:

A=(cu)(1cw)T.A=(c\mathbf{u})\left(\tfrac{1}{c}\mathbf{w}\right)^{\mathsf T}.

Thecc and the1c\tfrac1c cancel entry by entry, so the matrix is the same. Doubling the column factor and halving the row factor describes the identical matrix.

So "find the factorisation" has no single answer, and any grading that compares a stored pair is wrong. The honest test is to multiply the pair back and check you getAA.

How to find one pair. Take any nonzero columnc\mathbf{c} ofAA as the column factor. Then row 1 ofAA equalsc1 wTc_1\,\mathbf{w}^{\mathsf T}, so divide row 1 byc1c_1 to get the row factor. Ifc1=0c_1=0, choose a different column or use a different row.

Worked example, in the shape the exam asks

Question. Write

A=[2644128135]A=\begin{bmatrix}2&6&4\\4&12&8\\1&3&5\end{bmatrix}

as a column times a row, or show that it cannot be done.

Step 1 — check the columns are on one line. Column 2 is3×3\times column 1 6=3⋅26=3\cdot2,12=3⋅412=3\cdot4,3=3⋅13=3\cdot1) ✓. But column 3 is(4,8,5)(4,8,5), and2×2\times column 1 would be(4,8,2)(4,8,2) — the third entry is55, not22. So column 3 is not a multiple of column 1.

Step 2 — check column 3 against columns 1 and 2. Look fora3=xa1+ya2a_3=x a_1+y a_2. Row 1:4=2x+6y4=2x+6y. Row 2:8=4x+12y8=4x+12y — that is twice the first equation, so it adds nothing. Row 3:5=x+3y5=x+3y. Solving2x+6y=42x+6y=4 andx+3y=5x+3y=5: the first givesx+3y=2x+3y=2, the second givesx+3y=5x+3y=5. Contradiction.

Step 3 — conclude. The three columns are not all on one line, soAA is not rank one and cannot be written as a single column times a single row.

Answer. No such factorisation exists. The columns span a plane (rank 2), which needs two rank-one pieces, not one.

This is the case people forget: the question "write it as a column times a row" can have the answer "you cannot", and saying so is a complete answer.

By the end you can
  • Recognise a rank-one matrix from its columns all lying on one line
  • Write a rank-one matrix as a column times a row
  • Recover a valid pair of factors and check it by multiplying back
  • Explain why the factors are not unique
Check yourself

WriteA=[361248]A=\begin{bmatrix}3&6\\1&2\\4&8\end{bmatrix} as a column times a row, and verify it.

Answer

Column 2 is2×2\times column 1 in every row, so the rank is 1. Takeu=(3,1,4)\mathbf{u}=(3,1,4) — column 1 — and divide row 1 byu1=3u_1=3:(3,6)/3=(1,2)(3,6)/3=(1,2). So

A=[314][12].A=\begin{bmatrix}3\\1\\4\end{bmatrix}\begin{bmatrix}1&2\end{bmatrix}.

Check entry by entry:(1,1)=3⋅1=3(1,1)=3\cdot1=3 ✓,(1,2)=3⋅2=6(1,2)=3\cdot2=6 ✓,(2,1)=1⋅1=1(2,1)=1\cdot1=1 ✓,(2,2)=1⋅2=2(2,2)=1\cdot2=2 ✓,(3,1)=4(3,1)=4 ✓,(3,2)=8(3,2)=8 ✓.

Another valid pair is[628][0.51]\begin{bmatrix}6\\2\\8\end{bmatrix}\begin{bmatrix}0.5&1\end{bmatrix} — the scalar split differently. Both are correct, which is why the check is the product.

Work out where to start — free, no accountAnswer six real questions — free, no account