\(\vec{u} = \begin{pmatrix} 2 \\ 3 \\ 1 \end{pmatrix}\)
and
\(\vec{v} = \begin{pmatrix} -3 \\ 2 \\ 0 \end{pmatrix}\)
are orthogonal.
Orthogonal vectors: Two vectors \(\vec{u}\) and \(\vec{v}\) are orthogonal if their dot product equals zero: \(\vec{u} \cdot \vec{v} = 0\)
- Calculate the dot product \(\vec{u} \cdot \vec{v}\)
- Apply the dot product formula: \(\vec{u} \cdot \vec{v} = u_1v_1 + u_2v_2 + u_3v_3\)
- Check if the result equals zero
\(\vec{u} = \begin{pmatrix} u_1 \\ u_2 \\ u_3 \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \\ 1 \end{pmatrix}\) and \(\vec{v} = \begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix} = \begin{pmatrix} -3 \\ 2 \\ 0 \end{pmatrix}\)
\(\vec{u} \cdot \vec{v} = u_1v_1 + u_2v_2 + u_3v_3\)
\(\vec{u} \cdot \vec{v} = (2)(-3) + (3)(2) + (1)(0)\)
\(2 \times -3 = -6\), \(3 \times 2 = 6\), \(1 \times 0 = 0\)
\(-6 + 6 + 0 = 0\)
Since \(\vec{u} \cdot \vec{v} = 0\), the vectors are orthogonal
\(\vec{u} \cdot \vec{v} = -6 + 6 + 0 = 0\), therefore the vectors are orthogonal
• Dot Product: \(\vec{u} \cdot \vec{v} = \sum_{i=1}^{n} u_i v_i\)
• Orthogonality: \(\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0\)
• Component Multiplication: Multiply corresponding components
\(\vec{w} = \begin{pmatrix} 4 \\ -3 \\ 0 \end{pmatrix}\)
to obtain a unit vector.
Unit vector: A vector with magnitude (norm) equal to 1. To normalize a vector \(\vec{v}\), divide it by its norm: \(\hat{v} = \frac{\vec{v}}{||\vec{v}||}\)
\(||\vec{w}|| = \sqrt{w_1^2 + w_2^2 + w_3^2}\)
\(||\vec{w}|| = \sqrt{4^2 + (-3)^2 + 0^2} = \sqrt{16 + 9 + 0} = \sqrt{25} = 5\)
\(\hat{w} = \frac{\vec{w}}{||\vec{w}||} = \frac{1}{5}\begin{pmatrix} 4 \\ -3 \\ 0 \end{pmatrix}\)
\(\hat{w}_1 = \frac{4}{5}\), \(\hat{w}_2 = \frac{-3}{5}\), \(\hat{w}_3 = \frac{0}{5} = 0\)
\(||\hat{w}|| = \sqrt{(\frac{4}{5})^2 + (\frac{-3}{5})^2 + 0^2} = \sqrt{\frac{16}{25} + \frac{9}{25}} = \sqrt{\frac{25}{25}} = 1\)
The normalized vector is \(\hat{w} = \begin{pmatrix} \frac{4}{5} \\ -\frac{3}{5} \\ 0 \end{pmatrix}\)
• Vector Norm: \(||\vec{v}|| = \sqrt{\sum_{i=1}^{n} v_i^2}\)
• Normalization: \(\hat{v} = \frac{\vec{v}}{||\vec{v}||}\)
• Unit Vector Property: \(||\hat{v}|| = 1\)
\(\left\{ \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \right\}\)
forms an orthogonal basis for \(\mathbb{R}^3\).
Orthogonal basis: A basis where all vectors are pairwise orthogonal (their dot products equal zero)
\(\vec{e_1} = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}\), \(\vec{e_2} = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}\), \(\vec{e_3} = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}\)
\(\vec{e_1} \cdot \vec{e_2} = (1)(0) + (0)(1) + (0)(0) = 0\)
\(\vec{e_1} \cdot \vec{e_3} = (1)(0) + (0)(0) + (0)(1) = 0\)
\(\vec{e_2} \cdot \vec{e_3} = (0)(0) + (1)(0) + (0)(1) = 0\)
These are standard basis vectors, which are linearly independent by definition
Three linearly independent vectors in \(\mathbb{R}^3\) span the space
All vectors are pairwise orthogonal and form a basis, so this is an orthogonal basis
Yes, this set forms an orthogonal basis for \(\mathbb{R}^3\) because all vectors are pairwise orthogonal and linearly independent
• Orthogonality Test: Check all pairwise dot products equal zero
• Basis Requirements: Linear independence + spanning
• Dimension Count: Need n vectors for \(\mathbb{R}^n\)
Orthogonal vectors: Vectors whose dot product equals zero, indicating they are perpendicular
Orthonormal vectors: Orthogonal vectors that also have unit length (norm = 1)
Orthogonal basis: A basis where all vectors are pairwise orthogonal
Orthonormal basis: An orthogonal basis where all vectors have unit length
- Orthogonality test: Calculate dot product and check if it equals zero
- Normalization: Divide vector by its norm to get unit vector
- Gram-Schmidt process: Convert any basis to orthogonal basis
- Verification: Check all pairwise dot products for orthogonality
• Dot product: \(\vec{u} \cdot \vec{v} = \sum_{i=1}^{n} u_i v_i\)
• Vector norm: \(||\vec{v}|| = \sqrt{\vec{v} \cdot \vec{v}}\)
• Normalization: \(\hat{v} = \frac{\vec{v}}{||\vec{v}||}\)
• Orthogonality: \(\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0\)
• Gram-Schmidt: \(\vec{u_k} = \vec{v_k} - \sum_{i=1}^{k-1} \text{proj}_{\vec{u_i}}\vec{v_k}\)
\(\left\{ \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}, \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} \right\}\)
into an orthogonal basis.
Gram-Schmidt process: A method to construct an orthogonal basis from any given basis using vector projections
\(\vec{u_1} = \vec{v_1} = \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}\)
\(\vec{u_2} = \vec{v_2} - \text{proj}_{\vec{u_1}}\vec{v_2}\)
\(\text{proj}_{\vec{u_1}}\vec{v_2} = \frac{\vec{v_2} \cdot \vec{u_1}}{\vec{u_1} \cdot \vec{u_1}}\vec{u_1}\)
\(\vec{v_2} \cdot \vec{u_1} = (1)(1) + (0)(1) + (1)(0) = 1\)
\(\vec{u_1} \cdot \vec{u_1} = (1)^2 + (1)^2 + (0)^2 = 2\)
\(\text{proj}_{\vec{u_1}}\vec{v_2} = \frac{1}{2}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} = \begin{pmatrix} 1/2 \\ 1/2 \\ 0 \end{pmatrix}\)
\(\vec{u_2} = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} - \begin{pmatrix} 1/2 \\ 1/2 \\ 0 \end{pmatrix} = \begin{pmatrix} 1/2 \\ -1/2 \\ 1 \end{pmatrix}\)
\(\vec{u_3} = \vec{v_3} - \text{proj}_{\vec{u_1}}\vec{v_3} - \text{proj}_{\vec{u_2}}\vec{v_3}\)
\(\text{proj}_{\vec{u_1}}\vec{v_3} = \frac{\vec{v_3} \cdot \vec{u_1}}{\vec{u_1} \cdot \vec{u_1}}\vec{u_1} = \frac{(0)(1) + (1)(1) + (1)(0)}{2}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} = \frac{1}{2}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}\)
\(\text{proj}_{\vec{u_2}}\vec{v_3} = \frac{\vec{v_3} \cdot \vec{u_2}}{\vec{u_2} \cdot \vec{u_2}}\vec{u_2}\)
\(\vec{v_3} \cdot \vec{u_2} = (0)(1/2) + (1)(-1/2) + (1)(1) = 1/2\)
\(\vec{u_2} \cdot \vec{u_2} = (1/2)^2 + (-1/2)^2 + (1)^2 = 3/2\)
\(\text{proj}_{\vec{u_2}}\vec{v_3} = \frac{1/2}{3/2}\begin{pmatrix} 1/2 \\ -1/2 \\ 1 \end{pmatrix} = \frac{1}{3}\begin{pmatrix} 1/2 \\ -1/2 \\ 1 \end{pmatrix} = \begin{pmatrix} 1/6 \\ -1/6 \\ 1/3 \end{pmatrix}\)
\(\vec{u_3} = \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} - \begin{pmatrix} 1/2 \\ 1/2 \\ 0 \end{pmatrix} - \begin{pmatrix} 1/6 \\ -1/6 \\ 1/3 \end{pmatrix} = \begin{pmatrix} -2/3 \\ 2/3 \\ 2/3 \end{pmatrix}\)
\(\vec{u_1} \cdot \vec{u_2} = (1)(1/2) + (1)(-1/2) + (0)(1) = 0\)
\(\vec{u_1} \cdot \vec{u_3} = (1)(-2/3) + (1)(2/3) + (0)(2/3) = 0\)
\(\vec{u_2} \cdot \vec{u_3} = (1/2)(-2/3) + (-1/2)(2/3) + (1)(2/3) = 0\)
The orthogonal basis is \(\left\{ \begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 1/2 \\ -1/2 \\ 1 \end{pmatrix}, \begin{pmatrix} -2/3 \\ 2/3 \\ 2/3 \end{pmatrix} \right\}\)
• Gram-Schmidt Formula: \(\vec{u_k} = \vec{v_k} - \sum_{i=1}^{k-1} \text{proj}_{\vec{u_i}}\vec{v_k}\)
• Vector Projection: \(\text{proj}_{\vec{u}}\vec{v} = \frac{\vec{v} \cdot \vec{u}}{\vec{u} \cdot \vec{u}}\vec{u}\)
• Orthogonality Verification: Check all pairwise dot products equal zero
Orthonormal basis: An orthogonal basis where all vectors have unit length (norm = 1)
\(||\vec{u_1}|| = \sqrt{1^2 + 1^2 + 0^2} = \sqrt{2}\)
\(\hat{u_1} = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} = \begin{pmatrix} \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ 0 \end{pmatrix}\)
\(||\vec{u_2}|| = \sqrt{(1/2)^2 + (-1/2)^2 + 1^2} = \sqrt{1/4 + 1/4 + 1} = \sqrt{3/2}\)
\(\hat{u_2} = \frac{1}{\sqrt{3/2}}\begin{pmatrix} 1/2 \\ -1/2 \\ 1 \end{pmatrix} = \begin{pmatrix} \frac{1/\sqrt{6}} \\ \frac{-1/\sqrt{6}} \\ \frac{2/\sqrt{6}} \end{pmatrix}\)
\(||\vec{u_3}|| = \sqrt{(-2/3)^2 + (2/3)^2 + (2/3)^2} = \sqrt{4/9 + 4/9 + 4/9} = \sqrt{12/9} = \frac{2\sqrt{3}}{3}\)
\(\hat{u_3} = \frac{3}{2\sqrt{3}}\begin{pmatrix} -2/3 \\ 2/3 \\ 2/3 \end{pmatrix} = \begin{pmatrix} \frac{-1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \end{pmatrix}\)
Check: \(\hat{u_i} \cdot \hat{u_j} = 0\) for \(i \neq j\) and \(\hat{u_i} \cdot \hat{u_i} = 1\)
\(\left\{ \begin{pmatrix} \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ 0 \end{pmatrix}, \begin{pmatrix} \frac{1}{\sqrt{6}} \\ \frac{-1}{\sqrt{6}} \\ \frac{2}{\sqrt{6}} \end{pmatrix}, \begin{pmatrix} \frac{-1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \end{pmatrix} \right\}\)
The orthonormal basis is \(\left\{ \begin{pmatrix} \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ 0 \end{pmatrix}, \begin{pmatrix} \frac{1}{\sqrt{6}} \\ \frac{-1}{\sqrt{6}} \\ \frac{2}{\sqrt{6}} \end{pmatrix}, \begin{pmatrix} \frac{-1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \\ \frac{1}{\sqrt{3}} \end{pmatrix} \right\}\)
• Normalization: Divide each vector by its norm
• Orthonormality: All vectors have norm 1 and are mutually orthogonal
• Verification: Check \(\hat{u_i} \cdot \hat{u_j} = \delta_{ij}\) (Kronecker delta)
Inner Product: A generalization of the dot product denoted \(\langle \vec{u}, \vec{v} \rangle\)
Orthogonal Set: A set of vectors where every pair has zero inner product
Orthonormal Set: An orthogonal set where every vector has norm 1
Orthogonal Complement: The set of all vectors orthogonal to a given subspace
- Orthogonality Check: Compute all pairwise inner products
- Gram-Schmidt Process: Convert any basis to orthogonal basis
- Normalization: Scale each vector to have unit length
- Verification: Ensure orthonormality conditions are met
• Inner product: \(\langle \vec{u}, \vec{v} \rangle = \sum_{i=1}^{n} u_i \overline{v_i}\)
• Vector norm: \(||\vec{v}|| = \sqrt{\langle \vec{v}, \vec{v} \rangle}\)
• Normalization: \(\hat{v} = \frac{\vec{v}}{||\vec{v}||}\)
• Orthogonality: \(\vec{u} \perp \vec{v} \iff \langle \vec{u}, \vec{v} \rangle = 0\)
• Gram-Schmidt: \(\vec{u_k} = \vec{v_k} - \sum_{i=1}^{k-1} \frac{\langle \vec{v_k}, \vec{u_i} \rangle}{\langle \vec{u_i}, \vec{u_i} \rangle}\vec{u_i}\)
- Orthogonal vectors are perpendicular
- Normalized vectors have unit length
- Orthonormal bases form coordinate systems
Analysis: The visualization shows how orthogonal and orthonormal bases provide coordinate systems for vector spaces.
- Standard basis: \(\vec{e_1} = (1,0,0), \vec{e_2} = (0,1,0), \vec{e_3} = (0,0,1)\)
- Orthogonal basis: Vectors perpendicular but possibly different lengths
- Orthonormal basis: Perpendicular unit vectors