Use only the dot product to minimize the squared Euclidean distance from the origin:Completing the square givesThe square is minimized at , yieldingGeometrically this subtracts the squared length of the orthogonal projection parallel to the line. At the minimizing point, , as required for perpendicular distance.
Articles by others on the same topic
There are currently no matching articles.