Triangles

Fagnano's Problem and the Shortest Billiard Loop in an Acute Triangle

Find the shortest triangle that touches all three sides of an acute triangle, using two mirror reflections.

Key takeaways

  • In an acute triangle, the inscribed triangle of smallest perimeter joins the feet of the three altitudes.
  • Reflecting one point across two sides turns the bent path into a segment that you can minimize by eye.
  • The orthic triangle obeys the law of reflection at every corner, so it is a three-bounce billiard path.
  • Its perimeter equals twice the area of the big triangle divided by the circumradius.
  • Right and obtuse triangles have no proper three-bounce path of this kind.

Fagnano's problem asks for the shortest closed three-leg path that touches all three sides of an acute triangle. The answer is the orthic triangle, whose corners are the feet of the three altitudes. An altitude is the segment from a vertex that meets the opposite side's line at a right angle.

The same path is also a billiard loop. A ball sent along one side of the orthic triangle bounces off each cushion with equal angles in and out, and returns to its starting point after three bounces. Both facts have clean proofs that use mirrors instead of calculus.

Setting up the question

Take an acute triangle ABC, meaning all three angles are less than 90°. Choose one point D on side BC, one point E on side CA and one point F on side AB. The triangle DEF is said to be inscribed in ABC, and its perimeter is DE + EF + FD.

You have three free choices, one on each side, and each can slide continuously. Trial and error will bring you close to the best triangle but cannot prove that nothing shorter exists.

The trick is to fix D for a moment and find the best E and F for that D. Then you ask which D gives the shortest of those best paths. Splitting a problem with several moving parts this way is a habit worth keeping.

Two mirrors straighten the path

Reflect D in line AB to get D₁, and reflect D in line AC to get D₂. A reflection preserves lengths, so FD = FD₁ and DE = D₂E. The perimeter can now be rewritten:

DE + EF + FD = D₂E + EF + FD₁

The right side is the length of a broken path from D₁ to F to E to D₂. A broken path is never shorter than the straight segment between its ends, which is the idea behind the reflection solution to the shortest path touching a line.

So for this D, the perimeter is at least D₁D₂, and you reach that value by placing F and E where segment D₁D₂ crosses AB and AC. Because angle A is acute, and the other angles are too, those crossing points really do lie on the sides.

Choosing the best starting point

Now look at triangle AD₁D₂. Reflection keeps distances from A, so AD₁ = AD = AD₂. It is isosceles. Reflection also copies angles: angle D₁AB equals angle BAD, and angle CAD₂ equals angle DAC. The apex angle D₁AD₂ is therefore twice angle A.

That apex angle does not depend on where D is. As D slides along BC, all the triangles AD₁D₂ have the same angles, so they are similar. Their base D₁D₂ is a fixed multiple of their leg AD.

To make the base short, make AD short. The shortest segment from A to line BC is the perpendicular, so D must be the foot of the altitude from A. Acute angles at B and C guarantee that this foot lies on the side itself.

How the shortest inscribed triangle is found
1 Fix D on BC Hold one corner still while the others move 2 Reflect twice Mirror D in AB and in AC 3 Go straight Best path length equals the segment between images 4 Shrink AD Segment length scales with AD, so use the altitude Fix D on BC Hold one corner still while the others move 1 Reflect twice Mirror D in AB and in AC 2 Go straight Best path length equals the segment between images 3 Shrink AD Segment length scales with AD, so use the altitude 4

Why all three corners are altitude feet

The argument shows that the best D is the foot of the altitude from A, and that no other D can tie it. E and F were then forced as the crossing points of D₁D₂.

Nothing made A special. Run the same reasoning with E as the fixed corner and B as the mirror vertex, and it shows that the best E is the foot of the altitude from B. Run it again at C for F. Since there is only one minimizing triangle, all three descriptions refer to it.

So you get a theorem about altitudes for free: the segment joining the two reflections of one altitude foot passes through the other two feet. The orthocenter, where the altitudes cross, sits inside this orthic triangle.

The billiard property

At the minimizing triangle, F lies on the straight segment D₁E. The angle that FE makes with AB equals the angle that FD₁ makes with AB on the other side, since they are vertical angles. Reflecting FD₁ back gives FD. Therefore FD and FE make equal angles with side AB.

