
In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern 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
Operation or Operations may refer to:
Arts, entertainment and media
* ''Operation'' (game), a battery-operated board game that challenges dexterity
* Operation (music), a term used in musical set theory
* ''Operations'' (magazine), Multi-Ma ...
called an inner product. The inner product of two vectors in the space is a
scalar
Scalar may refer to:
*Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers
* Scalar (physics), a physical quantity that can be described by a single element of a number field such ...
, often denoted with
angle brackets
A bracket is either of two tall fore- or back-facing punctuation marks commonly used to isolate a segment of text or data from its surroundings. Typically deployed in symmetric pairs, an individual bracket may be identified as a 'left' or 'r ...
such as in
. Inner products allow formal definitions of intuitive geometric notions, such as lengths,
angle
In Euclidean geometry, an angle is the figure formed by two Ray (geometry), rays, called the ''Side (plane geometry), sides'' of the angle, sharing a common endpoint, called the ''vertex (geometry), vertex'' of the angle.
Angles formed by two ...
s, and
orthogonality
In mathematics, orthogonality is the generalization of the geometric notion of ''perpendicularity''.
By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
(zero inner product) of vectors. Inner product spaces generalize
Euclidean vector spaces, 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 as a result". It is also used sometimes for other symmetric bilinear forms, for example in a pseudo-Euclidean space. is an algebra ...
or ''scalar product'' of
Cartesian coordinates
A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in t ...
. Inner product spaces of infinite
dimension
In physics and mathematics, the dimension of a Space (mathematics), mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any Point (geometry), point within it. Thus, a Line (geometry), lin ...
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 (e.g. Inner product space#Definition, inner product, Norm (mathematics)#Defini ...
. Inner product spaces over the
field
Field may refer to:
Expanses of open ground
* Field (agriculture), an area of land used for agricultural purposes
* Airfield, an aerodrome that lacks the infrastructure of an airport
* Battlefield
* Lawn, an area of mowed grass
* Meadow, a grass ...
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 form ...
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, in 1898.
An inner product naturally induces an associated
norm
Naturally occurring radioactive materials (NORM) and technologically enhanced naturally occurring radioactive materials (TENORM) consist of materials, usually industrial wastes or by-products enriched with radioactive elements found in the envir ...
, (denoted
and
in the picture); so, every inner product space is a
normed vector space. If this normed space is also
complete
Complete may refer to:
Logic
* Completeness (logic)
* Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable
Mathematics
* The completeness of the real numbers, which implies t ...
(that is, a
Banach space
In mathematics, more specifically in functional analysis, a Banach space (pronounced ) 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 vector ...
) then the inner product space is a
Hilbert space
In mathematics, Hilbert spaces (named after David Hilbert) allow generalizing the methods of linear algebra and calculus from (finite-dimensional) Euclidean vector spaces to spaces that may be infinite-dimensional. Hilbert spaces arise natural ...
. 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, and more specifically in linear algebra, a linear subspace, also known as a vector subspaceThe term ''linear subspace'' is sometimes used for referring to flats and affine subspaces. In the case of vector spaces over the reals, li ...
of
the inner product of
is the
restriction
Restriction, restrict or restrictor may refer to:
Science and technology
* restrict, a keyword in the C programming language used in pointer declarations
* Restriction enzyme, a type of enzyme that cleaves genetic material
Mathematics and log ...
of that of
and
is
dense
Density (volumetric mass density or specific mass) is the substance's mass per unit of volume. The symbol most often used for density is ''ρ'' (the lower case Greek letter rho), although the Latin letter ''D'' can also be used. Mathematically ...
in
for the
topology
In mathematics, topology (from the Greek language, Greek words , and ) is concerned with the properties of a mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformations, such ...
defined by the norm.
Definition
In this article, denotes a
field
Field may refer to:
Expanses of open ground
* Field (agriculture), an area of land used for agricultural purposes
* Airfield, an aerodrome that lacks the infrastructure of an airport
* Battlefield
* Lawn, an area of mowed grass
* Meadow, a grass ...
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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
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 form ...
s
A
scalar
Scalar may refer to:
*Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers
* Scalar (physics), a physical quantity that can be described by a single element of a number field such ...
is thus an element of . A bar over an expression representing a scalar denotes the
complex conjugate 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 whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but can ...
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 is real, conjugate symmetry implies that
is always a real number. If is
, conjugate symmetry is just symmetry.
*
Linearity 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 theoretical physicist who is regarded as one of the most significant physicists of the 20th century. He was the Lucasian Professor of Mathematics at the Univer ...
, 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 ''x'', if
then ''x = 0''.
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 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 linear i ...
''. The
binomial expansion
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
of a square becomes
:
Convention variant
Some authors, especially in
physics
Physics is the natural science that studies matter, its 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 which r ...
and
matrix algebra
In abstract algebra, a matrix ring is a set of matrices with entries in a ring ''R'' that form a ring under matrix addition and matrix multiplication . The set of all matrices with entries in ''R'' is a matrix ring denoted M''n''(''R'')Lang, ''U ...
, 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.
Notation
Several notations are used for inner products, including
,
,
and
, as well as the usual dot product.
Some 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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
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 form ...
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 as a result". It is also used sometimes for other symmetric bilinear forms, for example in a pseudo-Euclidean space. is an algebra ...
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
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.
Terminology and notation
The identity matrix is often denoted by I_n, or simply by I if the size is immaterial o ...
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 in each of its arguments, but a sesquilinear form allows o ...
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
Scaling may refer to:
Science and technology
Mathematics and physics
* Scaling (geometry), a linear transformation that enlarges or diminishes objects
* Scale invariance, a feature of objects or laws that do not change if scales of length, energ ...
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
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 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 mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
s
and
the
expected value
In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a l ...
of their product