Explanation
In any triangle, the centroid, incenter, circumcenter, and orthocenter coincide if and only if the triangle is equilateral. When these four centers coincide at a single point, the line segment drawn from any vertex through this point to the opposite side acts simultaneously as the median, altitude, angle bisector, and perpendicular bisector.
If the altitude from vertex A to side BC is also the median, it divides the triangle into two right-angled triangles, ABD and ACD, where D is the midpoint of BC. Since BD = CD, AD is a common side, and the angles ADB and ADC are both 90°, the two triangles ABD and ACD are congruent by Side-Angle-Side symmetry. This congruence directly implies that the sides AB and AC are equal.
Applying this same geometric principle to the altitudes and medians from the other vertices establishes that BC = AB and AC = BC. Since AB = BC = AC, all three sides of the triangle are of equal length, which defines an equilateral triangle.