Equivalence relations and partitions - Discrete Math
- Consider the set of all polynomials with integer coefficients. Define relation on by if and only if for all integers . Which polynomial is in the same equivalence class as ? Answer: because of Fermat's Little Theorem reducing exponents By Fermat's Little Theorem, for any integer and prime , we have . For any integer , this gives us and . Therefore, for all integers . Choice A fails because having congruent coefficients mod 5 is not sufficient—we need the polynomial values to be congruent for all integer inputs. Choices C and D can be verified to fail by checking specific values.
- Let and be two partitions of the set . The partition that corresponds to the equivalence relation (where is the equivalence relation corresponding to ) is: Answer: For , elements and are related iff they are in the same block in BOTH AND . Checking each pair: (1,3) are together in but separate in , so not related in intersection. (2,4) and (2,6) are together in , but only (2,6) are together in . (4,6) are together in but separate in . (3,5) are separate in . Only (2,6) remain together in both partitions. All other elements are isolated. Choice A would be correct only if no pairs were together in both partitions. Choices B and D incorrectly preserve relationships that don't exist in both partitions.
- Let be a relation on defined by if and only if . Which of the following statements about the partition induced by is correct? Answer: The partition has exactly 2 equivalence classes: and First, we compute for each element: , , , , , . Elements are equivalent if their squares have the same remainder mod 4. This gives us two classes: (remainder 1) and (remainder 0). Choice B incorrectly separates elements with the same remainder. Choice C gives the wrong number of classes. Choice D fails to recognize that this relation creates non-trivial equivalences.
- Consider the relation on the set of rational numbers defined by if and only if is an integer. Let denote the equivalence class of under . Which statement about the structure of these equivalence classes is correct? Answer: Each equivalence class contains exactly one rational number in the interval and is countably infinite Two rationals and are equivalent iff , i.e., they have the same fractional part. Each equivalence class consists of all rationals of the form where is the fractional part of and . This means each class contains exactly one representative in and is countably infinite (in bijection with ). Choice A misses that classes are infinite. Choice B misses the unique representative property. Choice C incorrectly describes the cardinality of the quotient set (there are only countably many rationals in ).
- Consider the relation on the set of all polynomials with real coefficients defined by if and only if and . Which statement about is correct? Answer: is an equivalence relation, and polynomials and are in the same equivalence class is reflexive ( and ), symmetric (if and , then and ), and transitive (if and , then and ). For : , . For : , . Since both conditions match, . Choice B incorrectly claims they're in different classes. Choices C and D incorrectly claim is not an equivalence relation.
- A computer science student defines relation on the set of all finite binary strings where if and only if string can be obtained from string by any sequence of the following operations: (1) inserting '01' anywhere in the string, (2) deleting '01' from anywhere in the string. Which statement correctly characterizes the equivalence classes of ? Answer: Each equivalence class contains all strings that reduce to the same substring when all '01' patterns are removed Since we can insert or delete '01' freely, two strings are equivalent iff they have the same 'reduced form' after removing all possible '01' substrings. For example, '1101' reduces to '11' (removing one '01'), and any string equivalent to '1101' must also reduce to '11'. Choice A is wrong because '11' and '101' have the same number of 1s but different reduced forms ('11' vs '1'). Choice B is wrong because length changes arbitrarily with '01' operations. Choice D is wrong because the number of '01' substrings changes during the operations.
- Consider the set with partition . If we define relation on such that if and only if and are in the same block of , and then define a new relation on by if and only if or or , which statement about is correct? Answer: is not an equivalence relation because it lacks transitivity is reflexive (each element relates to itself either through or the condition) and symmetric (if , then by the same reasoning). However, fails transitivity: (since ), (since ), but because and are in different blocks of and neither is . Choice A is wrong about the number of classes. Choice B incorrectly assumes is an equivalence relation and miscalculates the classes. Choice C is incorrect since is symmetric.
- Consider the equivalence relation on defined by if and only if is divisible by 8. Which of the following correctly describes the equivalence classes of this relation? Answer: Four equivalence classes where , , , with distinct classes based on squares modulo 8 iff . Computing squares modulo 8: . Elements with the same square modulo 8 are equivalent. This gives equivalence classes: (squares ), (squares ), (squares ). There are 3 distinct equivalence classes, not 4. Choice A incorrectly uses modulo 4. Choice C oversimplifies to parity. Choice D incorrectly suggests 8 classes.
- Define relation on by if and only if . This relation partitions into equivalence classes. Which statement about the equivalence class containing is true? Answer: The equivalence class is infinite and represents all ordered pairs equivalent to the fraction When you encounter equivalence relations defined on ordered pairs, think about what mathematical structure they're creating. This relation if is actually capturing when two fractions and are equal (assuming non-zero denominators). To find the equivalence class containing , you need all pairs such that , meaning , or equivalently . This gives you infinitely many pairs: , , , , , , , and so on. Any pair where the second coordinate is times the first coordinate belongs to this class. Option A claims exactly 4 elements from the given set belong to the class, but checking: , , , and all satisfy , so all 4 are included, making this count correct but missing that the class is infinite. Option B incorrectly counts only 3 of the 4 qualifying pairs. Option D incorrectly focuses on . While has , pairs like with are also in the same equivalence class. Option C correctly identifies that the equivalence class is infinite and represents all pairs equivalent to the reduced fraction . Study tip: Equivalence relations on ordered pairs often relate to fraction equality. Always check if the relation preserves some ratio or quotient.
- Let be a partition of a set with , , , and . If we define a new relation on by merging and into a single equivalence class while keeping and separate, how many ordered pairs are in the symmetric difference of the original equivalence relation and ? Answer: 12 ordered pairs, representing the new connections between former classes and The original equivalence relation has pairs within each . Relation merges and , so it has all pairs from the original relation plus new pairs where or . The symmetric difference contains only these new pairs: . Choice B incorrectly doubles this count. Choice C miscalculates by including existing internal pairs. Choice D overestimates the total structural change.
- Let and suppose is a partition of where each has exactly 3 elements. If we know that , , and under the equivalence relation corresponding to , what additional relationship must be true? Answer: Either and , or and , with 8 and 6 in different blocks We have (complete). The remaining elements must be split into two blocks of size 3 each. We know and . Each of these pairs needs one more element to complete their respective blocks. The remaining elements are 6 and 8. So either: (i) and , giving us and , or (ii) and , giving us and . In both cases, 6 and 8 are in different blocks. Choices A, B, and C incorrectly suggest that 6 and 8 could be in the same block or that multiple simultaneous relationships are impossible.
- Define relation on by if and only if . If is an equivalence relation, which of the following statements about the equivalence class containing is true? Answer: The equivalence class is , which represents a line with slope 1 For to be equivalent to , we need , which simplifies to . This gives the line , which has slope 1. Choice A correctly identifies this condition and slope. Choice B incorrectly uses (slope -1) which would come from . Choice C has the right slope but wrong equation ( means , which is correct, but the way it's written suggests ). Choice D incorrectly uses absolute value, giving two lines instead of one.
- Let and define relation on by if and only if . Which of the following statements about is true? Answer: is not an equivalence relation because it fails to be reflexive on all elements of For to be reflexive, we need for all , which means or . Testing: , , . Since and are false, is not reflexive. Choice A gives equivalence classes for a different relation. Choice C is wrong because is symmetric: if , then . Choice D is incorrect as transitivity issues are secondary to the reflexivity failure.
- Let be the relation on where if and only if and have the same remainder when divided by 3, OR both and are greater than 6. Which of the following best describes the partition induced by ? Answer: is not an equivalence relation because it fails transitivity when elements satisfy different conditions Consider (both have remainder 1 mod 3), (both > 6), but since 1 and 8 have different remainders mod 3 and 1 is not > 6. This violates transitivity. The relation combines two different conditions with OR, creating a situation where transitivity fails. Choices B and C incorrectly assume the relation is an equivalence relation and attempt to describe its partition. Choice D makes the same error while misunderstanding how the conditions interact.