6aaa8aaeb26e6 DS 2026-09-16

Table of contents

  1. Sets
  2. The power set
  3. Mathematical induction
  4. More about sets
  5. Function/mapping
  6. Range/image
  7. Injective, surjective, and bijective
  8. Relations
  9. Equivalence relations
  10. Partitions and equivalence classes
  11. The congruence relation
  12. Partial order relations
  13. Chains

1. Sets

1.1 Historical definition of sets

  • A set is defined as any collection into a whole of definite and well-separate objects of our intuition or thought.
  • The objects within a set are referred to as its "elements." 3.

1.2 Characteristic properties of sets

  • The arrangement of objects or their multiple mentions do not affect the set's identity.
  • Sets do not possess an inherent order; there is no concept of a first or second object.
  • Basic set operations like union, intersection, and difference are used to construct new sets from existing ones.
  • An object is either contained within a set or it is not.
  • The notation "x ∈ M" signifies that object "x" is an element of set "M.".
  • The notation "x ∉ M" signifies that object "x" is not an element of set "M.".
  • Sets can be defined either by explicitly listing their elements or by stating a characteristic property that their elements must satisfy 4.

📝 The notation "x ∈ M" signifies that object "x" is an element of set "M." 4

1.3 Set equality and subsets

  • Equal Sets: Two sets, A and B, are considered equal (A = B) if they contain precisely the same elements.
  • Subset: Set A is a subset of set B (written as A ⊂ B or B ⊃ A) if every element present in A is also present in B.
  • The empty set, denoted by {} or ∅, is the set that contains no elements 5.

1.4 Task 2: Subset example

  • {1, 3} is a subset of {1, 2, 3, 4} 5.

2. The power set

2.1 Definition of the power set

  • The power set of a set X, denoted as P(X), is the set containing all possible subsets of X.
  • Mathematically, P(X) = {A | A ⊂ X} 6.

2.2 Examples of power sets

  • The power set of {1, 3} is {∅, {1}, {3}, {1, 3}}.
  • The power set of {1, 2, 5} is {∅, {1}, {2}, {5}, {1, 2}, {2, 5}, {1, 5}, {1, 2, 5}}.
  • The power set of the empty set (∅) is {∅} 6.

📝 The power set of {1, 3} is {∅, {1}, {3}, {1, 3}} 6.

2.3 Cardinality of sets and power sets

  • The number of elements in a set M is denoted by #M.
  • For example, #{1, 3} = 2 and #{1, 2, 5} = 3 7.

2.4 Theorem 6: Cardinality of the power set

  • For any finite set M, the number of elements in its power set is given by #P(M) = 2^#M.
  • This theorem is proven using mathematical induction 7.

3. Mathematical induction

3.1 The axiom of induction

  • Mathematical induction is a proof technique based on the fundamental properties of the set of non-negative integers (N = {0, 1, 2, 3,...}).
  • The axiom of induction states that if a set M contains 0 and, for every number n in M, it also contains n+1, then M comprises all non-negative integers 9.

3.2 Related sets and definitions

  • N+ denotes the set of positive integers {1, 2, 3,...}.
  • The axiom of induction can be rephrased for N+ 9.

📝 The factorial of 0 is defined as 0! = 1, and for any natural number n, (n+1)! = n! * (n+1). For example, 3! = 2! * 3 = (1! * 2) * 3 = ((0! * 1) * 2) * 3 = ((1 * 1) * 2) * 3 = 6 10.

3.3 Recursive definitions

  • Factorials: The natural number n! is recursively defined as 0! = 1 and (n+1)! = n! * (n+1).
  • Summation Sign (∑): For a sequence a0, a1, a2,..., the sum from k=0 to n is defined recursively: ∑{k=0}^0 a_k = a_0, and ∑{k=0}^{n+1} a_k:= a_{n+1} + ∑_{k=0}^n a_k.
  • Product Sign (∏): For a sequence a0, a1, a2,..., the product from k=0 to n is defined recursively: ∏{k=0}^0 a_k = a_0, and ∏{k=0}^{n+1} a_k:= a_{n+1} * ∏_{k=0}^n a_k 10.

3.4 Theorem: Sum of first N integers

  • For every natural number N, the sum of integers from 0 to N is given by: ∑_{n=0}^N n = (1/2) * N * (N+1) 11.

