河岸草地上的人群、树木与帆船
大碗岛的星期天下午 · 乔治·修拉 / Wikimedia Commons

Course Overview

Discrete Mathematics II develops three complementary ways to study discrete structures: relations, groups and algebraic structures, and graph theory. Relations describe how objects are associated, classified, and ordered. Groups and other algebraic structures describe operations and the laws they satisfy, providing a framework for reasoning about symmetry and structure. Graph theory models connections and supports the analysis of paths, connectivity, and network problems.

Across these topics, the course emphasizes precise definitions, proofs, counterexamples, and mathematical modeling. Equivalence relations connect classification with quotient structures; groups organize operations; and graphs give a visual and computational language for connections. The main prerequisites are sets, propositional logic, quantifiers, elementary counting, and mathematical induction.

ModuleMain topicsLearning goals
RelationsRelations and their properties, closures, equivalence relations, partial ordersDetermine properties, construct closures, understand classification and ordering, and identify extremal elements in partial orders
Groups and algebraic structuresBinary operations, semigroups, groups, homomorphisms, isomorphisms, congruences, subgroups, cosets, normal subgroups, direct products, quotient structuresIdentify structures from their operation laws and understand quotient structures and homomorphisms
Graph theoryGraph models, representations, connectivity, Euler and Hamilton paths and circuits, shortest paths, planar graphs, vertex coloring, chromatic polynomials, flow networksModel problems with graphs, determine structural properties, and understand standard algorithms

Notes Index

Chapter 1: Relations

NotesMain topicsReading focus
1.1 Relations and Their PropertiesOrdered pairs, Cartesian products, relations and functions, inverse relations, six properties, classification, countingStart with sets, distinguish properties through quantifiers, and use counterexamples
1.2 Relation Operations, Composition, and PowersUnion, intersection, difference, symmetric difference, composition, associativity, inverse operations, powers, transitivityInterpret composition through intermediate elements and powers through repeated steps
1.3 n-ary Relations and Their ApplicationsTables, primary and composite keys, selection, projection, joins, support, confidenceMove from tuples to queries, then use transaction data to understand association rules
1.4 Representing RelationsMembership predicates, zero-one matrices, digraphs, visual property tests, Boolean products and powersTranslate between ordered pairs, matrices, and directed graphs
1.5 Closures of RelationsReflexive, symmetric, and transitive closures, minimality, reachability, finite bounds, closure lawsIdentify the pairs forced by each property and distinguish positive-length from zero-length reachability
1.6 Computing Transitive Closures with the Warshall AlgorithmBoolean-power algorithm, allowed interior vertices, Warshall recurrence, complete matrix trace, complexityFollow each phase, justify in-place updates, and interpret diagonal entries
1.7 Equivalence Relations and PartitionsEquivalence tests, classes, quotient sets, partitions, block matrices, compatible relationsProve the three properties and translate between classes and same-block pairs
1.8 Partial Orders and Hasse DiagramsComparability, covers, extremal elements, bounds, lattices, sublattices, linear extensionsRead upward paths, distinguish minimal from least, and compute bounds in the stated poset

Read the matrix and graph criteria in Note 1.4 alongside the properties in Note 1.1. Similarly, Boolean products provide a computational view of composition. These representations describe the same relations.

Notes 1.5 and 1.6 extend these connections to closures: first determine which pairs a property forces, then compute positive-length reachability systematically with Warshall’s algorithm.

Chapter 2: Semigroups and Groups

NotesMain topicsReading focus
2.1 Algebraic Structures and Binary OperationsClosure, operation tables, algebraic laws, special elementsFix the underlying set and test each law separately
2.2 Semigroups, Monoids, and SubstructuresAssociativity, concatenation, powers, subsemigroups, submonoidsCheck closure and identify which identity the subset must contain
2.3 Homomorphisms and IsomorphismsPreservation of operations, images, bijections, inverse mapsProve the preservation equation before comparing structures
2.4 Products, Congruences, and Quotient SemigroupsProduct operations, congruence classes, well-definedness, the fundamental homomorphism theoremReplace representatives and trace the induced map to the image
2.5 Groups and Abelian GroupsGroup axioms, inverses, cancellation, integer powersSolve inverse equations in the specified domain

Worked Examples and Practice

MethodWhere to find examples
List a relation; distinguish relations from functionsBasic Concepts
Classify properties; find counterexamplesProperties and How to Test Them
Enumerate intermediate elements; compute composition and powersComposition, Powers and Transitivity
Select, project, and join database recordsThree Basic Query Operations
Calculate support and confidenceTransactions and Association Rules
Convert relation matrices; compute Boolean productsZero-One Matrices, Matrix Forms of Relation Operations
Construct closures; compare their added pairsReflexive and Symmetric Closures, Worked Practice and Self-Check
Trace reachability phase by phase; interpret new loopsA Complete Matrix Trace, Diagonal Entries and Self-Check
Compute classes; recover a relation from its partitionEquivalence Classes and Quotient Sets, Reconstructing Relations and Matrices
Draw covers; distinguish extremal elements and boundsConstructing and Reading Hasse Diagrams, Bounds, Suprema, Infima, and Lattices
Test compatibility and combine equivalence relationsCompatible Relations and Complete Covers, Intersections and Unions
Check whether a lattice subset preserves meet and joinSublattices and Product Lattices
Find an identity, absorbing element, and inverseSpecial Elements
Classify a subset and its generated structureSubsemigroups and Submonoids, Generated Subsemigroups
Construct or rule out an isomorphismProving an Isomorphism
Calculate on classes and identify a quotient with an imageWorked Examples, Fundamental Homomorphism Theorem
Verify the group axioms for a custom operationTesting a Custom Operation

Try each worked example before opening its solution. Use the self-checks to test definitions and boundary cases, and the assigned textbook exercises for further practice.

Sources

  • Kenneth H. Rosen, Discrete Mathematics and Its Applications, 8th edition.
  • Bernard Kolman, Robert C. Busby, and Sharon Cutler Ross, Discrete Mathematical Structures, 6th edition.
  • Course slides.

For textbook sections and example sources, see the Sources section in each note.

Updated:

intro