Theory
Inner product, orthogonality and the spectral theorem
The standard inner product, norm and angles, orthonormal bases, orthogonal projections with the Gram-Schmidt process, orthogonal matrices and the orthogonal diagonalisation of symmetric matrices.
Standard inner product and norm
1. Standard inner product
Given and in , the standard inner product of and is the real number
also denoted by . Writing the vectors as columns one gets , that is, the row-by-column product of the row by the column ; this is the form used in computations with matrices. For and one obtains . In and in the definition coincides with the inner product of geometric vectors, for which we refer to the topic on vectors in the plane and in space.
2. Properties of the inner product
For every and every the following hold:
- symmetry: ;
- bilinearity: , and likewise in the second argument;
- positive definiteness: , with equality only if .
The three properties follow directly from the definition, because the inner product is a sum of products of components. Bilinearity makes it possible to expand products as in algebra: for example .
Inner products on a vector space
On any real vector space , an inner product is any function that is symmetric, bilinear and positive definite. An example on is , which is the sum of the products of the entries in the same position. The definitions and theorems of this topic use only the three properties, therefore they hold for every inner product; in exam exercises the inner product is almost always the standard one on .
3. Norm and distance
The norm of is the number
and the distance between and is . By positive definiteness the norm is zero only for the zero vector; from bilinearity it follows that . A vector of norm is called a unit vector: if , the vector is a unit vector parallel to and pointing in the same direction as , and passing from to its unit vector is called normalization. For one has , therefore the unit vector is .
Cauchy-Schwarz inequality and angle between vectors
1. Cauchy-Schwarz inequality
For every
and equality holds if and only if and are linearly dependent. The inequality guarantees that, for nonzero and , the quotient lies in , and the definition of angle in is based on this fact.
Proof
If both sides are zero and the vectors are dependent. Let . For every , positive definiteness and bilinearity give
The right-hand side is a quadratic polynomial in with positive leading coefficient that takes no negative values, therefore its discriminant is less than or equal to zero:
that is, , from which the statement follows by taking the square root. The discriminant is zero if and only if the polynomial has a root , that is, if and only if ; by positive definiteness this is equivalent to , that is, to the linear dependence of and .
2. Triangle inequality
For every one has . In terms of distances, for every : in a triangle each side is less than or equal to the sum of the other two.
Proof
Expanding with bilinearity and applying the Cauchy-Schwarz inequality one obtains
and the statement follows by taking the square root, since both sides are nonnegative.
3. Angle between two vectors
Let be nonzero. The angle between and is the unique such that
The definition makes sense for every thanks to the Cauchy-Schwarz inequality, and in and it gives the geometric angle. The sign of the inner product gives the type of angle: is acute if , right if , obtuse if . For and one gets , , , therefore and .
End of the free preview
The theory of this topic continues with 8 more sections
- Orthogonality and orthonormal bases
- Orthogonal projection
- The Gram-Schmidt process
- Orthogonal complement
- Orthogonal matrices
- The spectral theorem
- Orthogonal diagonalization
- Keep studying
Full access also includes the other 4 worked examples of this topic and the solutions of the 13 practice exercises.
Unlock Linear algebra · €39Read the first 3 worked examples in this chapter for free.