Outer products
The outer product of column vectors u and v is the matrix uv transpose, with entry (i,j) equal to u_i times v_j.
On this page 7 sections
01Understand the idea#
For column vectors and , the outer product pairs every entry of with every entry of .
Let and . Row 1 is 2 times , giving . Row 2 is times , giving .
These two rows form
If has entries and has , then has rows and columns.
At row i and column j,
Each cell contains one product. The two vector lengths may differ.
Column vectors and form . Find entry .
Show answer and explanation
Row 2 uses 3; column 1 uses 4. Their product is 12.
02Column times row gives uv^T, a matrix#
Column times row gives , a matrix. With equal lengths, row times column gives the scalar .
In , a zero entry of makes a whole zero row. A zero entry of makes a whole zero column.
Batches have 2 and 5 kits. Each kit uses 3 pins and 4 clips. Choose row 2 (pins, clips).
Show answer and explanation
Five kits need 15 pins and 20 clips.
03Check your understanding#
has 2 entries; has 3. Both are columns. Repair the claimed shape of .
Show answer and explanation
Two rows from ; three columns from .
First vector: rows. Second vector: columns. Multiply each pair.
- Build an outer-product matrix from all row-column pairs.
Sources & further reading
- [1]Boyd and Vandenberghe, Introduction to Applied Linear Algebra (2018), 10.1, Vector outer product, p.178 ↗Boyd and Vandenberghe · Book