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

Unit 4 separate explained answers

Unit 4 explained answers · unfinished learning resource · TMP-SCI-074. Attempt the Unit 4 tasks first. These are model arguments and diagnostic feedback, not automatic marks or an externally validated qualification. Equivalent correct reasoning is welcome. State the carrier and relation before a claim. A counterexample must satisfy the alleged premises and fail the conclusion. Enumerated finite cases support their exact instance; general proofs remain separate.

Readiness

R1. A×A={(p,p),(p,q),(q,p),(q,q)}. The two mixed pairs differ because first and second positions matter. Any subset selects which first-to-second connections hold. A relation can select zero, one or several second entries for a first entry; a function has the extra exactly-one requirement.

R2. The negation is “There exists x∈A with (x,x) not in R.” One such element refutes reflexivity. Showing a present diagonal pair does not prove all diagonal pairs present. On an empty carrier there is no counterexample, so the universal statement is true.

R3. The pairs are (a,a),(a,b),(b,a),(b,b),(c,c),(c,d),(d,c),(d,d), eight altogether. Equal-output blocks have sizes two and two, giving 2²+2². Counting four inputs or two output values answers another question.

R4. Every member of {r} lies in {r,b}, so the first inclusion holds. The reverse fails because b is in the proposed left set but not the right. A single missing member is a complete witness for failure of inclusion.

Guided practice

G1. Equality is reflexive, symmetric, antisymmetric and transitive. Its only composable pairs keep the same element, and it contains no two-way distinct pair. The empty relation on {u,v} is not reflexive, witnessed by missing (u,u). It is symmetric, antisymmetric and transitive: each implication's antecedent requires a pair that never occurs. On the empty carrier reflexivity also holds, so all four hold. This boundary example does not claim a nonempty class exists on an empty carrier.

G2. After adding (0,2), the relation has every (x,y) with x≤y in {0,1,2}. It is reflexive by the diagonals, antisymmetric because x≤y≤x forces equality, and transitive because x≤y≤z implies x≤z. It is not symmetric, witnessed by 0 related to 1 but not the reverse. Every two carrier elements compare, so this is a total order under the stipulated non-strict convention. Adding a reverse pair would not be an innocent symmetry repair: it would destroy antisymmetry unless the elements were identified.

G3. [b]={a,b}, [d]={c,d,e}, [f]={f}. There are three quotient elements. The relation has 4+9+1=14 ordered pairs. The sum 2+3+1 counts objects in the disjoint blocks; a relation pairs every object with every object of its block, giving a product for each block.

G4. Two elements are related when both lie in {0,2,4} or both lie in {1,3}; equivalently they have the same parity within the specified carrier. Pair count is 3²+2²=13. If x~y and y~z, y's block is unique, so both statements use the same block and x~z. An empty listed block violates the requirement that every partition block be nonempty. It does not create extra related pairs, but it prevents that family from being the exact family of equivalence classes. Deleting the empty block repairs the family, not the relation.

G5. Covers are (2,6),(3,6),(6,12). The only incomparable unordered pair is {2,3}. Full relation size is 3+3+2+1=9: starting from 2, outputs 2,6,12; from 3, outputs 3,6,12; from 6, outputs 6,12; from 12, output 12. Removing 1 removes its five pairs and its cover connections. More generally, deleting an intermediate element can create a new cover among remaining elements; covers depend on the ambient carrier, not just on an arithmetic formula.

G6. Minimal elements are {r} and {b}; there is no least element because neither is below the other and no other carrier element lies below both. The only maximal and greatest element is {r,b,g}. The two selected sets {r,g},{b,g} have no lower bounds in this A: their intersection is {g}, but neither {g} nor {} belongs to A, and these are the only subsets of the intersection. Their upper-bound set is {{r,b,g}}, so this is their least upper bound. A set outside the ambient carrier cannot serve as an element-bound.

Independent practice

I1. R is reflexive because all diagonals occur. It is symmetric because the two non-diagonal links a↔︎b and b↔︎c occur both ways. Antisymmetry fails at a,b. Transitivity fails at a,b,c because (a,b),(b,c) are present but (a,c) is not. The smallest equivalence relation containing R is the full nine-pair relation on {a,b,c}; add (a,c),(c,a). Transitivity forces both via b, and the resulting full relation satisfies all equivalence requirements. Its single class is {a,b,c}. One cannot repair the problem by reporting three overlapping “classes.”

I2. Classes are {0,3,6}, {1,4}, {2,5}; pair count 9+4+4=17. Let f be the remainder function. Equality f(x)=f(y) is reflexive, symmetric and transitive, so the induced relation is equivalence. Restricted finite carriers need not contain the same number of each remainder. Dividing the seven elements evenly among three classes would lose the actual model.

I3. For sizes 3 and 1, choose the unique singleton in four ways; the triple is its complement. For sizes 2 and 2, choosing one pair gives six possibilities, but each partition is selected twice because neither pair is distinguished. Thus 6/2=3. Equivalence relations correspond one-to-one to these partitions. Do not divide the first count by two: singleton and triple are structurally distinguished by size.

