Lecture Notes

9. Inner Products

Part of the Series on Linear Algebra.

By Akshay Agrawal. Last updated Nov. 3, 2018.

Previous entry: Column Rank Equals Row Rank ; Next entry: Isometries

Inner Products and Induced Norms

Definition 9.1. An inner product on a real vector space is a function that satisfies the following properties:

  1. Positivity: for all .
  2. Definiteness: if and only if .
  3. Symmetry: .
  4. Additivity in each argument: .
  5. Homogeneity in each argument: .

Examples of inner products include the dot product on , and, on the space of continuous real-valued functions on , .

Definition 9.2. The norm on a vector space induced by an inner product is a function given by

for .

For example, on , the norm induced by the dot product is given by .

Orthogonality

Definition 9.3. Two vectors , are orthogonal if .

In , two vectors are orthogonal if and only if they are perpindicular to each other. In fact, in , we can relate the inner product between two nonzero vectors to the angle between them:

In higher dimensions, we define the angle between two vectors as

Orthonormal Bases

A set of vectors is called orthonormal if they are mutually orthogonal and have norm equal to one. It is simple to determine the coordinates of with respect to an orthonormal basis of . In particular,

The Pythagorean Theorem

In two dimensions, the Pythagorean theorem states that for any right triangle, the sum of the squared side lengths equals the length of the hypotenuse squared. We can generalize this result to higher dimensions using linear algebra.

Theorem 9.4. For orthogonal vectors , .

The proof follows by expanding the lefthand side and simplifying it by using the definition of orthogonality.

We can use the Pythagorean theorem to write any vector as , with ; simply take and .

The Cauchy-Schwarz Inequality

The inequality stated in the following theorem is called the Cauchy-Schwarz inequality. It is one of the most important inequalities in mathematics.

Theorem 9.5. Let . Then , with equality if and only if for some scalar .

Proof. Write

By the Pythagorean theorem,

Multiplying through by and taking the square root of both sides furnishes the result.

The Triangle Inequality

Theorem 9.6. Let . Then .

One way to prove the above is to square and then expand the lefthand side, and then to bound the inner-product term with Cauchy-Schwarz.

Note that this implies that . The triangle inequality also implies , which is known as the reverse triangle inequality.

References

Linear Algebra Done Right, by Sheldon Axler.