0 Members and 4 Guests are viewing this topic.
That was an error in the method shown in that particular text (which was a PopSci version of Cantor's proof that ℜ is uncountable ). However, it's possible to fix that and most texts describing the diagonalisation method do exactly that.
A / B has A as the numerator and B as the denominator.I have no rules to know what to do, or what it means when A or B is infinite.
https://en.wikipedia.org/wiki/Algebraic_numberAn algebraic number is a number that is a root of a non-zero polynomial in one variable with integer (or, equivalently, rational) coefficients. For example, the golden ratio, (1+√5)/2, is an algebraic number, because it is a root of the polynomial x2 − x − 1. That is, it is a value for x for which the polynomial evaluates to zero. As another example, the complex number 1+i is algebraic because it is a root of x4 + 4.All integers and rational numbers are algebraic, as are all roots of integers. Real and complex numbers that are not algebraic, such as π and e, are called transcendental numbers.The set of algebraic numbers is countably infinite and has measure zero in the Lebesgue measure as a subset of the uncountable complex numbers. In that sense, almost all complex numbers are transcendental.
Quote from: Bored chemist on 07/07/2022 10:54:14Quote from: hamdani yusuf on 07/07/2022 09:26:35When expressed as ratio, 1/2, 1/3, and 1/4 don't seem to need much different amount of information. But when expressed in decimal, 1/3 needs infinite number of digits. Although the decimal digits are repetitive, which make the information compressible.Use base 12 rather than 10.The problem goes away.But this solution is not general, since it depends on the chosen base number, as well as the denominator. If the denominator has a prime factor not shared with the base number, the number of digits will be infinite.A more general solution is using continued fraction, which is independent from base number selection.
Quote from: hamdani yusuf on 07/07/2022 09:26:35When expressed as ratio, 1/2, 1/3, and 1/4 don't seem to need much different amount of information. But when expressed in decimal, 1/3 needs infinite number of digits. Although the decimal digits are repetitive, which make the information compressible.Use base 12 rather than 10.The problem goes away.
When expressed as ratio, 1/2, 1/3, and 1/4 don't seem to need much different amount of information. But when expressed in decimal, 1/3 needs infinite number of digits. Although the decimal digits are repetitive, which make the information compressible.
What should be done to fix it? (the diagonalisation method discussed much earlier, e.g. post #14)
Hi.Quote from: hamdani yusuf on 08/07/2022 03:02:42What should be done to fix it? (the diagonalisation method discussed much earlier, e.g. post #14) Just don't allow the enumeration to contain numbers written with recurring 9 digits. All such numbers can be written with recurring 0 digits instead, insist that this is done. Example: 0.123999999999....... = 0.12400000000000...... Once you exclude either recurring 9 digits (or recurring 0 digits) then a decimal expansion becomes unique - so that the problem shown in post #14 won't happen.Best Wishes.
The general solution is to pick a base where the fraction doesn't recur.
What if the number is written in binary?
In whatever number base, B, you choose, you just can't allow recurring digits of (B-1). Provided you do this then the representation of a real number as a string of digits is unique.
https://en.m.wikipedia.org/wiki/Cantor's_diagonal_argumentIn set theory, Cantor's diagonal argument, also called the diagonalisation argument, the diagonal slash argument, the anti-diagonal argument, the diagonal method, and Cantor's diagonalization proof, was published in 1891 by Georg Cantor as a mathematical proof that there are infinite sets which cannot be put into one-to-one correspondence with the infinite set of natural numbers.[1][2]: 20– [3] Such sets are now known as uncountable sets, and the size of infinite sets is now treated by the theory of cardinal numbers which Cantor began.Diagonalization arguments are often also the source of contradictions like Russell's paradox[7][8] and Richard's paradox.[2]: 27
It's certainly not a practical way to build a computer.
In binary code, the step would remove half of all numbers with finite digits.
Hi.Quote from: hamdani yusuf on 09/07/2022 14:11:05In binary code, the step would remove half of all numbers with finite digits. Why?Write down a number with finite digits, e.g. 0.10101 . Why would that be removed?That representation is permitted. (Although during the diagonalisation method you would consider it to have as many 0 digits at the end as required).Best Wishes.
Quote from: hamdani yusuf on 08/07/2022 16:05:54It's certainly not a practical way to build a computer.Had anyone suggested that it was?
Quote from: Bored chemist on 09/07/2022 14:35:34Quote from: hamdani yusuf on 08/07/2022 16:05:54It's certainly not a practical way to build a computer.Had anyone suggested that it was?No. It was to show that your solution can't be both simple and general to make it useful as a tool to solve the problem discussed here, which is the countability of a set of numbers.
Any finite digits binary number can be written in 2 ways. Your restriction rejects one of them.
There's also continued fraction to classify subsets of real numbers. Quotehttps://en.m.wikipedia.org/wiki/Continued_fractionIn mathematics, a continued fraction is an expression obtained through an iterative process of representing a number as the sum of its integer part and the reciprocal of another number, then writing this other number as the sum of its integer part and another reciprocal, and so on.[1] In a finite continued fraction (or terminated continued fraction), the iteration/recursion is terminated after finitely many steps by using an integer in lieu of another continued fraction. In contrast, an infinite continued fraction is an infinite expression. In either case, all integers in the sequence, other than the first, must be positive. The integers {\displaystyle a_{i}}a_{i} are called the coefficients or terms of the continued fraction.[2]Rational numbers have finite continued fraction. Irrational numbers, including transcendental numbers have infinite continued fraction.
https://en.m.wikipedia.org/wiki/Continued_fractionIn mathematics, a continued fraction is an expression obtained through an iterative process of representing a number as the sum of its integer part and the reciprocal of another number, then writing this other number as the sum of its integer part and another reciprocal, and so on.[1] In a finite continued fraction (or terminated continued fraction), the iteration/recursion is terminated after finitely many steps by using an integer in lieu of another continued fraction. In contrast, an infinite continued fraction is an infinite expression. In either case, all integers in the sequence, other than the first, must be positive. The integers {\displaystyle a_{i}}a_{i} are called the coefficients or terms of the continued fraction.[2]
A generalized continued fraction is an expression of the formwhere the an (n > 0) are the partial numerators, the bn are the partial denominators, and the leading term b0 is called the integer part of the continued fraction.