Let A(1,7),B(4,2),C(−1,−1) and D(−4,4) be the given co-ordinates.
1. Diagonals BD and AC
BD =√(4+4)2+(2−4)2=√68
AC =√(1+1)2+(7+1)2=√68
∴AC=BD
∴ the diagonals are equal.
2. Sides AB,BC,CD and DA
Length AB=√(41)2+(27)2=√34
Length BC=√(14)2+(12)2=√34
Length CD=√(41)2+(41)2=√34
Length DA=√(41)2+(47)2=√34
Therefore, □ABCD is a square since sides AB,BC,CD and DA are equal and the diagonals are also equal.