Discrete Mathematics: Counting, Combinatorics, Graph Theory, and Relations

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/99

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key definitions, principles, formulas, and concepts from Sections 3.1 through 3.10 of the discrete mathematics lecture notes.

100 Terms

1
New cards

Binomial Coefficient ((nk)\binom{n}{k})

The number of subsets of size kk chosen from a set of size nn, pronounced "nn choose kk".

2
New cards

Pascal’s Identity

The recurrence relation (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k} defining entry kk of row nn in Pascal's Triangle as the sum of the two entries above it.

3
New cards

Binomial Theorem

The algebraic expansion formula (x+y)n=∑k=0n(nk)xn−kyk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k.

4
New cards

Bit String

A sequence consisting entirely of binary digits (00s and 11s).

5
New cards

Weight of a Bit String

The number of 11s contained in a given bit string.

6
New cards

Lattice Path

A sequence of steps along a grid (typically moving only right RR or up UU) connecting two points (x1,y1)(x_1, y_1) to (x2,y2)(x_2, y_2).

7
New cards

Additive Principle (Sum Rule)

If event AA can occur in mm ways and event BB in nn ways, and AA and BB cannot occur together, then choosing AA or BB can occur in m+nm + n ways.

8
New cards

Multiplicative Principle (Product Rule)

If a task consists of two independent sequential steps where step 1 has mm outcomes and step 2 has nn outcomes, then there are m×nm \times n total outcomes.

9
New cards

Function (f:A→Bf: A \rightarrow B)

A relation mapping every element in set AA (domain) to exactly one element in set BB (codomain).

10
New cards

Injective (One-to-One) Function

A function where distinct domain elements map to distinct codomain elements; i.e., f(a)≠f(b)f(a) \ne f(b) whenever a≠ba \ne b.

11
New cards

Surjective (Onto) Function

A function where every element in the codomain BB has at least one pre-image in the domain AA.

12
New cards

Bijection

A function that is both injective and surjective (a one-to-one correspondence).

13
New cards

Disjoint Sets

Two or more sets that have no elements in common (A∩B=∅A \cap B = \emptyset).

14
New cards

Principle of Inclusion-Exclusion (PIE)

A counting technique to find the size of the union of multiple overlapping sets by adding individual set sizes, subtracting pair intersections, adding triple intersections, and alternating signs.

15
New cards

Complementary Counting

A strategy calculating the size of a set AA by subtracting its complement AcA^c from the universal set UU (∣A∣=∣U∣−∣Ac∣|A| = |U| - |A^c|).

16
New cards

Derangement

A permutation of a set of objects in which no object appears in its original position.

17
New cards

Permutation (P(n,k)P(n, k))

An ordered arrangement of kk distinct elements selected from a set of nn elements without repetition.

18
New cards

Combination ((nk)\binom{n}{k})

An unordered selection of kk distinct elements chosen from a set of nn elements without repetition.

19
New cards

Factorial (n!n!)

The product of all positive integers less than or equal to nn, defined as n!=n×(n−1)×⋯×1n! = n \times (n-1) \times \dots \times 1 with 0!=10! = 1.

20
New cards

Quotient Principle

The rule stating that if a set AA of size NN can be partitioned into kk-element disjoint equivalence classes, there are N/kN/k distinct classes.

21
New cards

Multiset

A set-like collection where elements are allowed to appear more than once.

22
New cards

Stars and Bars

A combinatorial method used to count distributions of nn identical items into kk distinct categories, given by (n+k−1k−1)\binom{n+k-1}{k-1}.

23
New cards

Non-negative Integer Solution

An assignment of values to variables x1,x2,…,xk≥0x_1, x_2, \dots, x_k \ge 0 satisfying x1+x2+⋯+xk=nx_1 + x_2 + \dots + x_k = n.

24
New cards

Proper Vertex Coloring

An assignment of colors to the vertices of a graph such that no two adjacent vertices share the same color.

