Finding the point of intersection of two lines has many important application such as in Ray-Tracing Simulation. Two lines always intersect at some point unless they are absolutely parallel, like the rails of a railway track. We start with writing the equations of the two lines in slope-intercept form.
Here m1 and m2 are the slopes of the two lines and b1 and b2 are their y-intercepts. At the point of intesection y1=y2, so we have.
But at the point of intersection x1=x2 as well, so replacing x1 and x2 with x we have.
Once the x-component of the point of intersection is found we can easily find the y-component by substituting x in any of the two line equations above.
In future posts we would like to discuss the cases of intersection of two surfaces and the intersection of two volumes.
Author: John (YA)
John has over 15 years of Research and Development experience in the field of Wireless Communications. He has worked for a number of companies around the world including Qualcomm Inc. USA. He has an MS in Electrical Engineering from Virginia Tech USA and has published his work in international journals and conferences.