11.6. (Austria, 73). Prove that if all angles of a convex octagon are equal, and the ratio of the lengths of any two adjacent sides is rational, then the opposite sides of this octagon are equal.
Problem 1129
Official solution
11.6. Without loss of generality, we can assume that the lengths of the sides of the given octagon are rational numbers (otherwise, we will prove the required statement for a similar octagon , where , and thus the other sides are rational; as a result, the statement will be proven for the original octagon as well). Consider the vectors
!
the sum of which is 0. Since all angles of the octagon are equal and their sum is , each angle is , and the angles between vectors and are (Fig. 47). Project all vectors onto an axis parallel to, for example, vector , and let be the length of the projection of the sum , and be the length of the projection of the sum . Since the projection of the sum is 0 (because ), we have . On the other hand, the length of the projection of each of the vectors is a rational number multiplied by .
!
Fig. 47
Therefore, we have , where , from which it follows that and . Similarly, it can be shown that
Thus, we obtain
which is what we needed to prove.