Finding vertices given opposite vertices

  • Thread starter Thread starter eddybob123
  • Start date Start date
AI Thread Summary
To find the other two vertices of a square given two opposite vertices on a coordinate system, first determine the center by calculating the midpoint of the two vertices. The center's coordinates are ((a+c)/2, (b+d)/2). Next, find the slope of the line perpendicular to the diagonal connecting the two given vertices, which is the negative reciprocal of the slope of the diagonal. Using this slope and the center point, you can derive the equations for the lines that will lead to the other two vertices. Alternatively, employing complex numbers or vectors can simplify the process significantly.
eddybob123
Messages
177
Reaction score
0
Hi everyone, is there a way of finding the other two vertices of a square on the coordinate system given that two opposite vertices are already there? I already attempted this problem with two methods: with Pythagoras and with circles. So, is there a general formula or not?
 
Mathematics news on Phys.org
hi eddybob123! :smile:

hint: first find the centre

then … :wink:
 
I tried that too. I ended up with two equations with two variables including their squares, and I didn't know how to solve for them, even with the quadratic formula.
 
but once you've found the centre, all you need do is to find the line through it at right-angles to the given diagonal :confused:
 
Wait, the center of what? And can you define what you mean more precisely, maybe provide a diagram? I think I have also tried that, but I might have overlooked it because it seemed so easy.
 
the center of the square (and of the given diagonal)!
eddybob123 said:
And can you define what you mean more precisely, maybe provide a diagram?

erm, I've a better idea :redface:

you define what you mean more precisely, and maybe provide a diagram :wink:
 
The two opposite vertices are labeled (a,b) and (c,d). The points labeled (e,f) and (g,h) are the points I wish to find (in terms of a, b, c, and d). Can you just give me your approach to this problem?
 

Attachments

eddybob123 said:
The two opposite vertices are labeled (a,b) and (c,d). The points labeled (e,f) and (g,h) are the points I wish to find (in terms of a, b, c, and d).

ok, then the centre dot is at ( , ) ?

and the slope of the second diagonal is ? :smile:
 
The center is at the midpoint of the line connecting (a,b) and (c,d), that is, by the distance formula, (sqrt((c-a)2+(d-b)2))/2. The slope of the perpendicular line is (a-c)/(d-b). As I told you, I have attempted this method before, but the equations I got were terribly complicated to solve for.
 
  • #10
eddybob123 said:
The center is at the midpoint of the line connecting (a,b) and (c,d)

so what are its coordinates? :smile:
 
  • #11
I am pretty sure it is ((c+a)/2,(d+b)/2), but how does that concern finding the other vertices?
 
  • #12
eddybob123 said:
Hi everyone, is there a way of finding the other two vertices of a square on the coordinate system given that two opposite vertices are already there? I already attempted this problem with two methods: with Pythagoras and with circles. So, is there a general formula or not?

Have you learned complex numbers? I find that the problem becomes almost trivially easy when you use these.

You can also use vectors, but I just find the problem easier to do with complex numbers. They're basically equivalent anyway.

Using coordinate geometry is quite the slog, though.

If you're familiar with complex numbers, I can take you through the steps. So let us know.
 
  • #13
(just got up :zzz:)
eddybob123 said:
I am pretty sure it is ((c+a)/2,(d+b)/2)

that's right! :smile:

isn't it obvious? the centre is the average of the two endpoints, so it must be half of one and half of the other

here's the start of the proof for the position of the centre C of AB, for you to finish …

vector AC = vector CB, so C - A = B - C, so C = … ? :smile:

ok, now if the vector OP has coordinates (p,q), what are the coordinates of the perpendicular vector of the same length?
 
  • #14
Here's another way: the line through (a, b) and (c, d) has slope (d- b)/(c- a) so the line perpendicular to that has slope (a- c)/(d- b) (-1 times the reciprocal). The line with that slope through the center point, ((a+c)/2, (b+ d)/2), is given by y= (a-c)/(d-b)(x- (a+c)/2)+ (b+d)/2. The circle with center at ((a+c)/2, (b+d)/2) and radius \sqrt{(a-c)^2+(d- b)^2}/2, and so passing through all four vertices of the square, is given by (x- (a+c)/2)^2+ (y- (b+ d)/2)^2= ((a- c)^2+ (d- b)^2)/4

If you replace y in that last equation with (a-c)/(b-d)(x- (a+c)/2)+ (b+d)/2, you get a quadratic equation in x to solve for the x coordinates of the other two vertices.
 
Back
Top