A square is inscribed in an acute-angled triangle such that two of its vertices lie on one side of the triangle and one of its vertices on each of the other two sides of the triangle. Prove that the largest such square is that with two of its vertices on the smallest side of the triangle.
Solution
Let be a square inscribed in as described in the problem, let be the altitude at and its length. By , , we denote the lengths of the sides of in the usual way. Let denote the side length of the square if one of its sides lies on the side of the triangle (see figure below). Similarly, and are the side lengths of the rectangles in the two other cases.

From similar triangles we obtain
This implies
and so, letting denote the area of ,
Now we prove that implies . Because (actually ), we have . If we assume , we obtain from which we get the following inequalities
This shows that implies , hence the square based on the smallest side of the triangle is the largest. The calculation also shows that implies . In this case .

Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.