Let V be a vector space over the field F. A bilinear form on V is a function from pairs of vectors in V to F written ,:V×VF and satisfies the bilinear form axioms:

λv1+μv2,v3=λv1,v3+μv2,v3v1,v2,v3V,λ,μF v1,λv2+μv3=λv1,v2+μv1,v3v1,v2,v3V,λ,μF.

A bilinear form is conjugate symmetric if v1,v2=v2,v1v1,v2V where for a complex number z=a+ibC the complex conjugate is z=aibC. If F=R conjugate symmetry is simply symmetry: v1,v2=v2,v1.

A bilinear form is positive definite if v,v>0vV{0}, negative definite if v,v<0vV{0}, positive semi-definite if v,v0vV{0} and negative semi-definite if v,v0vV{0}.

An inner product is a positive definite, conjugate symmetric bilinear form on V. A vector space is an inner product space if it is equipped with the inner product.

Let V be an inner product space over the field F and vV. The norm or length v of v is the square root of the inner product with itself:

v:=v,vR

The angle θ between two vectors u,vV is defined as the inverse cosine of the quotient of the inner product of the two vectors and the product of their norms:

θ:=cos1(u,vuv)[0,π]

Two vectors u,vV are orthogonal to each other uv if u,v=0. If u and v are unit vectors u=v=1 then they are orthonormal.

For a subset of vectors UV, they are said to be an orthogonal set or orthonormal set if all vectors contained within the sets are pairwise orthogonal or orthonormal respectively. Orthonormal sets are linearly independent and a set of n orthonormal vectors in an n-dimensional vector space is a basis.

The Gram-Schmidt orthonormalisation procedure is a method to orthonormalise a set of linearly independent vectors u1,unU in an inner product space U. The resultant orthonormalised vectors v1,vn will span U.

w1:=u1v1:=w1w1w2:=u2(u2v1)v1v2:=w2w2wn:=uni=1n1(unvi)vivn:=wnwn

The Cauchy-Schwarz inequality states that for an inner product space V and v1,v2V:

|v1,v2|v1v2

with equality if and only if v1 and v2 are linearly dependent.