25
New cards

Chromatic Number (χ(G)\chi(G))

The minimum number of colors required to form a proper vertex coloring of graph GG.

26
New cards

Bipartite Graph

A graph whose vertices can be partitioned into two disjoint sets V1,V2V_1, V_2 such that every edge connects a vertex in V1V_1 to a vertex in V2V_2 (χ(G)≤2\chi(G) \le 2).

27
New cards

Complete Graph (KnK_n)

A simple graph containing nn vertices where every pair of distinct vertices is connected by an edge.

28
New cards

Cycle Graph (CnC_n)

A graph consisting of a single closed loop of nn vertices and nn edges.

29
New cards

Eulerian Path

A continuous walk in a graph that traverses every edge exactly once.

30
New cards

Eulerian Circuit (Eulerian Cycle)

An Eulerian path that starts and ends on the same vertex.

31
New cards

Degree of a Vertex

The number of edges incident (connected) to a vertex.

32
New cards

Bridge (Cut-Edge)

An edge whose removal increases the number of connected components in a graph (disconnects the graph).

33
New cards

Fleury’s Algorithm

An algorithm for constructing Eulerian paths/circuits that avoids choosing bridge edges unless no other edge is available.

34
New cards

Matching

A set of independent edges in a graph such that no two edges share a vertex.

35
New cards

Perfect Matching

A matching that covers every vertex of the graph.

36
New cards

Blocking Pair (Instability)

A pair (A,B)(A, B) not matched to each other where AA prefers BB over their assigned partner, and BB prefers AA over their assigned partner.

37
New cards

Stable Matching

A matching that contains zero blocking pairs.

38
New cards

Gale-Shapley Algorithm

An iterative propose-and-reject algorithm that guarantees a stable matching between two equal-sized sets of agents.

39
New cards

Proposer-Optimal / Receiver-Pessimistic

A property of the Gale-Shapley algorithm where proposers receive the best possible valid partner they could have in any stable matching, while receivers receive their worst possible valid partner.

40
New cards

Binary Relation

A subset RR of the Cartesian product A×BA \times B (or A×AA \times A for a relation on a set AA), consisting of ordered pairs (a,b)(a, b) where a∈Aa \in A and b∈Bb \in B. We write aRbaRb to mean (a,b)∈R(a, b) \in R.

41
New cards

Reflexive Property

A relation RR on set AA is reflexive if aRaaRa for every element a∈Aa \in A.

42
New cards

Symmetric Property

A relation RR on set AA is symmetric if whenever aRbaRb, then bRabRa for all a,b∈Aa, b \in A.

43
New cards

Transitive Property

A relation RR on set AA is transitive if whenever aRbaRb and bRcbRc, then aRcaRc for all a,b,c∈Aa, b, c \in A.

44
New cards

Antisymmetric Property

A relation RR on set AA is antisymmetric if whenever aRbaRb and bRabRa, then a=ba = b.

45
New cards

Equivalence Relation

A relation RR on set AA that satisfies all three properties simultaneously: reflexive, symmetric, and transitive.

46
New cards

Equivalence Class ([a][a])

The set of all elements in AA related to aa under an equivalence relation RR, defined as [a]={x∈A∣aRx}[a] = \{x \in A \mid aRx\}.

47
New cards

Partition of a Set

A collection of non-empty, pairwise disjoint subsets of AA whose union is AA. Every equivalence relation on AA uniquely partitions AA into its equivalence classes.

48
New cards

Binomial Coefficient ((nk)\binom{n}{k})

The number of subsets of size kk chosen from a set of size nn, pronounced "nn choose kk".

49
New cards

Pascal’s Identity

The recurrence relation (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k} defining entry kk of row nn in Pascal's Triangle as the sum of the two entries above it.

50
New cards

Binomial Theorem

The algebraic expansion formula (x+y)n=∑k=0n(nk)xn−kyk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k.

51
New cards

Bit String

