2

The rational numbers are exactly those numbers whose decimal representations either terminate (i.e. all digits are 0 from some point onwards) or repeat.
How can I prove this statement?
Any help would be appreciated.Thank you!

Eii
  • 77
  • 8
  • https://www.google.com/search?q=site:math.stackexchange.com+rational+numbers+periodic+terminate – Hans Lundmark Aug 17 '17 at 13:09
  • You prove it by showing that 1) Each rational number has a repeating decimal representation (repeating $0$'s count), and 2) Each number with repeating decimals is a rational number. – Arthur Aug 17 '17 at 13:10
  • see https://math.stackexchange.com/questions/61937/how-can-i-prove-that-all-rational-numbers-are-either-terminating-decimal-or-repe – Robert Z Aug 17 '17 at 13:10
  • ...and https://math.stackexchange.com/questions/198810/proof-that-every-repeating-decimal-is-rational – Hans Lundmark Aug 17 '17 at 13:11
  • Also, rational numbers are just those numbers which can be represented as a fraction. – W. G. Aug 17 '17 at 13:15
  • Any rational number can be converted in a fraction with the algorithms we learnt in middle school. And vice versa any fraction lead to decimal numbers whose decimal digits are finite if the denominator is $2^k\times 5^h$ and repeating otherwise. This last result can be proved quite easily considering the algorithm of division between integers – Raffaele Aug 17 '17 at 13:15

1 Answers1

0

Maybe going through an example will help you with this. We can rewrite real numbers which have a repeating, occurrence of numbers to the right of the decimal as a fraction. For example, the number $0.125125125125...=0.\overline{125}$. Define this number as $x=0.125125125125...$. Thus, $1000x=125.125125125...$ . Furthermore, $1000x-x=999x=125.\overline{125}-0.\overline{125}$. Looking at the far right expression, we know $125.\overline{125}-0.\overline{125}=125+0.\overline{125}-0.\overline{125}=125$. Thus, $999x=125$. Thus, $x=\frac{125}{999}$ which is a fractional representation of a real number. I should also add that just simplifying a terminating sequence of numbers to the right of the decimal should be apparent. For example, $0.36=36/100$. When numbers are to the left of the decimal, we find a common denominator. Hope this helps.

This might be more technical than what you want but here it goes. Take a repeating sequence of numbers we will say $0.\overline{x_1x_2...x_n}$ for some $n\in \mathbb{N}$ where all the xs are numbers in the set $\lbrace 0 , 1, 2, 3, 4, 5, 6, 7, 8, 9\rbrace$. Define this number as $y=0.\overline{x_1x_2...x_n}$. Thus, $10^ny=x_1x_2...x_n.\overline{x_1x_2...x_n}$. Whence, $(10^n-1)y=x_1x_2...x_n$. Thus, $y=\frac{x_1x_2...x_n}{10^n-1}$. Since $x_1x_2...x_n\in \mathbb{Z}$ and $10^n-1\in \mathbb{Z}^{\neq 0}$, then $y$ must be a rational number. I would then say without loss of generality you could do the same thing where this number is negative.

This proposition is used for the case where there are numbers to the left of the decimal. It should be easy to see that in the case that one of the numbers was negative that the same would occur.

Proposition: The sum of two rational numbers is rational.

Proof: Let $\frac{a}{b}$ be a rational number where $a$ is an integer and $b$ is an integer not equal to zero. Also, let $\frac{c}{d}$ be a rational number where $c$ is an integer and $d$ is an integer not equal to zero. Thus, $\frac{a}{b}+\frac{c}{d}=\frac{ad}{bd}+\frac{bc}{bd}=\frac{ad+cd}{bd}$. Thus, the numerator and denominator for the far right expression are both integers where the denominator does not equal zero. Thus, the theorem has been proven.

W. G.
  • 1,766
  • Yeah but how can I give a kinda generalization proof of this example? – Eii Aug 17 '17 at 13:14
  • I edited the answer since then. Does that help? – W. G. Aug 17 '17 at 13:38
  • I'm going to add one more thing to us. Otherwise, the answer is not complete. I'm not trying to overload you but in the case that these numbers terminate, you have a rational number on the right of the decimal and a rational number to the left of the decimal. A rational number plus another rational number is always rational. – W. G. Aug 17 '17 at 13:57