38. Inner Product
Dated: 18-06-2025
Let \(\vec u\) and \(\vec v\) be vectors
1 in \(\mathbb R^n\) represented by \(n \times 1\) matrices
.2 The transpose
2 \(u^T\) is a \(1 \times n\) matrix
2 and their product \(u^T \cdot v\) is a \(1 \times 1\) matrix
2 called the inner product, which we can write as a simple scalar
value.
The inner product
is also referred to as dot product
.1
Theorem
Let \(\vec u, \vec v, \vec w \in \mathbb R^n\) and \(c\) be a scalar
then
- \(\vec u \cdot \vec v = \vec v \cdot \vec u\)
- \((\vec u + \vec v) \cdot \vec w = \vec u \cdot \vec w + \vec v \cdot \vec w\)
- \((c \vec u) \cdot \vec v = c(\vec u \cdot \vec v) = \vec u (c \vec v)\)
- \(\vec u \cdot \vec u \ge 0\) and \(\vec u \cdot \vec u = 0 \iff \vec u = 0\)
Length or Norm
\(||c \vec v|| = |c| \ ||\vec v||\)
Normalization
The process of producing a unit vector
1 \(u\) from a vector
1 \(\vec v\) is called normalization
.
Distance
Let \(\vec u, \vec v \in \mathbb R^n\) and distance between \(\vec u\) and \(\vec v\) is
Orthogonal Complements
The set of all vectors
1 \(\vec z\) that are orthogonal
to \(\vec w \in \mathbb W\) is called the orthogonal complement
of \(\mathbb W\) and is denoted by \(\mathbb W^{\perp}\)
Remarks
-
\[\vec x \in \mathbb W^\perp \iff \vec x \perp \forall \vec v \in \text{Span}(\mathbb W)\]
-
\(\mathbb W^\perp\) is a
subspace
3 of \(\mathbb R^n\)
Theorem
Let \(A\) be \(m \times n\) matrix
2 then the orthogonal complement of the row space
3 of \(A\) is the null space
4 of \(A\). Similarly, the orthogonal complement of the column space
3 of \(A\) is the null space
4 of \(A^T\).
References
Read more about notations and symbols.