A parametric equation for the line through a point P0 in the direction of a nonzero vector v is
P = P0 + tv,where t is the parameter and P = (x, y) or P = (x, y, z) is a point on the line.
Similarly, a parametric equation for the line through points P1 and P2 is
P = P1 + t(P2 − P1).
A nonparametric equation for the line through P0 in the direction of v in 2 dimensions is
(P − P0) × v = 0.
Similarly, a system of equations for the line through P0 in the direction of v in 3 dimensions is
(P − P0) × v = 0.(The only difference is whether the zero on the right-hand side is the scalar 0 or the vector 0.)
The distance from a point S to the line through P0 in the direction of v is
|(S − P0) × v̂| = |(S − P0) × v|/|v|.
Similarly, the distance from S to the line through P1 and P2 is
|(S − P1) × (P2 − P1)|/|P2 − P1|.
An equation for the line (in 2 dimensions) or plane (in 3 dimensions) through P0 and perpendicular to a vector n is
(P − P0) ⋅ n = 0.
The distance from S to the line or plane through P0 and perpendicular to n is
|(S − P0) ⋅ n̂| = |(S − P0) ⋅ n|/|n|.
The permanent URI of this web page
is
http://tobybartels.name/MATH-1700/2016WN/vecgeo/
.