The distance between a line and a point

  • Thread starter seto6
  • Start date
  • Tags Tags
    Line Point
3 replies · 2K views · last reply
seto6
Messages
248
Reaction score
0

Homework Statement


So this it the problem, i am not so good at latex, so i decided to use MS office:

Printed instruction: Use vector methods to prove that the distance from point (x1, y1) to the line ax + by = c is the fraction |ax1 + by1 - c| over the square root of a squared plus b squared.



Homework Equations


the cross product?


The Attempt at a Solution


Handwritten derivation of point-to-line distance: a line A through the origin, a vector v from origin to a point, and perpendicular d; v = alpha A + d, then v x A = |d||A|sin(90), giving |d| = |v x A| / |A|, with a circled expression sqrt(a^2+b^2) in the denominator.

ok i tried this but i got stuck, because i got the bottom right, i am not sure if the top is correct, what if the line (A) does not pass through the origin, then my method won't work, pointing me in the correct direction would be helpfull, also how do you get the projections of V on d, i know how to get the projection of V on A.
 
I presume that this is the shortest distance from the point [tex](x_{1},y_{1})[/tex] to the line? This happens when you look at the normal to the line passing through the point [tex](x_{1},y_{1})[/tex] which you have noted.

Can you write the line in vector form? If two vectors are perpendicular to each other, what is the value of their dot product? Can you construct the normal from this?

Mat
 
the vector i am trying to find is d, which is perpendicular to A, thus if i do a dot product i would get a zero, but i won't be able to find d.
 
I would instingtively use co-ordainate geometry. The cross product only makes sense for three dimensional vectors.
Write [tex]\mathbf{d}=a\mathbf{i}+b\mathbf{j}[/tex] and then by taking the dot product with the vector representing the line you will be able to find either a or b and use that to find the vector d.