I4. Carrier {}, {r}, {b}, {r,b}. Covers: {} to {r}, {} to {b}, {r} to {r,b}, {b} to {r,b}. Full relation size is 4+2+2+1=9. The sole minimal/least element is {}; the sole maximal/greatest element is {r,b}. It is not total, because {r} and {b} are incomparable. The cover count is four, not nine, since loops and the transitive comparison {}⊆{r,b} are omitted.

I5. For {2,3}, there are no lower bounds in ambient {2,3,6,10}; 1 is not available. The only upper bound is 6, hence it is the least upper bound. There is no greatest lower bound. For {6,10}, lower bounds are {2} and no upper bounds exist; thus greatest lower bound is 2 and no least upper bound exists. Ordinary common multiples outside the carrier cannot be imported into the answer.

I6. If x R y, symmetry gives y R x; antisymmetry forces x=y. Hence R is contained in equality. Conversely reflexivity gives x R x for every x, so equality is contained in R. Therefore the relations coincide. The second inclusion matters: antisymmetry plus symmetry alone would also allow a proper subset of the diagonal.

I7. Equality on {a,b} is both symmetric and antisymmetric: it relates only each element to itself. For the second claim use {2,3} with divisibility, or the equality relation on that carrier. Both elements are maximal, but neither is above the other, so neither is greatest. “No larger element” differs from “above all elements.” All properties are relative to the declared relation, not numerical labels.

I8. p R t and t R p hold because both have signature {r}, while p≠t, so antisymmetry fails. Quotient carrier is {{p,t},{q},{s}}, labelled by signatures {r},{b},{r,b}. Strict comparisons are {p,t} below {s} and {q} below {s}; the two lower classes are incomparable. Include all three reflexive pairs if asked for the full non-strict relation. The quotient removes duplicate signatures, not all distinct records in the original catalogue.

Homework

H1. Suppose z∈[a]∩[b]. Then a~z and b~z by class definition. Symmetry turns b~z into z~b. Transitivity gives a~b. For any x∈[a], symmetry gives b~a and transitivity with a~x gives b~x, so x∈[b]. Reverse the roles for the converse inclusion. Thus the classes are equal. Reflexivity is not needed in these containment steps, but it gives a∈[a] and hence ensures each named class is nonempty; it also establishes coverage of the carrier. Do not invent a use of every axiom at every line. The intersection witness provides the bridge before any partition property has been proved.

H2. Let m be the unique minimal element of finite nonempty A. Fix arbitrary x∈A. The set L={y∈A:y≼x} is nonempty because x∈L and finite as a subset of A. Finite descent within L gives a minimal element n of L. If some z∈A satisfied z≺n, transitivity with n≼x would place z in L, contradicting minimality there. Thus n is minimal in A and must equal m. Therefore m≼x. Since x was arbitrary, m is least. This proof uses more than a drawing: finiteness guarantees descent terminates, and downward closure makes a local minimal element globally minimal. No infinite-order extension is claimed.

H3. Coverage alone lacks disjointness and unique block membership. On {1,2,3}, the covering family {{1,2},{2,3}} gives 1~2 and 2~3 but not 1~3. Under a genuine partition, the blocks witnessing x~y and y~z intersect at y. Disjointness forces them to be the same block; hence x~z. Nonempty blocks are required by the partition definition, although it is disjointness that repairs this transitivity inference.

Quiz key and scoring anchors

Each item totals four. Award reasoning points for the specified evidence, not an unexplained matching word. These are formative anchors, not calibrated external assessment.

Q1. R is a partial order, not equivalence and not total. Reflexivity holds; the only distinct link x→y has no reverse, proving antisymmetry, and composable links either stay at a diagonal or repeat x→y, so transitivity holds. Symmetry fails at x,y. z is incomparable with x (also y), so totality fails. Points: partial-order justification 2; symmetry witness 1; incomparability 1.

Q2. Three quotient elements; 2²+3²+4²=29 pairs. Points: quotient 1; pair calculation 2; distinction 1. Nine is the carrier size, not either requested count.

Q3. Covers (1,2),(2,4),(2,6),(4,12),(6,12). Only incomparable unordered pair {4,6}. Points: covers 3, with one for avoiding transitive extra edges; incomparable pair 1. Numerical proximity does not define a cover.

Q4. Lower bounds {1,2}; upper bounds {12}; greatest lower bound 2; least upper bound 12. Points: one each. A lower bound need not belong to the subset {4,6}.

Q5. Transitivity is a universal implication. A failing triple makes it false; a successful triple establishes just one of its instances unless all relevant triples have been exhausted. In I1 choose (a,b,c): a R b and b R c, but a is not related to c. Points: universal distinction 2; premises and failed conclusion 2.

Q6. On A={u,v}, use R={} or R={(u,u)}. Both are symmetric and antisymmetric: there are no two-way distinct pairs and every present pair reverses to itself. Reflexivity fails at v. Points: specified carrier/relation 1; symmetry 1; antisymmetry 1; missing diagonal 1.

