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×V→F and satisfies the bilinear form axioms:
where for a complex number z=a+ib∈C the complex conjugate is z=a−ib∈C. If F=R then conjugation has no effect and sesquilinear and bilinear forms are the same.
A sesquilinear form is conjugate symmetric if ⟨v1,v2⟩=⟨v2,v1⟩∀v1,v2∈V. If F=R conjugate symmetry is simply symmetry: ⟨v1,v2⟩=⟨v2,v1⟩. Conjugate symmetry implies that ⟨v,v⟩ is real for every v∈V.
A conjugate symmetric form is positive definite if ⟨v,v⟩>0∀v∈V∖{0},negative definite if ⟨v,v⟩<0∀v∈V∖{0},positive semi-definite if ⟨v,v⟩≥0∀v∈V∖{0} and negative semi-definite if ⟨v,v⟩≤0∀v∈V∖{0}.
An inner product is a positive definite, conjugate symmetric sesquilinear form on V. When F=R this is a positive definite, symmetric bilinear form. When F=C the form cannot be bilinear: a conjugate symmetric bilinear form would give ⟨iv,iv⟩=−⟨v,v⟩, contradicting positive definiteness. 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 v∈V. The norm or length∥v∥ of v is the square root of the inner product with itself:
∥v∥:=⟨v,v⟩∈R
The Cauchy-Schwarz inequality states that for an inner product space V and v1,v2∈V:
∣⟨v1,v2⟩∣≤∥v1∥∥v2∥
with equality if and only if v1 and v2 are linearly dependent.
Let V be an inner product space over R. The angleθ between two non-zero vectors u,v∈V is defined as the inverse cosine of the quotient of the inner product of the two vectors and the product of their norms:
θ:=cos−1(∥u∥∥v∥⟨u,v⟩)∈[0,π]
The Cauchy-Schwarz inequality guarantees that the quotient lies in [−1,1].
Two vectors u,v∈V are orthogonal to each other u⊥v if ⟨u,v⟩=0. If u and v are orthogonal unit vectors ∥u∥=∥v∥=1 then they are orthonormal.
For a subset of vectors U⊆V, 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,…un∈U in an inner product space U. The resultant orthonormalised vectors v1,…vn span the same subspace as u1,…un; more precisely, v1,…vk span the same subspace as u1,…uk for each k. If u1,…un is a basis of U then v1,…vn is an orthonormal basis of U.