Singular Value Decomposition - Transpose and Dot Product


matrix

In this third post of the series, we will introduce two additional building blocks.

Transpose

The transpose of a column vector u, u, is the row vector of u. The transpose of an m×n matrix A is an n×m matrix whose columns are formed from the corresponding rows of A. For example, if we have

C=[542719]

then the transpose of C is:

C=[574129]

The transpose of a row vector becomes a column vector with the same elements and vice versa. The element in the ith row and jth, xij, is equal to the element in the jth row and ith column, xji, of the original matrix. Therefore,

Aij=Aji

The transpose has some important properties. First, the transpose of a transpose is itself.

Aij=Aji

In addition, the transpose of a product is the product of transpose in the reverse order.

(AB)=BA

Dot product

If we have two vectors u and v:

u=[u1u2un]

v=[v1v2vn]

The dot product (aka inner product) of these vectors is defined as the transpose of u multipled by v :

uv=uTv=[u1u2un][v1v2vn]=u1v1+u2v2++unvn

Based on this definition, the dot product is commutative:

uv=vu

In the next post, we will return to the topic of eigenvalues and eigenvectors.