But let’s start with a related picture, one with only two circles:

Again, the circles have unit radius. What are the dimensions of the rectangle?

The key to figuring this out is that if you have two lines through a point both tangent to a circle, then the line segments from the intersection point to the tangent points are congruent. We know the distance from the top right corner of the rectangle to the top tangent point on the yellow circle is 3. We don’t know the distance from the bottom right corner of the rectangle to the left tangent point on the yellow circle; call it x. Then the length of the diagonal is 3+x. By Pythagoras,

whose solution is x=2. So the height of the rectangle is 3, its width is 4, and its diagonal is 5: the diagonal and two sides make a 3:4:5 triangle, where 3:4:5 is a Pythagorean triple.

You can do the 3-circle problem the same way; here the length of the diagonal is 5+x, the equation is

whose solution is x=3/2. The rectangle then is 2.5 by 6 with diagonal 6.5. Those three numbers are in the proportion 5:12:13, another Pythagorean triple!

Coincidence? No. Of course if x is rational then the lengths of the sides and diagonal are in the proportion of a Pythagorean triple. But in general, with n circles, does x have to be rational? You might expect not. However, the solution for n circles is given by

whose solution is

So the rectangle height:width:diagonal is

: :

or

: :

which is the integer proportion : : , scaled by . That’s a Pythagorean triple, and in particular it’s a triple in which the hypotenuse is one greater than the longer side. For four circles, for example, the triple is 7:24:25 and the rectangle’s dimensions are 7/3 by 8.

This puzzle by Catriona Shearer has been driving me nuts today:

I stared at a while, didn’t come up with anything good, and finally gave up and started looking at the solutions people were posting. They fell into three categories: Answers with no real attempt to show reasoning; algebraic solutions that were kind of opaque and didn’t really give any insight; and geometric solutions that depended on assertions I couldn’t see a justification for.

I still haven’t seen a solution that makes me particularly happy.

The geometric solutions in particular mostly looked like they assumed the left small semicircle’s base makes a 45° with the large semicircle’s base (or something equivalent). Which it does, but how do you know it does? In particular, it appeared people were assuming the square diagonal and the perpendicular bisector shown below are the same; in this diagram they’re not, because the large “semicircle” is really a semiellipse, but how do you know they do coincide when it’s a semicircle?

The clearest solution posted which I felt didn’t make any unjustified assumptions was Bilal Aydin’s. Here’s my version of it.

Let the radii of the small and large semicircles be and . In the following diagram is the center of the large semicircle, is the center of the small one on the left, and is the center of the small one on the right. is the point where the base of the large semicircle is tangent to the angled semicircle, and radius is perpendicular to that base. Since the base of the angled semicircle is a chord of the large one, its perpendicular bisector passes through and .

Then and so . Let . Now . , so . But . So

And then . So the large semicircle is three times the area of each small one; the shaded area is of the whole.

That works, but it’s very mysterious. Stuff cancels on both sides for no obvious reason. And if you try to figure out you find it’s just , which means triangle is isosceles and the angled semicircle’s base is 45° from the large semicircle’s base. Those seem like things that should be easy to prove geometrically, and yet… how?

I had to stare at this puzzle a good long time before I got it:

I had a very hard time figuring out where to start. What finally broke it for me was getting rid of unnecessary complications. For instance, in both the white and the yellow hexagons, three of the vertices don’t enter into the problem. You can replace those hexagons with triangles.

Likewise only two vertices of each of the other two hexagons are important; you can replace them with line segments.

Once you’ve done that the solution becomes obvious, in the sense of “I only had to stare at it another five minutes before saying ‘oh duhh'”. These two line segments are congruent.

As are these two.

These two angles are congruent, since both differ from 60° by the same amount.

So these triangles are congruent.

Now put back the original hexagons.

A side of one hexagon is congruent to a diameter of the other, so it’s twice a side of the other, so the areas of the two hexagons are in a 4:1 ratio. The “pink” (or I’d call it magenta) hexagon’s area is 48.

Catriona Shearer posted this problem to Twitter and it got a lot of discussion, so I thought I’d post my solution here in more detail than Twitter permits.

This design is made of three 2×1 rectangles. What fraction of it is shaded?

Label vertices and draw in a couple line segments:

Considering triangles CFJ and CKJ, angles CFJ and CKJ are right, line segment CJ is common, and CF = CK = 2, so the two triangles are congruent and FJ = JK = 1. But then angles CGE and JGK are equal, angles CEG and GKJ are right, and CE = JK, so those triangles are congruent and CG = GJ.

