MathLabs

Problem 3

Let P=A1A2⋯AkP=A_1A_2\cdots A_k be a convex polygon in the plane. The vertices A1,A2,…,AkA_1,A_2,\dots,A_k have integer coordinates and lie on a circle. Let SS be the area of PP. An odd positive integer nn is given such that the square of the length of each side of PP is an integer divisible by nn. Prove that 2S2S is an integer divisible by nn.
Step 3 of 5: Rewriting the relation with square roots of rationals
In plain words

Each term of the Ptolemy relation is, after squaring the numerator (a squared side length divisible by pep^e) and denominator (a product of two radii), a square root of a positive rational number.

q1+q2+⋯+qk−1=q,qi,q∈Q>0\sqrt{q_1}+\sqrt{q_2}+\dots+\sqrt{q_{k-1}}=\sqrt{q},\qquad q_i,q\in\mathbb{Q}_{>0}
Detailed analysis

Each term AiAi+1OAi⋅OAi+1\frac{A_iA_{i+1}}{OA_i\cdot OA_{i+1}} can be rewritten using AiAi+1=AiAi+12A_iA_{i+1}=\sqrt{A_iA_{i+1}^2} as qi\sqrt{q_i} where qi=AiAi+12OAi2⋅OAi+12q_i=\dfrac{A_iA_{i+1}^2}{OA_i^2\cdot OA_{i+1}^2} is a positive rational number (since all coordinates, hence all squared distances, are rational — indeed integers). Likewise the right-hand side is q\sqrt q for a positive rational q=A1Ak2OA12⋅OAk2q=\dfrac{A_1A_k^2}{OA_1^2\cdot OA_k^2}. So the identity becomes q1+q2+⋯+qk−1=q\sqrt{q_1}+\sqrt{q_2}+\dots+\sqrt{q_{k-1}}=\sqrt q.