ELIAS EBNER

  • Home
  • Blog
  • Courses
  • About

Linear Algebra

  1. Vectors
    1. Scalars
    2. Vectors vs Sets
    3. Addition and Subtraction
    4. Scalar Multiplication
    5. Zero Vectors
    6. Linear Combinations
    7. Real Dot Product
    8. Length of a Vector
    9. Orthogonal Vectors
    10. Parallel Vectors
    11. Angle Between Vectors
    12. Unit Vectors
  2. Matrices
    1. Notation
    2. Indexing
    3. Submatrices
    4. Matrix-by-Vector Product
    5. Addition and Subtraction
    6. Scalar Multiplication
    7. Transpose
    8. Symmetries
    9. Matrix Multiplication
    10. Identity Matrix
    11. Non-Negative Integer Powers
    12. Reverse Order Law of Transposition
  3. Linear Systems
    1. Inverse Matrices
    2. Singular Matrices
    3. Linear Dependence
    4. Solutions
  4. Planes
    1. Vector Cross Product
  5. Gaussian Elimination
Linear Algebra β€ΊVectors β€ΊOrthogonal Vectors

Determining Whether Two Vectors are Orthogonal

Two vectors are orthogonal (or perpendicular) if the angle between them is a right angle. Even though we cannot use the visual aid of a right angle in dimensions higher than the third dimension, the concept of two β€œorthogonal vectors” still exists in the fourth, fifth, and higher dimensions.

The notion of two vectors v⃗\vec{v}v and w⃗\vec{w}w being orthogonal is denoted by the symbol

vβƒ—βŠ₯wβƒ—.\vec{v} \perp \vec{w}.vβŠ₯w.

We observe that the length hypotenuse of a right-angled triangle formed by connecting two vectors starting from the same origin is just βˆ₯vβƒ—+wβƒ—βˆ₯\lVert \vec{v} + \vec{w} \rVertβˆ₯v+wβˆ₯:

We remind ourselves of how we calculate the length of a vector:

βˆ₯vβƒ—βˆ₯=vβƒ—β‹…vβƒ—.\lVert \vec{v} \rVert = \sqrt{\vec{v} \cdot \vec{v}}.βˆ₯vβˆ₯=vβ‹…v​.

We make use of the Pythagorean Theorem:

βˆ₯vβƒ—βˆ₯2+βˆ₯wβƒ—βˆ₯2=βˆ₯vβƒ—+wβƒ—βˆ₯2.\lVert \vec{v} \rVert^2 + \lVert \vec{w} \rVert^2 = \lVert \vec{v} + \vec{w} \rVert^2.βˆ₯vβˆ₯2+βˆ₯wβˆ₯2=βˆ₯v+wβˆ₯2.

We simplify:

0=βˆ₯vβƒ—βˆ₯2+βˆ₯wβƒ—βˆ₯2βˆ’βˆ₯vβƒ—+wβƒ—βˆ₯2=vβƒ—β‹…vβƒ—+wβƒ—β‹…wβƒ—βˆ’(vβƒ—+wβƒ—)β‹…(vβƒ—+wβƒ—)=vβƒ—β‹…vβƒ—+wβƒ—β‹…wβƒ—βˆ’(vβƒ—β‹…vβƒ—+2vβƒ—β‹…wβƒ—+wβƒ—β‹…wβƒ—)=vβƒ—β‹…vβƒ—+wβƒ—β‹…wβƒ—βˆ’vβƒ—β‹…vβƒ—βˆ’2vβƒ—β‹…wβƒ—βˆ’wβƒ—β‹…wβƒ—=βˆ’2vβƒ—β‹…wβƒ—,\begin{align*} 0 &= \lVert \vec{v} \rVert^2 + \lVert \vec{w} \rVert^2 - \lVert \vec{v} + \vec{w} \rVert^2 \\ &= \vec{v} \cdot \vec{v} + \vec{w} \cdot \vec{w} - (\vec{v} + \vec{w}) \cdot (\vec{v} + \vec{w}) \\ &= \vec{v} \cdot \vec{v} + \vec{w} \cdot \vec{w} - (\vec{v} \cdot \vec{v} + 2\vec{v} \cdot \vec{w} + \vec{w} \cdot \vec{w}) \\ &= \vec{v} \cdot \vec{v} + \vec{w} \cdot \vec{w} - \vec{v} \cdot \vec{v} - 2\vec{v} \cdot \vec{w} - \vec{w} \cdot \vec{w} \\ &= - 2\vec{v} \cdot \vec{w}, \\ \end{align*}0​=βˆ₯vβˆ₯2+βˆ₯wβˆ₯2βˆ’βˆ₯v+wβˆ₯2=vβ‹…v+wβ‹…wβˆ’(v+w)β‹…(v+w)=vβ‹…v+wβ‹…wβˆ’(vβ‹…v+2vβ‹…w+wβ‹…w)=vβ‹…v+wβ‹…wβˆ’vβ‹…vβˆ’2vβ‹…wβˆ’wβ‹…w=βˆ’2vβ‹…w,​

