The Inner and Outer Products
Given two column vectors a and b, the Euclidean inner product and outer product are the simplest special cases of the matrix product, by transposing the column vectors into row vectors.
- The inner product
is a column vector multiplied on the left by a row vector:
More explicitly,
- The outer product
is a row vector multiplied on the left by a column vector:
where
- Matrix product (in terms of inner product)
Suppose that the first n×m matrix A is decomposed into its row vectors ai, and the second m×p matrix B into its column vectors bi:
where
The entries in the introduction were given by:
It is also possible to express a matrix product in terms of concatenations of products of matrices and row or column vectors:
These decompositions are particularly useful for matrices that are envisioned as concatenations of particular types of row vectors or column vectors, e.g. orthogonal matrices (whose rows and columns are unit vectors orthogonal to each other) and Markov matrices (whose rows or columns sum to 1).
- Matrix product (in terms of outer product)
An alternative method results when the decomposition is done the other way around, i.e. the first matrix A is decomposed into column vectors and the second matrix B into row vectors :
where this time
This method emphasizes the effect of individual column/row pairs on the result, which is a useful point of view with e.g. covariance matrices, where each such pair corresponds to the effect of a single sample point.
Read more about this topic: Matrix Multiplication
Famous quotes containing the words outer and/or products:
“The Dada object reflected an ironic posture before the consecrated forms of art. The surrealist object differs significantly in this respect. It stands for a mysterious relationship with the outer world established by mans sensibility in a way that involves concrete forms in projecting the artists inner model.”
—J.H. Matthews. Object Lessons, The Imagery of Surrealism, Syracuse University Press (1977)
“The reality is that zero defects in products plus zero pollution plus zero risk on the job is equivalent to maximum growth of government plus zero economic growth plus runaway inflation.”
—Dixie Lee Ray (b. 1924)