Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 6

Orthogonality and the Dot Product

Recommended resources

In our last lesson, we discovered the powerful connection between the dot product and the angle between two vectors, encapsulated in the formula . We concluded by looking at the special case where the dot product is zero, which implies the angle between the vectors is .

This lesson is dedicated entirely to that special case. We will formally define and explore the concept of orthogonality, the precise term in linear algebra for perpendicularity. By mastering this concept, you will gain a simple yet profound tool for analyzing the geometric relationship between vectors using only a quick algebraic calculation. This is the final topic in our module on the foundations of vectors, and it lays essential groundwork for many concepts to come.

What Does "Orthogonal" Mean?

In geometry, you learned about perpendicular lines. In linear algebra, we use the term orthogonal to describe vectors that are at a angle to each other. While the words are different, the core geometric idea is the same.

The video below offers a quick explanation of the term.

Orthogonal, parallel or neither (vectors) (KristaKingMath)

This short clip from KristaKingMath introduces the concept of orthogonal vectors.

Watch from the beginning to understand how "orthogonal" relates to the more familiar term "perpendicular."

As the video explains, orthogonality signifies a 90-degree angle between two vectors.


The Dot Product Test for Orthogonality

In the previous lesson, we saw that if for two non-zero vectors, then , which means . This relationship works both ways. If the angle is , then , which forces the dot product to be zero.

This gives us a simple, powerful, and definitive test for orthogonality.

Two non-zero vectors and are orthogonal if and only if their dot product is zero.

(The symbol is often used to denote orthogonality).

This is a cornerstone concept. Instead of calculating magnitudes and using inverse cosine to find an angle, we can perform one simple calculation—the dot product. If the result is zero, we know instantly that the vectors are orthogonal.

The video from our previous lesson summarizes this point perfectly.

The Vector Dot Product

Let's revisit the concluding insight from the "The Vector Dot Product" video by Professor Dave Explains.

Watch the brief segment from this timestamp. It clearly states that a dot product of zero is the key indicator of orthogonality.


Applying the Orthogonality Test: Examples

Let's see this test in action. To determine if two vectors are orthogonal, you simply compute their dot product.

The following video provides several clear examples of applying this test. We'll work through them one by one.

Orthogonal, parallel or neither (vectors) (KristaKingMath)

This video from KristaKingMath, "Orthogonal, parallel or neither," demonstrates the dot product test with several vector pairs.

We will focus on the parts about orthogonality. First, watch this example with two 3D vectors from the start of the problem.

In the example you just watched, the vectors were and . The dot product was calculated as:

Since the dot product is , which is not zero, the vectors are not orthogonal.

Now, let's look at a case where the vectors are orthogonal.


Continue with the same video, watching the next example with 2D vectors from this point.

Here, the vectors were and . The calculation was:

Because the dot product is exactly zero, we can conclude that these two vectors are orthogonal.

Finally, the same principle applies regardless of how the vectors are written. Vectors are often expressed using the standard basis vectors , , and , which represent the directions of the x, y, and z axes, respectively. To apply the test, you first convert this notation into the component form we're used to.


Watch the final example from the video, starting at this timestamp. Pay attention to how the vectors are first converted to component form.

The vectors were and .

  1. Convert to component form:
  2. Calculate the dot product:

Again, the dot product is zero, so the vectors are orthogonal.


A Special Case: The Zero Vector

What about the zero vector, ? The dot product of the zero vector with any other vector is:

The dot product is always zero. Geometrically, the concept of an "angle" with the zero vector is undefined. However, based on our algebraic test (), we adopt a very useful convention:

The zero vector is considered orthogonal to every vector in its space.


Conclusion

This lesson concludes our first module by focusing on one of the most elegant and useful consequences of the dot product. We have established a simple and infallible test for a fundamental geometric property.

Here are the key takeaways:

  • Orthogonality is the term for two vectors being perpendicular (at a angle).
  • The definitive test for orthogonality is the dot product: two non-zero vectors are orthogonal if and only if their dot product equals zero.
  • The zero vector is, by convention, considered orthogonal to all vectors.

You have now built a solid foundation in the world of vectors. You can represent them, perform basic arithmetic with them, measure their length, and determine the angle between them, including the special case of orthogonality.

In the next module, we will move from individual vectors to a more powerful structure: the matrix. A matrix can be seen as a collection of vectors, and understanding them will open the door to solving systems of linear equations, describing complex transformations, and much more. The vector properties you've learned here, especially orthogonality, will be crucial as we proceed.