So JK = 1, and if KG = x, GJ = CG = 2-x, so 1²+x² = (2-x)². The solution is x = 3/4. The area of each shaded triangle is 3/8. The area of the whole pattern is three rectangles minus the shaded area: 6-3/4 = 21/5. The shaded area is 1/7 of the area of the whole pattern.

Notice the shaded triangles are 3:4:5.

Can the shaded area be dissected into pieces, seven of each of which will fill the pattern? Yes.

Here are the relative sizes of the pieces, in case you’re interested:

Blue: 9:12:15

Green: 12:16:20

Red: 9:25:30:38

Magenta: 10:16:38:40

Shaded triangles (blue+red and green+magenta): 30:40:50

There’s nothing at all new about this, in fact it’s ancient, but maybe it’s new to you? So here goes.

Here’s a square inscribed in a unit circle:

Or to keep down the clutter, here’s just one quadrant of that:

One side of the square along with the radii at each endpoint forms a triangle. The length of one side of the square we’ll call and it is of course . That means the perimeter of the square is .

Now consider an inscribed octagon. Again, here’s just one quadrant.

One side of the square is labeled ; what’s its length? Well, drop a perpendicular from the vertex in the middle:

And now notice the right triangle with hypotenuse 1 and sides and is just half of a quadrant of an inscribed square, which means . Then . From that you can get and from that, . The perimeter of the octagon is then .

Well, that was so much fun, let’s do it again. Here’s a quadrant of a 16-gon:

The right triangle with hypotenuse 1 and sides and is just half of an eighth of an inscribed octagon, which means . Then , , and . The perimeter of the 16-gon is then .

You know the rest, right? From here you can do the 32-gon, 64-gon, 128-gon, and so on, getting , , , and perimeter . For , the perimeter is . As increases, the perimeter gets closer and closer to the circumference of the circle, so this gives a way to calculate .

What about circumscribed polygons? If you look at the figures above, you can see the ratio of the size of a circumscribed square to an inscribed square is . Likewise the ratio of the size of a circumscribed octagon to an inscribed octagon is , and so on. So the perimeter of a circumscribed -gon is . As increases, approaches from above. And the average of and is a better approximation to than either, though not by a lot.

n

h_n

x_n

y_n

s_n

p_n

P_n

average

4

1.41421356

5.65685425

8.00000000

6.82842712

8

0.70710678

0.70710678

0.29289322

0.76536686

6.12293492

6.62741700

6.37517596

16

0.38268343

0.92387953

0.07612047

0.39018064

6.24289030

6.36519576

6.30404303

32

0.19509032

0.98078528

0.01921472

0.19603428

6.27309698

6.30344981

6.28827340

64

0.09801714

0.99518473

0.00481527

0.09813535

6.28066231

6.28823677

6.28444954

128

0.04906767

0.99879546

0.00120454

0.04908246

6.28255450

6.28444726

6.28350088

256

0.02454123

0.99969882

0.00030118

0.02454308

6.28302760

6.28350074

6.28326417

512

0.01227154

0.99992470

0.00007530

0.01227177

6.28314588

6.28326416

6.28320502

1024

0.00613588

0.99998118

0.00001882

0.00613591

6.28317545

6.28320502

6.28319024

This is something like the way Archimedes calculated around 250 BC (I told you this was ancient), although he started with a hexagon rather than a square and only went up to a 96-gon. He didn’t have Google Sheets, though.

I’ve been trying lately to post my solutions to Catriona Shearer’s geometry puzzles in a tweet with no graphics; a severe constraint. For instance, this from yesterday:

This puzzle looked daunting at first but turned out to be easier than it looked. The tweet solution may be a bit too terse to be followed easily, though.

Here is a modified diagram:

I’ve labeled five points, and the sizes of the three squares: The largest square, touching the circle at point , has size ; the medium square, touching at , has size , and the smallest square, touching at , has size . I added a copy of the smallest square, touching the circle at , and drew in the chord .

The blue triangle is right, with legs and , so its area is . The blue triangle is also right, with legs and ; its area is .

By the intersecting chords theorem, the product of lengths and is equal to the product of and . But , so ; that means .

So the red triangle area is which is four times the area of the blue triangle. That area is 5, so the area of the red triangle is 20.

Sometimes, though, you just need to have a picture:

It’s obvious the red triangles’ height is but the blue triangles were less obvious to me. I noted that if you drop a perpendicular from the top vertex of the bottom blue triangle to the bottom line, the resulting right triangle has legs in a ratio of which sum to , so the height is . Another approach another poster mentioned is to note that a diagonal of the square is divided into three equal parts by the slanting lines and so the vertical projection of one of those parts has length .

Either way, the red and blue triangles both have base = so a red triangle has area , a blue triangle has area , and four of each add up to . Then the octagon’s area is the square’s () minus the triangles’ () which equals .