Unfinished learning resource · Units 1–8 available · Whole-course validation unfinished

Unit 8: Explained answers and assessment guidance

Unit 8 explained answers · unfinished learning resource · TMP-SCI-074. Attempt the Unit 8 tasks first. These keys cover every numbered task. Equivalent complete arguments and differently ordered lists are acceptable. A numerical result is not a substitute for a requested inverse map, counterexample or proof. Grading suggestions are formative and require calibration; they do not activate semester marks.

Readiness

R1. The subsets are empty, {1}, {2}, {3}, {1,3}; the words are 000,100,010,001,101 respectively. Every other subset includes edge {1,2} or {2,3}. There are five.

R2. Each unconstrained vertex has two states, giving all 2^n subsets. Edges make some combinations inadmissible. At n=2, {1,2} is forbidden, so the count is three rather than four. At n=1 both subsets are feasible.

R3. Edges are unordered pairs in the constraint graph; feasible selections are subsets of its vertices. These are different sets of objects. The six-vertex path is a tree with five edges but 21 feasible selections. Even without that calculation, the empty set plus six singleton sets already gives seven, disproving five.

R4. A bijection pairs each object in one set with exactly one in another and has an inverse, preserving cardinality. An equivalence relation can group several objects together. Division by two requires every class to have exactly two members, or separate treatment of singleton classes. Reversal-fixed objects violate the constant-two assumption.

Guided synthesis

G1. For n=0,…,7 the values are 1,2,3,5,8,13,21,34. On P_5, omitting vertex5 gives a_4=8; selecting5 excludes4 and leaves P_3, giving a_3=5. The cases are disjoint because the status of5 differs, and every feasible selection falls into one case.

G2. Pairs 13,14,15,24,25,35 transform to 12,13,14,23,24,34. Here 13 denotes subset {1,3}, not the integer thirteen. Subtract one from the second label; the inverse adds one. The target list contains all six two-element subsets of a four-element set, each once.

G3. Sizes0,1,2,3 contribute 1,5,6,1. The triple is {1,3,5}; its count is binomial(3,3)=1. Their sum13 agrees with the recurrence. Every remaining vertex (2 or4) is adjacent to a selected vertex, so the triple cannot be enlarged. Its maximum size also follows from the upper bound established in I2, rather than from unextendability alone.

G4. Fixed selections are empty, {3}, {2,4}, {1,5}, {1,3,5}. To verify completeness, reversal pairs are {1,5}, {2,4}, with center3. Choosing the outer pair permits3 but prevents the middle pair; choosing the middle pair prevents3; choosing neither permits the center or not. This gives five. Thus there are (13+5)/2=9 classes: five singletons and four doubletons.

G5. For C_4 the count is a_3+a_1=5+2=7. The explicit list is empty, four singletons, {1,3}, {2,4}. Edge {1,4} prohibits the eighth selection that P_4 allowed. Choosing vertex1 leaves vertex3 free after excluding2 and4, accounting for the two selections containing1.

G6. Components are path1–2 and path3–4–5. Each global selection is uniquely a selection in each component, so there are a_2 a_3=3×5=15. The pair {2,3} is now allowed, whereas the deleted edge prohibited it before. This product is justified by no cross-component edge, not by independence of the five individual vertex choices.

Independent practice

I1. Three chosen labels on P_7 transform to a three-element subset of {1,2,3,4,5}, giving binomial(5,3)=10. Example x=(1,4,7) maps to y=(1,3,5). Conversely y=(2,3,5) maps to x=(2,4,7). Strict increase of y ensures a gap of at least two in x; the extreme bounds are preserved. Both directions are needed to justify the count.

I2. If n=2m, partition the vertices into m adjacent pairs {1,2},…,{2m−1,2m}. At most one vertex per pair may be chosen, so size≤m. The odd labels1,3,…,2m−1 attain m. If n=2m+1, use m such pairs and the remaining singleton2m+1, giving size≤m+1, attained by all odd labels. For n=0, the empty set attains zero. The result is ceil(n/2), but the partition and witness establish it.

I3. Adding1 or3 to {2,5} conflicts with2; adding4 or6 conflicts with5. Hence it is maximal. The set {1,3,5} has size3. The three adjacent pairs {1,2},{3,4},{5,6} give an upper bound of3, so maximum size is3. The original set has size2 and is not maximum.

I4. The least element is empty because it is a subset of every feasible selection. Maximal elements are {1,3}, {1,4}, {2,4}. All singletons can be enlarged:1 with3,2 with4,3 with1,4 with1. Each listed pair cannot be enlarged because no feasible triple exists. There is no greatest element. A greatest set would contain every singleton and hence all four vertices, which is infeasible. Do not confuse three maximal elements with three greatest elements.

I5. Take S={1} and T={1,3}. Then S⊆T. But r(S)={4}, equivalent to S, is not a subset of the same representative T. Thus the truth value changes under choosing another representative of the first class while keeping the second representative. This disproves the proposed “any representatives” definition. It does not assert that every possible alternative definition of an order on classes fails.

