Skip to main content

Dot Product: Corollaries

As we have previously seen, the dot product of two vectors has two main interpretations: the geometric interpretation and the algebraic interpretation. In this note, we will explore some things that can be derived from the dot product.

Table of Contents

What is a Corollary?

Before proceeding, let's define what a corollary is.

Suppose we prove some theorem to be true. A corollary is a statement that can be derived from this theorem without much additional proof.

In a sense, a corollary is essentially a "bonus" that comes with the theorem.

A simple example is the Cosine rule. The Cosine rule states that for a triangle with sides , , and , and angles , , and , the following holds:

From this, we can derive the Pythagorean theorem as a corollary by setting .

Orthogonality

Recall the geometric interpretation of the dot product:

You can visualize this projection in real life by shining a light on top of the table, and then holding a pencil at an angle to the table. From this, you will see a shadow of the pencil on the table, which is the projection of the pencil onto the table.

Two vectors are orthogonal if they are perpendicular to each other; that is, the angle between them is .

From the geometric interpretation of the dot product, we can see that if two vectors are orthogonal, then the projection of one vector onto the other is . Try it in real life - hold a pencil directly perpendicular to the table, and shine a light on top of the table. You will see that there's no shadow of the pencil on the table.

Interesting Fact

In certain places in the world, the sun is directly overhead at noon - this is called the zenith. When this happens, the day is known as a Lāhainā Noon, or a zero-shadow day.

Lāhainā Noon

A level photographed during Lāhainā Noon in Hawaii. Image by Wikipedia

This is just like how the dot product's projection works.

Since this projection is , the dot product of two orthogonal vectors is . Thus, we have the following corollary:

If , then and are orthogonal.

Identifying Angle Between Vectors

From the geometric interpretation of the dot product, we have the following formula:

where is the angle between the two vectors. We can rearrange this formula to isolate :

Recall that the dot product has a definition in terms of the components of the vectors:

Thus, with all of this in mind, we can derive the following corollary:

The angle between two vectors and is given by:

This is very useful when finding the angle between two vectors, especially in higher dimensions.

Dot Product of Two Identical Vectors

Consider the dot product of a vector with itself:

We can interpret this in three ways:

  1. The dot product is the product of the magnitudes of the vectors and the cosine of the angle between them. Since the angle between a vector and itself is , the cosine of the angle is . Thus, the dot product of a vector with itself is the square of the magnitude of the vector:

  2. The dot product is the product of the projection of one vector onto the other and the magnitude of the other vector. Since the projection of a vector onto itself is the vector itself (imagine projecting a pencil onto itself), the projection is the magnitude of the vector. Thus, the dot product of a vector with itself is the square of the magnitude of the vector:

  3. The dot product is the sum of the products of the components of the vectors. Simply plugging in the components of the vector into the dot product formula, we have:

From these three interpretations, we have the following corollary:

The dot product of a vector with itself is the square of the magnitude of the vector:

Basis Vectors and the Kronecker Delta

In 3D space, we can represent any vector as a linear combination of three unit vectors: , , and . Since they are linearly independent and span the space, they are valid basis vectors.

These three basis vectors are orthogonal to each other, meaning they have an angle of between them.

For the purposes of this discussion, let's rewrite the basis vectors , , and as , , and respectively. This allows us to easily generalize to higher dimensions. We can make the following observations:

  1. The dot product of a basis vector with itself is the square of its magnitude, i.e. . Thus:

  2. The dot product of two different basis vectors is , since they are orthogonal to each other. Thus:

Let's think about how we can combine these two observations. We can say, given two basis vectors and :

There is a special symbol that represents the right-hand side of this equation: the Kronecker Delta, denoted by :

This is a very useful tool when working with basis vectors and the dot product, and we will use this in the future. This is also a very important concept used extensively in a field known as tensor calculus.

Cauchy-Schwarz Inequality

Hold the pencil at an angle to the table again, and shine a light on top of the table.

Notice that the shadow (the projection) of the pencil is always shorter than the pencil itself. At best, the shadow is the same length as the pencil when the pencil is flat on the table (they are parallel).

Let's see how we can write this more formally. Our observation has two parts:

  1. The shadow of the pencil is always less than or equal to the length of the pencil. Turning this into a logical statement, we have:

    This means that the dot product of two vectors is less than or equal to the product of their magnitudes:

    Notice that we have taken the absolute value of the dot product, since we are only interested in the length of the projection, which is always positive.

  2. The shadow of the pencil is at most the length of the pencil when the pencil is flat on the table. This means that the dot product of two vectors is equal to the product of their magnitudes when the vectors are parallel:

    This means that the dot product of two vectors is equal to the product of their magnitudes when the vectors are parallel. In order for two vectors to be parallel, they must have the same direction. In other words, one vector must be a scalar multiple of the other.

    Thus:

From Equations and , we have the following corollary, known as the Cauchy-Schwarz Inequality:

For any two vectors and :

Another way to interpret this theorem is that it is a description of how the cosine of an angle behaves. We have:

  1. for any angle .
  2. if and only if and are parallel, that is, .

Then, if we just multiply both sides by the magnitudes of the vectors, we get the Cauchy-Schwarz Inequality:

Beyond introductory linear algebra, the Cauchy-Schwarz Inequality can be further generalized to inner product spaces (some info is included in the Appendix of the previous page), and it has many applications in various fields. For instance, it is actually used to prove the Uncertainty Principle in quantum mechanics.

Vector Triangle Inequality

This is a corollary of the Cauchy-Schwarz Inequality. Before proceeding, let's recall the triangle inequality for real numbers - the sum of the lengths of any two sides of a triangle is greater than the length of the third side.

This is trivial when we think about it geometrically. Now, let's see how this can be extended to vectors.

Suppose two vectors and are placed head-to-tail. Consider their sum . If we draw all three vectors, we will get a triangle:

From the triangle inequality for real numbers, we have:

This is known as the Vector Triangle Inequality.

Proof from Cauchy-Schwarz Inequality

To prove the Vector Triangle Inequality, we can start with the square of the magnitude of the sum of two vectors (which is the longer side of the triangle):

We can expand the right-hand side using the distributive property:

Notice that we have a term. By the Cauchy-Schwarz Inequality, we know that:

If we substitute this into the equation, we get that:

The right-hand side simplifies to:

Thus, we have:

Taking the principal square root of both sides, we get the Vector Triangle Inequality:

Summary and Next Steps

In this page, we explored some corollaries of the dot product. We derived these corollaries from the geometric interpretation of the dot product, and they are very useful in various applications.

Here are the key things to remember:

  1. If the dot product of two vectors is , then the vectors are orthogonal.

  2. The angle between two vectors can be found using the dot product:

  3. The dot product of a vector with itself is the square of the magnitude of the vector:

  4. The dot product of two vectors is less than or equal to the product of their magnitudes, and is equal to the product of their magnitudes when the vectors are parallel. This is known as the Cauchy-Schwarz Inequality:

  5. The sum of the lengths of any two sides of a triangle is greater than the length of the third side:

In the next page, we will finally explain why the two definitions of the dot product are equivalent.