We have a quadrilateral ABCD. And we know: $$a^2+b^2+c^2+d^2=p^2+q^2$$ Prove this shape is parallelogram.
I write law of cosines between sides and diameters. Then I write sum of them and with the formula that the question give to us, We have this: $$ab.cos\hat B+bc.cos\hat C+cd.cos\hat D+da.cos\hat A=0$$
And I don't know what should I do.
By Euler's Quadrilateral Theorem, $a^2+b^2+c^2+d^2=p^2+q^2+4r^2$ where r is the distance between midpoints of diagonals. If $a^2+b^2+c^2+d^2=p^2+q^2$ holds, then $r=0$, so midpoints must coincide, hence the quadrilateral must be a parallelogram.