Let the area of the lattice triangle be denoted by . Prove that if
then , and are three vertices of a square.
Let the area of the lattice triangle be denoted by . Prove that if
then , and are three vertices of a square.
Since the roles of and can be interchanged in the problem, we can assume that the triangle has a positive orientation. Let , , and , and denote by the point obtained by rotating around by (see figure). Then is also a lattice point, because if the coordinates of are , then the coordinates of are , which are integers (since both and are lattice points), and thus the coordinates of are also integers, as they are sums of integers.
!
In the triangle , by the cosine rule,
According to our condition, , which, using the formula , can be rewritten as
Thus,
By the triangle inequality, (equality is possible if the triangle is degenerate), so . Therefore,
From this, we get . Substituting this back into the inequality (1),
follows. However, the distance between two lattice points can only be less than 1 if the points coincide, so .
Thus, the point obtained by rotating around by is , meaning that , , and are indeed three vertices of a square.
Terpai Tamás (Fazekas M. Fóv. Gyak. Gimn., 12th grade)