4 The Head Teacher of a school is allocating five teachers, Amy ( \(A\) ), Ben ( \(B\) ), Celia ( \(C\) ), Duncan ( \(D\) ), and Erica ( \(E\) ), to the five posts of Head of Year 7, 8, 9, 10 and 11. The five teachers are asked which year(s) they would be willing to take. This information is shown below.
Amy is willing to take Year 7 or Year 8 .
Ben is willing to take Year 7, Year 8 or Year 10.
Celia is willing to take Year 8, Year 9 or Year 11.
Duncan will take only Year 9.
Erica will take only Year 11.
- Show this information on a bipartite graph.
- Initially the Head Teacher assigns Amy to Year 8, Ben to Year 10, Celia to Year 9 and Erica to Year 11.
Demonstrate, by using an alternating path from this initial matching, how each teacher can be matched to a year that they are willing to take.