for orthogonal projection does it only work if the 2 basis spanning v is orthoginal in order to prohject a point on to the v
Assistant
Orthogonal projection of a point or vector onto a subspace (V) is most directly and easily performed when the basis vectors spanning (V) are orthogonal. This is because the orthogonal projection formula simplifies significantly when the basis vectors are orthogonal to each other.
In the scenario where (V) is spanned by orthogonal basis vectors, say (\mathbf{u}_1, \mathbf{u}_2, ..., \mathbf{u}_k), the orthogonal projection (\text{proj}_V(\mathbf{v})) of a vector (\mathbf{v}) onto (V) can be calculated using the formula:
[
\text{proj}_V(\mathbf{v}) = \frac{\mathbf{v} \cdot \mathbf{u}_1}{\mathbf{u}_1 \cdot \mathbf{u}_1}\mathbf{u}_1 + \frac{\mathbf{v} \cdot \mathbf{u}_2}{\mathbf{u}_2 \cdot \mathbf{u}_2}\mathbf{u}_2 + \dots + \frac{\mathbf{v} \cdot \mathbf{u}_k}{\mathbf{u}_k \cdot \mathbf{u}_k}\mathbf{u}_k
]
where "(\cdot)" denotes the dot product.
The convenience of using orthogonal (or orthonormal) basis vectors lies in the fact that the coefficients (scalar projections) for each basis vector can be computed independently of each other. This is due to the nature of orthogonal vectors having a dot product of zero with each other, thereby simplifying the mathematics.
However, orthogonal projection can still be done if the basis spanning (V) is not orthogonal, but the process becomes more complex. In non-orthogonal cases, one typically uses the Gram-Schmidt process to first orthogonalize the basis of (V), or resorts to solving a system of equations derived from the projection and decomposition processes, which can be considerably more involved.
For general basis vectors (not necessarily orthogonal), the projection involves solving a system of linear equations that corresponds to minimizing the distance between the point (or vector) and the subspace (V). The solution to this problem involves using concepts from linear algebra, such as matrix inversion or QR decomposition, to find the coefficient values that determine how the projection onto (V) is constructed from the basis vectors of (V).
Regardless of whether the basis vectors are orthogonal, the concept of orthogonal projection onto a subspace plays a crucial role in many areas, including machine learning, data analysis, and the solution of least squares problems.