Problem

Source: 2010 XIII All-Ukrainian Tournament of Young Mathematicians, Qualifying p6

Tags: geometry, max, geometric inequality, Ukrainian TYM



Find inside the triangle $ABC$, points $G$ and $H$ for which, respectively, the geometric mean and the harmonic mean of the distances to the sides of the triangle acquire maximum values. In which cases is the segment $GH$ parallel to one of the sides of the triangle? Find the length of such a segment $GH$.