
William W. answered 03/27/19
Experienced Tutor and Retired Engineer
The line "normal" or perpendicular to a line is the one having a slope that is the negative reciprocal of the slope of the line. So, first calculate the slope of the line between the two points, the flip it over and take the negative of it. Example: Point (1, 2) and (5, 8) The slope of the line between them is calculated by m = (y2 - y1)/(x2 - x1) so in this case: m = (8 - 2)/(5 - 1) = 6/4 = 3/2. The perpendicular has a slope of -2/3.
But that is just the slope. I'm unsure about the meaning of a vector perpendicular to a segment.. I would probably pick the normal line to go through the midpoint of the segment. The length of that line, I'm unsure of, perhaps the same length as the original segment.