If (1,2) and (3, 8) are a pair of opposite vertices of a square, find the
equation of the sides and diagonals of the square.

slope of AC =

AB and AD pass through A(1, 2) and make an angle of 450 with AC, whose slope is 3. Therefore, equations of AB and AD are given by

Therefore, equation of AB is 2x - 4y + 2 = 0  and equation of AD is 2x + y - 8 = 0.

BC || AD. Therefore, equation of line BC is 2x + y + k = 0.

This passes through C(3, 8).

∴2(3) + 8 + k = 0

⇒k = -14

Therefore, equation of line BC is 2x + y - 14 = 0.

Since B is the point of intersection of AB and BC, therefore, on solving the equations of AB and BC, we get

Thus, coordinates of B are .

E is the mid point of AC.

Thus, coordinates of D are

  • -3
What are you looking for?