Inner product space
In mathematics, an inner product space (or, rarely, a Hausdorff pre-Hilbert space[1][2]) is a real vector space or a complex vector space with an operation called an inner product. The inner product of two vectors in the space is a scalar, often denoted with angle brackets such as in . Inner products allow formal definitions of intuitive geometric notions, such as lengths, angles, and orthogonality (zero inner product) of vectors. Inner product spaces generalize Euclidean vector spaces, in which the inner product is the dot product or scalar product of Cartesian coordinates. Inner product spaces of infinite dimension are widely used in functional analysis. Inner product spaces over the field of complex numbers are sometimes referred to as unitary spaces. The first usage of the concept of a vector space with an inner product is due to Giuseppe Peano, in 1898.[3]
"Inner product" redirects here. For the inner product of coordinate vectors, see Dot product.An inner product naturally induces an associated norm, (denoted and in the picture); so, every inner product space is a normed vector space. If this normed space is also complete (that is, a Banach space) then the inner product space is a Hilbert space.[1] If an inner product space H is not a Hilbert space, it can be extended by completion to a Hilbert space This means that is a linear subspace of the inner product of is the restriction of that of and is dense in for the topology defined by the norm.[1][4]
Some examples[edit]
Real and complex numbers[edit]
Among the simplest examples of inner product spaces are and
The real numbers are a vector space over that becomes an inner product space with arithmetic multiplication as its inner product:
The complex numbers are a vector space over that becomes an inner product space with the inner product
Unlike with the real numbers, the assignment does not define a complex inner product on
Euclidean vector space[edit]
More generally, the real -space with the dot product is an inner product space, an example of a Euclidean vector space.
where is the transpose of
A function is an inner product on if and only if there exists a symmetric positive-definite matrix such that for all If is the identity matrix then is the dot product. For another example, if and is positive-definite (which happens if and only if and one/both diagonal elements are positive) then for any
As mentioned earlier, every inner product on is of this form (where and satisfy ).
Complex coordinate space[edit]
The general form of an inner product on is known as the Hermitian form and is given by where is any Hermitian positive-definite matrix and is the conjugate transpose of For the real case, this corresponds to the dot product of the results of directionally-different scaling of the two vectors, with positive scale factors and orthogonal directions of scaling. It is a weighted-sum version of the dot product with positive weights—up to an orthogonal transformation.
Hilbert space[edit]
The article on Hilbert spaces has several examples of inner product spaces, wherein the metric induced by the inner product yields a complete metric space. An example of an inner product space which induces an incomplete metric is the space of continuous complex valued functions and on the interval The inner product is
This space is not complete; consider for example, for the interval [−1, 1] the sequence of continuous "step" functions, defined by:
This sequence is a Cauchy sequence for the norm induced by the preceding inner product, which does not converge to a continuous function.
Random variables[edit]
For real random variables and the expected value of their product is an inner product.[8][9][10] In this case, if and only if (that is, almost surely), where denotes the probability of the event. This definition of expectation as inner product can be extended to random vectors as well.
Complex matrices[edit]
The inner product for complex square matrices of the same size is the Frobenius inner product . Since trace and transposition are linear and the conjugation is on the second matrix, it is a sesquilinear operator. We further get Hermitian symmetry by, Finally, since for nonzero, , we get that the Frobenius inner product is positive definite too, and so is an inner product.
Vector spaces with forms[edit]
On an inner product space, or more generally a vector space with a nondegenerate form (hence an isomorphism ), vectors can be sent to covectors (in coordinates, via transpose), so that one can take the inner product and outer product of two vectors—not simply of a vector and a covector.
Basic results, terminology, and definitions[edit]
Norm properties [edit]
Every inner product space induces a norm, called its canonical norm, that is defined by
With this norm, every inner product space becomes a normed vector space.
So, every general property of normed vector spaces applies to inner product spaces.
In particular, one has the following properties:
Several types of linear maps between inner product spaces and are of relevance:
From the point of view of inner product space theory, there is no need to distinguish between two spaces which are isometrically isomorphic. The spectral theorem provides a canonical form for symmetric, unitary and more generally normal operators on finite dimensional inner product spaces. A generalization of the spectral theorem holds for continuous normal operators in Hilbert spaces.[13]
Related products[edit]
The term "inner product" is opposed to outer product, which is a slightly more general opposite. Simply, in coordinates, the inner product is the product of a covector with an vector, yielding a matrix (a scalar), while the outer product is the product of an vector with a covector, yielding an matrix. The outer product is defined for different dimensions, while the inner product requires the same dimension. If the dimensions are the same, then the inner product is the trace of the outer product (trace only being properly defined for square matrices). In an informal summary: "inner is horizontal times vertical and shrinks down, outer is vertical times horizontal and expands out".
More abstractly, the outer product is the bilinear map sending a vector and a covector to a rank 1 linear transformation (simple tensor of type (1, 1)), while the inner product is the bilinear evaluation map given by evaluating a covector on a vector; the order of the domain vector spaces here reflects the covector/vector distinction.
The inner product and outer product should not be confused with the interior product and exterior product, which are instead operations on vector fields and differential forms, or more generally on the exterior algebra.
As a further complication, in geometric algebra the inner product and the exterior (Grassmann) product are combined in the geometric product (the Clifford product in a Clifford algebra) – the inner product sends two vectors (1-vectors) to a scalar (a 0-vector), while the exterior product sends two vectors to a bivector (2-vector) – and in this context the exterior product is usually called the outer product (alternatively, wedge product). The inner product is more correctly called a scalar product in this context, as the nondegenerate quadratic form in question need not be positive definite (need not be an inner product).