Chapter 2: Problem 37
Suppose we represent vectors \(v=\left(v_{i}\right)\) as sequences of numbers, and matrices \(m=\left(m_{i j}\right)\) as sequences of vectors (the rows of the matrix). For example, the matrix $$ \left[\begin{array}{llll} 1 & 2 & 3 & 4 \\ 4 & 5 & 6 & 6 \\ 6 & 7 & 8 & 9 \end{array}\right] $$ is represented as the sequence \(\left(\begin{array}{lllllllllll}1 & 2 & 3 & 4\end{array}\right)\left(\begin{array}{lllllll}4 & 5 & 6 & 6\end{array}\right)\left(\begin{array}{llll}6 & 7 & 8 & 9\end{array}\right)\). With this representation, we can use sequence operations to concisely express the basic matrix and vector operations. These operations (which are described in any book on matrix algebra) are the following: $$ \begin{array}{ll} \text { (dot-product } v w \text { ) } & \text { returns the sum } \sum_{i} v_{i} w_{i} ; \\ \text { (matrix-*-vector } m \text { v) } & \text { returns the vector } t, \text { where } t_{i}=\sum_{j} m_{i j} v_{j} ; \\ \text { (matrix-*-matrix } m \text { n ) } & \text { returns the matrix } p, \text { where } p_{i j}=\sum_{k} m_{i k} n_{k j} ; \\ \text { (transpose } m \text { ) } & \text { returns the matrix } n, \text { where } n_{i j}=m_{j i} . \end{array} $$
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.