A sweeper wants every street once and none twice. Count the junctions where an odd number of streets meet: with none or exactly two, a route exists, and it starts and ends at the odd ones.
Every street once, none twice: is that always possible?
What you should already know:
Nodes and edges· A network keeps only who is joined to whom.
A council sweeper has to do every street in Wattle Grove, a small made-up suburb, and the driver would rather not use any street twice. Here's the suburb drawn as a network: each junction is a node, each street an edge. Run your finger along it. Can you find a way?
How this lesson works: Predict, Try, Investigate, Modify, Practise, Make
Predict: Read the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.
Try: Try it on the board and compare the result with your prediction.
Investigate: Work out why it happens, one step at a time.
Modify: Change the problem on purpose and see what happens.
Practise: A few on your own, to check you have it.
Make: Make your own problem using what you have learned. Expect a few tries; that is normal.
Make your prediction first. Help opens once you've locked it in.
Info
The suburb
The streets are P to Q, Q to R, R to S, S to P, and P to R across the middle. Try it with your finger on the diagram: one route that goes down every street once.
Wattle Grove
PredictRead the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.
A tail
Three junctions in a triangle, and one more on a tail
Trace a few routes with your finger. Is there one that ends with no street left?
TryTry it on the board and compare the result with your prediction.
Start somewhere
Click a junction to start, then click the next junction (or the street) to drive down it. A street you've driven turns orange. Try A first. Then Start again somewhere else.
Try it yourselfYour edits are saved in this browser.
Drive down every street exactly once. Try starting at A first. Then try another junction. Which junction let you do it?
Use the board. This ticks when you get there.
InvestigateWork out why it happens, one step at a time.
Odd junctions
Look at the number on each junction on the board. Which are odd?
A route starts at a junction and ends at one. What does that do to the junctions in between?
Here's the method on the Run suburb.
Worked exampleBefore each step, say what you think comes next.
degrees: A2,B3,C2,D3,E2,F2Count the streets at each junction (its degree).
odd junctions: B and DTwo junctions have an odd degree.
connected: yesYou can get from any junction to any other.
start at B, finish at DWith two odd junctions, the route starts at one and ends at the other.
Now try one on paper. Junctions 1, 2, 3 and 4 have a street between every pair of them. How many junctions have an odd number of streets? Then type it.
Read Sam's working. What does two odd junctions do to the start?
On the Run board, how many junctions have an odd number of streets?
A suburb has four junctions, and there's a street between every pair of junctions. How many junctions have an odd number of streets? Work it out on paper first, then type it. Could the sweeper do it?
Sam works out whether the sweeper can do the Run suburb. Click the line where his working goes wrong.
ModifyChange the problem on purpose and see what happens.
Close a street
Which two junctions would you want to make even? What do you close?
Build up to it
A junction has 3 streets and one of them closes. How many streets does it have now?
What happens to a junction when its only street closes?
Think back to adding up the degrees.
Try it yourselfYour edits are saved in this browser.
This suburb has four odd junctions. Close one street so the sweeper can do every street once, then drive the route.
Use the board. This ticks when you get there.
Edge case: close a street so that one junction is cut off from the rest. What does the board say about Connected?
Use the board. This ticks when you get there.
PractiseA few on your own, to check you have it.
Can the sweeper do it?
Build up to it
How many of the junctions with 2, 2, 3, 3, 4 and 2 streets have an odd number of streets?
Each street has two ends.
A suburb has junctions with 3, 3, 3 and 3 streets. What's the fewest streets the council needs to close so the sweeper can do every street once?
Review: a suburb has 7 streets. Add up the number of streets at every junction. What do you get?
MakeMake your own problem using what you have learned. Expect a few tries; that is normal.
Back to Wattle Grove
Back to Wattle Grove. Work this out on paper first, then type the number of odd junctions after you close the street.
Also used in
Mail and bin rounds. A route that passes every street once is the problem a postal worker or bin lorry has too.
Cut off by a closure. A road closed for repairs can leave a suburb in two pieces, which is when the network stops being connected.
Next lesson. Solids drawn as networks, and Euler's rule.
In Wattle Grove (the square P, Q, R, S with a street from P to R across it), the depot is at Q. The council wants the sweeper to start at Q and finish at Q, using every street once. Which one street closes to make that possible? After you close it, how many junctions have an odd number of streets?
Work it out on paper first, one step per line. Then type your answer.
Put your page beside this and compare, step by step.
A model solution
P has 3 streets, Q 2, R 3, S 2 count the streets at each junction
P and R are odd, so the route has to start at one and finish at the other, not at Q two odd junctions: the route starts and ends at them
Close the street from P to R: P, Q, R and S each have 2 closing a street between the two odd junctions takes one off each
0 junctions have an odd number of streets none are odd, so the sweeper can start at Q and finish at Q
Check your page
Lesson done. You've finished every step you need.
Now you can
Find the degree of every junction and count the odd ones.
Say when a route using every street once exists, and where it starts and ends.
Change a network by closing a street and say what that does to the degrees.
Students try to drive every street of a made-up suburb once on a board, find that the start matters, and learn the rule: a route exists when a connected network has none or exactly two odd junctions (AC9M10SP02, node 2). About 40 minutes.
I can find the degree of every junction and count the odd ones.
I can say when a route using every street once exists, and where it starts and ends.
I can change a network by closing a street and say what that does to the degrees.
Before class
Wattle Grove, the junction names and every number are made up; no real map is used.
The one idea: a walk that uses every edge exactly once (an Euler trail) exists in a connected network exactly when the number of odd-degree nodes is 0 or 2. With 2 it starts at one odd node and ends at the other; with 0 it starts anywhere and returns there.
Why: each time the route passes through a node it uses two of its edges, so a node in the middle of the route needs an even degree. Only the start and the end can be odd. Students don't need this proof; they meet the rule by trying it, then use it. The Make task and the Modify closures are the practice.
Two supporting facts from the last lesson: degrees add to twice the number of edges, so the number of odd nodes is always even. The condition "connected" matters too: the rule only works when you can get from any junction to any other.
The Run board is a netgraph board (a new widget). If it doesn't load, the lesson still works on paper from the Mermaid pictures.
Running the lesson
Opening: let them try Wattle Grove with a finger before any rule. Several routes work, and the one start that fails (say, a start at Q) is worth noticing.
Predict: show of hands before the answer is shown. The triangle with a tail can't be done from A.
Run: ask them to try A first, fail, then try another start. Don't give the rule; ask what the numbers on the junctions have in common.
Paper: the four-junction try-one and the Make task are worked on paper first, with a sketch and the degrees written beside each junction.
Modify: ask which two junctions they'd want to make even before they click.
The hard part (on purpose)
Believing any start works if a route exists. Have them start the Run board at A, then at B, and compare.
When students get stuck
A student says the sweeper can start anywhere because there are only two odd junctions. Ask: If it starts at an even junction, where does it have to end? Fix: With two odd junctions the route starts at one of them and finishes at the other.
A student counts the number of streets instead of the number of odd junctions. Ask: How many streets meet at this junction? Is that odd? Fix: Count junctions with an odd degree, not streets.
A student closes a street and says the degrees stay the same. Ask: How many streets does each end of that street have now? Fix: Closing a street takes one off each of its two ends.
Stretch and support
Stretch: Can a suburb have exactly one odd junction? Use the idea that degrees add to twice the number of streets.
Support: Give students the suburb printed large, and have them write the degree on each junction before they try a route.
Where it leads
Continues AC9M10SP02.
Where it leads: solids drawn as networks, and Euler's rule for faces, vertices and edges (Euler's rule).
What each step is for
The suburb: Wattle Grove is a made-up suburb of four junctions and five streets; students try a route by eye here, and Make comes back to it.
a tail: Committing to what happens when the route starts at A on a triangle with a tail shows who thinks any start works once a route exists.
start somewhere: Trying to drive every street from two different starts on a made-up suburb shows that the start matters, with the degrees on the board to read.
odd junctions: The junctions with an odd number of streets decide the route: none or two and it can be done, starting and ending at the odd ones; Sam says any start works.
close a street: Closing a street takes one off the degree at each end: closing between two odd junctions fixes two at once; closing the only street at a junction cuts it off; a suburb can never have exactly one odd junction.
can the sweeper do it?: Counting odd junctions from a list of degrees, saying where a route can start, fixing a suburb with a closure, and a review of adding the degrees.
back to Wattle Grove: Coming back to Wattle Grove: the depot at Q is an even junction, so the sweeper can't start there; closing P to R makes every junction even.