skip to content
Logo Sons Only Take After Their Fathers' Negative Attributes
Table of Contents

Today I want to talk about a cool construction and how it’s actually used in contest math. Stick around (or skip) to the end for a cool problem.

Euclidea Problem 13.4 (Nu) - Square in Triangle

Given triangle ABCABC, inscribe a square such that two vertices lie on side AC\overline{AC} and the other two vertices lie on sides AB\overline{AB} and BC\overline{BC}.

Asymptote diagram

The 6L Solution

Asymptote diagram

Why does this work? This is a homothety-based construction. We start with a large square and progressively shrink it until it inscribes the triangle. Here’s a visualization of this transformation:

Asymptote diagram

We start with square ADPCADPC inscribed in the larger similar triangle. As we perform a homothety centered at BB to shrink the triangle down to ABC\triangle ABC, the lower left corner of the square remains on line BD\overline{BD} because homotheties preserve collinearity through the center.

Cool construction, but how is this useful?

Side Length of Inscribed Square Formula

You could arrive at this formula by considering two pairs of similar triangles in the original figure, but with this construction it’s immediate and intuitive. Since ABCABC\triangle A'BC' \sim \triangle ABC, corresponding sides are proportional:

sh=bh+b    s=bhb+h\frac{s}{h} = \frac{b}{h+b} \implies s = \frac{bh}{b+h}

See diagram below:

Asymptote diagram

Application to Contest Math

2009 NYCIML Fall Senior B #5

A square is inscribed in a 3-4-5 right triangle as shown in the diagram. Find the area of the square.

Asymptote diagram

2007 MathCounts State Sprint #30

Right triangle ABCABC has one leg of length 6 cm, one leg of length 8 cm and a right angle at AA. A square has one side on the hypotenuse of triangle ABCABC and a vertex on each of the two legs of triangle ABCABC. What is the length of one side of the square? Express your answer as a common fraction.

Asymptote diagram

2023 MAΘ Alpha Ciphering #9

A square is inscribed in an isosceles triangle, with one of its sides on the triangle’s base. The length of the base of the triangle is 10 and its legs have length of 13. What is the side length of the square?

2005 MathCounts National Target #4

Triangle ABCABC and triangle DEFDEF are congruent, isosceles right triangles. The square inscribed in triangle ABCABC has an area of 15 square centimeters. What is the area of the square inscribed in triangle DEFDEF? Express your answer as a common fraction.

Asymptote diagram

2005 JHMT Geometry #8

The square DEAFDEAF is constructed inside the 3030^\circ-6060^\circ-9090^\circ triangle ABCABC, with the hypotenuse BC=4BC=4, DD on side BCBC, EE on side ACAC, and FF on side ABAB. What is the side length of the square?

1987 AHSME #21

There are two natural ways to inscribe a square in a given isosceles right triangle. If it is done as in Figure 1 below, then one finds that the area of the square is 441 cm2441 \text{ cm}^2. What is the area (in cm2\text{cm}^2) of the square inscribed in the same ABC\triangle ABC as shown in Figure 2 below?

Asymptote diagram

(A) 378 (B) 392 (C) 400 (D) 441 (E) 484

2000 NYCIML Fall Senior A #16

The sides of a triangle are 13, 14, and 15. A square is inscribed in the triangle so that two of its vertices are on side 14. Compute the length of one side of the square.

2006 NYCIML Spring Senior A #9

A square, with side of length ss, is inscribed in an equilateral triangle, with side of length tt, such that two vertices of the square are on one side of the triangle. The other vertices are on the remaining two sides. The ratio s:ts:t may be written as 1:a+b31:a+b\sqrt{3}. Compute a+ba+b.

1985 NYSML Team #10

In right triangle ABCABC, B=41\angle B=41^\circ. Square PQRSPQRS is inscribed as shown. Let AB=cAB=c and the altitude from CC to AB\overline{AB} be hh. If 1h+1c=23\frac{1}{h}+\frac{1}{c}=\frac{2}{3}, compute the length of a side of the square.

Asymptote diagram

1989 VTRMC #1

A square of side aa is inscribed in a triangle of base bb and height hh as shown. Prove that the area of the square cannot exceed one-half the area of the triangle.

Asymptote diagram

Tournament of Towns, Senior O-Level Paper, Spring 2024, Problem 2

An arbitrary rectangle is split into right triangles as shown in the figure below. Into every right triangle, a square is inscribed with its side lying on the hypotenuse. What is greater: the area of the largest square or the sum of the areas of the remaining three squares? - Mikhail Evdokimov

