san francisco state university alyssa palfreyman...

8
San Francisco State University Alyssa Palfreyman Adjacencies in Three-Dimensional Graphs: Matrices and Marshmallows Introduction This lesson was designed for the San Francisco Math Circle as the conclusion to a series on graph theory. Three-dimensional polytopes are introduced to the students as three-dimensional graphs (a collection of vertices and edges). The students investigate the structure and purpose of an adjacency matrix in relation to its graph, and eventually “build” their own three-dimensional graphs given an adjacency matrix. This lesson was also given to a math analysis class over two 48-minute periods. As a two-day lesson, the students had opportunity for greater investigation of the extension questions and richer discussions. Learning Objectives Students will Learn another representation of mathematical relationships using matrices Be able to represent the adjacencies of a graph by writing its adjacency matrix Be able to construct a graph given an adjacency matrix Understand that objects can be represented algebraically/abstractly Common Core standards for mathematical practice being used in this lesson: 1. Make sense of problems and perservere in solving them 2. Reason abstractly and quantitatively 3. Construct viable arguments and critique the reasoning of others 4. Model with mathematics Background This lesson was designed for students who had previously worked with graphs and were familiar with the definition of adjacent vertices. However, this background knowledge is not essential to success in this lesson. Adequate time can be spent at the beginning to define these terms and familiarize students with these concepts. A graph G is a collection of vertices and edges where each edge connects exactly two vertices. Examples of three graphs are shown below. 1

Upload: truongthien

Post on 28-Mar-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

San Francisco State University Alyssa Palfreyman

Adjacencies in Three-Dimensional Graphs:Matrices and Marshmallows

Introduction

This lesson was designed for the San Francisco Math Circle as the conclusion to a series on graph theory.Three-dimensional polytopes are introduced to the students as three-dimensional graphs (a collection ofvertices and edges). The students investigate the structure and purpose of an adjacency matrix in relation toits graph, and eventually “build” their own three-dimensional graphs given an adjacency matrix. This lessonwas also given to a math analysis class over two 48-minute periods. As a two-day lesson, the students hadopportunity for greater investigation of the extension questions and richer discussions.

Learning Objectives

Students will

• Learn another representation of mathematical relationships using matrices

• Be able to represent the adjacencies of a graph by writing its adjacency matrix

• Be able to construct a graph given an adjacency matrix

• Understand that objects can be represented algebraically/abstractly

Common Core standards for mathematical practice being used in this lesson:

1. Make sense of problems and perservere in solving them

2. Reason abstractly and quantitatively

3. Construct viable arguments and critique the reasoning of others

4. Model with mathematics

Background

This lesson was designed for students who had previously worked with graphs and were familiar with thedefinition of adjacent vertices. However, this background knowledge is not essential to success in this lesson.Adequate time can be spent at the beginning to define these terms and familiarize students with these concepts.A graph G is a collection of vertices and edges where each edge connects exactly two vertices. Examples ofthree graphs are shown below.

• •

• •

• •

1

Adjacent vertices are two vertices that are connected by an edge. A labeled graph is a graph in which thevertices are labeled 1,2, . . . as in the example below.

•1

•2 •3

•4

Most students will not know formally what a matrix is. This object is introduced in the lesson as an object fororganizing numbers in a tabular form. Each entry is described by its row and column; the entry in the ith rowand jth column is the (i, j) entry. Knowing matrix operations is not required.

In the first part of this lesson, students are building an understanding of and providing a definition for anadjacency matrix of a graph. The formal definition of an adjacency matrix A

G

of a graph G is as follows. Leta

i j

be the (i, j) entry of A

G

. Then,

a

i j

=