and therefore

v⃗⋅w⃗=0.\vec{v} \cdot \vec{w} = 0.v⋅w=0.

What have we just shown? The Pythagorean Theorem - which remember, only holds for right-angled triangles - holds if and only if the dot product of the two vectors that we used to form the triangle with equals 000.

Therefore, if the dot product between the two vectors is 000, the triangle they form must be a right-angled triangle, which means that the two vectors are orthogonal.

The notion of a β€œright angle” is not available in higher dimensions, which is why - in higher dimensions - orthogonality is defined through the dot product definition shown above.

So in practice, if the dot product between two real vectors is 000, they are orthogonal. If it isn’t 000, they’re not. This holds for any number of dimensions.

Zero Vector

According to this definition, the zero vector is orthogonal to all other vectors, since for all vectors v⃗\vec{v}v

v⃗⋅0⃗=0.\vec{v} \cdot \vec{0} = 0.v⋅0=0.

Examples

The two vectors

vβƒ—=[123]\vec{v} = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}v=​123​​

and

wβƒ—=[2βˆ’10]\vec{w} = \begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix}w=​2βˆ’10​​

are orthogonal, because

vβƒ—β‹…wβƒ—=[123]β‹…[2βˆ’10]=1β‹…2+2β‹…(βˆ’1)+3β‹…0=2βˆ’2+0=0.\begin{align*} \vec{v} \cdot \vec{w} &= \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix} \cdot \begin{bmatrix} 2 \\ -1 \\ 0 \end{bmatrix} \\ &= 1 \cdot 2 + 2 \cdot (-1) + 3 \cdot 0 \\ &= 2 - 2 + 0 \\ &= 0. \end{align*}vβ‹…w​=​123​​⋅​2βˆ’10​​=1β‹…2+2β‹…(βˆ’1)+3β‹…0=2βˆ’2+0=0.​

On the other hand, the two vectors

vβƒ—=[38]\vec{v} = \begin{bmatrix} 3 \\ 8 \end{bmatrix}v=[38​]

and

wβƒ—=[βˆ’60]\vec{w} = \begin{bmatrix} -6 \\ 0 \end{bmatrix}w=[βˆ’60​]

are not orthogonal, because

vβƒ—β‹…wβƒ—=[38]β‹…[βˆ’60]=3β‹…(βˆ’6)+8β‹…0=βˆ’18+0=βˆ’18β‰ 0.\begin{align*} \vec{v} \cdot \vec{w} &= \begin{bmatrix} 3 \\ 8 \end{bmatrix} \cdot \begin{bmatrix} -6 \\ 0 \end{bmatrix} \\ &= 3 \cdot (-6) + 8 \cdot 0 \\ &= -18 + 0 \\ &= -18 \ne 0. \end{align*}vβ‹…w​=[38​]β‹…[βˆ’60​]=3β‹…(βˆ’6)+8β‹…0=βˆ’18+0=βˆ’18ξ€ =0.​
Previous
Finding the Length of a Vector
Next
Determining Whether Two Vectors Are Parallel
This website does not collect personal data, does not use cookies, and does not perform any tracking.