Asymptote diagram

Solution

This problem is pretty cool. For some intuition, consider the special case where the rectangle is actually a square. From the 1989 VTRMC #1 problem above, we know that the inscribed square’s area is exactly half its triangle’s area. This suggests the answer might be a trick question: the areas are exactly equal.

How do we prove this for an arbitrary rectangle? The key insight is to show that whenever you split a right triangle into two smaller triangles by dropping an altitude to the hypotenuse, the sum of the inscribed square areas in the two smaller triangles equals the inscribed square area in the original triangle. Looking at our diagram, we can see how the three lime squares come from recursively splitting: first, split the large red triangle to get the left lime square and an upper triangle. Then split that upper triangle again to get the final two lime squares:

Asymptote diagram

The key insight is that when an altitude is dropped to the hypotenuse of a right triangle, it creates two smaller triangles that are similar to each other and to the original. Using this similarity along with the Pythagorean theorem and the relationship between hypotenuse and inscribed square side length gives a straightforward proof.

However, we’re going to prove something a little stronger and we’re going to do it using only synthetic geometry!

Synthetic Geometry Proof

Somewhat incredibly, not only do the areas sum to be equal but the vertices of the squares also meet up to form a perfect Pythagorean Theorem-esque formation:

Asymptote diagram

We’ll prove this in two steps:

  1. The vertices of the red square are coincident with the vertices of the green square along the original hypotenuse, and
  2. The vertices of the green squares on the altitude are also coincident.

This will also trivially yield the result that the areas are equal because of the Pythagorean Theorem.

Red Square Vertices Coincide with Green Square Vertices

Consider right triangle ABCABC with the right angle at AA. Using the construction from the Side Length of Inscribed Square Formula section, we construct the red square inscribed on hypotenuse BCBC. We draw a perpendicular to BCBC at CC, then a circle centered at CC with radius CBCB. The intersection of the perpendicular and the circle gives us a point, and the line from AA through this point intersects BCBC at vertex PP of the square.

Asymptote diagram

Now we construct the green square on hypotenuse ACAC using the same method. We also need the altitude from AA to BCBC, meeting it at point DD:

Asymptote diagram

Now here’s both constructions overlaid:

Asymptote diagram

Remember we’re trying to show that the red and green squares coincide at point PP on hypotenuse BCBC. To prove this, it suffices to show that PQPQ is perpendicular to ACAC.

First observe that since ABC\triangle ABC is similar to DAC\triangle DAC, their constructions are similar because we performed identical operations that preserve similarity. Thus AQDBPA\angle AQD \cong \angle BPA:

Asymptote diagram

Consider the circumcircle of ADP\triangle ADP. Since AQDBPA\angle AQD \cong \angle BPA and both angles inscribe the same arc of the circumcircle, by the converse of the inscribed angle theorem, QQ also lies on that same circle. Thus DPQADPQA is a cyclic quadrilateral and opposite angles are supplementary. Since ADP\angle ADP is a right angle, so is AQP\angle AQP. Therefore PQACPQ \perp AC, which means the red and green squares meet at PP:

Asymptote diagram

But there was nothing special about which sub-triangle we chose. Repeating the identical proof on the other side gives us:

Asymptote diagram

It sort of looks like we could be done here, except we haven’t shown that something like this isn’t happening:

Asymptote diagram

Let’s prove that can’t happen.

Green Square Vertex Coincides with Other Green Square Vertex

This is basically the same idea as above, but we perform the constructions on the two sub-triangles:

Asymptote diagram

Remember we’re trying to show that the two green squares coincide at a point on altitude ADAD. This is equivalent to showing that STST is perpendicular to ACAC.

Just like in the first proof, since ADBCDA\triangle ADB \sim \triangle CDA and we’re performing identical constructions on each, the following two triangles are also similar:

Asymptote diagram

Since BDRADT\angle BDR\cong\angle ADT and BDA=90\angle BDA = 90^\circ, RDT=90\angle RDT=90^\circ. RDT\angle RDT is opposite and supplementary to RAT\angle RAT, showing RDTARDTA is a cyclic quadrilateral:

Asymptote diagram

But point SS is also on that circle. Why? Because ARS=90=ADS\angle ARS = 90^\circ = \angle ADS, quadrilateral RSDARSDA is also cyclic (it has two opposite supplementary angles). So both SS and TT are on the circumcircle of RDA\triangle RDA! This implies that ATS\angle ATS is supplementary to ARS=90\angle ARS = 90^\circ, proving that STACST \perp AC. \square