(1 if vertex i is adjacent to vertex j

0 otherwise

(Note: a vertex is not adjacent to itself.) The adjacency matrix for the labeled graph shown above is

A

G

=

0

BB@

0 1 1 01 0 1 11 1 0 10 1 1 0

1

CCA .

For a more detailed introduction to graph theory, I direct you to [3]. For more specific information onalgebraic graph theory such as adjacent matrices, see [2].

Materials Required

For each group of four:

• Set of 4 “three-dimensional graphs,” made out of zometools [1] (cube, octahedron, triangular pyramid,triangular prism)

2

• Set of 4 adjacency matrices each on a separate slip of paper (see Adjacency Matrices of 3-Dimensional

Graphs attached)

a :✓0 1 1 1

1 0 1 11 1 0 11 1 1 0

◆b :

0

@0 1 1 1 1 01 0 1 0 1 11 1 0 1 0 11 0 1 0 1 11 1 0 1 0 10 1 1 1 1 0

1

A g :

0

BB@

0 1 0 1 1 0 0 01 0 1 0 0 1 0 00 1 0 1 0 0 1 01 0 1 0 0 0 0 11 0 0 0 0 1 0 10 1 0 0 1 0 1 00 0 1 0 0 1 0 10 0 0 1 1 0 1 0

1

CCA d :

0

@0 1 1 1 0 01 0 1 0 1 01 1 0 0 0 11 0 0 0 1 10 1 0 1 0 10 0 1 1 1 0

1

A

• Dot stickers (for students to label the vertices on the zometool graphs) - optional

• Marshmallows (about 8-12 per group)

• Straws with the ends cut sharp (about 20 per group)

• Cleaning wipes (to wipe the tables clean after the activity)

For each student:

• Matrices and Marshmallows Worksheet (see attached)

Instructional Plan

• (3 min) Introduce the students to a matrix. Draw a sample matrix on the board, such as0

@1 3 �4 22 �1 0 11 2 7 3

1

A ,

and describe the matrix in terms of rows and columns. For example the shown matrix has three rowsand four columns. Each entry in the matrix can be expressed by the row and column that it is in. Forexample, the entry 0 in the shown matrix is the entry in the 2nd row and 3rd column. We can call thisthe (2,3) entry. In general, the entry in the i-th row and j-th column is the (i, j) entry.

• (3 min) Remind students of the concept of a graph. Draw a sample graph of the board emphasizing thevertices and the edges, such as the following graph with 4 vertices and 5 edges.

•1

•2 •3

•4

Explain that it is often useful to label the vertices to make it easier to talk about the graph. Label thesample graph with any choice of labeling (e.g. 1,2,3, . . . , or a,b,c, . . . ). Ask for volunteers to give anexample of two vertices on the sample graph that are adjacent (such as 1 $ 2 or 2 $ 3). Similarly,ask for examples of vertices that are not adjacent (such as 1 6$ 4). Next, introduce the students to thethree-dimensional graphs they will be working with in this activity. Show them one of the polyhedramade out of zomes, emphasizing that it has vertices and edges just like when they worked with graphstwo-dimensionally.

3

• (20-30 min) Hand out the group sets of graphs made of zometools and the sets of adjacency matrices.The group task is to match each matrix with one of the graphs, and explain as a group why they thinkthey have the correct matchings. At this point, the students don’t know that these specific matricesare called adjacency matrices, and they don’t know how they relate to the graphs. The students willmake conjectures about how the matrices match with the graphs. If they have trouble getting started,ask them to make observations about the matrices and graphs: Number of rows/columns? How manyvertices/edges/faces in this graph? How many 1’s in a particular row? They might say things like “thismatrix matches with this graph because they are both the biggest.” Encourage them to describe moreclearly what they mean by the “biggest”: the most vertices? the most edges? the most faces? If theythink the number of rows/columns in the matrix matches with the number of faces, point out that thetriangular pyramid has 5 faces and none of the matrices have 5 rows/columns. If students continue tostruggle, give hints like labeling the rows and columns for them (e.g. 1-6), or labeling the vertices of agraph (with the dot stickers).

When a group has a general idea of how the matrices match with the graphs, give them the handout andask them to complete the front page.

• (5 min) When most of the groups have figured out the connection from the graphs to the matrices, havea class discussion on their findings.

• (20 min) Pass out the marshmallows and straws so they can build their own 3-dim graphs. The secondpage of the handout has four new adjacency matrices from which they can build their graphs. Theycan write with markers on the marshmallows if they like so that their vertices are labeled. Have themcomplete the second page of the handout. There are extension questions provided for the students thatwork faster than others.

4

Reflection

I enjoyed teaching this lesson very much. I was initially worried that students would get frustrated orcheck-out during the first group activity when they match up the matrices and graphs. But each time I taughtthis lesson, all the students were engaged and genuinely interested in finding the relationship between thegraphs and matrices. It was a good opportunity for students to make conjectures and try to justify theirguesses. At times, the students would make an incorrect claim and the whole group would be convinced thatit was correct because it might work for one case. These times actually provided good opportunites for richdiscussion about finding counterexamples and proving/testing conjectures.

When students are building the graphs out of marshmallows and straws, they had to work together to be able toboth hold it together physically, as well as keep track of their work. I liked this encouragement of team work. Iobserved one group of four very bright students that preferred to work independently. This made it hard to getthem to collaborate and discuss ideas with each other during the first activity. However, as soon as they had tobuild the graphs as a team, they quickly realized they could not do it alone and they worked together quite well.

I found that even with the faster-paced classes, there is little to no time left for the extension questions givena one hour time frame. The students were able to build 2-3 of the graphs out of marshmallows on the secondpage of the handout. A more in-depth discussion and greater investigation of the extension questions couldtake place with more time. If given the time and flexibility, I think this lesson works better when split intotwo days or extended over a longer class period.

Last note: The marshmallows do get quite sticky after a while so be prepared with with paper towels or somekind of cleaner.

References

[1] Zometool. http://zometool.com/.

[2] Norman Biggs. Algebraic graph theory. Cambridge Mathematical Library. Cambridge University Press,Cambridge, second edition, 1993.

[3] Douglas B. West. Introduction to graph theory. Prentice Hall Inc., Upper Saddle River, NJ, 1996.

5

Adjacency Matrices of 3-Dimensional Graphs

There are two sets of the adjacency matrices below. Make enough copies for each group to have one set. Cut

each matrix into separate slips and give one set to each group.

(For the instructor’s reference: a = triangular pyramid, b = octahedron, g = cube, d = triangular prism)

0

BB@

0 1 1 1

1 0 1 1

1 1 0 1

1 1 1 0

1

CCA a

0

BBBBBB@

0 1 1 1 1 0

1 0 1 0 1 1

1 1 0 1 0 1

1 0 1 0 1 1

1 1 0 1 0 1

0 1 1 1 1 0

1

CCCCCCAb

0

BBBBBBBBBB@

0 1 0 1 1 0 0 0

1 0 1 0 0 1 0 0

0 1 0 1 0 0 1 0

1 0 1 0 0 0 0 1

1 0 0 0 0 1 0 1

0 1 0 0 1 0 1 0

0 0 1 0 0 1 0 1

0 0 0 1 1 0 1 0

1

CCCCCCCCCCA

g

0

BBBBBB@

0 1 1 1 0 0

1 0 1 0 1 0

1 1 0 0 0 1

1 0 0 0 1 1

0 1 0 1 0 1

0 0 1 1 1 0

1

CCCCCCAd

0

BB@

0 1 1 1

1 0 1 1

1 1 0 1

1 1 1 0

1

CCA a

0

BBBBBB@

0 1 1 1 1 0

1 0 1 0 1 1

1 1 0 1 0 1

1 0 1 0 1 1

1 1 0 1 0 1

0 1 1 1 1 0

1

CCCCCCAb

0

BBBBBBBBBB@

0 1 0 1 1 0 0 0

1 0 1 0 0 1 0 0

0 1 0 1 0 0 1 0

1 0 1 0 0 0 0 1

1 0 0 0 0 1 0 1

0 1 0 0 1 0 1 0

0 0 1 0 0 1 0 1

0 0 0 1 1 0 1 0

1

CCCCCCCCCCA

g

0

BBBBBB@

0 1 1 1 0 0

1 0 1 0 1 0

1 1 0 0 0 1

1 0 0 0 1 1

0 1 0 1 0 1

0 0 1 1 1 0

1

CCCCCCAd

Matrices and MarshmallowsYour group has been given four matrices that each match up with a (3-dimensional) graph. Onceyour group has agreed which matrix matches with each graph, draw a picture of the graph belowthe matrix that it matches (or describe in words what it looks like).

0

BBBB@

0 1 1 11 0 1 11 1 0 11 1 1 0

1

CCCCA

a

0

BBBBBBBBB@

0 1 1 1 1 01 0 1 0 1 11 1 0 1 0 11 0 1 0 1 11 1 0 1 0 10 1 1 1 1 0

1

CCCCCCCCCA

b

0

BBBBBBBBBBBBBB@

0 1 0 1 1 0 0 01 0 1 0 0 1 0 00 1 0 1 0 0 1 01 0 1 0 0 0 0 11 0 0 0 0 1 0 10 1 0 0 1 0 1 00 0 1 0 0 1 0 10 0 0 1 1 0 1 0

1

CCCCCCCCCCCCCCA

g

0

BBBBBBBBB@

0 1 1 1 0 01 0 1 0 1 01 1 0 0 0 11 0 0 0 1 10 1 0 1 0 10 0 1 1 1 0

1

CCCCCCCCCA

d

• Describe in a few sentences how you know when a matrix matches with a graph.

We call each of these matrices the Adjacency matrix of its graph because it encodes when twovertices are adjacent in the graph.

• How many rows are in the adjacency matrix that corresponds to the graph below? How manycolumns?

• Write down the adjacency matrix.

1

Now using the marshmallows and straws provided, try to construct the graphs for each of thefollowing adjacency matrices. Once the graph is constructed, try to draw the graph in the box (ordescribe in words what it looks like).

0

BBBBBBBBB@

0 1 0 0 1 11 0 1 0 0 10 1 0 1 0 10 0 1 0 1 11 0 0 1 0 11 1 1 1 1 0

1

CCCCCCCCCA

l

0

BBBBBB@

0 1 1 1 01 0 1 1 11 1 0 1 11 1 1 0 10 1 1 1 0

1

CCCCCCA

µ

0

BBBBBBBBBBB@

0 1 1 1 0 0 01 0 1 0 1 0 01 1 0 0 0 1 11 0 0 0 1 1 00 1 0 1 0 0 10 0 1 1 0 0 10 0 1 0 1 1 0

1

CCCCCCCCCCCA

x

0

BBBBBBBBB@

0 0 1 1 1 00 0 0 1 1 11 0 0 0 1 11 1 0 0 0 11 1 1 0 0 00 1 1 1 0 0

1

CCCCCCCCCA

s

Extension1. All of the adjacency matrices you saw today were symmetric. That is, if you fold the matrix

along the diagonal, the entries will match up. Will an adjacency matrix always be symmetric?Why or why not?

2. The graph that matched with d at the beginning is the same graph that matched with s above.But d and s are different matrices. Explain how this is possible.

3. Another important matrix in graph theory is the Laplacian matrix. If two labeled vertices ina graph are adjacent you put a -1 in the matrix, if two vertices are not adjacent you put a 0,and along the diagonal you put the degree of the corresponding vertex (the number of edgesthat touch that vertex). An example is shown below. Write the Laplacian matrices for thegraphs that matched with a,b ,g, and d .

•1

•2 •3

•4

•5

Labeled Graph

0

BBB@

2 �1 0 0 �1�1 3 �1 0 �10 �1 3 �1 �10 0 �1 2 �1�1 �1 �1 �1 4

1

CCCA

Laplacian

2