Component union labels
Maintain connected membership after joins without mistaking repeated joins for new components.
Adult planning suggestion: about 9–12 · Logic & rule checking
- Players
- 2–3 per group
- Time
- 15–25 minutes
- Materials
- Six letter cards and a union ledger.
Prepare
Start with separate groups {A},{B},{C},{D},{E},{F}. Each group is named by its smallest letter. A UNION joins the groups containing the two specified letters, not merely the two cards themselves. A FIND asks for the current group's name without changing membership.
Follow the rule
Apply UNION(A,B), UNION(C,D), UNION(B,C), UNION(E,F), UNION(A,F). After each operation list every complete group and the number of groups. When two queried letters already share a group, UNION changes nothing and must not reduce the count.
Check each step
After the first two operations groups are AB,CD,E,F. UNION(B,C) makes ABCD,E,F, so FIND(D)=A. UNION(E,F) yields ABCD,EF; UNION(A,F) joins all six. Counts are 5,4,3,2,1.
Worked example
A final UNION(A,B) leaves one group, not zero. Moving only B next to C while leaving A behind would break the required whole-group union. Our representative convention always renames the merged set with its smallest member, regardless of the last pair mentioned.
Finish and adapt
Ten trios can act as operator, membership keeper and auditor. Use paper circles around members rather than relying on card proximity alone. Stop when the final partition and all FIND answers match the log. There are no edge costs to minimize and no claim of optimized data-structure runtime in this paper model.
Purpose, observation and provenance
Within this activity: Maintain connected membership after joins without mistaking repeated joins for new components.
Ask whether a repeated join changes the partition before accepting a count decrement.
Our rules, examples and printable diagrams are separately prepared. The earliest inventor of the broader mechanism is not established here.
CP Algorithms — Disjoint Set Union — Partition union and membership queries; our smallest-label paper convention is not a union-by-rank implementation.
Secondary practice: Cooperation and explaining a check.
For a class of 30, use ten groups of three. Prepare one player-material set per group and keep the host key with the adult. Rotate operator, recorder and checker after each worked example; a reader or scribe may help without choosing answers. Avoid public ranking or diagnostic labels.
Age bands are planning suggestions. Background references may address older learners and do not validate suitability for this age band. Goals describe observable actions, not measured long-term gains or institutional endorsement.
Free alternative: Copy the supplied grids, labels and cards onto reused paper. No specialist product is needed. Adults may prepare pieces or act as a scribe.
Printable materials
Preview at 100% scale, with browser headers and footers off. Cut with suitable help. Keep host keys separate. This is a manual tabletop kit, not an online opponent, automatic judge or solver.
Component union labels · Player materials
Before you start
Start with separate groups {A},{B},{C},{D},{E},{F}. Each group is named by its smallest letter. A UNION joins the groups containing the two specified letters, not merely the two cards themselves. A FIND asks for the current group's name without changing membership.
Apply UNION(A,B), UNION(C,D), UNION(B,C), UNION(E,F), UNION(A,F). After each operation list every complete group and the number of groups. When two queried letters already share a group, UNION changes nothing and must not reduce the count.
| Operation | Groups after | Count |
|---|---|---|
| UNION(A,B) | ||
| UNION(C,D) | ||
| UNION(B,C) | ||
| UNION(E,F) | ||
| UNION(A,F) | ||
| UNION(A,B) |
| FIND(D) | When queried / answer |
|---|---|
| ________ | ________ |
| ________ | ________ |
Component union labels · Host key — keep separate
Counts 5,4,3,2,1,1; after BC, FIND(D)=A; all final FIND results are A.
Run and audit
Start with separate groups {A},{B},{C},{D},{E},{F}. Each group is named by its smallest letter. A UNION joins the groups containing the two specified letters, not merely the two cards themselves. A FIND asks for the current group's name without changing membership.
Apply UNION(A,B), UNION(C,D), UNION(B,C), UNION(E,F), UNION(A,F). After each operation list every complete group and the number of groups. When two queried letters already share a group, UNION changes nothing and must not reduce the count.
After the first two operations groups are AB,CD,E,F. UNION(B,C) makes ABCD,E,F, so FIND(D)=A. UNION(E,F) yields ABCD,EF; UNION(A,F) joins all six. Counts are 5,4,3,2,1.
A final UNION(A,B) leaves one group, not zero. Moving only B next to C while leaving A behind would break the required whole-group union. Our representative convention always renames the merged set with its smallest member, regardless of the last pair mentioned.
Ten trios can act as operator, membership keeper and auditor. Use paper circles around members rather than relying on card proximity alone. Stop when the final partition and all FIND answers match the log. There are no edge costs to minimize and no claim of optimized data-structure runtime in this paper model.
Observe and support
Ask whether a repeated join changes the partition before accepting a count decrement.
Use large paper marks or a scribe when needed. A valid example is not a uniqueness or long-term learning claim.
Related activities
Activity library · Weighted bridge network: rules and printable materials