How many triangles can you form with 21 evenly distributed dots?

  • Context: Undergrad 
  • Thread starter Thread starter davee123
  • Start date Start date
  • Tags Tags
    Triangles
Click For Summary

Discussion Overview

The discussion revolves around the problem of determining how many triangles can be formed using 21 evenly distributed dots arranged in an equilateral triangular pattern. Participants explore both equilateral triangles and general triangles, considering the implications of different interpretations of the question.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that the question may be interpreted as asking for equilateral triangles rather than all triangles, which complicates the problem.
  • One participant notes the difficulty in finding a formula that expresses the number of triangles given N dots.
  • There are differing answers regarding the number of equilateral triangles, with some participants acknowledging the possibility of non-standard orientations.
  • A participant raises the concern of counting degenerate triangles, where three dots are collinear, and questions whether the existing formulas account for these cases.
  • Another participant mentions that while counting all sets of three points is straightforward, identifying which sets are collinear is more challenging.
  • One participant calculates the number of general triangles as 1216, after accounting for 114 degenerate triangles.
  • There is a suggestion that writing an algorithm might be easier than deriving a formula for the problem.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the question (equilateral vs. all triangles) and the methods for counting triangles, indicating that multiple competing perspectives remain without consensus on a definitive answer.

Contextual Notes

Some participants mention limitations in their approaches, such as the challenge of accounting for degenerate triangles and the complexity of deriving a general formula for the number of triangles.

davee123
Messages
671
Reaction score
4
So, being inundated with the "How many triangles?" questions on Facebook, I noticed this one which is actually more difficult than I expect the question author intended:
http://creative.ak.facebook.com/ads3/flyers/36/28/6002237517496_1_992e4bd8.jpg
Assuming you have 21 dots evenly distributed in an equilateral triangular pattern (like bowling pins), how many distinct triangles can be formed by connecting the dots?

Of course, I'll bet they expect people to interpret "equilateral triangles" rather than simply "triangles", but it does make for a more interesting challenge.

And on that note, how many are possible with 3 dots, 6 dots, 10 dots, and 15 dots? Is there a nice formula for progression as the number of available dots increases?

DaveE
 
Last edited by a moderator:
Mathematics news on Phys.org
When the "starting triangle's base" has N dots, then the number of equilateral triangles is
(N-1)*N*(N+1)*(N+2)/24
which means
70
equilateral triangles in the figure.

:smile:
 
davee123 said:
Of course, I'll bet they expect people to interpret "equilateral triangles" rather than simply "triangles", but it does make for a more interesting challenge.
Which way do you want us to interpret it: only equilaterals or all triangles?
 
I suppose both questions are interesting-- answer what you will, I guess! But I couldn't think of a formula that expressed the number of "triangles" given N dots. I honestly never even tried to answer the equilateral triangle question, since it seemed more trivial. But there are some interesting caveats to it.

DaveE
 
I get a different answer from rogerio for equilateral triangles. Maybe I am overlooking some triangles somewhere...

For N even:
n(2n^2-n-2)/8 = 48 triangles for n=6 base dots
For N odd:
(n-1)(n+1)(2n-1)/8 triangles.
 
Last edited:
Gokul43201 said:
I get a different answer from rogerio for equilateral triangles. Maybe I am overlooking some triangles somewhere...

I got the same answer as Rogerio for the equilateral triangles-- there are some non-standard orientations, don't forget!

DaveE
 
davee123 said:
I got the same answer as Rogerio for the equilateral triangles-- there are some non-standard orientations, don't forget!

DaveE
Oops, yes! I was missing those.
 
I'm assuming your formulae simply count all possible 3-dot combinations and assumes a triangle joins them. Is that correct?

Do these formula eliminate "degenerate shapes"? i.e. three dots in a straight line does not a triangle make, so some combos of 3 dots are not valid.

Oh, I see you guys are pursing only equilateral triangles so far, so my point is moot.
 
Last edited:
DaveC426913 said:
I see you guys are pursing only equilateral triangles so far, so my point is moot.

Well, moot in terms of equilateral triangles, but not all triangles, which is what I was more interested in. Figuring out all the sets of 3 points is pretty simple, but figuring out which sets of 3 are in straight lines was tougher-- at least in terms of trying to get a formula.

DaveE
 
  • #10
davee123 said:
Well, moot in terms of equilateral triangles, but not all triangles, which is what I was more interested in. Figuring out all the sets of 3 points is pretty simple, but figuring out which sets of 3 are in straight lines was tougher-- at least in terms of trying to get a formula.

DaveE
I suppose it would be easier to write an algorithm (where you have access to loops and decision trees) than a formula. I wonder if all algorithms are transposable into formulae...
 
  • #11
davee123 said:
Figuring out all the sets of 3 points is pretty simple, but figuring out which sets of 3 are in straight lines was tougher-- at least in terms of trying to get a formula.

Agreed.

I got 114 degenerated triangles (3 points in line).
So the number of general triangles in the figure is
21*20*19/6 - 114 = 1216.

But it was a very ugly way...
 
  • #12
Yep, that matches what I got, although I just did 21 choose 3 - 114. Same difference, though.

DaveE
 
  • #13
General formula for the 114? Now that should be fun!
 

Similar threads

  • · Replies 125 ·
5
Replies
125
Views
20K
  • · Replies 67 ·
3
Replies
67
Views
16K
Replies
15
Views
42K