Posts

Showing posts with the label Matrix Multiplication

Deriving the Outer-Product Matrix BAᵀ from Matrix Multiplication

Let A, B and X be column vectors in ℝ³: A = a₁ a₂ a₃ , B = b₁ b₂ b₃ , X = x y z . BAᵀX = B(AᵀX). Matrix multiplication is associative, so AᵀX may be evaluated first. Since Aᵀ is a 1 × 3 row matrix and X is a 3 × 1 column matrix, their product is a scalar: AᵀX = a₁x + a₂y + a₃z. Therefore, BAᵀX = b₁ b₂ b₃ (a₁x + a₂y + a₃z). The quantity in parentheses is a scalar, so it multiplies every component of B: BAᵀX = b₁a₁x + b₁a₂y + b₁a₃z b₂a₁x + b₂a₂y + b₂a₃z b₃a₁x + b₃a₂y + b₃a₃z . Collect the coefficients of x, y and z into a matrix multiplying X: BAᵀX = b₁a₁ b₁a₂ b₁a₃ b₂a₁ b₂a₂ b...