ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Discrete Structures
    CSI-303
    Progress0 / 21 topics
    Topics
    1. Introduction to Logic and Proofs2. Direct Proofs3. Proof by Contradiction4. Sets5. Combinatorics6. Sequences7. Formal Logic8. Propositional and Predicate Calculus9. Methods of Proof10. Mathematical Induction and Recursion11. Loop Invariants12. Relations and Functions13. Pigeonhole Principle14. Trees and Graphs15. Elementary Number Theory16. Optimization and Matching17. Fundamental Structures18. Functions19. Relations (Recursions)20. Cardinality and Countability21. Probabilistic Methods
    CSI-303›Cardinality and Countability
    Discrete StructuresTopic 20 of 21

    Cardinality and Countability

    8 minread
    1,385words
    Intermediatelevel

    Cardinality and Countability in Discrete Mathematics

    In discrete mathematics, cardinality and countability are essential concepts in set theory that deal with the size and structure of sets, especially infinite sets. These concepts help us understand the nature of infinity, which is often counterintuitive and requires careful mathematical treatment.


    1. Cardinality of a Set

    The cardinality of a set refers to the number of elements in the set. For finite sets, cardinality is simply the number of elements. For infinite sets, cardinality is a more abstract concept used to compare the sizes of infinite sets.

    Finite Sets

    For a finite set AAA, the cardinality ∣A∣|A|∣A∣ is the number of elements in the set. For example:

    • A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4} has cardinality ∣A∣=4|A| = 4∣A∣=4.
    • B={a,b,c}B = \{a, b, c\}B={a,b,c} has cardinality ∣B∣=3|B| = 3∣B∣=3.

    Infinite Sets

    For infinite sets, cardinality is not measured by counting individual elements (as with finite sets) but by comparing the "size" of the set in terms of its potential to be paired with the natural numbers or another set.

    Two infinite sets are said to have the same cardinality if there exists a bijection (one-to-one correspondence) between them, meaning every element in one set can be paired with exactly one element in the other set.


    2. Countability

    The concept of countability refers to whether a set has the same size as some subset of the natural numbers N\mathbb{N}N, which is the most basic example of a countable set.

    Countable Sets

    A set is called countable if its elements can be matched with the natural numbers N\mathbb{N}N, either exactly or by pairing with a subset of N\mathbb{N}N.

    Countably Infinite Sets

    An infinite set is countable if its cardinality is the same as the set of natural numbers, i.e., there exists a bijection between the set and N\mathbb{N}N. These are called countably infinite sets. Examples include:

    • The set of natural numbers N={0,1,2,3,… }\mathbb{N} = \{0, 1, 2, 3, \dots\}N={0,1,2,3,…} is countably infinite.
    • The set of integers Z={…,−2,−1,0,1,2,… }\mathbb{Z} = \{\dots, -2, -1, 0, 1, 2, \dots\}Z={…,−2,−1,0,1,2,…} is countably infinite because we can list the integers in a sequence like {0,1,−1,2,−2,3,−3,… }\{0, 1, -1, 2, -2, 3, -3, \dots\}{0,1,−1,2,−2,3,−3,…}, showing a bijection with N\mathbb{N}N.
    • The set of rational numbers Q\mathbb{Q}Q (fractions of integers) is also countable, even though it might seem large. One way to demonstrate this is through a diagonal argument or by listing all rationals in a systematic grid and showing a bijection with N\mathbb{N}N.

    Finite Countable Sets

    A finite set is trivially countable, since it can be matched to a finite subset of N\mathbb{N}N. For example, the set A={1,2,3}A = \{1, 2, 3\}A={1,2,3} is countable, with a cardinality of 3.

    Uncountable Sets

    A set is uncountable if its cardinality is strictly greater than the cardinality of N\mathbb{N}N. In other words, there is no way to pair each element of the set with a unique natural number.

    Example of Uncountable Sets

    • The set of real numbers R\mathbb{R}R is uncountable. This was famously proven by Cantor's diagonal argument, which shows that no matter how we attempt to list the real numbers, there will always be real numbers left out. The set R\mathbb{R}R has a greater cardinality than N\mathbb{N}N, and this cardinality is called the cardinality of the continuum.
    • The set of points on a line segment, such as the interval [0,1][0, 1][0,1], is also uncountable. This is because the real numbers between 0 and 1 form a set with the same cardinality as the entire real line, which is uncountable.

    3. Comparing Cardinalities

    There are different sizes of infinity, and we can compare the cardinalities of different infinite sets. The concept of cardinality allows us to distinguish between countable and uncountable infinities.

    Aleph Numbers (ℵ)

    Cantor introduced the concept of aleph numbers (ℵ) to describe the cardinality of infinite sets:

    • ℵ₀ (Aleph-null): The cardinality of the set of natural numbers N\mathbb{N}N is denoted ℵ0\aleph_0ℵ0​, representing the smallest infinite cardinality. Any set that is countably infinite has cardinality ℵ0\aleph_0ℵ0​.
    • ℵ₁ (Aleph-one): The cardinality of the set of real numbers R\mathbb{R}R is denoted ℵ1\aleph_1ℵ1​, which is strictly greater than ℵ0\aleph_0ℵ0​. This represents the next level of infinity.

    Cantor's Diagonal Argument

    Cantor's famous diagonal argument proves that the set of real numbers R\mathbb{R}R is uncountable. Here's a basic outline of the argument:

    1. Assume we could list all the real numbers between 0 and 1 in decimal form.
    2. Construct a new real number by changing the nth decimal place of the nth number in the list.
    3. The new number cannot be in the list because it differs from every number at least in one digit.
    4. This contradiction shows that no such list can exist, proving that the set of real numbers is uncountable.

    4. The Continuum Hypothesis

    The continuum hypothesis (CH) is a hypothesis about the size of the set of real numbers in relation to the set of natural numbers. It asks whether there is a set whose cardinality is strictly between that of the integers and the real numbers. In formal terms, it asks whether ℵ0<c<ℵ1\aleph_0 < \mathfrak{c} < \aleph_1ℵ0​<c<ℵ1​, where c\mathfrak{c}c represents the cardinality of the continuum (the real numbers).

    The continuum hypothesis was shown to be independent of the standard axioms of set theory, meaning it can neither be proven nor disproven using the usual axioms of set theory.


    5. Key Concepts Recap

    • Cardinality: The number of elements in a set. For infinite sets, it refers to comparing sizes using bijections.
    • Countable Sets: A set is countable if there is a one-to-one correspondence with the natural numbers. Countable sets include finite sets and countably infinite sets (like N\mathbb{N}N, Z\mathbb{Z}Z, and Q\mathbb{Q}Q).
    • Uncountable Sets: A set is uncountable if it has more elements than the natural numbers. The real numbers R\mathbb{R}R are an example of an uncountable set.
    • Aleph Numbers (ℵ): The cardinality of infinite sets, with ℵ0\aleph_0ℵ0​ being the smallest infinity (countably infinite sets), and ℵ1\aleph_1ℵ1​ being larger than ℵ0\aleph_0ℵ0​ (uncountable sets like the real numbers).

    Conclusion

    Understanding cardinality and countability allows us to differentiate between different types of infinity and analyze the size of sets. While finite sets are straightforward to compare, the concept of countability allows us to compare infinite sets and explore the deeper structures of set theory. The discovery that not all infinities are equal (i.e., the real numbers have a greater cardinality than the natural numbers) is one of the fundamental insights of modern mathematics.

    Previous topic 19
    Relations (Recursions)
    Next topic 21
    Probabilistic Methods

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time8 min
      Word count1,385
      Code examples0
      DifficultyIntermediate