Problem

Source: All-Russian MO 2002 Regional (R4) 10.3

Tags: geometry, incenter, perpendicular, angle bisector



The perpendicular bisector to side $AC$ of triangle $ABC$ intersects side $BC$ at point $M$ (see fig.). The bisector of angle $\angle AMB$ intersects the circumcircle of triangle $ABC$ at point $K$. Prove that the line passing through the centers of the inscribed circles triangles $AKM$ and $BKM$, perpendicular to the bisector of angle $\angle AKB$.