- Learn
- Mathematics
- University Math
- Discrete Mathematics
- Equivalence Relations
Relations, Equivalence Relations and Orders
BeginnerLesson 3 of 10 in Discrete Mathematics Course
What you will learn
- Define a binary relation as a set of ordered pairs, combine relations with set operations and composition, and decide with proofs and counterexamples which standard properties a relation has.
- Define relations as sets of ordered pairsWrite a relation from one set to another or on a single set, read relation notation, and connect relations with functions and with counting.
- Test reflexive, symmetric, antisymmetric and transitive propertiesState the standard properties of a relation on a set precisely, prove that a relation has a property or refute it with a counterexample, and avoid the usual confusions between them.
- Combine and compose relationsBuild new relations with set operations, composition and powers, and use composition to test transitivity.
- Define relations as sets of ordered pairs
- Translate a finite relation into a zero-one matrix and a directed graph, read its properties from each picture, and compute with Boolean matrix operations.
- Represent a relation with a zero-one matrixWrite the zero-one matrix of a finite relation, read properties from it, and use join, meet and the Boolean product to combine and compose relations.
- Represent a relation with a directed graphDraw the directed graph of a relation on a finite set, read its properties from the drawing, and connect paths in the graph with powers of the relation.
- Represent a relation with a zero-one matrix
- Extend a relation as little as possible so that it becomes reflexive, symmetric or transitive, and compute transitive closures by paths, by Boolean powers and with Warshall’s algorithm.
- Form reflexive and symmetric closuresExplain what a closure is, compute reflexive and symmetric closures from pairs, matrices and digraphs, and recognize properties for which no closure exists.
- Find the transitive closure through pathsExplain why one round of composition is not enough, describe the transitive closure as the connectivity relation, and compute it from powers of the relation.
- Compute the transitive closure with Warshall’s algorithmRun Warshall’s algorithm on the matrix of a relation round by round, explain why its update rule is correct, and compare its cost with the method of Boolean powers.
- Form reflexive and symmetric closures
- Recognize and prove equivalence relations, find their equivalence classes, and move between equivalence relations and partitions of a set.
- Recognize and prove equivalence relationsProve that a relation is reflexive, symmetric and transitive, use the standard examples such as congruence modulo m, and spot relations that fail transitivity.
- Work with equivalence classes and partitionsFind the equivalence classes of an equivalence relation, use the correspondence between equivalence relations and partitions, and count and combine equivalence relations.
- Recognize and prove equivalence relations
- Recognize partial and total orders, draw and read Hasse diagrams, and find maximal and minimal elements, bounds and lattices.
- Define partial orders and total ordersProve that a relation is a partial order, distinguish partial, total, strict and well orders, and compare elements in lexicographic order.
- Draw and read Hasse diagramsReduce a finite poset to its covering pairs, draw its Hasse diagram, and read comparabilities from upward paths.
- Identify extremal elements, bounds and latticesFind maximal, minimal, greatest and least elements, upper and lower bounds and least upper and greatest lower bounds in a poset, and decide whether a poset is a lattice.
- Define partial orders and total orders
- Turn a partial order into a compatible total order, and use chains and antichains to plan schedules in which tasks run in parallel.
- Topologically sort a finite partial orderFind a total order compatible with a finite partial order by repeatedly choosing minimal elements, and explain when such an order exists and how many there can be.
- Plan parallel schedules with chains and antichainsMeasure a poset by its longest chain and largest antichain, and use these measures to find the shortest schedule for tasks that can run in parallel.
- Topologically sort a finite partial order
Equivalence Relations study guide
1Describe relations and test their properties
Relations describe connections such as divisibility, enrollment, and prerequisites. Ordered pairs make those connections precise, and property tests reveal how they behave. You will move from a rule to its pairs, distinguish relations from functions, and use proofs or counterexamples to check each property. Composition then connects pairs through a middle element, giving a way to describe repeated steps and test transitivity.
1.1 Define relations as sets of ordered pairs
A relation records which ordered pairs belong together. The first coordinate and second coordinate have separate jobs: “is enrolled in” connects a student to a course, while its reverse connects a course to a student.
Specify the two sets
A binary relation from to is a subset . Write when . A relation on has both coordinates in . State the sets before listing pairs: they determine which pairs are even possible.
Let and . An enrollment relation is
Ana has two outgoing pairs, Ben has none, and Chen has one. All are allowed. A function from to has exactly one pair starting at each element of . Thus every function is a relation, but this enrollment relation is not a function for two separate reasons: Ana has too many outputs and Ben has too few.
Read the direction of a rule
On , let mean : there is an integer with . Listing the allowed second coordinates for each first coordinate gives
The pair belongs because 1 divides 2. The pair does not belong. Reversing a pair changes the claim being made, even when both entries come from the same set.
For an infinite set, a rule replaces a full list. On the integers, define by “ is even.” Then belongs since their sum is 8, while does not since their sum is 7.
Three special relations
The empty relation contains no pairs. The universal relation contains every possible pair. The identity relation contains just the diagonal pairs. On a three-element set, these have 0, 9, and 3 pairs, respectively.
The inverse flips every pair: . It runs from to . The complement keeps the original direction and includes the pairs missing from the chosen product: . On the integers, the inverse of is , while its complement is . Equality belongs to the complement, not to the inverse.
Count relations by choices
If and , the product has possible pairs. Each pair can independently be included or excluded, so there are relations from to . On a three-element set, there are 9 possible pairs and relations. The number 9 counts positions available for pairs; 512 counts the different subsets that can fill those positions.
Key Takeaways
- A relation is a subset of a specified Cartesian product.
- A function assigns exactly one output to every input.
- Inverse reverses pairs; complement selects missing pairs.
- There are relations from an -element set to an -element set.
1.2 Test reflexive, symmetric, antisymmetric and transitive properties
A property is a rule about every relevant element or pair. Proving a relation has a property requires all cases; disproving it takes one precise failure. Always keep the underlying set in view.
State each test
| Property | What must hold |
|---|---|
| Reflexive | Every belongs. |
| Irreflexive | No belongs. |
| Symmetric | If belongs, so does . |
| Antisymmetric | If both and belong, then . |
| Asymmetric | If belongs, then does not. |
| Transitive | If and belong, so does . |
Reflexive and irreflexive are not exhaustive choices. The relation on is neither: one loop is present and one is missing. The same pairs can pass reflexivity on one set and fail it on a larger set.
Antisymmetry permits loops and bans two-way pairs only between distinct elements. Asymmetry also bans loops; it is exactly antisymmetry together with irreflexivity. A relation can be both symmetric and antisymmetric: any set of diagonal pairs has both properties. They can also both fail, as in .
Prove properties using the rule
Divisibility on the positive integers is reflexive because . It is antisymmetric: if and , positivity gives and , so . It is transitive: from and , obtain . It is not symmetric, since but .
For a less familiar rule, test the definitions separately. On the integers, let mean . It is reflexive since . Symmetry fails with 1 and 5: , but is false. Antisymmetry fails with 1 and 2, since both directions hold for these unequal numbers. Transitivity fails because and , yet is false.
Include repeated elements
The letters in a transitivity test need not stand for distinct elements. If and belong, transitivity requires and . This is why a two-way arrow without loops can fail transitivity.
An implication is true when its premise never occurs. The empty relation on a nonempty set is symmetric, antisymmetric, asymmetric, irreflexive, and transitive; it is not reflexive. Also, symmetry and transitivity together need not give reflexivity: on has both but misses the loop at 2.
Count the independent choices
On an -element set, reflexivity forces the diagonal pairs, leaving free choices: relations. Symmetry gives one choice per diagonal and per unordered off-diagonal pair: . Antisymmetry gives two choices per diagonal and three per off-diagonal unordered pair: neither direction, forward, or reverse. Its count is . At these counts are 64, 64, and 216.
Key Takeaways
- Check the underlying set when testing reflexivity.
- Antisymmetric permits loops; asymmetric forbids them.
- A counterexample must show the premise holds and its required conclusion fails.
- Transitivity includes paths returning to their starting element.
- An implication with no triggering cases is true.
1.3 Combine and compose relations
Relations are sets, so set operations combine their membership rules. Composition does a different job: it follows one connection and then another through an intermediate element.
Combine pairs with set operations
For relations with the same source and target sets, a union keeps pairs in either relation; an intersection keeps pairs in both. Difference keeps pairs in the first but not the second. Complement is taken inside the specified Cartesian product.
On , the union of and equality is , with six pairs. The union of and is , with six off-diagonal pairs, while their intersection is empty. These operations compare membership of the same pair; they do not connect different pairs end to end.
Follow composition from right to left
If runs from to and from to , define
Apply first, then . The middle element proves the connection exists but is not part of the output pair. Multiple middle elements can produce the same pair, which is listed only once. Some texts write for this same sequence.
Take and . Following each pair of gives:
- continues through , producing .
- continues through , producing .
- continues through , producing .
Thus . Reversing the order gives : only the pair of ending at 1 can continue in . Composition is not commutative.
Use powers for repeated steps
For a relation on one set, and . A pair belongs to exactly when an -step sequence of relation pairs connects its entries. Composing “is a parent of” with itself gives “is a grandparent of.”
For the relation above, . The first two pairs come from starting with the loop at 1; the third comes from . The pair contributes nothing to the square because no pair starts at 3.
Connect composition to properties
Transitivity is exactly : every two-step connection already has its direct pair. Equality is unnecessary. Here is in the square but missing from , so transitivity fails.
Intersections of transitive relations remain transitive, but unions can fail: and are each transitive, while their union lacks . Unions and intersections preserve reflexivity when both inputs are reflexive, and symmetry when both are symmetric. Symmetry can also be written . Reversing a composition reverses its order: .
Key Takeaways
- follows first and second.
- records exactly relation steps.
- Transitivity is equivalent to .
- Intersection preserves transitivity; union can fail to preserve it.
2Represent relations with matrices and directed graphs
A finite relation can be stored as a grid of zeros and ones or drawn as arrows between vertices. The matrix supports systematic computation; the digraph makes routes and cycles visible. You will translate between these views while keeping the element order and arrow direction clear, read properties from each, and compute two-step connections using Boolean multiplication. Each view describes the same underlying pairs.
2.1 Represent a relation with a zero-one matrix
A zero-one matrix stores a finite relation in a grid. Each entry answers one membership question, so the row and column orders must be stated before the entries can be read.
Build and read the matrix
List and . Define when , and 0 otherwise. Rows give first coordinates; columns give second coordinates. A relation from to has an matrix, which need not be square.
For , using the order 1, 2, 3 for rows and columns,
Row 1 records two outputs, 1 and 2. Row 3 has none. Reordering the elements permutes the corresponding rows or columns; it does not change which relation is being described.
Read properties from entries
For a relation on one set, use the same element order on both axes. Reflexivity means all diagonal entries are 1; irreflexivity means all are 0. Symmetry means . Antisymmetry means the two reflected entries cannot both be 1 when ; diagonal 1s are allowed. Transposing the matrix gives the inverse relation.
Union and intersection work entry by entry. The join puts 1 wherever either input has 1. The meet puts 1 only where both inputs have 1. These operations never add numerical counts.
Compute a Boolean product
For compatible matrices and , the Boolean product uses AND within each connecting position and OR across all positions:
The output is 1 when at least one middle position works. With rows as starting elements, : the matrix of the first relation followed is on the left.
Take . Its matrix is
Row 1 of is . Against column 1 of , , the matching 1 in position 2 produces 1. Against its zero column 2, the result is 0. Against column 3, , position 1 works, producing 1. The complete product is
Its 1s encode , exactly the composed relation.
Test two-step connections
Boolean powers satisfy . Here the Boolean square has first row and all other entries 0. It has a 1 at where the original has 0, so transitivity fails. Ordinary multiplication may produce 2 or more because it counts middle elements; replacing every positive result by 1 gives the Boolean product. Reversing the matrix factors computes the opposite composition.
Key Takeaways
- Rows give first coordinates and columns give second coordinates.
- Transpose represents inverse.
- Join and meet represent union and intersection.
- The Boolean product records existence, not a count of middle elements.
- The Boolean square must add no new 1s for transitivity.
2.2 Represent a relation with a directed graph
A directed graph makes a relation's connections visible. Every element has a vertex, even when no pair mentions it, and every pair becomes an arrow in its stated direction.
Translate pairs into arrows
For a relation on a finite set , draw one vertex for each member of and one arrow for each . An arrow from a vertex to itself is a loop. The graph has no repeated arrows, because a set cannot contain the same ordered pair twice.
For on , draw a three-vertex directed cycle and an additional arrow . There are no loops. Vertex 4 has an outgoing arrow but no incoming arrow; its position on the page has no mathematical meaning.
Read the property tests
Reflexivity requires a loop at every vertex. Irreflexivity requires no loops. Symmetry requires a reverse arrow for every arrow between different vertices. Antisymmetry bans opposite arrows between different vertices, and asymmetry bans those pairs of arrows and all loops.
Transitivity requires a direct arrow whenever arrows and exist. The return case matters: requires a loop at . For the cycle above, lacks the direct arrow , so the relation fails transitivity. It is irreflexive, antisymmetric, and asymmetric, but not symmetric.
Notice that antisymmetry alone does not ban longer directed cycles. The three-cycle has no opposite pair of arrows, so it is antisymmetric. Transitivity would add shortcuts that eventually create opposite pairs; it is the combination of order properties that rules such cycles out in a strict order.
Follow paths and powers
A path here is a sequence of arrows whose endpoints match; vertices and arrows may repeat. Its length is its number of arrows. Then exactly when an -arrow path goes from to . Some graph texts call this a directed walk; the relation-power calculation uses this repeat-allowing meaning.
In the example, two steps give . Three give . Starting at 4, the first three destinations are 3, 1, and 2. Reaching a destination in one number of steps does not mean it is reached in every number of steps.
Choose a useful view
A pair list is easy to inspect when few pairs belong. A matrix organizes systematic computation. A digraph exposes routes and cycles. Each represents the same finite relation, so switching views can make a property easier to test without changing its truth.
A symmetric drawing sometimes replaces opposite arrows with a single line. That shorthand must be identified: an unmarked line otherwise hides which direction is present. When checking a drawing, compare its arrows with the pair list and retain isolated vertices; forgetting an isolated vertex can make a nonreflexive relation look reflexive.
Key Takeaways
- An arrow points from the first coordinate to the second.
- Loops encode diagonal pairs.
- Transitivity requires direct arrows for all two-arrow routes.
- records paths of exactly arrows.
- Include isolated vertices in the drawing.
3Build closures of relations
Adding a few pairs can make a relation reflexive, symmetric, or transitive. A closure makes the smallest such repair, keeping every original pair. You will identify which additions are forced, use paths to find all transitive consequences, and carry out Warshall’s matrix updates. The central distinction is between a direct connection, a route of several steps, and a zero-step self-connection.
3.1 Form reflexive and symmetric closures
A closure repairs a relation by adding only the pairs a property forces. The original pairs stay. “Smallest” means inclusion: the closure must lie inside every relation that contains the original and has the required property.
Add the pairs required by the property
The reflexive closure is . Add every missing pair , including loops at elements not mentioned in . The symmetric closure is . Add the reverse of every pair that lacks one. Existing loops already reverse to themselves.
For on , the reflexive closure is
Only the loops at 1 and 2 were missing. The symmetric closure is
It needs the reverse pairs and , but no new loops. These are separate repairs for separate properties.
Explain why the repair is smallest
Any reflexive relation containing must contain every pair of and every diagonal pair. It therefore contains . Since that union is itself reflexive, it is the reflexive closure. The symmetric case works the same way: any symmetric extension must contain the reverse of every original pair, and the union with those reverses is already symmetric.
If the relation already has the property, its closure is itself. For example, the identity relation needs no reflexive repair. A closure is not required to add a pair merely because its name suggests a change.
Make the same repair in other views
In a square matrix, reflexive closure sets the diagonal to 1: . Symmetric closure is , filling each reflected position. In a digraph, these repairs add missing loops or reverse arrows. They do not delete existing arrows.
On the integers, the reflexive closure of is . Its symmetric closure is : for different integers, one is smaller than the other, so at least one direction of supplies each unequal pair after reversal. No equal pair is forced by symmetry.
Know when adding cannot repair
Reflexive, symmetric, and transitive closures exist for every relation. The universal relation has each property, so there are qualifying extensions. Intersect all qualifying extensions for one chosen property; the intersection retains that property and is the smallest extension.
Other properties may be impossible to obtain by addition. If a relation contains a loop, no containing relation can be irreflexive. If it contains both and , no containing relation can be antisymmetric.
The universal relation is a qualifying extension for the three closure properties, but usually adds too much. On , the reflexive closure of has three pairs. By contrast, the transitive closure of has all four: both loops are forced by the two return routes.
Key Takeaways
- A closure keeps the original pairs and adds only forced pairs.
- Reflexive closure is .
- Symmetric closure is .
- Adding pairs cannot remove a violation of irreflexivity or antisymmetry.
3.2 Find the transitive closure through paths
Transitivity can force new pairs repeatedly: a shortcut added in one pass can combine with another arrow to force a longer shortcut. Reachability gives a complete description of all the pairs needed.
Follow every positive-length path
The transitive closure is the smallest transitive relation containing . A pair belongs precisely when a path of one or more arrows connects its entries. Write this positive-length connectivity relation as
The notation is also used here for that union. Check its definition when comparing texts: a convention that includes zero-length paths adds every diagonal pair as well. Positive-length reachability adds a loop only when a nonempty route returns to its start.
Why is reachability transitive? Join a path from to to one from to , giving a path from to . Why is it smallest? Any transitive extension containing the original arrows must contain the endpoints of every such path, applying transitivity repeatedly along it.
Finish a chain example
Take . Its square is , and its cube is . There is no four-arrow path. The closure is therefore
Stopping at misses . That incomplete relation contains and , so it still violates transitivity. The closure is on the four-element set and has no loops.
Let cycles determine loops
For , the cycle through 1, 2, and 3 makes each of those vertices reach all three, including itself. Vertex 4 reaches all three cycle vertices, but no route returns to 4. The closure has 12 pairs: four possible starts, each reaching 1, 2, and 3. It lacks and is not reflexive on the whole set.
For direct-flight connections, the closure records destinations reached with one or more flights. For direct function calls in a program, it records calls made directly or indirectly. In both cases, arrow direction still controls reachability.
Bound the computation on a finite set
On vertices, a reachable distinct destination has a path of at most arrows: remove any repeated-vertex detour. A shortest positive return route has at most arrows. Hence
Boolean powers give the same union of matrices. Computing the powers by straightforward Boolean products costs on the order of bit operations; Warshall's algorithm reduces that to the order of .
For a reflexive and transitive extension, use . To obtain the smallest equivalence extension, take reflexive, then symmetric, then transitive closure. Symmetry taken after transitive closure can spoil transitivity: starting with , reversing the arrow creates return routes that still need loops.
Key Takeaways
- Transitive closure includes every positive-length reachable pair.
- One pass adding two-step shortcuts may be insufficient.
- Cycles force loops in the closure.
- Powers through suffice on vertices.
- Reflexive-transitive closure also includes the full diagonal.
3.3 Compute the transitive closure with Warshall’s algorithm
Warshall's algorithm computes reachability by gradually allowing more vertices inside a path. The round number controls the permitted middle vertices, not the number of arrows.
Understand what a round means
List the vertices . Start with , which records direct arrows. In , entry is 1 when a positive-length path from to has all interior vertices among . The endpoints do not need to belong to that permitted set.
A path allowed in round either avoids as an interior vertex or passes through it. In the second case, split it at . This gives the update
Keep an existing connection, or add one when the start reaches the current vertex and that vertex reaches the destination. No existing 1 ever changes to 0.
Work through four rounds
Use the vertex order 1, 2, 3, 4 and :
In round 1, look down column 1. Only row 3 contains 1. OR row 1 into row 3, changing row 3 from to . This adds the route .
In round 2, rows 1 and 3 contain 1 in column 2. OR row 2, , into both. Row 1 becomes ; row 3 becomes . The diagonal entry at records the return route .
In round 3, every row has 1 in column 3. OR the current row 3, , into every row. All four rows become . In round 4, column 4 is all zeros, so nothing changes. The final matrix has 12 ones and represents . No vertex reaches 4 because no arrow enters it.
Run the update reliably
For each round, identify the rows with 1 in the current column, then copy every 1 from the current row into them. The current row and column do not change during their own round: their updates OR an entry with itself AND another entry. This makes in-place updating safe with the round index as the outer loop.
Run all vertex rounds. An unchanged early round says only that its vertex supplied no new route; a later vertex can still do so. Treat diagonal entries like all others, so cycles can create loops. Do not initialize the diagonal to 1 unless reflexive reachability is wanted.
Compare costs
There are rounds, each updating entries with one AND and one OR: bit operations. At , that is 2,000,000. Changing the vertex order can change the intermediate matrices, but the final relation is the same after matching the row and column labels.
Key Takeaways
- Round adds routes through vertex .
- OR the current row into rows with 1 in the current column.
- Keep the round index outside both entry loops.
- Run every round, including after an unchanged round.
- Cycles create diagonal 1s through the ordinary update.
- Warshall uses bit operations in the full update.
4Classify with equivalence relations and partitions
An equivalence relation groups objects that match in a chosen respect, such as having the same remainder or representing the same fraction. Its properties make the groups consistent: two groups cannot overlap only partly. You will prove equivalence, find classes, and switch between a relation and a partition. Counting pairs within blocks and combining partitions show how these groupings behave as mathematical objects.
4.1 Recognize and prove equivalence relations
An equivalence relation treats objects as alike in a chosen respect. To group objects consistently, each object must match itself, matches must reverse, and two matching steps must preserve the match.
Prove the three properties
A relation on is an equivalence relation when it is reflexive, symmetric, and transitive. Prove these separately for arbitrary elements. One counterexample to any one property is enough to show the relation is not an equivalence relation.
A useful pattern is exactly when for a function on . Equality of the outputs gives all three properties: an output equals itself; equality reverses; and equalities through a middle output combine. Examples include strings with the same length, people with the same birth year, and real numbers with the same floor. The floor is the greatest integer no larger than the number, so 2.3 and 2.9 match, but 2.9 and 3.1 do not.
Prove congruence is an equivalence relation
For a positive integer , congruence on the integers means exactly when .
- Reflexive: .
- Symmetric: if , then .
- Transitive: if and , then .
Each step uses arbitrary integers, so it proves a whole property, not just an example. A calculation such as illustrates membership but cannot replace those proofs.
Group different representations of a fraction
On integer pairs with , define when . The pairs and match because both cross products are 6. Reflexivity follows from , and reversing the equation gives symmetry.
For transitivity, suppose and . Multiplying gives , hence . Since , obtain , the condition for . The nonzero second coordinate permits cancellation. These classes identify different fraction representations of the same rational number.
Test a tempting non-example
“Differs by at most 1 cm” is reflexive and symmetric on lengths. Yet 10.0 cm is close to 10.8 cm, and 10.8 cm is close to 11.6 cm, while the first and last differ by 1.6 cm. Transitivity fails because small differences can accumulate.
On integers, fails similarly with 1, 2, and 3. On integers at least 2, “has a common factor greater than 1” is reflexive and symmetric, but 2 matches 6 and 6 matches 3 while 2 does not match 3. A shared intermediate object need not give a shared property of the endpoints.
Check reflexivity on the whole domain too. On , the relation containing is symmetric and transitive but misses the loop at 3.
Key Takeaways
- Equivalence requires reflexivity, symmetry, and transitivity.
- Equality of function outputs defines an equivalence relation.
- Congruence modulo a positive integer is an equivalence relation.
- Tolerance relations can fail transitivity as differences accumulate.
4.2 Work with equivalence classes and partitions
Once an equivalence relation is established, it splits the underlying set into complete groups. Each group contains exactly the elements related to any one of its members.
Find a class and choose a representative
The equivalence class of is . An element naming the class is a representative. The set of distinct classes is the quotient set .
Modulo 4, there are four classes, represented by 0, 1, 2, and 3. The class contains . Thus . The representatives are different integers, but the class is the same set. The notation names all integers congruent to 2, not just the integer 2.
Explain why classes cannot partly overlap
For an equivalence relation, , , and are equivalent statements. To see the overlap step, suppose belongs to both classes. Then and ; symmetry and transitivity give . Any element related to one is then related to the other, so the two classes coincide.
Reflexivity puts each element in its own class. The distinct classes are therefore nonempty, disjoint, and cover all of . Such a collection is a partition. Conversely, a partition defines an equivalence relation by “is in the same block as.” A collection with overlaps, an empty block, or a missing element is not a partition.
Convert blocks into pairs and a matrix
For blocks , , and , include every ordered pair within each block and none across blocks. The relation has pairs. Each block contributes its full square, including loops and both directions.
With elements listed block by block, the matrix has all-1 square blocks on the diagonal and zeros elsewhere. A partition block of size 3 contributes nine pairs, not three: each of its three elements relates to all three.
Equivalence relations and partitions correspond one to one. Their number on elements is the Bell number . For sizes 1 through 5 the counts are 1, 2, 5, 15, and 52. On three elements, the five partitions are one block of three, three ways to make a pair and a singleton, and three singleton blocks.
Combine relations and build the smallest grouping
Intersecting equivalence relations gives another equivalence relation. Its blocks are the nonempty intersections of the original blocks. Their union can fail transitivity: congruence modulo 2 joins 1 to 3, and congruence modulo 3 joins 3 to 0, but neither joins 1 to 0.
To build the smallest equivalence relation containing , take reflexive, symmetric, then transitive closure. For on , the required blocks are and , giving pairs. Reverses and paths force every within-block pair; no path joins the two blocks.
Key Takeaways
- An equivalence class is a set; its representative is an element.
- Classes are equal or disjoint.
- Partitions and equivalence relations correspond one to one.
- A block of size contributes ordered pairs.
- Bell numbers count partitions and equivalence relations.
- Intersection preserves equivalence; union may not.
- Reflexive, symmetric, then transitive closure gives the smallest equivalence extension.
5Order elements with partial orders and Hasse diagrams
Partial orders describe comparisons that need not place every pair in sequence. Divisibility and set inclusion give concrete examples. You will prove order properties, use Hasse diagrams to keep only immediate comparisons, and distinguish maximal elements from greatest elements. Bounds extend the comparison to a chosen subset, while lattices identify posets where each pair has a well-defined join and meet.
5.1 Define partial orders and total orders
An order describes which elements come before or below others. A partial order permits some pairs to remain incomparable; a total order compares every pair.
Prove a partial order
A partial order is reflexive, antisymmetric, and transitive. A set with such a relation is a partially ordered set, or poset, written . The symbol means and .
Subset inclusion gives a standard example. For subsets of a fixed set, proves reflexivity. If and , then , proving antisymmetry. If , then , proving transitivity. The usual order on integers and divisibility on positive integers are also partial orders.
The underlying set matters. On nonzero integers, divisibility fails antisymmetry: and although the integers differ. Restricting to positive integers removes that failure.
Compare partial and total orders
Elements are comparable if or ; otherwise they are incomparable. A total order, also called a linear order, is a partial order with every pair comparable. A totally ordered set is a chain.
The integers under form a total order. Positive integers under divisibility do not: neither 2 nor 3 divides the other. Under subset inclusion, and are incomparable. “Partial” concerns which elements can be compared, not whether the order properties are only partly satisfied.
Pass between weak and strict forms
A strict partial order is irreflexive and transitive. It is asymmetric: if both and held, transitivity would force . Remove the diagonal from a partial order to obtain its strict form; add the diagonal back to recover the reflexive form.
Thus is the strict form of , and proper inclusion is the strict form of inclusion. The symbol is not a partial order in the reflexive sense because its diagonal is empty. Name the strict form explicitly when using it.
Use lexicographic and well orders
Lexicographic order compares the first coordinate first and uses the second only to break a tie. For integer pairs, because 1 is smaller than 2, and because the first coordinates tie. Strings use the first differing position, with a shorter prefix first: “dis” precedes “disc,” then “discrete,” then “disk.” Built from total orders, this order is total.
A well order is a total order in which every nonempty subset has a least element. Positive integers under are well ordered. All integers under are not: the whole set has no least member. Even an ordered set with a least element can fail this test. In , the subset has no least element, since halving any positive member gives a smaller positive member.
Key Takeaways
- A partial order is reflexive, antisymmetric, and transitive.
- A total order compares every pair.
- A strict partial order is irreflexive and transitive.
- Lexicographic comparison uses the first differing position.
- Well ordering requires a least element in every nonempty subset.
5.2 Draw and read Hasse diagrams
A Hasse diagram compresses a finite partial order into its immediate comparisons. Loops and longer consequences can be recovered from the order rules, so they need not be drawn.
Find the covering pairs
An element covers if and no element satisfies . Covers depend on the elements actually in the poset. For divisibility on , 4 covers 2 but not 1; if 2 were removed, 4 would cover 1.
To draw a Hasse diagram, start from the relation digraph. Remove loops. Remove arrows implied by longer upward routes, leaving only covers. Place each covered element below the element covering it, then omit arrowheads because every edge is read upward. Keep the vertices and their labels.
Draw the divisors of 12
The elements are , ordered by divisibility. From 1, the immediate larger elements are 2 and 3. From 2, they are 4 and 6. From 3, the next is 6. Both 4 and 6 lead directly to 12. Thus the seven covering pairs are
Place 1 at the bottom, 2 and 3 above it, 4 and 6 above them, and 12 at the top. Draw 6 above both 2 and 3. The full relation has 18 ordered pairs, but its Hasse diagram needs only seven edges.
The pair is removed because . The pair is removed because several longer upward routes already imply it. These comparisons remain true even though their direct edges disappear.
Read upward paths
For finite posets, exactly when or an upward path of cover edges runs from to . In the divisor example, 3 is below 12 through 6. There is no upward path from 4 to 6 or from 6 to 4, so they are incomparable.
The page height alone is not enough. Drawing 3 lower than 4 does not make true. A route that goes upward and then downward also gives no comparison between its endpoints. Follow edges in one upward direction throughout.
Recognize two common shapes
The subsets of under inclusion form an eight-vertex cube when drawn by set size. Each cover adds exactly one element. There are 12 cover edges and 27 pairs in the full relation: for each of the three underlying elements, it can be outside both sets, in only the larger set, or in both.
A finite total order produces one vertical path. For under divisibility, the path is . Every two vertices are comparable through that path. Avoid horizontal cover edges, which hide which vertex is above the other, and keep transitive shortcuts out of the finished diagram.
Key Takeaways
- Covers are comparisons with no intermediate element in the poset.
- Hasse diagrams omit loops and transitive shortcuts.
- Comparability follows upward paths, not page height.
5.3 Identify extremal elements, bounds and lattices
A partial order can have several elements at its top or bottom. Bounds ask a different question: which elements lie above or below every member of a chosen subset?
Distinguish local and whole-set extremes
| Term | Requirement for an element |
|---|---|
| Maximal | No element is strictly above . |
| Minimal | No element is strictly below . |
| Greatest | Every element is below or equal to . |
| Least | Every element is above or equal to . |
Greatest and least elements are unique when they exist. Maximal and minimal elements need not be. In a Hasse diagram, maximal vertices have no edge leading up and minimal vertices have no edge leading down.
Consider under divisibility. Its minimal elements are 2 and 3; its maximal elements are 8, 12, and 18. There is no least element because neither 2 nor 3 divides the other. There is no greatest element: none of the three maximal elements is divisible by all members of .
Every finite nonempty poset has maximal and minimal elements. In a finite poset, a unique maximal element is greatest: following elements upward from any start eventually reaches it. Infinite posets need not have either kind of extreme; the integers under have none.
Find all bounds before choosing an extremal bound
An upper bound of is a member of above every element of . A lower bound is below every element of . Bounds may lie outside but must lie inside .
For in the example, the upper bounds are 6, 12, and 18. The least upper bound, or supremum or join, is 6: it divides every other upper bound. There is no lower bound in . The integer 1 divides both 2 and 3, but it is not available in this poset.
For , the lower bounds are 2, 3, and 6. The greatest lower bound, or infimum or meet, is 6. There is no upper bound in . For , there is also no upper bound in ; their common multiples outside do not qualify.
Check whether a least bound exists
Upper bounds can exist without a least one. Suppose both lie below , with no other strict comparisons. The upper bounds of are and . They are incomparable, so neither lies below the other and no least upper bound exists. Two minimal upper bounds are not a single least upper bound.
Recognize lattices
A lattice is a poset where every pair of elements has both a least upper bound and a greatest lower bound. Positive integers under divisibility form a lattice: join is the least common multiple and meet is the greatest common divisor. For 4 and 6, these are 12 and 2.
A power set under inclusion is a lattice, with union as join and intersection as meet. Every total order is a lattice, using the larger and smaller member of each pair. The restricted set above is not a lattice because 2 and 3 lack a lower bound in it. Check bounds within the actual set before applying a familiar formula.
Key Takeaways
- Maximal and minimal need not mean greatest and least.
- Bounds belong to the poset, but need not belong to the chosen subset.
- A least upper bound lies below every other upper bound.
- A greatest lower bound lies above every other lower bound.
- A lattice provides both bounds for every pair.
- Restricting the underlying set can remove required bounds.
6Schedule tasks with topological sorting
Dependencies often leave several valid choices for what happens next. Topological sorting selects a complete sequence without violating any requirement. Parallel scheduling then asks which tasks can share a step and what limits completion time. You will use minimal elements to build an order, chains to measure forced sequential work, and antichains to measure possible parallelism, including the effect of a capacity limit.
6.1 Topologically sort a finite partial order
Dependencies specify some ordering requirements without choosing a complete sequence. Topological sorting turns those requirements into one list that respects every required “before” relationship.
Choose a minimal remaining element
A linear extension is a total order compatible with a partial order: implies that is no later than in the total order. Constructing one for a finite poset is topological sorting.
Repeatedly choose a minimal element among those remaining, append it to the list, and remove it. At the moment of selection, all its strict predecessors have already been removed. A minimal element exists in every finite nonempty poset: follow strict predecessors downward. No element can repeat, and finiteness forces the process to stop.
Different minimal choices can give different valid lists. A finite poset has exactly one linear extension precisely when it is already a total order. Incomparable elements allow more than one compatible ordering.
Work through course prerequisites
Use eight course labels: P1 (Programming I), DS (Data Structures), DM (Discrete Mathematics), AL (Algorithms), C1 (Calculus I), C2 (Calculus II), PR (Probability), and ML (Machine Learning). The direct requirements are:
- P1 and DM before DS; DM and DS before AL.
- C1 before C2; C1 and DM before PR.
- C2, PR, and AL before ML.
Initially C1, DM, and P1 are minimal. If the alphabetically first available label is always chosen, select C1, then C2, then DM, then P1. Removing P1 releases DS; removing DS releases AL. PR is also available, but AL comes first alphabetically. The complete order is C1, C2, DM, P1, DS, AL, PR, ML.
Verify each direct requirement against positions in the list. Checking them is sufficient: if every direct step goes forward, every longer dependency route also goes forward. DM before AL is already implied through DS, though it remains a true requirement. This course poset has 117 linear extensions; the alphabetical rule chooses just one of them.
Detect impossible dependency lists
A directed acyclic graph, or DAG, has no directed cycles. Draw strict “before” requirements as arrows. Topological sorting repeatedly removes a vertex with no incoming arrows from the remaining graph. A finite DAG always permits a full ordering, since its transitive closure is a strict partial order.
If A must precede B, B must precede C, and C must precede A, no list works. Removing unrelated ready tasks may still be possible, but the cyclic part eventually leaves no available vertex. This differs from the reflexive order digraph, which has loops by definition; scheduling arrows express strict precedence.
Apply the algorithm to dependencies
Build systems process required components before components that use them. A spreadsheet can recalculate dependent cells after their inputs. In each case, a task becomes ready only after all its incoming requirements are satisfied. Having one completed prerequisite is insufficient if another is still pending. Use the current remaining set when finding minima; an element that was not minimal at the start can become minimal after its predecessors are removed.
Key Takeaways
- A linear extension respects every original comparison.
- Topological sorting repeatedly removes a minimal remaining element.
- A finite DAG always has a topological order.
- A directed cycle prevents a compatible ordering.
- A finite poset has one linear extension exactly when it is total.
6.2 Plan parallel schedules with chains and antichains
Some tasks must run in sequence; others can share a time step. Chains and antichains measure those two features and connect a partial order to a parallel schedule.
Measure height and width
A chain is a subset whose elements are pairwise comparable. An antichain is a subset whose distinct elements are pairwise incomparable. The height of a finite poset counts elements in a largest chain; the width counts elements in a largest antichain. Height counts elements, not arrows.
In the course dependencies, P1, DS, AL, ML form a chain of four. So do DM, DS, AL, ML. No chain is longer, giving height 4. The sets and are antichains of three, and the width is 3. An antichain need not be a row in one drawing of the Hasse diagram.
Find the shortest unlimited schedule
Assume each task takes one time step, all predecessors must finish before it starts, and any number of tasks can run together. Tasks within a step form an antichain. A chain of tasks requires at least steps.
Assign each task a level equal to the number of elements in a longest chain ending there. Every predecessor has a smaller level, so running tasks at their levels is valid. The largest level is the height, reaching the lower bound. Thus the minimum number of steps equals the height.
For the eight courses, a four-term schedule is: Term 1, P1, C1, DM; Term 2, DS, C2, PR; Term 3, AL; Term 4, ML. A four-course chain proves that fewer terms are impossible. Chain members need not occupy consecutive steps in every valid schedule; they only need to occur in order.
Add a capacity limit
With tasks and at most per step, both the longest chain and the number of available places give lower bounds:
This bound may be too low. With at most two courses per term, the eight-course example has bound 4 but needs 5. A four-term schedule would force P1 and DM into Term 1 to fit DS, AL, ML afterward. Then C1 cannot occur before Term 2, so C2 and PR cannot occur before Term 3. AL also needs Term 3, exceeding the two-course limit.
Five terms suffice: P1 and DM; C1 and DS; C2 and PR; AL; ML. With capacity three, the earlier four-term schedule works.
Connect schedules to partition theorems
Mirsky's theorem says the minimum number of antichains partitioning a finite poset equals its height. Dilworth's theorem says the minimum number of chains partitioning it equals its width. The course poset splits into three chains: P1, DS, AL, ML; C1, C2; and DM, PR. Each antichain can meet each such chain at most once, confirming width at most 3.
A height-level partition has at most width-many elements in each level, giving . More generally, for any , a finite poset has a chain of more than elements or an antichain of at least elements.
Key Takeaways
- Height counts elements in a largest chain; width counts a largest antichain.
- Unit-duration tasks need height-many steps with unlimited parallel capacity.
- A capacity-and-height lower bound can be unattainable.
- Mirsky counts antichains in a minimum partition; Dilworth counts chains.
Equivalence Relations examples
1Build a relation and follow its connections
14 steps
- 1IntroductionStart with the direction
A relation tells you which ordered pairs belong. In “is enrolled in,” the first entry is a student and the second a course. Reversing the entries changes the connection being described.
We will build a small relation, test its properties, and follow two connections in sequence. At each stage, keep the underlying sets and the meaning of the first coordinate fixed.
- 2ExampleList the allowed pairs
Let and . Lina takes both courses; Omar takes Logic.
The enrollment relation contains three pairs: , , and . The fourth possible pair is absent. Each pair has one entry from each specified set.
- 3Key InsightDecide whether it is a function
A function must assign exactly one output to each input. The enrollment relation fails because Lina has two outputs. Omar’s single output does not repair that failure.
A relation may also leave an input without any output. By comparison, sharing an output is allowed in a function: two students could each take Logic as their single assigned course.
- 4ChallengeCount a new relation space
A relation runs from three devices to two servers. How many different relations are possible?
---reveal---
There are possible device-server pairs. Each can be included or excluded independently, giving relations. The number 6 counts the available pairs, not the ways to choose a relation. Unlike a function, a relation need not choose exactly one server per device.
- 5ExplanationReverse or complement
The inverse reverses each included pair and runs from the old target set to the old source set. The complement stays inside the original product and selects the absent pairs.
For enrollment above, the complement contains only Omar paired with Calculus. The inverse contains the three original connections with each course written first. It has three pairs, not one.
- 6ExplanationCheck loops first
For a relation on one set, reflexivity requires a loop at every element. Irreflexivity requires no loops anywhere. A relation with some loops and some missing loops is neither.
On , the relation misses the loop at , so it is not reflexive. Its existing loops also rule out irreflexivity. The specified set decides which loops must be checked.
- 7ExplanationSeparate two symmetry tests
Symmetry requires each pair’s reverse. Antisymmetry bans opposite pairs between distinct elements but allows loops. Asymmetry bans both opposite pairs and loops.
The identity relation is symmetric and antisymmetric: each pair reverses to itself, and no distinct elements are linked both ways. These properties are therefore not opposites. A relation can have both, one, or neither.
- 8ExampleFind a transitivity failure
On , take . The two pairs join through , so transitivity requires . It is missing, which is a complete counterexample.
For a proof that transitivity holds, one successful route would be insufficient: every pair of joining relation steps must have its required endpoint pair. Repeated endpoints must also be included in that check.
- 9ChallengeTest a return route
On , . Is it transitive? Identify the decisive route.
---reveal---
No. The route uses two present pairs but requires the missing loop . The loop at handles the return starting at , but transitivity must also handle the return starting at . The letters in the definition may name repeated elements.
- 10ExplanationFollow the right-hand relation first
In , follow first and second. A pair in can continue with any pair in , producing .
The middle element must match exactly. It serves as evidence for the route and is then omitted from the output pair. If no pair of starts at that middle element, the original pair contributes no result.
- 11ExampleCompose through each middle element
Let and . Starting with gives the routes , , and .
Thus . The loop is a genuine two-step connection, even though neither relation needs a direct loop at .
- 12ConnectionUse the square to test transitivity
Composing a relation with itself gives , all pairs joined in exactly two steps. A relation is transitive exactly when .
For , the only two-step route is , whose endpoint pair already belongs. The square need not equal the original relation; it only has to contain no new pairs.
- 13ChallengeChange one pair and test again
Remove from the last relation, leaving . What is , and is transitive?
---reveal---
The square is because the only two-step route passes through . That pair is missing from , so and transitivity fails. The same calculation gives both the composed relation and the counterexample.
- 14RecapMatch each task to its test
For membership, check the ordered pair against the rule and the specified sets. For a property, check its complete requirement or give a failing case. For composition, follow the right-hand relation first and match middle elements.
The square connects these skills: it lists every two-step endpoint pair. A missing pair in the original relation is exactly a transitivity failure.
2Read matrices and directed paths
10 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionGive each pair a position
- 2ExampleBuild the matrix row by row
- 3ExplanationRead properties from reflected entries
- 4ChallengeCheck the inverse
- 5ExampleCompute one Boolean-square entry
- 6Key InsightRead the complete square
- 7ExplanationDraw the same relation
- 8ExampleFollow exactly three arrows
- 9ChallengeCompare a graph and its square
- 10RecapTranslate without changing direction
3Repair a relation and compute reachability
15 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionKeep every original connection
- 2ExampleAdd only missing loops
- 3ExampleAdd only missing reverses
- 4ChallengeCan addition repair this property?
- 5ExampleSee why one pass can stop too early
- 6ExplanationCollect all positive-length routes
- 7ChallengeDecide which loops are forced
- 8ExplanationStart Warshall with direct arrows
- 9ExampleRound 1 changes nothing
- 10ExampleRound 2 adds the first shortcut
- 11ExampleRound 3 uses an updated route
- 12ChallengeComplete round 4
- 13TipKeep the round outside the entry updates
- 14ChallengeBuild an equivalence extension
- 15RecapMatch the repair to the requirement
4Prove equivalence and find the blocks
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionChoose what counts as a match
- 2ExplanationUse equality of outputs
- 3ExampleProve congruence modulo 3
- 4ChallengeTest a tolerance rule
- 5ExampleName the same class in different ways
- 6Key InsightExplain why overlap forces equality
- 7ExplanationMove from classes to a partition
- 8ExampleRecover every within-block pair
- 9ChallengeRepair overlapping proposed blocks
- 10ConnectionCount and combine groupings
- 11ChallengeDistinguish equal labels from shared features
- 12RecapProve before grouping
5Read a partial order and find its bounds
15 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionCompare using the actual order
- 2ExplanationProve the three order properties
- 3Key InsightAllow incomparable pairs
- 4ExplanationSeparate strict and reflexive versions
- 5ExampleCompare lexicographically
- 6ChallengeTest a well-order claim
- 7ExampleFind covers among divisors
- 8ExplanationRead the diamond upward
- 9ChallengeChange the underlying set
- 10ExplanationSeparate maximal from greatest
- 11ExampleList upper and lower bounds
- 12Key InsightTwo minimal bounds may give no least bound
- 13ConnectionCheck the lattice requirement
- 14ChallengeRemove a required bound
- 15RecapUse paths and bounds for different questions
6Turn dependencies into a sequence and a schedule
13 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionSeparate order from timing
- 2ExampleFind the initial choices
- 3ExampleFinish a topological order
- 4ChallengeDiagnose a blocked list
- 5ExplanationExplain why cycles block progress
- 6ExplanationFind a chain and an antichain
- 7ExampleBuild the earliest-level schedule
- 8ChallengeCheck a chain-length count
- 9ExampleSee a capacity bottleneck
- 10Key InsightUse the lower bound carefully
- 11ConnectionRead the two partition theorems
- 12ChallengeTurn a schedule into a sequence
- 13RecapGive a schedule and a reason it is shortest
Equivalence Relations practice questions
Set 1: Representations and closure calculations10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Pairs, properties, and composition10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Equivalence, classes, and partitions10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Orders, diagrams, and bounds10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Dependency reasoning and mixed applications10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Antichain
Antisymmetric relation
Asymmetric relation
B
Bell number
Binary relation
Bit operation
Block
Boolean join
Boolean meet
Boolean power
Boolean product
C
Chain
Closure of a relation
Comparable elements
Complement of a relation
Composition of relations
Congruence modulo m
Connectivity relation
Containing relation
Counterexample
Cover
D
Dilworth’s theorem
Directed acyclic graph
Directed cycle
Directed edge
Directed graph
E
Empty relation
Equivalence class
Equivalence relation
F
Floor
G
Greatest element
Greatest lower bound
H
Hasse diagram
Height
I
Identity relation
In-place update
Interior vertex
Intersection of relations
Inverse relation
Irreflexive relation
L
Lattice
Least element
Least upper bound
Lexicographic order
Linear extension
Loop
Lower bound
M
Maximal element
Minimal element
Mirsky’s theorem
P
Partial order
Partition
Path
Poset
Power of a relation
Predecessor
Q
Quotient set
R
Reflexive closure
Reflexive relation
Reflexive-transitive closure
Relation on a set
Representative
S
Strict partial order
Symmetric closure
Symmetric relation
T
Topological sorting
Total order
Transitive closure
Transitive relation
Transpose
U
Union of relations
Universal relation
Upper bound
Upward path
V
Vertex
W
Warshall’s algorithm
Well order
Width
Z
Zero-one matrix
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.