Back Original

Inquiries-Week 5: Triangles Emerge

Introduction

In this inquiry, nodes are connected one at a time. How many lines can you draw before a triangle emerges?

Starting with Four

Let's start with four nodes - draw them on a sheet of paper. How many lines (called edges) can you draw before a triangle forms with each vertex on a node? (Don't count triangles that don't have vertices on a node).

4 points, labeled 0,1,2,3 with 0 on the top, then filled in clockwise.

What is the fewest number of edges you can draw before there has to be a triangle? What is the largest number of edges you can draw before there has to be a triangle?

More Numbers

Now, play with graphs that have 6, 8, and 10 nodes. There is a tool below. You can either start with all lines and remove some of them, or add lines. Paper works as well.

Graphing tool to connect nodes equidistant from the center. When a triangle forms with all vertices on nodes, it shades it in with orange.

Activity

This is a 60+ minute activity.

Exploration Phase (15-30 minutes)

Playing with a 6-node graph

Explore a 6-node graph and see what the maximum number of lines is possible without any triangles. Some of the ways learners may approach this:

If learners find 9 lines are possible, then try a 4-node graph to note that 4 lines are possible.

Then try 8 nodes.

Conjecture Formation (15-30 minutes)

Allow time to write down observations and form conjectures using the even node graphs as a starting point. Give examples of conjectures, if needed, that don't give away discoveries.

The table below shows just how many patterns may emerge from adding, subtracting, and playing with the different columns (It's fun to discover, so the table is just for reference as a facilitator)

Nodes Possible Edges Possible Triangles Max lines no Triangle
3 3 1 2
4 6 4 4
5 10 10 6
6 15 20 9
7 21 35 12
8 28 56 16
9 36 84 20
10 45 120 25
11 55 165 30

Possible Conjectures (these are just a few):

"The number of maximum lines for an even number of nodes is (n/2)(n/2)."
"The number of maximum lines for an odd number of nodes is (n+1)(n-1)/4."
The number of maximum lines to not form a triangle is the number of possible lines minus the (n-1) graph's maximum number of lines to not form a triangle.
"Starting with a 3-node graph, the maximum number of lines that don't form a triangle is {2,4,6,9,12,16,20,...}, where there is adding in the pattern {+2,+2,+3,+3,+4,+4,...}."
"For even node graphs, the maximum number of lines is a square number."
"The worst way to draw a graph is to connect all of the nodes to a single node."
"The best way to draw a graph is to connect all even nodes to odd nodes, and not even to even or odd to odd."

Other conjectures related to colorings, such as what makes a cycle of 4, and more, can emerge - go with the flow to see what is discovered.

Discussion (10-20 minutes)

Share and discuss conjectures, observations, and strategies.

What patterns emerged? What other strategies or approaches were taken?

Create a table or document to record observations in various ways.

Look at all the graphs created! Do any insights emerge when seeing other peoples approaches?

Optional Extensions - try a proof or variation

Numerous conjectures and observations can arise from this activity; only one proof outline is below. Learners may also find that spending more time in the pattern-finding space suits them well for this activity. Instead of proofs, variations and games can be played with the graphs (don't make 4, nim-like turns of drawing lines (Sim), colorings, and more).

One approach is to split the nodes into two groups and make a bipartite graph, where each group can connect to the other, but not to itself.

Proof-1: A graph with even nodes can have a maximum of (n² - 1)/4 edges without forming any triangles.

  1. A triangle forms when two connected nodes both connect to a third node.
  2. To avoid triangles, split all nodes into two groups (A and B) and only connect nodes between groups, never within a group.
  1. If Group A has k nodes and Group B has (n - k) nodes, the number of edges is k(n - k).
  1. When k = 1, there are n - 1 edges. This is the lower bound.
Digram showing one node connecting to the rest (n-1) nodes.
  1. When k = n/2, we get (n/2)(n/2) = n²/4 edges. This is the upper bound, since anything larger than n/2 is the same as a smaller value of k.
Diagram showing n/2 nodes on the left and n/2 nodes on the right with connections between them.
  1. The maximum occurs when the groups are equal in size – when k = n/2, resulting in n²/4 edges in this two-group graph, also known as a bipartite graph.
  2. The maximum number of edges without triangles is n²/4. 

Proof-2: The maximum number of lines for an odd graph that can exist without forming a triangle is (n² - 1)/4.

Steps 1-4 of Proof-1.

  1. When n is odd, we cannot split evenly. The closest split is k = (n+1)/2 and (n - k) = (n-1)/2. This is the upper bound, because anything larger is the same as a smaller value of k.
  2. This gives ((n+1)/2)((n-1)/2) = (n² - 1)/4 edges.
  3. Therefore, the maximum number of edges without triangles when n is odd is ((n+1)/2)((n-1)/2) = (n² - 1)/4.

Tools and Supplies

Vocabulary

Resources, Extensions, and What Ifs