Calculus I · Real Analysis
Set Theory and Decimal Representation of Numbers
Explanation
Introduction to Sets
A set is a collection of elements. We write (" belongs to ") and (" does not belong to "). The empty set, containing no elements, is denoted by .
Basic Operations:
- Union:
- Intersection:
- Difference:
- Subset: if every element of is also an element of
Number Systems
The most convenient way to map numbers is through set inclusion:
| Symbol | Name | Examples |
|---|---|---|
| Natural Numbers | ||
| Integers | ||
| Rational Numbers | ||
| Real Numbers | All points on the number line |
is defined as the set of all quotients of integers:
Decimal Representation and Rationality
Decimal representation helps us identify which set a number belongs to.
Fundamental Rule: A number is rational if and only if its decimal representation is either finite or infinite and periodic.
| Decimal Expansion Type | Set Membership |
|---|---|
| Finite: | |
| Infinite Periodic (Pure/Mixed): | |
| Infinite Non-Periodic: | (Irrational) |
Important Edge Case (Non-Uniqueness): Decimal representation is not always unique. Numbers with finite decimal expansions can also be written with an infinite repeating 9. For example, exactly.
Converting a Periodic Decimal to a Fraction:
Example (Pure Periodic):
Example (Mixed Periodic):
Multiply by 10 to shift the non-periodic part:
Multiply by 100 to shift one full period:
Proof that is Irrational
Claim: .
*(Lemma: If the square of an integer is even, then is also even. Because if were odd, then , and its square would be odd).*
Proof by Contradiction: Assume there exists a rational number equal to , meaning where , , and (the fraction is fully simplified).
1. .
2. This implies is even. By our lemma, is even, so for some .
3. Substitute back: .
4. This implies is also even, therefore is even.
5. Both and are even — a contradiction to our assumption that (since both are divisible by at least 2).
Density of Rationals in the Reals
Theorem: Between any two real numbers , there exists a rational number such that .
Intuition: The number line is "densely packed" with rational numbers — no matter how small an interval is, and regardless of its endpoints, we can always find a fraction inside it.
Corollary: Between any two real numbers, there also exists an irrational number (e.g., adding for a sufficiently large natural to a rational number).
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 7
1
Which of the following numbers is irrational?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)