Exam 2
Avg: 77
- A 88
- B 76
- C 60
- D 50
Avg: 77
If \( \vec{u}, \vec{v} \) are in \( \mathbb{R}^n \)
the inner product (or dot product) of \( \vec{u} \) and \( \vec{v} \) is
note \( \vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u} \)
Consider the vector \( \vec{u} = \begin{bmatrix} 1 \\ 2 \end{bmatrix} \). The dot product of the vector with itself is:
The length of the vector is calculated as:
So, \[ \vec{u} \cdot \vec{u} = \|\vec{u}\|^2 \] for \( \vec{u} \) in \( \mathbb{R}^n \).
length or norm of \( \vec{u} \)
A vector is called a unit vector if its length is 1.
So a unit vector in the same direction as \( \vec{u} \) is:
In \( \mathbb{R}^1 \), the distance between 2 numbers is \( |b - a| = |a - b| \).
Example: \( \mathbb{R}^3 \)
Distance between 2 vectors is:
\(\vec{v}\) and \(\vec{u}\) are orthogonal if
true only if
means \( \vec{u} \perp \vec{v} \)
If \(W\) is a subspace of \(\mathbb{R}^n\). Then all vectors orthogonal to every vector in \(W\) is called the orthogonal complement of \(W\), written as \(W^{\perp}\) (read: "\(W\) perpendicular" or "\(W\) perp").
\(W^{\perp}\) is also a subspace of \(\mathbb{R}^n\)
The \(z\)-axis is the orthogonal complement of the subspace that is the \(xy\)-plane.
this is the same as
look it as \(A\vec{x} = \vec{0}\)
this means the solution \(\vec{x}\) is in the nullspace of \(A\), \(\dim \text{Nul}(A) = 2\) (\(xy\)-plane)
Likewise, \( (\text{Col } A)^{\perp} = \text{Nul } A^T \)
so,