Use only the dot product to minimize the squared Euclidean distance from the origin:
Completing the square gives
The square is minimized at , yielding
Geometrically this subtracts the squared length of the orthogonal projection parallel to the line. At the minimizing point, , as required for perpendicular distance.
Here , and . Therefore
The closest point has parameter and position , whose norm gives the same result.

Articles by others on the same topic (0)

There are currently no matching articles.