Spoiler
Math Challenge!
Moderator: Alyrium Denryle
Math Challenge!
Prove that the rational numbers are exactly the repeating or terminating decimals! For extra credit, characterize the nature of the repeat in terms of the associated rational number.
Spoiler
Spoiler
(This came up in my college algebra class the other day and it was a cute little exercise.)
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
-
- Padawan Learner
- Posts: 287
- Joined: 2010-07-14 10:55pm
Re: Math Challenge!
It's because there's only so many numbers that can be left over from any given subtraction, so sooner or later you'll wind up cycling through them, for any given possible rational number (2-digit numbers for any given single-digit divisor, 3-digit numbers for any given 2-digit divisor, et cetera), since each stage removes the single-largest single-digit number from the remaining amount. This means that you'll eventually get a repeating number or a precise termination (the remainder is zero), so irrational numbers are impossible to get.
Dunno how to formally write that up as a proof, though.
Dunno how to formally write that up as a proof, though.
Re: Math Challenge!
That is as good as any proof of the fact that rational numbers have repeating or terminating decimals.LionElJonson wrote:It's because there's only so many numbers that can be left over from any given subtraction, so sooner or later you'll wind up cycling through them, for any given possible rational number (2-digit numbers for any given single-digit divisor, 3-digit numbers for any given 2-digit divisor, et cetera), since each stage removes the single-largest single-digit number from the remaining amount. This means that you'll eventually get a repeating number or a precise termination (the remainder is zero), so irrational numbers are impossible to get.
Dunno how to formally write that up as a proof, though.
However you forgot to prove that all repeating or terminating decimals are rational.
-
- Padawan Learner
- Posts: 287
- Joined: 2010-07-14 10:55pm
Re: Math Challenge!
They're not irrational numbers (which are defined as non-repeating, non-terminating numbers), so therefore they're rational numbers, right?Grog wrote:That is as good as any proof of the fact that rational numbers have repeating or terminating decimals.LionElJonson wrote:It's because there's only so many numbers that can be left over from any given subtraction, so sooner or later you'll wind up cycling through them, for any given possible rational number (2-digit numbers for any given single-digit divisor, 3-digit numbers for any given 2-digit divisor, et cetera), since each stage removes the single-largest single-digit number from the remaining amount. This means that you'll eventually get a repeating number or a precise termination (the remainder is zero), so irrational numbers are impossible to get.
Dunno how to formally write that up as a proof, though.
However you forgot to prove that all repeating or terminating decimals are rational.
Re: Math Challenge!
Irrational numbers are defined as (real) numbers which cannot be written as the ratio of two integers. The challenge in this thread is to justify their characterization as non-repeating, non-terminating decimals.
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
-
- Padawan Learner
- Posts: 287
- Joined: 2010-07-14 10:55pm
Re: Math Challenge!
All terminating numbers can be written as (significant digits)/10^n, where n is the number of significant digits after the decimal point, and therefore rational. The repeating portion of all repeating numbers can be written as (repeating digits)/(10^n+10^(n-1)...+1), where n is equal to the number of repeating digits, and are therefore rational. They can be shifted to the left or right by multiplying or dividing by 10^x, where x is the number of digits you're shifting them, and since they can be added to terminating numbers to create things like 15.2446446446..., all terminating or repeating numbers are therefore rational.
Re: Math Challenge!
LionElJonson wrote:All terminating numbers can be written as (significant digits)/10^n, where n is the number of significant digits after the decimal point, and therefore rational. The repeating portion of all repeating numbers can be written as (repeating digits)/(10^n+10^(n-1)...+1), where n is equal to the number of repeating digits, and are therefore rational. They can be shifted to the left or right by multiplying or dividing by 10^x, where x is the number of digits you're shifting them, and since they can be added to terminating numbers to create things like 15.2446446446..., all terminating or repeating numbers are therefore rational.
This argument does not work. For example 0.3333.... is not 3/(10+1), but it is might be close to one way of doing it. Spoiler
- Kuroneko
- Jedi Council Member
- Posts: 2469
- Joined: 2003-03-13 03:10am
- Location: Fréchet space
- Contact:
Re: Math Challenge!
It's wrong, but it essentially works. Let M have m digits. The division algorithm in base 10m can easily verify that M/[10m-1] is the decimal formed by repeating the digits of M. Thus any repeated decimal x can be written in the form 10-n[N + M/[10m-1]].
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
Re: Math Challenge!
That was what I meant by the hint.Kuroneko wrote:It's wrong, but it essentially works. Let M have m digits. The division algorithm in base 10m can easily verify that M/[10m-1] is the decimal formed by repeating the digits of M. Thus any repeated decimal x can be written in the form 10-n[N + M/[10m-1]].
-
- Padawan Learner
- Posts: 287
- Joined: 2010-07-14 10:55pm
Re: Math Challenge!
*facepalm*Grog wrote:LionElJonson wrote:All terminating numbers can be written as (significant digits)/10^n, where n is the number of significant digits after the decimal point, and therefore rational. The repeating portion of all repeating numbers can be written as (repeating digits)/(10^n+10^(n-1)...+1), where n is equal to the number of repeating digits, and are therefore rational. They can be shifted to the left or right by multiplying or dividing by 10^x, where x is the number of digits you're shifting them, and since they can be added to terminating numbers to create things like 15.2446446446..., all terminating or repeating numbers are therefore rational.
This argument does not work. For example 0.3333.... is not 3/(10+1), but it is might be close to one way of doing it. Spoiler