Discrete Mathematics (H) Lecture 5 Notes
Basic Discrete Mathematics Objects (Continued)
Sequence
Definitions and Notations
Definition: Sequence
A sequence is a function from a subset of the set of
integers to a set
Definition: Arithmetic Progression
An arithmetic progression is a sequence of the form
Definition: Geometric Progression
A geometric progression is a sequence of the form
Definition: Recursively Defined Sequences
The
Example
- Arithmetic progression:
- Geometric progression:
- Recursively defined sequence:
Summations
Definition: Summation of Sequences
The summation of the terms of a sequence is
Two useful properties of summations:
The sum of the first
Example
Solution 1. Using the summation formula for the arithmetic
progression:
Solution 2. Again, using the summation formula for the
arithmetic progression:
Solution 3. The inner sum for fixed
Solution 4. Using the summation formula for the geometric
progression:
Solution 5. The inner sum for fixed
Infinite Series
Infinite geometric series
Some Useful Summation Formulas
| Sum | Closed Form |
|---|---|
Proof for formula 1. Let
Proof for formula 2. A useful trick is the write the sum
twice, once in increasing order and once in decreasing order
Proof for formula 3. We use the telescoping method. Consider
the identity
Proof for formula 4. We can notice that
Then we only need to calculate
Proof for formula 5.
Proof for formula 6. Notice that
Cardinality of Sets, Redux
Definition: Cardinality (Continued)
The sets
If there is a one-to-one function from
Cantor-Bernstein Theorem
Assume
Proof. If
Definition: Countable Sets
A set that is either finite or has the same
cardinality as the set of positive integers
Example
Prove that the set of even numbers
Proof. We define a function
Theorem
The set of integers
Proof. We can list a sequence:
Theorem
The set of (positive) rational numbers
Proof. We construct a list by first list all
Lemma
If
Theorem
The set of finite string
Proof. We show that the strings can be listed in a sequence by follows:
- First list all the strings of length
in alphabetical order, - then all the strings of length
in lexicographic order, - etc.
This implies a bijection from
Uncountable Sets
Theorem
The set of real numbers
Proof. Assume that
Theorem
The set
Proof. Assume that
Computable vs. Uncomputable
Definition: Computability
We say that a function is computable (or Turing-computable) if we can use a Turing machine to find the values of this function. If a function is not computable, we say it is uncomputable. Intuitively, a function is computable if there is a computer program that finds the values of this function.
Theorem
There are functions that are not computable.
Proof. Since we know that the set of finite strings on
finite alphabet is countable, it is trivial to prove that the set of
computer programs is countably finite. To prove this theorem,
we only need to prove the set of functions is uncountable. We
assume that the set of functions is countable, then the set of functions
from
Cantor’s Theorem
Theorem
If
- Title: Discrete Mathematics (H) Lecture 5 Notes
- Author: Zhige Chen
- Created at : 2025-09-29 19:31:35
- Updated at : 2025-10-10 13:17:17
- Link: https://nofe1248.github.io/2025/09/29/discrete-math-lec-5/
- License: This work is licensed under CC BY-NC-SA 4.0.