6.1 Inner Products: Class Notes
Definition
An inner product on a real vector space is a function that associates a real number with each pair of vectors in in such a way that the following axioms are satisfied for all vectors , , and in and all scalars .
- (symmetry axiom)
- (additivity axiom)
- (homogeneity axiom)
- and if and only if (positivity axiom)
Definition
A real vector space with an inner product is called a real inner product space.
Note that an inner product is a category of operation that is performed on vectors in a vector space. As long as an operation satisfies these four axioms, it is an inner product.
Building up the structures:
- A collection of objects is a set.
- A set together with a particularly defined addition and scalar multiplication is a vector space.
- A vector space with an inner product is an inner product space.
Examples of Inner Products
- The dot product is the Euclidean inner product or standard inner product on . [ with the Euclidean inner product is called Euclidean -space.]
- If and are vectors in and are positive real numbers, then the formula is called the weighted Euclidean inner product with weights .
- On , the set of matrices: If and are matrices in the vector space , then the formula is the standard inner product on .
- If and are polynomials in , then the standard inner product on is . (Note the similarity in form to the dot product.)
- If and are polynomials in and if are distinct real numbers, then the formula is the evaluation inner product at .
- If and are two functions in , then defines an inner product on .
- If and are vectors in expressed in column form, is an invertible matrix, and is the Euclidean inner product on , then the formula is the inner product on generated by . This is an example of a matrix inner product.
Tip: For the evaluation inner product, it helps to make a table with columns for , , and (one row for each point ), then multiply across each row and add the products (see #16).
#10
Compute the standard inner product on of the given matrices.
Solution
The standard inner product on is .
Answer:
Note that the order doesn’t matter (symmetry axiom):
Why the trace works like a dot product. Let
The trace adds only the diagonal entries:
So multiplies matching entries of and and adds the products: it is basically a dot product of the entries. For #10, pair each entry of with the entry in the same position of :
#11
Find the standard inner product on of the given polynomials.
,
Solution
For and , . The polynomial has no term, so .
Answer:
#16
A sequence of sample points is given. Use the evaluation inner product on at those sample points to find for the polynomials and .
, , ,
Solution
Evaluate both polynomials at each sample point, then multiply the two values at each point:
Add the products:
Answer:
#8
Use the inner product on generated by the matrix to find for the vectors and .
Solution
The inner product generated by is . Write the vectors as columns and multiply:
Answer:
In general, since (see Table 1 in Section 3.2), we have
Example: A weighted Euclidean inner product
For this class, homework is worth 10%, exams 60%, and the final 30% of the grade. Suppose we have 4 exams, each with 100 points possible. The final has 100 points possible, and the total possible homework points is 320.
is the points earned, and is the base for each category.
The Euclidean inner product does not factor in the category weights. Instead, define
Then
so Student A has about 86% in the class. This is a weighted Euclidean inner product with weights , , and .
Considering a matrix inner product, a weighted Euclidean inner product is generated by
Then .
Definition
If is a real inner product space, then the norm or length of a vector in is denoted by and is defined by and the distance between two vectors is denoted by and is defined by . A vector of norm 1 is called a unit vector.
#1
Let have the weighted Euclidean inner product and let , , , and . Compute the stated quantities.
a. b. c. d. e. f.
Solution
a.
Answer:
b. Here , so
Answer:
Note: , as the homogeneity axiom says.
c. Here , so
Answer:
Note: and , and , as the additivity axiom says.
d.
Answer:
e. , where .
Answer:
f. Here , so
Answer:
Theorem 6.1.1 Norms and Distances in Inner Product Spaces
If and are vectors in a real inner product space , and if is a scalar, then:
a) with equality if and only if (analogous to Theorem 3.2.1 (a) and (b)).
b) (analogous to Theorem 3.2.1 (c)).
c) (analogous to Theorem 3.2.2 (d)).
d) with equality if and only if (ibid).
#37
Let the vector space have the inner product . Find the following for and .
a. b. c. d.
Solution
a.
Answer:
b.
The integrand is even, so the integral from to 1 is twice the integral from 0 to 1:
Answer:
c.
Answer:
d. Here , so .
Answer:
Definition
If is an inner product space, then the set of points in that satisfy is called the unit sphere in (or the unit circle in the case where ).
The Euclidean inner product in gives us the unit circle. A weighted Euclidean inner product in gives us a distorted circle, also known as an ellipse.
In the case of the integral inner product, like in #37, the unit sphere consists of all functions such that
Examples:
Theorem 6.1.2 Algebraic Properties of Inner Products (generalization of Theorem 3.2.3)
If , and are vectors in a real inner product space , and if is a scalar, then:
a)
b)
c)
d)
e)
Proving these is a good practice exercise.