Finding the coodinates of two lines.

  • MHB
  • Thread starter animaguy
  • Start date
  • Tags
    Lines
In summary, the coordinates of the point where the lines intersect are (x1,y1), (x2,y2), (x3,y3), (x4,y4).
  • #1
animaguy
7
0
I have four points on the same plane (a, b, c, d).

Points a and b form a line ab.

Points c and d form a line cd.

Line ab and cd intersect at point e.

Does anyone have a formula that can find the coordinates of point e?
 
Mathematics news on Phys.org
  • #2
You would take the midpoint of opposite vertexes. Take the coordinates of A and C, the midpoint of that, then the midpoint of D to B. That is if the plane is say a square with ABCD, listed in order all around. This is if only it is a square. If a parallelogram, I think you take the midpoint A to D, and B to C. I don't really know if my answer is correct, I have geometry teacher that seems sketchy lol.
 
  • #3
The problem with this scenario is polygon adcd is not a square or a parrallelogram.

I would be happy if I could find a formula that can determine point e, even if the coordinates were not whole and rounded of.
 
  • #4
  • #5
Hi animaguy! :)

From wikipedia (slightly revised to fit the purpose):
The point where multiple lines meet closest in any number of dimensions is:
[TEX]x= \left(\sum_i I-v_i v_i^T\right)^{-1} \left(\sum_i (I-v_i v_i^T) p_i\right)[/TEX]​
where
$v_i$ is a unit vector along the ith line,
$p_i$ is a point vector on the ith line,
$v_i^T$ is the transpose of $v_i$.​
In your case you have 2 lines and the point where those lines meet closest is the intersection point.
That means:

$v_1 = {b - a \over ||b-a||}$

$p_1 = a$

$v_2 = {d - c \over ||d-c||}$

$p_2 = c$

$x = e$​
 
  • #6
Very quickly, I want to thank the help I have received. I am still working out the calculations regarding how I am applying it and so far I am having some problems but it may just be a simple error.

Regardless, thanks for the help and as soon as I have something more concrete to post I will definitely follow up as a courtesy for your help.

(Happy)
 
  • #7
acd2938d1c482f5247654e6822ec06ad.png


``````````````````````````````````````````````````````````````````````````
1)
I used the formula on the wikipedia link provided by ILikeSerena.

Assuming this is the formula that I am genuinely looking for, the two coordinates that I produce by using this formula is not the intersection of the two lines.

2)
And I am still unsure of how to test the revised formula ILikeSerena provided.

3)
I am unsure if the formula provided by the Dr. Math link applies because the formula is based on a three dimensional line.

The two lines are on the same plane (x,y) so a z-coordinate at this point is unnecessary.

```````````````````````````````````````````

Question:

Can anyone provide:

a)
a line with the xy-coordinates of two points on that line

b)
a second line with the xy-coordinates of two points on that line and on the same plane as the first line

c)
and demonstrate the use of a formula using those two lines to produce the intersection of the xy-coordinates of the point at which the two lines intersect?

``````````````````````````````````````````````

I would humbly appreciate it.

``````````````````````````````````````````````

In the meantime, I will keep trying.

Thank you,
Animaguy
 
  • #8
I have just created an excel sheet with 2 lines, using the 2-dimensional formula (from wiki):

http://www.mathhelpboards.com/attachment.php?attachmentid=554&d=1359287603

As you can see, the result matches the intersection point.

The formula I gave is the most generic, which is for m dimensions and for 2 or more lines.
Based on your opening post, I thought you were asking for that.
After your current comment it appears that you don't need it.
 

Attachments

  • intersection_lines.png
    intersection_lines.png
    3.8 KB · Views: 91
  • #9
I LIKE SERENA,

thanks for the help. i am still having problems solving the formula but I know what the problem is...

acd2938d1c482f5247654e6822ec06ad.png


(x1 - x2)
(x3 - x4)
(y1 - y2)
(y3 - y4)

are self explanatory for me...

however the values...

x1y2
y1x2
y3y4
y3x4

confuse me...

how are these values defined?
 
  • #10
animaguy said:
however the values...

x1y2
y1x2
y3y4
y3x4

confuse me...

how are these values defined?

The expression $x_1 y_2$ means $x_1 \times y_2$.
 
  • #11
Problem solved!
 

FAQ: Finding the coodinates of two lines.

1. How do I find the coordinates of two lines?

To find the coordinates of two lines, you will need to have the equations of both lines. Once you have the equations, you can set them equal to each other to create a system of equations. Then, you can solve for the variables to find the coordinates where the two lines intersect.

2. Can I use any method to find the coordinates of two lines?

Yes, there are a few different methods you can use to find the coordinates of two lines. One common method is to use substitution, where you solve one equation for a variable and then plug that into the other equation. Another method is to use elimination, where you add or subtract the equations to eliminate one of the variables.

3. What if the lines are parallel or perpendicular?

If the lines are parallel, they will never intersect, so there will be no coordinates of intersection. If the lines are perpendicular, they will intersect at a right angle. In this case, you can use the slopes of the lines to find the coordinates of the point of intersection.

4. Is it possible for two lines to have more than one point of intersection?

No, two lines can only intersect at one point. If there appears to be more than one point of intersection, it means the lines are actually the same line, or they overlap at some point.

5. Can I find the coordinates of two lines without knowing their equations?

No, you will need to know the equations of the two lines in order to find their coordinates of intersection. If you only have a graph or two points on each line, you can use those to create the equations and then find the coordinates.

Similar threads

Replies
10
Views
490
Replies
2
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
10
Views
1K
Replies
4
Views
1K
Back
Top