SOLUTION: I'm looking for an equation to produce coordinates for a square from two given diagonal vertices that works even with arbitrarily rotated squares. I haven't found a clear answer in

Algebra.Com
Question 479447: I'm looking for an equation to produce coordinates for a square from two given diagonal vertices that works even with arbitrarily rotated squares. I haven't found a clear answer in any of my searches :(
Answer by solver91311(24713)   (Show Source): You can put this solution on YOUR website!


Place one endpoint of the diagonal at the origin and then the other end point is .

Convert to polar coordinates :





Since the diagonal of a square bisects a vertex angle of , each of the sides of the square which can be represented by a vector: must be offset in angle from the diagonal by a measure of .

Furthermore, if the diagonal of a square is of measure , then the side .

Hence, the polar coordinates of the side rotated counterclockwise from the diagonal are:



and



Which can then be converted back to rectangular coordinates by:



First look at

Then using the sum formula for sin:



Next, note that



So:



The sum formula for cos is:



And from that I'll let you derive that:





And then using the fact that the other side of the square is rotated clockwise from your given diagonal and that all sides of a square are identical in measure, you should be able to see that:



and



I'll let you look up the difference formulas and verify that:






John

My calculator said it, I believe it, that settles it
The Out Campaign: Scarlet Letter of Atheism


RELATED QUESTIONS

Given the coordinates of the midpoints of the sides of a triangle find the coordinates of (answered by venugopalramana)
For the geometric sequence {{{a}}},{{{ ar}}},{{{ar^2}}} ... (to infinity), show that the... (answered by greenestamps)
Hi, I have two questions that i'm having problems with 1.Diagonal of a square. The... (answered by solver91311)
Question: In a set of four numbers, the first three are in a geometric sequence and the... (answered by ikleyn)
We were given a set of data points today in class. We were told to find an equation for... (answered by Edwin McCravy)
a triangle has an area of 6 square units. I t has vertices with coordinates(1,-3),(4,2)... (answered by robertb)
Dear math tutor, A(7,2) and C(1,4) are two vertices of a square ABCD. Find the... (answered by Fombitz)
Given the coordinates of the vertices for parallelogram ABCD, how can you use the... (answered by richwmiller)
In Problem 26, your best bet is to sketch a graph on paper with all the known information (answered by scott8148)