That is exactly the law of reflection. The same holds at E and, by the symmetry of the argument, at D. A frictionless point ball with no spin, launched from D toward E, travels D to E to F to D and repeats forever.

You can confirm the angles another way. Points B, C, E and F lie on one circle with diameter BC, because angles BEC and BFC are right angles. This gives angle AFE = angle C. The matching circle through A, C, D and F gives angle BFD = angle C as well.

A worked example

Take the triangle with sides 13, 14 and 15, placed with B = (0, 0), C = (14, 0) and A = (5, 12). It is acute because 15² = 225 is less than 13² + 14² = 365.

Altitude foot Coordinates (approximate)
D on BC (5, 0)
E on CA (8.96, 6.72)
F on AB (2.07, 4.97)

The legs are DE = 7.8, EF ≈ 7.11 and FD ≈ 5.77, for a total of about 20.68. Compare the triangle formed by the three side midpoints, whose perimeter is half of 42, or 21. The midpoint choice is close but longer.

The angles of the orthic triangle

The two circle facts give the shape of the orthic triangle too. At the foot F, the angles AFE and BFD both equal C, so the angle EFD between them is 180° − 2C. In the same way the angle at D is 180° − 2A and the angle at E is 180° − 2B.

Add them and you get 540° − 2 × 180° = 180°, as any triangle must. Each is positive exactly when the matching angle of ABC is below 90°, which is another view of why acuteness is required.

For the 13-14-15 triangle, with angles of roughly 67.4°, 59.5° and 53.1°, the orthic angles are about 45.2°, 61.0° and 73.7°. The altitude from each vertex of ABC bisects the orthic angle at its foot, because it is perpendicular to a side that the two legs meet at equal angles. So the orthocenter of ABC is the incenter of DEF.

A tidy perimeter formula

Let O be the circumcenter and R the circumradius. In any triangle, the radius OA is perpendicular to the orthic side EF. Quadrilateral AFOE therefore has perpendicular diagonals OA and EF, so its area is R × EF / 2.

In an acute triangle O lies inside, and the three quadrilaterals of this kind fill ABC exactly. Writing K for the area:

K = (R/2) × (EF + FD + DE)
orthic perimeter = 2K / R

For the 13-14-15 triangle, K = 84 and R = abc/(4K) = 65/8. The formula gives 1344/65 ≈ 20.68, matching the coordinates. For an equilateral triangle of side 2, the orthic triangle is the midpoint triangle with perimeter 3.

Right and obtuse triangles

If angle A is 90°, the images D₁, A and D₂ are collinear, and the best "triangle" collapses: both E and F move into A. The path runs down the altitude from A and straight back.

If angle A is obtuse, the segment D₁D₂ misses the sides. The shortest legal path again puts E and F at A, giving twice the altitude from A. Neither case yields a loop with three separate bounces.

Does every triangle still have some repeating billiard path? That question is much harder, and as of the mid-2020s it remains open for general obtuse triangles. Computer-assisted work by Richard Schwartz settled all triangles with no angle above 100°. You can follow the story in the article on periodic billiard paths.

Where the problem came from

Giovanni Fagnano studied the question in the 1770s using calculus. The mirror proof given here is usually credited to the mathematician Lipót Fejér. Hermann Schwarz found another, which reflects the whole triangle several times in a row until two laps of the orthic path unfold into one straight segment.

Schwarz's picture explains a bonus. A ball launched parallel to a side of the orthic triangle, and close to it, closes up after six bounces instead of three. The unfolding method also drives predictions of where a ball goes on a rectangular table.

Try it on paper

  1. Draw a large acute triangle and construct its three altitudes with a set square.
  2. Join the three feet, then measure the legs and add them.
  3. Pick any other point on each side, join those, and compare totals.
  4. Fold the paper along side AB and mark the image of D, then repeat along AC. Check that the straight segment between the images runs through E and F.
  5. With a protractor, compare the angles on either side of each bounce point.

Your measured totals near the optimum will differ only slightly, because a minimum is flat: moving a corner a little changes the perimeter very little. That makes folding a more convincing test than measuring.

A real billiard table adds friction, spin and cushion compression, so treat the three-bounce loop as a model of an ideal point reflecting off flat walls.

Written for 4Geometry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 57 articles in Triangles →

Latest news on this topic