It also works for isosceles triangles. You can formally show it by showing that the two triangles you get when you divide are congruent.