I6. Omitting vertex1 leaves the six-vertex path2–3–4–5–6–7, yielding a_6=21. Selecting1 excludes2 and7, leaving path3–4–5–6 with a_4=8 choices. Total29. Appending vertex1 to each selection of that four-vertex path reverses the second reduction; the two cases cannot overlap.

I7. There are binomial(5,2)=10 feasible two-element selections out of21 feasible labelled selections, so the probability is10/21. Six independent fair coin flips give64 equally likely words, including forbidden ones; unconditioned, the probability of a feasible size-two result would be10/64. Conditional on feasibility those coin flips do yield the uniform distribution over the21 feasible words, but that conditioning is an additional step.

I8. Fix a vertex order v_1,…,v_n. Visit each length-n binary word once, interpret its1 positions as S, and accept exactly when no listed edge has both endpoints in S. Output S or increment its size bin. Every subset has exactly one word, establishing no omissions or duplicates. Each accepted word satisfies the predicate and each feasible word passes it. For n=0 visit the unique empty word, yielding one selection. The routine verifies counts for the supplied finite graph; a general recurrence still needs a proof for arbitrary n. No claim of practical scalability is justified just by this correct enumeration.

Shortcut audits

H1. The64 words enumerate a superset of legal exhibitions. For example110000 selects adjacent vertices1 and2. Correct replacement: the row has21 legal selections, derived by the endpoint recurrence with bases1,2, or by summing size bins1,6,10,4. Explain how either proof excludes forbidden adjacent selections rather than subtracting overlapping violations without justification.

H2. The empty selection reverses to itself; it does not have two distinct orientations. On P_6, the fixed selections are empty, {1,6}, {2,5}; hence21 labelled selections give12 classes, not10.5. Correct replacement: separate singleton and doubleton classes, giving f+(a−f)/2. A proof that reversal preserves feasibility and is an involution establishes those are the only class sizes.

H3. On C_4, delete edge{1,4} to obtain its spanning path. The pair{1,4} is allowed in the path but not in the cycle. Connectedness is preserved; the complete constraint set is not. Correct replacement: a spanning tree certifies connectedness with a cycle-free spanning subgraph, but its independent-set count can exceed the original graph's. Every original independent set remains feasible when edges are deleted; the converse requires a separate check and fails here.

Concept assessment rubric

Each question is worth4. Award independent reasoning components even if an arithmetic slip affects the last value. A bare correct number is normally at most1 where a derivation is requested.

Q1. a_n counts feasible subsets of the explicitly n-vertex path (1). a_0=1,a_1=2 with explanations (1). Partition by presence of the last vertex (1). Reversible reductions and recurrence a_n=a_{n−1}+a_{n−2} for n≥2 (1).

Q2. Ordered selected labels x_1<x_2 with gap≥2 (1); map (x_1,x_2) to (x_1,x_2−1) in the two-element subsets of{1,…,5} (1); inverse and range justification (1); count binomial(5,2)=10 (1).

Q3. Reversal pairs are{1,6},{2,5},{3,4}. The last pair is adjacent and cannot be selected; the first two cannot both be selected because1–2 and5–6 are edges. Thus fixed sets are empty,{1,6},{2,5} (2 for correct complete reasoning/list). There are21 labelled sets (1); classes=(21+3)/2=12 with singleton/doubleton justification (1).

Q4. Omit1 to get P_4, or select1 and exclude2,5 to get P_2 (2). Count8+3=11 (1). P_5 has13 because the closing edge removes exactly{1,5} and{1,3,5} (1). Merely saying “a cycle has fewer” lacks the requested structural explanation.

Q5. {2} is maximal because both other vertices conflict with it (1); {1,3} is feasible and larger (1); maximum size2 by the adjacent-pair bound, so{2} is not maximum (1); empty is least under inclusion (1).

Q6. A finite enumeration establishes only that instance (1). For every n≥2, show every feasible selection belongs to exactly one endpoint case (1); show the corresponding smaller-path maps are bijective (1); supply correct bases and domain to define the full sequence (1).

Capstone key and 40-point rubric

P-A (8). The universe is the64 subsets of V={1,…,6}, with feasibility excluding every pair in E={12,23,34,45,56}; the counted objects are feasible labelled subsets, not edges, permutations or equivalence classes (2). Size0,1,2,3 bins are1,6,10,4; larger bins zero (2). For k≥1 the compression bijection gives binomial(7−k,k), with its stated feasible range; the empty set contributes1 separately (1). Summing gives21 (1). Independently the endpoint recurrence produces1,2,3,5,8,13,21, using disjoint exhaustive cases and bases (1). A direct P_2 or P_3 list checks the first terms, and the empty set is a unique subset rather than no outcome (1). Two programs implementing the same recurrence are not two independent mathematical justifications.

P-B (6). Fixed sets are empty,{1,6},{2,5}; the inner reversal pair{3,4} is forbidden, and the two outer pairs conflict if combined (2). There are three singleton classes and nine doubletons, total12 (2). Examples: singleton class{empty}; doubleton class{{1},{6}} (1). The actual packet labels distinct positions, so its original answer remains21 unless the editor explicitly requests quotient designs (1). Writing a class containing the empty set is not the same as an empty class.