A sequence consisting entirely of binary digits (00s and 11s).

52
New cards

Weight of a Bit String

The number of 11s contained in a given bit string.

53
New cards

Lattice Path

A sequence of steps along a grid (typically moving only right RR or up UU) connecting two points (x1,y1)(x_1, y_1) to (x2,y2)(x_2, y_2).

54
New cards

Additive Principle (Sum Rule)

If event AA can occur in mm ways and event BB in nn ways, and AA and BB cannot occur together, then choosing AA or BB can occur in m+nm + n ways.

55
New cards

Multiplicative Principle (Product Rule)

If a task consists of two independent sequential steps where step 1 has mm outcomes and step 2 has nn outcomes, then there are m×nm \times n total outcomes.

56
New cards

Function (f:A→Bf: A \rightarrow B)

A relation mapping every element in set AA (domain) to exactly one element in set BB (codomain).

57
New cards

Injective (One-to-One) Function

A function where distinct domain elements map to distinct codomain elements; i.e., f(a)≠f(b)f(a) \ne f(b) whenever a≠ba \ne b.

58
New cards

Surjective (Onto) Function

A function where every element in the codomain BB has at least one pre-image in the domain AA.

59
New cards

Bijection

A function that is both injective and surjective (a one-to-one correspondence).

60
New cards

Disjoint Sets

Two or more sets that have no elements in common (A∩B=∅A \cap B = \emptyset).

61
New cards

Principle of Inclusion-Exclusion (PIE)

A counting technique to find the size of the union of multiple overlapping sets by adding individual set sizes, subtracting pair intersections, adding triple intersections, and alternating signs.

62
New cards

Complementary Counting

A strategy calculating the size of a set AA by subtracting its complement AcA^c from the universal set UU (∣A∣=∣U∣−∣Ac∣|A| = |U| - |A^c|).

63
New cards

Derangement

A permutation of a set of objects in which no object appears in its original position.

64
New cards

Permutation (P(n,k)P(n, k))

An ordered arrangement of kk distinct elements selected from a set of nn elements without repetition.

65
New cards

Combination ((nk)\binom{n}{k})

An unordered selection of kk distinct elements chosen from a set of nn elements without repetition.

66
New cards

Factorial (n!n!)

The product of all positive integers less than or equal to nn, defined as n!=n×(n−1)×⋯×1n! = n \times (n-1) \times \dots \times 1 with 0!=10! = 1.

67
New cards

Quotient Principle

The rule stating that if a set AA of size NN can be partitioned into kk-element disjoint equivalence classes, there are N/kN/k distinct classes.

68
New cards

Multiset

A set-like collection where elements are allowed to appear more than once.

69
New cards

Stars and Bars

A combinatorial method used to count distributions of nn identical items into kk distinct categories, given by (n+k−1k−1)\binom{n+k-1}{k-1}.

70
New cards

Non-negative Integer Solution

An assignment of values to variables x1,x2,…,xk≥0x_1, x_2, \dots, x_k \ge 0 satisfying x1+x2+⋯+xk=nx_1 + x_2 + \dots + x_k = n.

71
New cards

Proper Vertex Coloring

An assignment of colors to the vertices of a graph such that no two adjacent vertices share the same color.

72
New cards

Chromatic Number (χ(G)\chi(G))

The minimum number of colors required to form a proper vertex coloring of graph GG.

73
New cards

Bipartite Graph

A graph whose vertices can be partitioned into two disjoint sets V1,V2V_1, V_2 such that every edge connects a vertex in V1V_1 to a vertex in V2V_2 (χ(G)≤2\chi(G) \le 2).

74
New cards

Complete Graph (KnK_n)

A simple graph containing nn vertices where every pair of distinct vertices is connected by an edge.

75
New cards

Cycle Graph (CnC_n)

A graph consisting of a single closed loop of nn vertices and nn edges.

76
New cards

Eulerian Path

A continuous walk in a graph that traverses every edge exactly once.

