Linear Algebra and Its Applications · Problem 1.4.3

Matrices and Gaussian Elimination — Gilbert Strang

Mathematics · matrix-notation-and-multiplication

Problem

Find two inner products and a matrix product: [1−27][1−27]and[1−27][351]and[1−27][351].\begin{bmatrix}1 & -2 & 7\end{bmatrix}\begin{bmatrix}1\\-2\\7\end{bmatrix} \quad \text{and} \quad \begin{bmatrix}1 & -2 & 7\end{bmatrix}\begin{bmatrix}3\\5\\1\end{bmatrix} \quad \text{and} \quad \begin{bmatrix}1\\-2\\7\end{bmatrix}\begin{bmatrix}3 & 5 & 1\end{bmatrix}. The first gives the length of the vector (squared).
Intuitive explanation

An inner product pairs a row vector with a column vector to produce a single number—multiply matching entries and sum them up. The first example shows how v⋅v\mathbf{v} \cdot \mathbf{v} gives ∥v∥2\|\mathbf{v}\|^2, a scalar measuring the vector's magnitude squared. The third product flips the order: column times row creates an entire matrix, where each entry is one component times another. Think of it as "outer product"—it builds a 2D table rather than collapsing to a number.

Intuitive explanation

An inner product pairs a row vector with a column vector to produce a single number—multiply matching entries and sum them up. The first example shows how v⋅v\mathbf{v} \cdot \mathbf{v} gives ∥v∥2\|\mathbf{v}\|^2, a scalar measuring the vector's magnitude squared. The third product flips the order: column times row creates an entire matrix, where each entry is one component times another. Think of it as "outer product"—it builds a 2D table rather than collapsing to a number.

Related theory

Browse the problem library