Rational Numbers and Decimals
The rational numbers are ratios of integers (). Every rational has a lowest-terms form where .
Fraction arithmetic uses these rules:
| Operation | Formula | Notes |
|---|---|---|
| Addition | Common denominator | |
| Multiplication | Numerators & denominators |
Decimal Signature: A number is rational iff its decimal expansion terminates or eventually repeats.
- (terminating)
- (repeating)
- (period 6)
Irrationals and Real Density
The irrational numbers are reals that are not rational; their decimals run forever without repeating. Examples: , , .
Proof by Contradiction: Assume in lowest terms. Then , forcing both and to be even, which violates lowest terms.
| Set | Cardinality | Decimal Form |
|---|---|---|
| Rationals | Countable | Terminates / Repeats |
| Irrationals | Uncountable | Infinite & Non-repeating |
Both sets are dense (both appear between any two reals).
Common Pitfall: Believing endless decimals are irrational. runs forever, but it repeats, making it rational.