Results 1 to 5 of 5

Math Help - Distance between two parallel lines?

  1. #1
    Junior Member
    Joined
    Apr 2010
    Posts
    60

    Distance between two parallel lines?

    How do you find the distance between two parallel line who equations are given in the form
    r= ai+bj+ck + s(xi+yj+zk)
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    May 2010
    Posts
    1,028
    Thanks
    28
    Long way:
    the shortest distance between the two parallel lines will be on a line that is perpendicular to both (and that passes through both).

    You can use this to get the coordinates of 2 points that are at the minimum distance from each other, find the distance between those two points to get answer you want.



    Possibly Shorter way (requires calculus):
    Pick a point on one of your lines  x_1,y_1,z_1

    Note that every point on your second line satisfies  (x_2,y_2,z_2) + a(m_x,m_y,m_z) where a is a constant, the m's are the slope paramters of your second line, and (x_2,y_2,z_3) is a known point on your second line


    Setup a lagrangian to minimise the distance between  x_1,y_1,z_1 and (x_2,y_2,z_2) + a(m_x,m_y,m_z) by choosing a.

    This minimum distance is the distance you want.
    Last edited by SpringFan25; May 30th 2010 at 02:57 PM.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Apr 2010
    Posts
    60
    i haven't studied lagrangian yet
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,536
    Thanks
    1389
    Then don't use that method! Instead, use the "long way" SpringFan25 mentions:

    Also, "r= ai+bj+ck + s(xi+yj+zk)" is an unfortunate way to write the line because the x, y, and z in that are simply coefficients, NOT the (x, y, z) coordinates of a point. I am going to write instead "r= xi+yj+ zk= ai+bj+ ck+ s(Ai+ Bj+ Ck)" so that (x, y, z)= (a+ sA, b+ sB, c+ sC).

    Now you know that Ai+ Bj+ Ck is a vector pointing in the direction of the line. A planeperpendicular to the line is given by A(x- x_0)+ B(y- y_0)+ C(z- z_0)= 0 where [tex](x_0, y_0, z_0)[/itex] is any point on the line (take s to be any value- 0 for example).

    Now, the point on the second line closest to the first line is where that second line crosses that plane. Put the (x, y, z) values given by the equation of the second line, in terms of some parameter, t, into the equation of the plane to find t and then the point.

    Finally, find the distance between those two points.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,829
    Thanks
    123
    Quote Originally Posted by kandyfloss View Post
    i haven't studied lagrangian yet
    Here is a slightly different approach:

    1. You are supposed to know that the absolute value of the cross-product of vectors equals the area which is spanned by the 2 vectors.

    2. Since the area of a parallelogram is calculated by:

    A = |base| \cdot |height|

    you'll get the height (= the distance between the parallel lines!) if you divide the area by the length of the base.

    3. According to my sketch the height is h = \frac{|(\vec q - \vec p) \times \vec v|}{|\vec v|}
    Attached Thumbnails Attached Thumbnails Distance between two parallel lines?-abstd_punktgerade.png  
    Last edited by earboth; June 19th 2010 at 06:42 AM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Distance Between 2 Parallel Lines
    Posted in the Pre-Calculus Forum
    Replies: 5
    Last Post: March 15th 2011, 12:25 PM
  2. distance between parallel lines
    Posted in the Pre-Calculus Forum
    Replies: 8
    Last Post: May 2nd 2010, 12:30 PM
  3. Finding The Distance Between Parallel Lines...?
    Posted in the Pre-Calculus Forum
    Replies: 10
    Last Post: March 27th 2010, 06:33 PM
  4. parallel lines and shortest distance?
    Posted in the Geometry Forum
    Replies: 5
    Last Post: September 2nd 2009, 03:58 AM
  5. Distance between two parallel lines?
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: August 9th 2009, 02:55 AM

Search Tags


/mathhelpforum @mathhelpforum