P-C (8). Adding{1,6} gives C_6 with six edges, degree2 at every vertex and one connected component (2). Omit1: P_5 yields13. Select1: exclude2,6 and use P_3 on3,4,5, yielding5. Total18 (2). The lost selections are exactly{1,6},{1,3,6},{1,4,6}: any set containing1 and6 excludes2 and5, and cannot contain both3 and4 (2). Thus21−3=18 independently checks the partition (1). The base path is indeed a spanning tree of C_6, but it omits a constraint and admits those three selections, so its count is not preserved (1). Connectivity alone does not express legal display choices.

P-D (6). Components are1–2–3 and4–5–6, each P_3 (1). The graph is an acyclic forest with n=6,c=2 and n−c=4 edges (1). Each component has5 selections and the bijection to a pair of component selections gives25 (2). Each component has maximum size2, so the total maximum is4, attained by{1,3,4,6}; the missing3–4 edge permits the middle pair (2). Combining two arbitrary component maxima is valid because there are no cross edges.

P-E (4). The count is at least18 and at most21; the only stipulated possibilities are C_6 and P_6, so the attainable totals under this binary uncertainty are18 or21, not necessarily19 or20 (2). For example{1,3,5} is feasible in both (1). The pair{1,6} is feasible only without the closing edge (1). Uncertainty about a requirement is not a probability distribution over requirements.

P-F (8). Award2 for separating assumptions and exact object type;2 for correct key findings with at least two justified methods/checks;2 for explaining one structural change and repairing a shortcut;1 for accessible organization and text-based definitions;1 for a concrete honest revision note. Accept300–500 words of comparable quality rather than a verbatim template. The following sample illustrates a report; its final audit note refers to a supplied shortcut, not to a fabricated learner history.

Example editor report

We model six labelled exhibition positions as vertices. An edge means that its two positions cannot both be selected. A legal exhibition is any subset containing no edge, including the empty subset. The labels distinguish actual locations, so mirror-image placements count separately unless you specifically ask for designs identified under reversal. These mathematical rules do not establish any physical safety or access requirements.

For the original row there are21 legal selections. Grouping them by size gives one empty selection, six single positions, ten pairs and four triples. There are no larger legal selections. The pair and triple counts come from compressing the gaps between selected positions into ordinary subset choices. Independently, partitioning by whether the final position is selected gives the recurrence a_n=a_{n−1}+a_{n−2}, with empty-row and one-position counts1 and2. That method also gives21 for six positions. A direct list for three positions checks the starting values, though it does not prove the general recurrence.

If reversed rows count as one design, the answer changes to12 classes. Three selections are unchanged by reversal, so dividing21 by two is wrong. The remaining18 selections form nine pairs, alongside the three singleton classes. This is an editorial identification, not a change in the physical constraints.

Adding a conflict between positions1 and6 makes a ring and reduces the count to18. It removes precisely the selections{1,6},{1,3,6} and{1,4,6}. Removing the central edge instead creates two separate three-position paths; their five choices each combine freely, giving25 selections. These changes are alternatives applied to the original row, not consecutive edits.

If the closing conflict is still undecided,18 and21 are the two possible totals. The selection{1,3,5} remains valid in either case, while{1,6} does not. No probability of either requirement has been supplied. Before applying this model, the actual constraints must be confirmed. In auditing the supplied spanning-tree shortcut, I replaced the assumption that preserved connectivity preserves every selection: deleting an edge can admit formerly forbidden pairs. That correction explains why the original path cannot substitute for the ring when counting legal exhibitions.

Delayed transfer key

D1. In each triangle a feasible selection is empty or one of its three vertices, giving4 choices. The disjoint union has4×4=16. Exactly two selected vertices require one from each triangle, giving3×3=9. At most one per triangle gives maximum2, achieved by{a,d}, for example. This is a component product and a local clique constraint, not the path endpoint recurrence.

Adding edge{c,d} invalidates exactly the selection{c,d}. Any feasible set containing both cannot contain another vertex in either triangle, so there is no larger set to remove. The new total is15 and the size-two count8; maximum size stays2, witnessed by{a,e}. The graph is now connected, but its internal triangle constraints remain. It is not P_6 and has seven edges rather than five. Equal vertex counts do not determine independent-set counts.

Separately delete{a,c} from the original graph. The first component becomes path a–b–c with5 feasible subsets, the second stays a triangle with4. The total is20. The extra local choice is{a,c}, which combines with each of four choices in the other triangle, adding4 to16. This alternative has maximum3, achieved by{a,c,d}, though that extra conclusion was not required. The changed product factor, rather than a formula for a six-vertex path, explains the answer.

For diagnostic feedback, check whether the learner first recognized the components, then justified the local counts, then audited exactly which sets an edge change affects. Reusing a learned formula before identifying the graph is the central error this transfer task is designed to expose. A correct answer obtained only by enumeration can verify this finite packet, but should be followed by the requested structural explanation.