heymaniknowyou
- 3
- 0
\frac{}{}Hello,
I've been trying to search for a general description for the Euclidean distance from a point to a line formula in \mathbb{R}^n. This line is assumed to be a straight line where a directional vector f \in \mathbb{R}^n is constant and known, and a constant point on the line is known, y \in \mathbb{R}^n.
For the 2D and 3D cases this is quite simple. Given a point X_0 = (x_0,y_0,z_0) the distance is \frac{|f \times (y - X_0)|}{|f|} where the cross product is obvious for these cases.
I guess what I'm most unclear on is the cross product in higher dimensions and furthermore the euclidean distance in higher dimensions. I think a general understanding of one will eventually lead into the other.
Thanks for your help.
Best
S
I've been trying to search for a general description for the Euclidean distance from a point to a line formula in \mathbb{R}^n. This line is assumed to be a straight line where a directional vector f \in \mathbb{R}^n is constant and known, and a constant point on the line is known, y \in \mathbb{R}^n.
For the 2D and 3D cases this is quite simple. Given a point X_0 = (x_0,y_0,z_0) the distance is \frac{|f \times (y - X_0)|}{|f|} where the cross product is obvious for these cases.
I guess what I'm most unclear on is the cross product in higher dimensions and furthermore the euclidean distance in higher dimensions. I think a general understanding of one will eventually lead into the other.
Thanks for your help.
Best
S
I should have just started with that route for this idea. oh well.