3.5 Proof by mathematical induction

  • To prove a claim for all non-negative integers, let M be the set of integers for which the claim holds.
  • Base Clause: Show that 0 is in M. For the sum formula, ∑_{n=0}^0 n = 0, and (1/2) * 0 * (0+1) = 0.
  • Inductive Step: Show that if N is in M, then N+1 is also in M. Assuming the formula holds for N, we need to show it holds for N+1.
  • (N+1) + ∑_{n=0}^N n = (N+1) + (1/2) * N * (N+1) [by definition of sum and induction hypothesis.
  • = (1/2) * (N+1) * (N+2) [algebraic simplification.
  • This matches the formula for N+1, thus proving the inductive step 12.

3.6 Proof of #P(X) = 2^#X

  • This proof uses mathematical induction on n = #X.
  • Base Clause (n=0): If #X = 0, then X = ∅. #P(∅) = #{∅} = 1, which equals 2^0.
  • Induction Step (n → n+1): Assume the claim holds for all sets of size n (i.e., if #Y = n, then #P(Y) = 2^n).
  • Consider a set X with n+1 elements: X = {a1, a2,..., an, a_{n+1}}. We need to show #P(X) = 2^{n+1}.
  • Subsets of X can be divided into two types: those containing a_{n+1} and those not containing a_{n+1}.
  • By the induction hypothesis, there are 2^n subsets of {a1, a2,..., an}.
  • Thus, there are 2^n subsets of X that do not contain a_{n+1}, and 2^n subsets of X that do contain a_{n+1}.
  • The total number of subsets of X is 2^n + 2^n = 2 * 2^n = 2^{n+1} 13.

📝 For a set X with 0 elements (X = ∅), the power set P(X) is {∅}, so #P(∅) = 1, which equals 2^0 13.

4. More about sets

4.1 Ordered pairs and Cartesian products

  • The Cartesian product of two sets A and B, denoted A × B, is the set of all ordered pairs (a, b) where a is an element of A and b is an element of B.
  • A × B = {(a, b) | a ∈ A, b ∈ B}.
  • The cardinality of the Cartesian product is the product of the cardinalities of the individual sets: # (A × B) = #A · #B 15.
Set ASet BA × B
{1, 3}{1, 2, 5}{ (1, 1), (1, 2), (1, 5), (3, 1), (3, 2), (3, 5) }

4.2 Set operations: Union, Intersection, Difference

  • Union (∪): The union of sets A and B is the set of all elements that are in A, or in B, or in both. A ∪ B = {x | x ∈ A or x ∈ B}.
  • Intersection (∩): The intersection of sets A and B is the set of all elements that are common to both A and B. A ∩ B = {x | x ∈ A and x ∈ B}.
  • Disjoint Sets: Sets A and B are disjoint if their intersection is the empty set (A ∩ B = ∅) 16.
  • Difference (): The difference of sets A and B (A \ B) is the set of all elements that are in A but not in B. A \ B = {x | x ∈ A and x ∉ B}.
  • It holds that A \ B = A \ (A ∩ B) 17.
Set ASet BA ∪ BA ∩ BA \ BB \ A
{1, 3, 4}{1, 4, 6}{1, 3, 4, 6}{1, 4}{3}{6}
Set ASet CA ∩ C
{1, 3, 4}{2, 6}∅

📝 For sets A = {1, 3, 4} and B = {1, 4, 6}, the union is A ∪ B = {1, 3, 4, 6}, the intersection is A ∩ B = {1, 4}, and the difference is A \ B = {3}. 17

4.3 Intervals

  • Open intervals: (a, b) = {x ∈ R | a < x < b}.
  • Closed intervals: [a, b = {x ∈ R | a ≤ x ≤ b}.
  • Half-open intervals: (a, b = {x ∈ R | a < x ≤ b} or [a, b) = {x ∈ R | a ≤ x < b} 18.

📝 The open interval (2, 5) is the set of all real numbers x such that 2 < x < 5. 18

4.4 Commutativity, associativity, and distributivity

  • Union and intersection are commutative: A ∪ B = B ∪ A and A ∩ B = B ∩ A.
  • Union and intersection are associative: (A ∪ B) ∪ C = A ∪ (B ∪ C) and (A ∩ B) ∩ C = A ∩ (B ∩ C).
  • Union is distributive over intersection: A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).
  • Intersection is distributive over union: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) 19.
OperationPropertySet UnionSet Intersection
CommutativityA op B = B op AA ∪ B = B ∪ AA ∩ B = B ∩ A
Associativity(A op B) op C = A op (B op C)(A ∪ B) ∪ C = A ∪ (B ∪ C)(A ∩ B) ∩ C = A ∩ (B ∩ C)
DistributivityA op1 (B op2 C) = (A op1 B) op2 (A op1 C)A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)

4.5 De Morgan’s laws

  • The complement of a union is the intersection of the complements: C \ (A ∪ B) = (C \ A) ∩ (C \ B).
  • The complement of an intersection is the union of the complements: C \ (A ∩ B) = (C \ A) ∪ (C \ B) 20.

4.6 Important sets

  • N = {0, 1, 2, 3, 4,...} (non-negative integers).
  • N+ = {1, 2, 3,...} (positive integers).
  • Z = {..., -2, -1, 0, 1, 2,...} (integers).
  • Q = {p/q | p ∈ Z, q ∈ N+} (rational numbers).
  • R (real numbers).
  • The inclusion relation holds: N+ ⊂ N ⊂ Z ⊂ Q ⊂ R 21.

5. Function/mapping

5.1 Definition of a function

  • A function f: X → Y is defined by:
  • A set X, called the domain of the function.
  • A set Y, called the co-domain of the function.
  • A rule f: x ↦ f(x) that assigns exactly one element f(x) ∈ Y to every element x ∈ X 23.

5.2 Function examples and distinctions

  • f1: R → R, f1: x ↦ x^2.
  • f2: N → R, f2: x ↦ x^2.
  • f1 and f2 are considered different functions because their domains are different, even though they perform the same operation on natural numbers.
  • f2 can only process natural numbers as input 23.

📝 The functions f1:R→R,f1:x↦x2f_1: \mathbb{R} \to \mathbb{R}, f_1: x \mapsto x^2 and f2:N→R,f2:x↦x2f_2: \mathbb{N} \to \mathbb{R}, f_2: x \mapsto x^2 are different because their domains (R\mathbb{R} and N\mathbb{N} respectively) are different, even though they perform the same operation on natural numbers. f2f_2 can only process natural numbers as input 23.

5.3 Special types of functions

  • Identity function: For a set X, the identity function id_X: X → X maps each element to itself (x ↦ x).
  • Projection function: For sets X and Y, the projection onto the first factor is π1: X × Y → X, which maps an ordered pair (x, y) to x 24.
  • Constant function: For sets X and Y, and a specific element y0 ∈ Y, a constant function maps every element x ∈ X to y0 (x ↦ y0).
  • Floor function (⌊x⌋): Maps a real number x to the largest integer less than or equal to x. ⌊x⌋ = max {k ∈ Z | k ≤ x}.
  • Ceiling function (⌈x⌉): Maps a real number x to the smallest integer greater than or equal to x. ⌈x⌉ = min {k ∈ Z | k ≥ x} 25.

6. Range/image

6.1 Image of a set under a function

  • For a function f: X → Y and a subset A ⊂ X, the image of A under f is denoted by f(A) and is defined as f(A) = {f(x) ∈ Y | x ∈ A}.
  • The range of f is the image of its entire domain, f(X).
  • It is possible for elements in the co-domain Y to not be part of the range, meaning there is no x in the domain X such that f(x) equals that element 26.

6.2 Example: Image of natural numbers under f(x) = x^2

  • Given f: R → R, f: x ↦ x^2, and A = N (the set of natural numbers).
  • The image of A is f(N) = {x^2 | x ∈ N} = {0, 1, 4, 9, 16,...} 26.

📝 Given f:R→Rf: \mathbb{R} \to \mathbb{R}, f:x↦x2f: x \mapsto x^2, and A=NA = \mathbb{N} (the set of natural numbers), the image of AA is f(N)={x2∣x∈N}={0,1,4,9,16,… }f(\mathbb{N}) = \{x^2 \mid x \in \mathbb{N}\} = \{0, 1, 4, 9, 16, \dots\} 26.

6.3 Pre-image of a set under a function

  • For a function f: X → Y and a subset B ⊂ Y, the pre-image of B under f is denoted by f⁻¹(B) and is defined as f⁻¹(B) = {x ∈ X | f(x) ∈ B} 27.

7. Injective, surjective, and bijective

7.1 Injective, surjective, and bijective functions

A function f:X→Yf: X \to Y is a mapping from a set XX (the domain) to a set YY (the codomain).

  • Injective (one-to-one): A function is injective if no two distinct elements in the domain map to the same element in the codomain. Mathematically, for all x1,x2∈Xx_1, x_2 \in X, if x1≠x2x_1 \neq x_2, then f(x1)≠f(x2)f(x_1) \neq f(x_2). This means each element in the codomain is mapped to by at most one element from the domain.
  • Surjective (onto): A function is surjective if every element in the codomain is mapped to by at least one element in the domain. Mathematically, for every y∈Yy \in Y, there exists at least one x∈Xx \in X such that f(x)=yf(x) = y. This is equivalent to stating that the image of the function, f(X)f(X), is equal to the codomain, YY.
  • Bijective: A function is bijective if it is both injective and surjective. This means each element in the codomain is mapped to by exactly one element in the domain 28.

7.2 Inverse function

If a function f:X→Yf: X \to Y is bijective, it has an inverse function, denoted as f−1:Y→Xf^{-1}: Y \to X. The inverse function maps each element y∈Yy \in Y back to the unique element x∈Xx \in X such that f(x)=yf(x) = y 29.

7.3 Graph of a function

The graph of a function f:A→Bf: A \to B is the set of all ordered pairs (x,f(x))(x, f(x)) where xx is an element of the domain AA. This set is a subset of the Cartesian product A×BA \times B 30.

📝 For the function f:R→Rf: \mathbb{R} \to \mathbb{R} defined by f(x)=x2f(x) = x^2, its graph is the set of pairs {(x,x2)∣x∈R}\{(x, x^2) \mid x \in \mathbb{R}\} 30.

8. Relations

8.1 Relations on a set

A binary relation on a set MM is defined as a subset of the Cartesian product M×MM \times M. The Cartesian product M×MM \times M consists of all possible ordered pairs (a,b)(a, b) where both aa and bb are elements of MM 32.

  • If (x,y)(x, y) is an element of the relation RR, it is often written as xRyx R y, signifying that xx is related to yy. The order of elements in the pair (x,y)(x, y) is crucial, as (x,y)=(y,x)(x, y) = (y, x) only if x=yx = y 32.

8.2 Examples of relations

The following are examples of relations on different sets:

  • Equality relation: On any set MM, the relation xRy  ⟺  x=yx R y \iff x = y.
  • Set inclusion: On the power set P(S)P(S) of a set SS, the relation ARB  ⟺  A⊆BA R B \iff A \subseteq B.
  • Less-than-or-equal-to relation: On the set of real numbers R\mathbb{R}, the relation xRy  ⟺  x≤yx R y \iff x \leq y.
  • Divisibility relation: On the set of integers Z\mathbb{Z}, the relation xRy  ⟺  x∣yx R y \iff x | y, where x∣yx | y means there exists an integer zz such that y=xzy = xz 33.

Two elements xx and yy are considered comparable if either xRyx R y or yRxy R x holds 33.

9. Equivalence relations

9.1 Properties of relations

Relations on a set MM can possess several properties:

  • Reflexive: A relation RR is reflexive if xRxx R x for all x∈Mx \in M.
  • Symmetric: A relation RR is symmetric if for any x,y∈Mx, y \in M, whenever xRyx R y, it always follows that yRxy R x.
  • Anti-symmetric: A relation RR is anti-symmetric if for any x,y∈Mx, y \in M, whenever xRyx R y and yRxy R x, it always follows that x=yx = y.
  • Transitive: A relation RR is transitive if for any x,y,z∈Mx, y, z \in M, whenever xRyx R y and yRzy R z, it always follows that xRzx R z 35.

9.2 Equivalence relation

A relation RR on a set MM is called an equivalence relation if it is reflexive, symmetric, and transitive 35.

9.3 Examples of equivalence relations

  • The equality relation on any set is an equivalence relation.
  • The relation where xRyx R y for all x,y∈Mx, y \in M (the "coarsest" relation) is also an equivalence relation.
  • The relation of equal area for plane triangles is an equivalence relation.
  • For a mapping f:A→Bf: A \to B, the relation aRb  ⟺  f(a)=f(b)a R b \iff f(a) = f(b) for a,b∈Aa, b \in A is an equivalence relation 36.

The divisibility relation on Z\mathbb{Z} is not an equivalence relation because it is not symmetric (e.g., 2∣42 | 4 but 4∤24 \nmid 2) 36.

📝 For a mapping f:A→Bf: A \to B, the relation aRb  ⟺  f(a)=f(b)a R b \iff f(a) = f(b) for a,b∈Aa, b \in A is an equivalence relation 36.

10. Partitions and equivalence classes

10.1 Partitions of a set

A family PP of non-empty subsets of a set MM forms a partition of MM if:

  1. The union of all subsets in PP equals MM (M=⋃A∈PAM = \bigcup_{A \in P} A).
  2. Any two distinct subsets in PP are disjoint (A∩B=∅A \cap B = \emptyset for A,B∈PA, B \in P with A≠BA \neq B). The subsets within a partition are called its blocks 37.

10.2 Equivalence classes

For an equivalence relation RR on a set MM, the equivalence class of an element a∈Ma \in M, denoted by [a][a], is the set of all elements x∈Mx \in M such that aRxa R x 37.

  • If a,b∈Ma, b \in M, then bb is in the equivalence class of aa (b∈[a]b \in [a]) if and only if [a]=[b][a] = [b].
  • For any two elements a,b∈Ma, b \in M, their equivalence classes [a][a] and [b][b] are either identical or completely disjoint ([a]∩[b]=∅[a] \cap [b] = \emptyset) 38.

10.3 Equivalence relations and partitions

An equivalence relation RR on a set MM naturally defines a partition of MM where the blocks of the partition are the distinct equivalence classes. Conversely, any partition Π\Pi of MM defines an equivalence relation where aRba R b if and only if aa and bb belong to the same block of Π\Pi 39.

  • Coarsest partition: Consists of a single block containing all elements of MM. This corresponds to the relation where xRyx R y for all x,y∈Mx, y \in M.
  • Finest partition: Consists of blocks that are single-element sets. This corresponds to the equality relation, where [a]=[b]  ⟺  a=b[a] = [b] \iff a = b 39.

A complete system of representatives for ZnZ_n is a set containing exactly one element from each equivalence class 39 42.

📝 For the set M={1,2,3,4}M = \{1, 2, 3, 4\}, the relation R={(1,1),(2,2),(3,3),(4,4),(1,2),(2,1),(3,4),(4,3)}R = \{(1,1), (2,2), (3,3), (4,4), (1,2), (2,1), (3,4), (4,3)\} is an equivalence relation. The distinct equivalence classes are [1]={1,2}[1] = \{1, 2\} and [3]={3,4}[3] = \{3, 4\}. These classes form the partition P={{1,2},{3,4}}P = \{\{1, 2\}, \{3, 4\}\} of MM. 37

11. The congruence relation

11.1 Congruence modulo n

The congruence relation modulo nn is defined on the set of integers Z\mathbb{Z}, where nn is a fixed positive integer (n∈N+n \in \mathbb{N}^+). For a,b∈Za, b \in \mathbb{Z}, aa is congruent to bb modulo nn, written as a≡b(modn)a \equiv b \pmod{n}, if nn divides the difference (a−b)(a - b) 40.

  • This relation is an equivalence relation because it is reflexive (n∣(a−a)n | (a-a)), symmetric (if n∣(a−b)n | (a-b), then n∣(b−a)n | (b-a)), and transitive (if n∣(a−b)n | (a-b) and n∣(b−c)n | (b-c), then n∣(a−c)n | (a-c)) 40.

Examples:

  • 17≡3(mod7)17 \equiv 3 \pmod{7} because 7∣(17−3)=147 | (17-3) = 14.
  • 4≢22(mod5)4 \not\equiv 22 \pmod{5} because 5∤(4−22)=−185 \nmid (4-22) = -18.
  • a≡0(modn)a \equiv 0 \pmod{n} if and only if n∣an | a.
  • a≡b(mod2)a \equiv b \pmod{2} if and only if aa and bb are both even or both odd 40.

11.2 Congruence classes

When integers are divided by nn, they yield a unique quotient qq and a non-negative remainder rr such that a=qn+ra = qn + r and 0≤r<∣n∣0 \leq r < |n| 41.

  • a≡b(modn)a \equiv b \pmod{n} if and only if aa and bb have the same non-negative remainder when divided by nn.
  • The congruence relation modulo nn partitions Z\mathbb{Z} into nn distinct congruence classes. These classes are denoted as [0],[1],…,[n−1][0], [1], \dots, [n-1].
  • The set of all congruence classes modulo nn is denoted by Zn\mathbb{Z}_n 41.

📝 For n=3n=3, Z3={[0],[1],[2]}\mathbb{Z}_3 = \{[0], [1], [2]\}.

  • [0]={…,−6,−3,0,3,6,… }=3Z[0] = \{ \dots, -6, -3, 0, 3, 6, \dots \} = 3\mathbb{Z}
  • [1]={…,−5,−2,1,4,7,… }=1+3Z[1] = \{ \dots, -5, -2, 1, 4, 7, \dots \} = 1 + 3\mathbb{Z}
  • [2]={…,−4,−1,2,5,8,… }=2+3Z[2] = \{ \dots, -4, -1, 2, 5, 8, \dots \} = 2 + 3\mathbb{Z} These classes form a disjoint union of Z\mathbb{Z} 42.

The set {0,1,…,n−1}\{0, 1, \dots, n-1\} serves as the smallest non-negative representatives for the nn congruence classes in Zn\mathbb{Z}_n 42.

12. Partial order relations

12.1 Partial order relation

A relation RR on a set HH is called a partial order relation if it is reflexive, anti-symmetric, and transitive 44.

  • Reflexivity: a≤aa \leq a for all a∈Ha \in H.
  • Anti-symmetry: If a≤ba \leq b and b≤ab \leq a, then a=ba = b.
  • Transitivity: If a≤ba \leq b and b≤cb \leq c, then a≤ca \leq c 44.

A partial order relation is often denoted by ≤\leq 44.

12.2 Strict inequality and neighbors

For a partial order relation ≤\leq, the strict inequality x<yx < y is defined as x≤yx \leq y and x≠yx \neq y 44.

  • If x<yx < y and there is no z∈Hz \in H such that x<z<yx < z < y, then xx is a lower neighbor of yy, and yy is an upper neighbor of xx 45.

📝 For the partial order relation ≤\leq, the strict inequality x<yx < y is defined as x≤yx \leq y and x≠yx \neq y. If x<yx < y and there is no z∈Hz \in H such that x<z<yx < z < y, then xx is a lower neighbor of yy 44.

12.3 Visualization of partial orders 44

Finite partial order relations can be visualized using order diagrams, also known as Hasse diagrams 45.

  • Every non-empty subset of a partially ordered set is itself partially ordered under the same relation 45.
Set (H)Relation (R)Type
R≤Less-or-equal relation
N——
P(M)⊆Set inclusion relation

13. Chains

13.1 Definition of a chain

A chain is a subset KK of a partially ordered set (H,≤)(H, \leq) where every pair of elements within KK is comparable. The length of a chain KK is defined as the number of elements in KK, denoted by #K\#K.

A partially ordered set (H,≤)(H, \leq) is called ordered or completely (totally) ordered if it is a chain itself 46.

13.2 Examples of chains

The sets of integers (Z,≤)(\mathbb{Z}, \leq), rational numbers (Q,≤)(\mathbb{Q}, \leq), and real numbers (R,≤)(\mathbb{R}, \leq) are all examples of chains 46.

In the set H={1,2,…,12}H = \{1, 2, \dots, 12\} with the divisibility relation, chains of length 4 include:

  • {1,2,4,12}\{1, 2, 4, 12\}
  • {1,2,4,8}\{1, 2, 4, 8\}
  • {1,2,6,12}\{1, 2, 6, 12\}
  • {1,3,6,12}\{1, 3, 6, 12\} 46.

📝 Consider the set H={1,2,3,4,5,6}H = \{1, 2, 3, 4, 5, 6\} with the divisibility relation. The subset K={1,2,4}K = \{1, 2, 4\} is a chain because 1 divides 2, 1 divides 4, and 2 divides 4. The length of this chain is 3. The subset J={2,3,5}J = \{2, 3, 5\} is not a chain because no element in JJ divides another.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also