dinesh19aug wrote:
Apologies _ i see that I confused many people with my example of two lines.
I just create a random equations , CONSIDER that the lines are parallel. I know that shortest distance between them is perpendicular line. I can solve for the distance, but it takes too long and it is cumbersome approach. I was looking for a direct formula. Any ideas
I didn't know a formula for this offhand, but you can work one out. If you have two parallel lines, they must have the same slope, so you'll be able to write their equations as follows:
y = mx + b
y = mx + c
Now y = (-1/m)x is perpendicular to both. We then just need to find where this perpendicular line intersects with each line above, and finally calculate the distance between the two intersection points. When I do that and simplify, I find that the distance d between the two points is:
d = |b-c|/sqrt(m^2 + 1)
I did that quickly, but I checked whether this works for a couple of lines, and it seems right.
In any case, while working out the formula isn't bad high-level coordinate geometry practice, you would never, ever need this formula on the GMAT. You may be asked to find the distance between two points on the test, but not between two lines.