Let be the orthocenter, and the circumcenter of an acute triangle . Points and are the feet of the altitudes from and , respectively. Let denote the intersection point of the lines and , and let denote the intersection point of the lines and . Let be the second intersection point of the circumcircles of triangles and , and let be the midpoint of side . Prove that points and are collinear if and only if is the center of the circumcircle of triangle .
Problem 1617
Official solution
Solution:
If is the center of the circumcircle of , then (all angles are oriented), from which it follows that ; analogously , i.e. and lie on the perpendicular bisector of segment , so is an isosceles trapezoid, hence lie on a circle.
On the other hand, if lies on the circle , that is, on the circle with diameter , the inscribed angles over and are equal (), so is an isosceles trapezoid, and from this . We now have

and analogously , from which it follows that is the center of the circle . Therefore, is the center of the circle if and only if and lie on a circle.
If the points lie on a circle, then and lie on the perpendicular bisector of segment , which proves one direction of the problem. Now suppose that lies outside the circle (the case when is inside the circle is treated in the same way). Since , we have and , i.e. and lie on different sides of the perpendicular bisector of segment , while belongs to this perpendicular bisector. Therefore, if and are collinear, must lie between and . It follows that one of the points and is outside triangle , and the other is inside the triangle. However, when is outside the quadrilateral , both points and are outside the triangle, and otherwise both are inside the triangle. This is a contradiction with the assumption that lies on the line , which proves the other direction.