Frobenius inner product

In mathematics, the Frobenius inner product is a binary operation takes two matrices and returns a number. It is often denoted . The operation is a component-wise inner product of two matrices as though they are vectors. The two matrices must each have the same number of rows and columns as each other, but are not restricted to be square matrices.

Definition

Given two complex-valued n×m matrices A and B, written explicitly as

the Frobenius inner product is defined by the following summation Σ of matrix elements,

where the overline denotes the complex conjugate. Explicitly this sum is

The calculation is very similar to the dot product, which in turn is an example of an inner product.

Properties

It is a sesquilinear form, for four complex-valued matrices A, B, C, D, and two complex numbers a and b:

Also, exchanging the matrices amounts to complex conjugation:

For the same matrix,

Examples

Real-valued matrices

For two real-valued matrices, if

then

Complex-valued matrices

For two complex-valued matrices, if

then the complex conjugates (without transpose) are

and

while

The Frobenius inner products of A with itself, and B with itself, are respectively

Frobenius norm

The inner product induces the Frobenius norm

Relation to other products

If A and B are each real-valued matrices, the Frobenius inner product is the sum of the entries of the Hadamard product.

If A and B are square matrices, the inner product can also be calculated as

where "tr" denotes trace, and A* is the conjugate transpose of A. The expression A*B is the usual matrix product of A* with B.

If the matrices are vectorised (denoted by "vec", converted into column vectors) as follows,

the matrix product

reproduces the definition, therefore

See also

This article is issued from Wikipedia - version of the 11/30/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.