Prof. Alejandro Ucan-Puc
A factory evaluates batch quality metrics $q = (2.3, 1.7, 0.8)^T$ along three independent quality directions:
How do we project batch quality onto these orthogonal directions?
Definition: For $u, v \in \mathbb{R}^n$, the standard inner product (dot product) is:
$$\langle u, v \rangle = u^T v = \sum_{i=1}^n u_i v_i$$Norm (Magnitude): $\|u\| = \sqrt{\langle u, u \rangle} = \sqrt{\sum_{i=1}^n u_i^2}$.
Angle $\theta$: $\cos \theta = \frac{\langle u, v \rangle}{\|u\| \|v\|}$.
Definition: Two vectors $u, v \in V$ are orthogonal if their inner product is zero:
$$\langle u, v \rangle = 0$$Pythagorean Theorem: $\|u + v\|^2 = \|u\|^2 + \|v\|^2 \iff \langle u, v \rangle = 0$.
Definition: The orthogonal projection of a vector $u$ onto a non-zero vector $v$ is:
$$\text{proj}_v(u) = \frac{\langle u, v \rangle}{\langle v, v \rangle} \, v$$The residual $u - \text{proj}_v(u)$ is orthogonal to $v$.
Orthogonality minimizes redundant information and simplifies projections in data analysis.
Next Session: The Gram-Schmidt Process and Orthonormal Bases.