Project P1 worked solution and audit

(a) Grouping

The classes are {A,B}, {C}, {D}, {E}, {F}, {G}, so the quotient has six elements. Equivalence pairs total 2²+5·1²=9. With signature function s, define x~y iff s(x)=s(y). Equality of outputs is reflexive, symmetric and transitive; this proves the properties for all records, not just selected examples. Equivalent records are not claimed to be physically identical.

(b) The record comparison and a failed repair

Let x R y iff s(x)⊆s(y). Inclusion proves reflexivity and transitivity. A R B and B R A but A≠B, so antisymmetry fails. Grouping by count would put A and C together (one feature each), yet s(A)⊆s(E) and s(C) is not contained in s(E). With the second representative fixed at E, the proposed class-level rule already changes truth value. This suffices to refute well-definedness; there is no need to change both representatives. Comparing feature counts numerically could define another order on sizes, but it is not this containment rule.

(c) Quotient construction

Label classes by their distinct sets: r, b, rb, rg, rbg, bg, where concatenation denotes an unordered set of those labels. Replacing representatives within a class leaves signatures exactly equal, so the containment test is unchanged. Reflexivity and transitivity follow from inclusion. If [x]≼[y] and [y]≼[x], then mutual inclusion gives s(x)=s(y); equivalence then gives [x]=[y]. This is antisymmetry of classes, not of records.

Covers are r→rb, r→rg, b→rb, b→bg, rb→rbg, rg→rbg, bg→rbg: seven connections. Text diagram: r and b form the lower level; rb, rg and bg the middle; rbg the top. Connect only the seven listed pairs. Position in a level implies no relation. The full reflexive order has 15 pairs: rows r,b,rb,rg,rbg,bg have respectively 4,4,2,2,1,2 upper outputs. Equivalently add six loops and two transitive comparisons r→rbg and b→rbg to the seven covers. Either count gives 15 and shows what the diagram omits.

(d) Extremes and interpretation

Minimal classes are r and b; no least class exists. The sole maximal and greatest class is rbg. For {rg,bg}, lower bounds are absent because neither g nor the empty set is represented. The only upper bound and least upper bound is rbg. A greatest signature has every listed feature, but no criterion equating feature inclusion with overall quality is supplied. Cost, accuracy and suitability are unknown. “Best” would require a stated criterion and relevant evidence; it does not follow from the order alone.

(e) Changed packet

Adding H:g and I:{} gives eight signature classes, because the original duplicate A/B remains the only nonsingleton class. Nine records yield equivalence-pair count 2²+7=11. The quotient is now the full power set of three features.

The twelve covers add exactly one feature: {}→r,b,g; r→rb,rg; b→rb,bg; g→rg,bg; rb,rg,bg→rbg. Written as groups this gives 3+2+2+2+3=12 connections. The full reflexive order has 27 pairs. One derivation assigns each feature one of three statuses for a pair X⊆Y: absent from both, in Y only, or in both. Independent choices for three features give 3³. Another sums row counts 8+3·4+3·2+1=27. These count the same ordered pairs, not all 8² possible pairs.

The class {I}, whose feature signature is the empty set, is now least and the only minimal element; rbg remains greatest and the only maximal element. Lower bounds of {rg,bg} are {} and g, with greatest lower bound g. Their least upper bound remains rbg. New records altered the ambient set, so the new lower-bound result does not correct an error in the original model.

(f) Example honest revision ledger

Original claim checked: “There are seven order pairs because there are seven connections.” Evidence: reflexivity alone requires six self-pairs, and r⊆rbg holds through an intermediate set. Repair: seven covers, fifteen full pairs. Changed check: the four-element power set in I4 has four covers but nine pairs. Remaining limit: these finite counts do not count unspecified records or certify general model suitability.

Alternatively, a learner who originally distinguished those counts can record a justified retention and a new independent count. Never fabricate a mistaken draft. The grouping preserves exact feature signatures and all containment comparisons between signatures. It discards which individual record carries a signature; it does not preserve any unspecified per-record property by assumption.

Project rubric detail

Award partial credit for correct subarguments while naming the needed repair. A correct numerical result with an invalid quotient definition does not demonstrate O5. Missing work stays incomplete, not inferred from presentation quality. The rubric does not authorize automated grading or a course-completion threshold.

Delayed transfer

D1. Original carrier U,V,W has U below V and W; V,W are incomparable. U is least and sole minimal; V,W are maximal and neither greatest. Lower bounds of {V,W} are {U}; there are no upper bounds in the carrier. Greatest lower bound is U; no least upper bound exists. With X added, U remains least; X becomes sole maximal and greatest and the least upper bound of {V,W}. Their greatest lower bound stays U. Covers are U→V,U→W,V→X,W→X. Containing every section is not evidence of review, accuracy or approval. A reasonable next question is which version an authorized reviewer accepted, or whether the included sections are correct; no external contact is assigned. A changed carrier can supply a formerly missing bound without changing the underlying meaning of containment.