Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2015 October 6

From Wikipedia, the free encyclopedia
Mathematics desk
< October 5 << Sep | October | Nov >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


October 6

[edit]

The question might seem silly, but...how can one prove that each number has a unique representation in positional notation (in certain base b)? I guess it's somehow derived from the definition, but don't understand how. Thanks! — Preceding unsigned comment added by 212.179.21.194 (talk) 08:27, 6 October 2015 (UTC)[reply]

There is a slight non-uniquness, see 0.999.... Dmcq (talk) 08:35, 6 October 2015 (UTC)[reply]
It's not a silly question at all. I assume you mean only for integers using positions to the left of the radix, because otherwise it's not always true.
It comes down to the fact that . You can verify this equality by distributing the multiplications and then canceling terms.
Now, to show that every integer has a representation, suppose not. Let be the least integer without a representation. We know 0 has a representation, so . So has a representation. Now look at the rightmost entry in the representation for . If it's less than , we can add one to the representation by replacing the rightmost entry with the symbol which is 1 greater. If the rightmost entry is , then we can add one to the representation by replacing a stream of s with s and then incrementing the first entry which is not . This uses the equality. Either way, we get a representation for .
Next, to show that no integer has two representations, suppose not. Let be the least integer with two representations, and consider those two representations. If they agree on the leftmost entry, then by replacing the leftmost entry with 0 we get two distinct representations for a smaller number, contrary to choice of . So they disagree on the leftmost entry. Call that position . Suppose the first representation has the larger value in the leftmost position. Then the smallest the first representation could be is if every value other than the leftmost is 0, and the largest the second representation could be is if every value other than the rightmost is , but by the above equation, this still means that the first representation is at least 1 larger than the second, so they don't represent the same number after all.--130.195.253.11 (talk) 08:43, 6 October 2015 (UTC)[reply]
Thanks! the explanation may be worth adding to the article. 212.179.21.194 (talk) 11:58, 6 October 2015 (UTC)[reply]