Least Squares via orthogonal projection and exact perp?

42 Views Asked by At

When you use least squares via orthogonal projection, is it common to not necessarily have an exactly 90 degree angle but close? I have attached an image.

For example, I calculated a dot product between p (a projection) and one of the vectors that intersects the projection (x) and I get -1 for the dot product , not 0.

Projection

or am I doing the wrong calculation?