I'm using the following equation to represent lines(adsbygoogle = window.adsbygoogle || []).push({});

(x, y) = (start_x, start_y) + t((end_x, end_y) - (start_x, start_y))

I'm trying to find the interesection point of two lines written in this form.

I have been able to solve for t and plug it back into the equation, but i get two values of t when i solve for it. So that gives me 2 possible x values and 2 possible y values in the end. One x value is correct, and one y value is correct, but I get a wrong x value and a wrong y value.

I'm wondering if theres a totally different way, or a way to get rid of the x and y value that I don't need.

Thanks.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Intersection of two lines

Loading...

Similar Threads for Intersection lines | Date |
---|---|

Intersection of line and surface | May 29, 2015 |

Line of intersection of two planes | Oct 20, 2014 |

Finding the Intersection of a Line and Plane | Jan 11, 2014 |

Line intersections | Apr 4, 2011 |

Intersection of Lines in R4 | Sep 22, 2010 |

**Physics Forums - The Fusion of Science and Community**