Recall the steps of Prim's and Kruskal's algorithms
Identify the significance and/or usefulness of minimum spanning tree networks
Apply Prim's or Kruskal's algorithm to find the minimum spanning tree of a given network
Construct a network and measure the distance between vertices to find weight values
N1.2: Shortest Paths
Students:
determine the minimum spanning tree of a given network with weighted edges AAM
determine the minimum spanning tree by using Kruskal's or Prim's algorithm or by inspection
determine the definition of a tree and a minimum spanning tree for a given network
Discuss the benefits of tree-structured networks in real-world contexts (Understanding, Fluency)
Recall the process of determining minimum spanning trees through Prim's algorithm (Fluency)
Define and compare Kruskal's algorithm with Prim's algorithm (Fluency, Reasoning)
Apply Prim’s and Kruskal's algorithms to determine the minimum spanning tree of a given network (Fluency, Problem-Solving)
Calculate the total weight of a spanning tree by summing the weights of the included edges (Fluency)
Construct network diagrams and gather information about weight values through measurements (Fluency, Communicating)
Slime Mould Experiment (see Orientation)
Sequencing Activity (see Introduction)
Muddy City Worksheet, Counters (see Body 2)
String, Ruler (see Body 3)
ICT (Video) + Discussion
Sequencing Activity
Manipulatives (Counters)
Games (Sprouts)
Three W's
"Kruskal's algorithm finds a minimum spanning tree for a connected weighted network graph."
Joseph Bernard Kruskal, Jr. - American mathematician and computer scientist
Worked at Bell Laboratoris (Alexander Graham Bell - inventor of the telephone); known today as the Nokia Bell Labs
Colleague: Robert Prim (prior lesson: Prim's Algorithm)
Together: created two different algorithms (both greedy) for finding a minimum spanning tree in a weighted graph
Usefulness: computer network design
Choose the edge of least weight in the network, and add it to the minimum spanning tree.
From the remaining edges, choose the next edge of lowest weight that does not form a cycle with already chosen edges, and add it to the minimum spanning tree. If there are several such edges, choose any.
Repeat step 2 until the every vertex is connected by the minimum spanning tree.
Working Mathematically: Understanding, Fluency
Slime Mould Discussion (10 min) [ICT]
Show students the results from the slime mould experiment (set up at the end of the last lesson) in time-lapse video form, then ask the following question (AFL):
What is happening to the slime mould as time progresses?
What algorithm does the slime mould growth look like?
Show students a Slime Mould Experiment that demonstrates the spreading of a slime mould towards food sources mirroring the railway system in Tokyo, then ask the following questions (AFL):
What is happening in the video?
Is there a correlation between the slime mould and the Tokyo railway system?
If so, what is it and what may be its significance?"
Working Mathematically: Fluency, Reasoning
Sequencing Activity (10 min) [LIT]
Hand each student a worksheet with two sets of images and instructions that detail how to determine the minimum spanning tree.
Check that students, using their knowledge from the last lesson, are able to separate and order the images and instructions related to Prim's Algorithm (AFL).
Go through the worksheet with students and introduce them to the focus of this lesson - Kruskal's Algorithm - which provides students an alternative method to determine the minimum spanning tree. After students correct sequence Kruskal's algorithm, ask them the following question (AFL):
What are the differences between Prim and Kruskal's algorithms?
Which algorithm do you prefer?
Working Mathematically: Understanding, Fluency, Communicating
Brainstorm (5 min) [LIT]
Ask students, in their groups, to brainstorm about the usefulness of minimum spanning trees in real-life scenarios. Students might mention previously discussed networks, like computer networks or transport networks, and how it is useful to find the minimum spanning tree for these networks. Ask the following question to prompt student thinking:
When would we (or who would) require the use of minimum spanning trees?
What networks have we looked at in the past?
How would minimum spanning trees affect those networks?
Each group gets a portable whiteboard and whiteboard markers to write down their responses. After 5 minutes, ask each group to share their responses to the whole class (AFL). The teacher should collate these responses onto a brainstorm written out on the class whiteboard so that all students can see the responses clearly (AFL).
Working Mathematically: Fluency, Problem-Solving
The Muddy City (15 min)
Provide each student with the Muddy City Problem worksheet (and each group an A4-sized copy of the map). Select students to take turns reading the Muddy City Problem. Summarise the following for students:
Roads need to be paved for a city that experiences many rainstorms, to make commute more comfortable and convenient for residents.
Ensure that the students familiarise themselves with what is expected of them for the activity:
Students need to plan the number of paved roads that should be placed in the city, marking out the roads deemed to be suitable in the worksheet provided.
The constraint is that students should minimise the number of paving stones (and therefore the cost) for their new road network.
Offer students the option to use counters to mark out the paving stones by placing a small bucket of counters on each table.
After that has been established, students need to draw out the network system in a fashion that is more simplistic, akin to what they are used to seeing in the past lessons, and map out the routes they've chosen to use.
After students have redrawn their network diagrams, it should be evident that they have drawn a minimum spanning tree connecting the buildings together. Ask each group to shout out how many paving stones their new road network uses (and write their results on the board) (AFL). Poll which groups used Prim's Algorithm, and which used Kruskal's Algorithm. Ask one group each to re-explain the process (AFL), then ask the class the following question (AFL):
What is the benefit of creating a spanning tree for this scenario?
Working Mathematically: Fluency, Communicating
Sprouts Game (5 min)
For the remainder of the lesson (until the Conclusion), students, in pairs, will engage in a game of Sprouts to construct a network. Following the construction of the network, students will use string and a ruler to find the measurements of the lines involved in the game.
Students should then redraw the network in a new diagram, with the weighted edges labelled. Once completed, instruct students to draw out the minimum spanning tree of their diagram. Check students' diagrams before the end of the lesson (AFL).
Instructions for Sprouts:
Draw three spots anywhere on the paper.
Each player, in turn, draws a line joining one spot to another spot (or itself) and places a new spot somewhere on this line.
No lines may cross, no spot may have more than three lines coming out of it (i.e. we would say that the degree of any vertex cannot exceed three).
The game continues until no further moves are possible and the player to make the final move is the winner.
Working Mathematically: Fluency, Understanding
Three W's recap (5 min)
With the students in their table groups of four, pose the following questions (AFL):
What did we learn today?
What is the relevancy, importance and usefulness of what we learnt today?
What could we do this new knowledge?
Each table group needs to address and answer at least one of the questions. After a few minutes, call on groups to share their responses (AFL). If there is time, get students to elaborate on their responses to ensure that the class has a holistic understanding of the lesson.
Remind students to update their Trip Log (Kruskal's Algorithm), including writing out the steps for Kruskal's Algorithm (AOL).
Homework:
Students draw up a weighted network diagram detailing out the connections between rooms in their house (students should estimate the distance between doors from one room to another).
Using this network diagram, students should comment on the network structure (e.g. is it a tree? are there cycles?), as well as make suggestions for new edges/connections between rooms if suitable.
Students should submit their homework at the start of the next lesson, or through Google Classroom (AFL).