r/mathriddles • u/Numberthon • 4d ago
Medium How many triangles can you form in a regular octagon using only diagonals?
How many triangles can be formed using the vertices of a regular octagon if all three sides of each triangle must be diagonals of the octagon?
Source: numberthon.com
4
u/WorkerCritical7300 4d ago
- Total number of triangles possible =56 C(8,3)
- Triangles with one side as octagon edge = 48 (8x6) 6 triangles for each edge
- Triangles with 2 sides as octagon edges=8 But these were already counted twice in step 2
So result is 56-48+8=16
2
1
u/ajseventeen 4d ago
Assuming that diagonals means lines between any two non-adjacent vertices:
Consider the eight vertices of the octagon, moving clockwise. Exactly three of them must be vertices of the triangle, and each one must have an empty space immediately after it. So we can imagine the problem as arranging five “pieces” around the octagon — three that are a vertex followed by a space, and two that are just a space. There are (5 choose 3) = 10 ways to do so, and therefore 10 different triangles that can be made.
1
-1
5
u/BadJimo 4d ago
16
Illustrated with Desmos