Problem

Source: 2018 Oral Moscow Geometry Olympiad grades 10-11 p4

Tags: geometry, midpoint, incenter, excenter



On the side $AB$ of the triangle $ABC$, point $M$ is selected. In triangle $ACM$ point $I_1$ is the center of the inscribed circle, $J_1$ is the center of excircle wrt side $CM$. In the triangle $BCM$ point $I_2$ is the center of the inscribed circle, $J_2$ is the center of excircle wrt side $CM$. Prove that the line passing through the midpoints of the segments $I_1I_2$ and $J_1J_2$ is perpendicular to $AB$.