Notes
two squares and an equilateral triangle solution

Two Squares and an Equilateral Triangle

Two Squares and an Equilateral Triangle

Two squares and an equilateral triangle. What’s the angle?

Solution by Equations of Lines

Two squares and an equilateral triangle labelled

Position the diagram on a coordinate grid so that point AA is at the origin and point CC at the point (1,0)(1,0). From the properties of equilateral triangles, the coordinates of GG can be seen to be (12,32)\left(\frac{1}{2}, \frac{\sqrt{3}}{2}\right) and so the equation of the line extending CGC G is:

y=3x+3 y = -\sqrt{3} x + \sqrt{3}

Point FF lies on this line and also on the line y=xy = x. Its coordinates can therefore be calculated to be (31+3,31+3)\left( \frac{\sqrt{3}}{1 + \sqrt{3}}, \frac{\sqrt{3}}{1 + \sqrt{3}}\right).

The length of BCB C is then 131+3=11+31 - \frac{\sqrt{3}}{1 + \sqrt{3}} = \frac{1}{1 + \sqrt{3}} and so the coordinates of DD are (1,11+3)\left(1, \frac{1}{1 + \sqrt{3}}\right). The length of GHG H is therefore:

3211+3=3(1+3)22(1+3)=3+12(1+3)=12 \frac{\sqrt{3}}{2} - \frac{1}{1 + \sqrt{3}} = \frac{ \sqrt{3}(1 + \sqrt{3}) - 2}{2(1 + \sqrt{3})} = \frac{\sqrt{3} + 1}{2(1 + \sqrt{3})} = \frac{1}{2}

The triangle GHDG H D is therefore an isosceles right-angled triangle and so angle GD^HG \hat{D} H is 45 45^\circ.