Combinatorics: Counting quadrilaterals in triangle pattern

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
Master1022
Messages
590
Reaction score
116
Homework Statement
How many quadrilaterals are there?
Relevant Equations
Combinatorics
Hi,

I was watching a Youtube on combinatorics (here) and a problem was posed at the end of the video about counting the number of quadrilaterals.

Question:
How many quadrilaterals are present in the following pattern?
Screen Shot 2021-09-04 at 8.08.35 PM.png


Attempt:
The video started with the simpler problem of finding the number of quadrilaterals in the following shape (a single 'strip' of the triangle):
Screen Shot 2021-09-04 at 8.09.53 PM.png


The way I thought about it was that the quadrilateral was formed by taking two horizontal lines and two diagonal lines:
[tex]\begin{pmatrix} 2 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 10 \\ 2 \end{pmatrix}[/tex]

However, the individual triangles need to be deducted from the above product: there are ## = 2(5) - 1 = 9 ## individual triangles. Thus, I have:
[tex]\begin{pmatrix} 2 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 10 \\ 2 \end{pmatrix} - 9 = 45 - 9 = 36[/tex] quadrilaterals

Now that I completed that basic problem, I am thinking how to extend that concept to the larger triangle case. I am trying to avoid a laborious method of looking at each row doing lots of sums because I hope that there is an elegant solution.

Currently, all I can think of is doing is:
[tex]\begin{pmatrix} \text{number of small triangles} \\ 2 \end{pmatrix} = \begin{pmatrix} 25 \\ 2 \end{pmatrix}[/tex].

This is because we can pick two triangles and form a quadrilateral between them.

Does this seem like it is headed along the correct path?

Any help is greatly appreciated.
 
on Phys.org
Master1022 said:
Does this seem like it is headed along the correct path?
It started well but I think it is in danger of heading off course.

You have successfully calculated the number of quadrilaterals of height 1 which have their base in the 5th row, and with a bit more work you can generalise this to the number of height 1 which have their base in the n'th row:
## 2n^2 - 3n + 1 ##
You now need to look at how many quadrilaterals of height 2 have their base [edit: or bottom vertex] in the 5th row. See if you can generalise this expression to how many quadrilaterals of height h have their base [edit: or bottom vertex] in the n'th row. [edit: This will not be simple - there are many different orientations to consider.] You then need to sum over appropriate ranges of h and n to get to the total.
 
Last edited:
pbuk said:
It started well but I think it is in danger of heading off course.

You have successfully calculated the number of quadrilaterals of height 1 which have their base in the 5th row, and with a bit more work you can generalise this to the number of height 1 which have their base in the n'th row:
## 2n^2 - 3n + 1 ##
You now need to look at how many quadrilaterals of height 2 have their base [edit: or bottom vertex] in the 5th row. See if you can generalise this expression to how many quadrilaterals of height h have their base [edit: or bottom vertex] in the n'th row. [edit: This will not be simple - there are many different orientations to consider.] You then need to sum over appropriate ranges of h and n to get to the total.
Thanks @pbuk for the reply! Yes, I think I tried to over-simplify the problems. Thanks for the hints, I will give them some thought and post my next attempts here soon. Many thanks