
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, 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,
angle
In Euclidean geometry, an angle can refer to a number of concepts relating to the intersection of two straight Line (geometry), lines at a Point (geometry), point. Formally, an angle is a figure lying in a Euclidean plane, plane formed by two R ...
s, and
orthogonality
In mathematics, orthogonality is the generalization of the geometric notion of '' perpendicularity''. Although many authors use the two terms ''perpendicular'' and ''orthogonal'' interchangeably, the term ''perpendicular'' is more specifically ...
(zero inner product) of vectors. Inner product spaces generalize
Euclidean vector space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces'' ...
s, in which the inner product is the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
or ''scalar product'' of
Cartesian coordinates
In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
. Inner product spaces of infinite
dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
are widely used in
functional analysis
Functional analysis is a branch of mathematical analysis, the core of which is formed by the study of vector spaces endowed with some kind of limit-related structure (for example, Inner product space#Definition, inner product, Norm (mathematics ...
. Inner product spaces over the
field of
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s 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
Giuseppe Peano (; ; 27 August 1858 – 20 April 1932) was an Italian mathematician and glottologist. The author of over 200 books and papers, he was a founder of mathematical logic and set theory, to which he contributed much Mathematical notati ...
, in 1898.
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
In mathematics, more specifically in functional analysis, a Banach space (, ) is a complete normed vector space. Thus, a Banach space is a vector space with a metric that allows the computation of vector length and distance between vectors and ...
) then the inner product space is a
Hilbert space
In mathematics, a Hilbert space is a real number, real or complex number, complex inner product space that is also a complete metric space with respect to the metric induced by the inner product. It generalizes the notion of Euclidean space. The ...
. If an inner product space is not a Hilbert space, it can be ''extended'' by
completion to a Hilbert space
This means that
is a
linear subspace
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a ''function (mathematics), function'' (or ''mapping (mathematics), mapping'');
* linearity of a ''polynomial''.
An example of a li ...
of
the inner product of
is the
restriction of that of
and
is
dense in
for the
topology
Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
defined by the norm.
Definition
In this article, denotes a
field that is either the
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s
or the
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s
A
scalar is thus an element of . A bar over an expression representing a scalar denotes the
complex conjugate
In mathematics, the complex conjugate of a complex number is the number with an equal real part and an imaginary part equal in magnitude but opposite in sign. That is, if a and b are real numbers, then the complex conjugate of a + bi is a - ...
of this scalar. A zero vector is denoted
for distinguishing it from the scalar .
An ''inner product'' space is a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
over the field together with an ''inner product'', that is, a map
that satisfies the following three properties for all vectors
and all scalars
* ''Conjugate symmetry'':
As
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
is real, conjugate symmetry implies that
is always a real number. If is
, conjugate symmetry is just symmetry.
*
Linearity
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a '' function'' (or '' mapping'');
* linearity of a '' polynomial''.
An example of a linear function is the function defined by f(x) ...
in the first argument:
[By combining the ''linear in the first argument'' property with the ''conjugate symmetry'' property you get ''conjugate-linear in the second argument'': . This is how the inner product was originally defined and is used in most mathematical contexts. A different convention has been adopted in theoretical physics and quantum mechanics, originating in the bra-ket notation of ]Paul Dirac
Paul Adrien Maurice Dirac ( ; 8 August 1902 – 20 October 1984) was an English mathematician and Theoretical physics, theoretical physicist who is considered to be one of the founders of quantum mechanics. Dirac laid the foundations for bot ...
, where the inner product is taken to be ''linear in the second argument'' and ''conjugate-linear in the first argument''; this convention is used in many other domains such as engineering and computer science.
*
Positive-definiteness: if
is not zero, then
(conjugate symmetry implies that
is real).
If the positive-definiteness condition is replaced by merely requiring that
for all
, 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
, if
then
.
Basic properties
In the following properties, which result almost immediately from the definition of an inner product, and are arbitrary vectors, and and are arbitrary scalars.
*
*
is real and nonnegative.
*
if and only if
*
This implies that an inner product is a
sesquilinear form.
*
where
denotes the
real part
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
of its argument.
Over
, 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
In mathematics, a bilinear form is a bilinear map on a vector space (the elements of which are called '' vectors'') over a field ''K'' (the elements of which are called '' scalars''). In other words, a bilinear form is a function that is linea ...
''. 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
Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
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
Quantum mechanics is the fundamental physical Scientific theory, theory that describes the behavior of matter and of light; its unusual characteristics typically occur at and below the scale of atoms. Reprinted, Addison-Wesley, 1989, It is ...
also uses slightly different notation, i.e.
, where
.
Examples
Real and complex numbers
Among the simplest examples of inner product spaces are
and
The
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s
are a vector space over
that becomes an inner product space with arithmetic multiplication as its inner product:
The
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s
are a vector space over
that becomes an inner product space with the inner product
Unlike with the real numbers, the assignment
does define a complex inner product on
Euclidean vector space
More generally, the
real -space with the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
is an inner product space, an example of a
Euclidean vector space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces'' ...
.
where
is the
transpose
In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal;
that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
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
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
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
The general form of an inner product on
is known as the
Hermitian form
In mathematics, a sesquilinear form is a generalization of a bilinear form that, in turn, is a generalization of the concept of the dot product of Euclidean space. A bilinear form is linear map, linear in each of its arguments, but a sesquilinear f ...
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
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
In mathematical analysis, a metric space is called complete (or a Cauchy space) if every Cauchy sequence of points in has a limit that is also in .
Intuitively, a space is complete if there are no "points missing" from it (inside or at the bou ...
. 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 the sequence of continuous "step" functions,
defined by:
This sequence is a
Cauchy sequence
In mathematics, a Cauchy sequence is a sequence whose elements become arbitrarily close to each other as the sequence progresses. More precisely, given any small positive distance, all excluding a finite number of elements of the sequence are le ...
for the norm induced by the preceding inner product, which does not converge to a function.
Random variables
For real
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a Mathematics, mathematical formalization of a quantity or object which depends on randomness, random events. The term 'random variable' in its mathema ...
s
and
the
expected value
In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
of their product