An inner product is a generalization of the dot product. Both a dot product and an inner product take in two vectors and output a scalar. The dot product is found by multiplying the -th component of the first vector by the -th component of the second, and summing all these products.
An inner product can be any other function so long as it satisfies the requirements below. For example, we could define a vector of scalar weights, , and apply these weights to the two vectors:
Note that if we define the inner product to include these weights, then all inner products and operations relying on the inner product used thereafter will include these weights implicitly.
Definition
Within a given vector space , an inner product is any vector function, denoted or , which satisfies the following three axioms for some arbitrary vectors , , and in . The three axioms are slightly different for vector spaces in vs. in .
Real Inner Products
Positive-definiteness
Bilinearity
Recall that linearity is composed of additivity, , and homogeneity, . So for an inner product, we must have,
for any scalars and .
Symmetry
Complex Inner Products
Positive-definiteness
”Sesquilinearity”
A word which means “one-and-a-half linearity”. Bilinearity cannot hold at the same time as symmetry and positive-definiteness for complex inputs. For example, if we have , then positive-definiteness insists that this product be greater than or equal to 0, but if we apply bilinearity, we have . Therefore we need to modify the requirement of linearity so that for one (not both) of the inputs, if linearity is applied, we get the conjugate of the scalar factor out instead of just the scalar factor itself.
or vice versa with remaining linear and . Then, positive-definiteness holds: .
Additivity remains the same as for real numbers:
Conjugate Symmetry
Uses
An inner product is used to define the following properties. These properties are normally fundamental to vector calculus, and most vector spaces are also inner product spaces where these properties are well defined. In vector space which are not also inner product space, these properties become largely meaningless or cannot be defined.
Vector Length or Norm
This property is called the norm of the inner product, and is also the equation used to define the length of a vector. A vector space that can define a norm using its inner product is a normed vector space. If we’ve established length as a property, a number of others flow from this, including angle, distance, orthogonality, projection, etc.
Distance Between Vectors
This is also called “metric”, and a space which has a metric is a metric space. In a metric space we can talk about points being “close” or “far” from each other.
Angle Between Vectors
Vector Orthogonality
Pythagorean Theorem
If , then,
Inner Product Space
A vector space that has an inner product associated with it is an inner product space. On some vector space we can define multiple inner products, and so give rise to many inner product spaces from the same underlying vector space. There can also be a vector space with no inner product.
Examples of Inner Product Spaces
The real numbers , where the inner product is .
Euclidean space, , where the inner product is the dot product, .