Contents
Inner product space
In mathematics, an inner product space (or, rarely, a Hausdorff pre-Hilbert space) 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. An inner product naturally induces an associated norm, (denoted |x| and |y| 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. If an inner product space H is not a Hilbert space, it can be extended by completion to a Hilbert space This means that H is a linear subspace of the inner product of H is the restriction of that of and H is dense in for the topology defined by the norm.
Definition
In this article, F denotes a field that is either the real numbers \R, or the complex numbers \Complex. A scalar is thus an element of F . A bar over an expression representing a scalar denotes the complex conjugate of this scalar. A zero vector is denoted \mathbf 0 for distinguishing it from the scalar 0 . An inner product space is a vector space V over the field F together with an inner product, that is, a map that satisfies the following three properties for all vectors x,y,z\in V and all scalars a,b\in F. F is \R, conjugate symmetry is just symmetry. If the positive-definiteness condition is replaced by merely requiring that for all x, then one obtains the definition of positive semi-definite Hermitian form. A positive semi-definite Hermitian form is an inner product if and only if for all x, if then.
Basic properties
In the following properties, which result almost immediately from the definition of an inner product, x, y and z are arbitrary vectors, and a and b are arbitrary scalars. Over \R, conjugate-symmetry reduces to symmetry, and sesquilinearity reduces to bilinearity. Hence an inner product on a real vector space is a positive-definite symmetric bilinear form. The binomial expansion of a square becomes
Notation
Several notations are used for inner products, including ,, and , as well as the usual dot product.
Convention variant
Some authors, especially in physics and matrix algebra, prefer to define inner products and sesquilinear forms with linearity in the second argument rather than the first. Then the first argument becomes conjugate linear, rather than the second. Bra-ket notation in quantum mechanics also uses slightly different notation, i.e., where.
Examples
Real and complex numbers
Among the simplest examples of inner product spaces are \R and \Complex. The real numbers \R are a vector space over \R that becomes an inner product space with arithmetic multiplication as its inner product: The complex numbers \Complex are a vector space over \Complex that becomes an inner product space with the inner product Unlike with the real numbers, the assignment does define a complex inner product on \Complex.
Euclidean vector space
More generally, the real n-space \R^n with the dot product is an inner product space, an example of a Euclidean vector space. where is the transpose of x. A function is an inner product on \R^n if and only if there exists a symmetric positive-definite matrix \mathbf{M} such that for all If \mathbf{M} is the identity matrix then is the dot product. For another example, if n = 2 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 \R^2 is of this form (where and d > 0 satisfy a d > b^2).
Complex coordinate space
The general form of an inner product on \Complex^n is known as the Hermitian form and is given by where M is any Hermitian positive-definite matrix and y^{\dagger} is the conjugate transpose of y. 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
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 C([a, b]) of continuous complex valued functions f and g on the interval [a, b]. The inner product is This space is not complete; consider for example, for the interval 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 function.
Random variables
For real random variables X and Y, the expected value of their product is an inner product. In this case, if and only if (that is, X = 0 almost surely), where \mathbb{P} denotes the probability of the event. This definition of expectation as inner product can be extended to random vectors as well.
Complex matrices
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 A nonzero,, we get that the Frobenius inner product is positive definite too, and so is an inner product.
Vector spaces with forms
On an inner product space, or more generally a vector space with a nondegenerate form (hence an isomorphism V \to V^*), 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
Norm properties
Every inner product space induces a norm, called its, 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: Absolute homogeneity:for every x \in V and a \in F (this results from ). Triangle inequality:for x, y\in V. These two properties show that one has indeed a norm. Cauchy–Schwarz inequality:for every x, y\in V, with equality if and only if x and y are linearly dependent. Parallelogram law:for every x, y\in V. The parallelogram law is a necessary and sufficient condition for a norm to be defined by an inner product. Polarization identity:for every x, y\in V. The inner product can be retrieved from the norm by the polarization identity, since its imaginary part is the real part of Ptolemy's inequality:for every Ptolemy's inequality is a necessary and sufficient condition for a seminorm to be the norm defined by an inner product.
Orthogonality
Orthogonality:Two vectors x and y are said to be, often written x \perp y, if their inner product is zero, that is, if This happens if and only if for all scalars s, and if and only if the real-valued function is non-negative. (This is a consequence of the fact that, if y \neq 0 then the scalar minimizes f with value which is always non positive). For a inner product space H, a linear operator T : V \to V is identically 0 if and only if x \perp T x for every x \in V. This is not true in general for real inner product spaces, as it is a consequence of conjugate symmetry being distinct from symmetry for complex inner products. A counterexample in a real inner product space is T a 90° rotation in, which maps every vector to an orthogonal vector but is not identically 0. Orthogonal complement:The orthogonal complement of a subset is the set C^{\bot} of the vectors that are orthogonal to all elements of C; that is, This set C^{\bot} is always a closed vector subspace of V and if the closure of C in V is a vector subspace then Pythagorean theorem:If x and y are orthogonal, then This may be proved by expressing the squared norms in terms of the inner products, using additivity for expanding the right-hand side of the equation. The name arises from the geometric interpretation in Euclidean geometry. Parseval's identity:An induction on the Pythagorean theorem yields: if are pairwise orthogonal, then Angle:When is a real number then the Cauchy–Schwarz inequality implies that and thus that is a real number. This allows defining the (non oriented) of two vectors in modern definitions of Euclidean geometry in terms of linear algebra. This is also used in data analysis, under the name "cosine similarity", for comparing two vectors of data.
Real and complex parts of inner products
Suppose that is an inner product on V (so it is antilinear in its second argument). The polarization identity shows that the real part of the inner product is If V is a real vector space then and the imaginary part (also called the ) of is always 0. Assume for the rest of this section that V is a complex vector space. The polarization identity for complex vector spaces shows that The map defined by for all x, y \in V satisfies the axioms of the inner product except that it is antilinear in its, rather than its second, argument. The real part of both and are equal to but the inner products differ in their complex part: The last equality is similar to the formula expressing a linear functional in terms of its real part. These formulas show that every complex inner product is completely determined by its real part. Moreover, this real part defines an inner product on V, considered as a real vector space. There is thus a one-to-one correspondence between complex inner products on a complex vector space V, and real inner products on V. For example, suppose that for some integer n > 0. When V is considered as a real vector space in the usual way (meaning that it is identified with the 2 n-dimensional real vector space \R^{2n}, with each identified with ), then the dot product defines a real inner product on this space. The unique complex inner product on V = \C^n induced by the dot product is the map that sends to (because the real part of this map is equal to the dot product). Real vs. complex inner products Let V_{\R} denote V considered as a vector space over the real numbers rather than complex numbers. The real part of the complex inner product is the map which necessarily forms a real inner product on the real vector space V_{\R}. Every inner product on a real vector space is a bilinear and symmetric map. For example, if with inner product where V is a vector space over the field \Complex, then is a vector space over \R and is the dot product x \cdot y, where is identified with the point (and similarly for y); thus the standard inner product on \Complex is an "extension" the dot product. Also, had been instead defined to be the (rather than the usual ) then its real part would be the dot product; furthermore, without the complex conjugate, if x \in \C but then so the assignment would not define a norm. The next examples show that although real and complex inner products have many properties and results in common, they are not entirely interchangeable. For instance, if then but the next example shows that the converse is in general true. Given any x \in V, the vector i x (which is the vector x rotated by 90°) belongs to V and so also belongs to V_{\R} (although scalar multiplication of x by is not defined in V_{\R}, the vector in V denoted by i x is nevertheless still also an element of V_{\R}). For the complex inner product, whereas for the real inner product the value is always If is a complex inner product and A : V \to V is a continuous linear operator that satisfies for all x \in V, then A = 0. This statement is no longer true if is instead a real inner product, as this next example shows. Suppose that has the inner product mentioned above. Then the map A : V \to V defined by A x = ix is a linear map (linear for both V and V_{\R}) that denotes rotation by 90^{\circ} in the plane. Because x and A x are perpendicular vectors and is just the dot product, for all vectors x; nevertheless, this rotation map A is certainly not identically 0. In contrast, using the complex inner product gives which (as expected) is not identically zero.
Orthonormal sequences
Let V be a finite dimensional inner product space of dimension n. Recall that every basis of V consists of exactly n linearly independent vectors. Using the Gram–Schmidt process we may start with an arbitrary basis and transform it into an orthonormal basis. That is, into a basis in which all the elements are orthogonal and have unit norm. In symbols, a basis is orthonormal if for every i \neq j and for each index i. This definition of orthonormal basis generalizes to the case of infinite-dimensional inner product spaces in the following way. Let V be any inner product space. Then a collection is a for V if the subspace of V generated by finite linear combinations of elements of E is dense in V (in the norm induced by the inner product). Say that E is an for V if it is a basis and if a \neq b and for all a, b \in A. Using an infinite-dimensional analog of the Gram-Schmidt process one may show: Theorem. Any separable inner product space has an orthonormal basis. Using the Hausdorff maximal principle and the fact that in a complete inner product space orthogonal projection onto linear subspaces is well-defined, one may also show that Theorem. Any complete inner product space has an orthonormal basis. The two previous theorems raise the question of whether all inner product spaces have an orthonormal basis. The answer, it turns out is negative. This is a non-trivial result, and is proved below. The following proof is taken from Halmos's A Hilbert Space Problem Book (see the references). !Proof Let K be a Hilbert space of dimension \aleph 0. (for instance, ). Let E be an orthonormal basis of K, so Extend E to a Hamel basis E \cup F for K,where Since it is known that the Hamel dimension of K is c, the cardinality of the continuum, it must be that |F| = c. Let L be a Hilbert space of dimension c (for instance, ). Let B be an orthonormal basis for L and let be a bijection. Then there is a linear transformation T : K \to L such that for f \in F, and Te = 0 for e \in E. Let and let be the graph of T. Let be the closure of G in V; we will show Since for any e \in E we have it follows that Next, if b \in B, then b = T f for some so ; since as well, we also have It follows that so and G is dense in V. Finally, is a maximal orthonormal set in G; if for all e \in E then k = 0, so is the zero vector in G. Hence the dimension of G is whereas it is clear that the dimension of V is c. This completes the proof. Parseval's identity leads immediately to the following theorem: Theorem. Let V be a separable inner product space and an orthonormal basis of V. Then the map is an isometric linear map with a dense image. This theorem can be regarded as an abstract form of Fourier series, in which an arbitrary orthonormal basis plays the role of the sequence of trigonometric polynomials. Note that the underlying index set can be taken to be any countable set (and in fact any set whatsoever, provided \ell^2 is defined appropriately, as is explained in the article Hilbert space). In particular, we obtain the following result in the theory of Fourier series: Theorem. Let V be the inner product space Then the sequence (indexed on set of all integers) of continuous functions is an orthonormal basis of the space with the L^2 inner product. The mapping is an isometric linear map with dense image. Orthogonality of the sequence { e_k }_k follows immediately from the fact that if k \neq j, then Normality of the sequence is by design, that is, the coefficients are so chosen so that the norm comes out to 1. Finally the fact that the sequence has a dense algebraic span, in the, follows from the fact that the sequence has a dense algebraic span, this time in the space of continuous periodic functions on [-\pi, \pi] with the uniform norm. This is the content of the Weierstrass theorem on the uniform density of trigonometric polynomials.
Operators on inner product spaces
Several types of linear maps A : V \to W between inner product spaces V and W 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.
Generalizations
Any of the axioms of an inner product may be weakened, yielding generalized notions. The generalizations that are closest to inner products occur where bilinearity and conjugate symmetry are retained, but positive-definiteness is weakened.
Degenerate inner products
If V is a vector space and a semi-definite sesquilinear form, then the function: makes sense and satisfies all the properties of norm except that |x| = 0 does not imply x = 0 (such a functional is then called a semi-norm). We can produce an inner product space by considering the quotient The sesquilinear form factors through W. This construction is used in numerous contexts. The Gelfand–Naimark–Segal construction is a particularly important example of the use of this technique. Another example is the representation of semi-definite kernels on arbitrary sets.
Nondegenerate conjugate symmetric forms
Alternatively, one may require that the pairing be a nondegenerate form, meaning that for all non-zero x \neq 0 there exists some y such that though y need not equal x; in other words, the induced map to the dual space V \to V^* is injective. This generalization is important in differential geometry: a manifold whose tangent spaces have an inner product is a Riemannian manifold, while if this is related to nondegenerate conjugate symmetric form the manifold is a pseudo-Riemannian manifold. By Sylvester's law of inertia, just as every inner product is similar to the dot product with positive weights on a set of vectors, every nondegenerate conjugate symmetric form is similar to the dot product with weights on a set of vectors, and the number of positive and negative weights are called respectively the positive index and negative index. Product of vectors in Minkowski space is an example of indefinite inner product, although, technically speaking, it is not an inner product according to the standard definition above. Minkowski space has four dimensions and indices 3 and 1 (assignment of "+" and "−" to them differs depending on conventions). Purely algebraic statements (ones that do not use positivity) usually only rely on the nondegeneracy (the injective homomorphism V \to V^*) and thus hold more generally.
Related products
The term "inner product" is opposed to outer product (tensor product), which is a slightly more general opposite. Simply, in coordinates, the inner product is the product of a 1 \times n with an n \times 1 vector, yielding a 1 \times 1 matrix (a scalar), while the outer product is the product of an m \times 1 vector with a 1 \times n covector, yielding an m \times n 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 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 (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 (alternatively, ). The inner product is more correctly called a product in this context, as the nondegenerate quadratic form in question need not be positive definite (need not be an inner product).
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.