77
New cards

Eulerian Circuit (Eulerian Cycle)

An Eulerian path that starts and ends on the same vertex.

78
New cards

Degree of a Vertex

The number of edges incident (connected) to a vertex.

79
New cards

Bridge (Cut-Edge)

An edge whose removal increases the number of connected components in a graph (disconnects the graph).

80
New cards

Fleury’s Algorithm

An algorithm for constructing Eulerian paths/circuits that avoids choosing bridge edges unless no other edge is available.

81
New cards

Matching

A set of independent edges in a graph such that no two edges share a vertex.

82
New cards

Perfect Matching

A matching that covers every vertex of the graph.

83
New cards

Blocking Pair (Instability)

A pair (A,B)(A, B) not matched to each other where AA prefers BB over their assigned partner, and BB prefers AA over their assigned partner.

84
New cards

Stable Matching

A matching that contains zero blocking pairs.

85
New cards

Gale-Shapley Algorithm

An iterative propose-and-reject algorithm that guarantees a stable matching between two equal-sized sets of agents.

86
New cards

Proposer-Optimal / Receiver-Pessimistic

A property of the Gale-Shapley algorithm where proposers receive the best possible valid partner they could have in any stable matching, while receivers receive their worst possible valid partner.

87
New cards

Binary Relation

A subset RR of the Cartesian product A×BA \times B (or A×AA \times A for a relation on a set AA), consisting of ordered pairs (a,b)(a, b) where a∈Aa \in A and b∈Bb \in B. We write aRbaRb to mean (a,b)∈R(a, b) \in R.

88
New cards

Reflexive Property

A relation RR on set AA is reflexive if aRaaRa for every element a∈Aa \in A.

89
New cards

Symmetric Property

A relation RR on set AA is symmetric if whenever aRbaRb, then bRabRa for all a,b∈Aa, b \in A.

90
New cards

Transitive Property

A relation RR on set AA is transitive if whenever aRbaRb and bRcbRc, then aRcaRc for all a,b,c∈Aa, b, c \in A.

91
New cards

Antisymmetric Property

A relation RR on set AA is antisymmetric if whenever aRbaRb and bRabRa, then a=ba = b.

92
New cards

Equivalence Relation

A relation RR on set AA that satisfies all three properties simultaneously: reflexive, symmetric, and transitive.

93
New cards

Equivalence Class ([a][a])

The set of all elements in AA related to aa under an equivalence relation RR, defined as [a]={x∈A∣aRx}[a] = \{x \in A \mid aRx\}.

94
New cards

Partition of a Set

A collection of non-empty, pairwise disjoint subsets of AA whose union is AA. Every equivalence relation on AA uniquely partitions AA into its equivalence classes.

95
New cards

Hamiltonian Path

A continuous sequence of adjacent edges in a graph that visits every vertex exactly once.

96
New cards

Hamiltonian Cycle (Circuit)

A closed loop in a graph that visits every vertex exactly once and returns to the starting vertex.

97
New cards

Eulerian vs. Hamiltonian Distinction

An Eulerian path or circuit visits every edge in a graph exactly once, whereas a Hamiltonian path or cycle visits every vertex exactly once.

98
New cards

Bipartite Graph Characterization (Odd Cycle Condition)

A graph is bipartite if and only if it contains no odd-length cycles and has chromatic number χ(G)≤2\chi(G) \le 2.

99
New cards

Balanced Bipartite Graph

A bipartite graph G=(V1∪V2,E)G = (V_1 \cup V_2, E) where the two vertex partition sets have equal cardinality (∣V1∣=∣V2∣|V_1| = |V_2|).

100
New cards

Hamiltonian Cycle Condition in Bipartite Graphs

A Hamiltonian cycle can only exist in a bipartite graph if the graph is balanced (∣V1∣=∣V2∣|V_1| = |V_2|), because any cycle must alternate back and forth between vertices in V1V_1 and V2V_2.