# Why is a repeating decimal a rational number?

$$\frac{1}{3}=.33\bar{3}$$

is a rational number, but the $3$ keeps on repeating indefinitely (infinitely?). How is this a ratio if it shows this continuous pattern instead of being a finite ratio?

I understand that $\pi$ is irrational because it extends infinitely without repetition, but I am confused about what makes $1/3=.3333\bar{3}$ rational. It is clearly repeating, but when you apply it to a number, the answers are different: $.33$ and $.3333$ are part of the same concept, $1/3$, yet:

$.33$ and $.3333$ are different numbers:

$.33/2=.165$ and $.3333/2=.16665$, yet they are both part of $1/3$.

How is $1/3=.33\bar{3}$ rational?

-
$0.333\dots$ is rational because it is expressible as a ratio of two integers. There is nothing more to it. Your claim that it is not a finite ratio is false, and begs the question of why you believe it is not a finite ratio. Do you mean to say it isn't a finite number of digits? Well, that is no obstruction to being expressible as a ratio of integers, as is obvious from the equality $1/3=0.33\dots$. –  anon Nov 2 '13 at 19:02

I believe the fundamental problem (or confusion) here is that OP finds it difficult to believe that a rational number which is a ratio of two finite integers can have a representation which is infinite. This confusion is primarily due to the fact that most people try to think a number and its representation as one and the the same thing. However the concept of a number is different from the concept of representing it.

I will provide a simple example. In decimal notation the number "five" is written as $5$, but in binary it is written as $101$ and in ternary as $12$. Same is the case for rational numbers. A fraction like "one/two" can be written as $0.5$ in decimals (as a finite expression), but the same can't be written as a finite decimal in ternary. Similarly "one/three" can be written as a finite decimal in ternary, but as an infinite one in normal base ten.

It has to be understood very clearly that rational may or may not have finite representation depending on the kind of representation chosen. Also it is better to understand why some rationals can have finite decimal representation and others don't have such finite decimal representation. Here the following result helps:

A rational number $p/q$ can be represented as a finite decimal in base $b$ notation, if and only if denominator $q$ divides $b^{n}$ for some positive integer $n$.

Also it should be noted that in case the decimal representation is not finite, then it has to follow a repeating pattern. This happens because the decimal representation is obtained via division of $p$ by $q$ and hence the only possible choices for remainder are $0, 1, 2,\ldots, q - 1$. If at some point we get a $0$ remainder then the decimal representation is finite otherwise the remainder has to repeat and lead to a repeating non-terminating decimal representation.

-

\begin{align} 0.3333333333333\ldots &= 0.3 +0.03 +0.003 +0.0003+ \ldots\\ &=\frac{3}{10} + \frac{3}{100} + \frac{3}{1000}+ \frac{3}{10000} +\ldots \end{align}

If you know the sum of a geometric sequence, that is: $$a+aq+aq^2+aq^3+\ldots = \frac{a}{1-q} \quad\text{ if |q| < 1}$$

you can use it to conclude that for $q = \frac{1}{10}$:

$$\frac{3}{10} + \frac{3}{100} + \frac{3}{1000}+ \frac{3}{10000} +\ldots =\frac{\frac{3}{10}}{1-\frac{1}{10}}=\frac{1}{3}$$

-
Hello, welcome to Maths.SE. I've edited your answer to use MathJax, our maths renderer. For some basic information about writing maths at this site (besides looking at the source to see how I did it!), see e.g. here, here, here and here. –  Lord_Farin Nov 2 '13 at 19:17
Nice edit and full of hints +1 –  Babak S. Nov 3 '13 at 16:24

a=0.333333333333333...

multiply by 10 10a=3.333333333333333...

10a-a=3.3333333....- 0.3333333...

so 9a=3 a=1/3 and its rational

-

Suppose that your number is $$x=a.b_1b_2\cdots b_p \overline{c_1c_2\cdots c_q}$$ then $$10^{p+q}x-10^{p}x=ab_1b_2\cdots b_p {c_1c_2\cdots c_q}-ab_1b_2\cdots b_p$$ Now, can you see that $x$ is rational?

-

You have $$.abcdef ...... zabcdef....z......... = {abcd..... z\over 999999 \cdots 99}$$ for any sequence of digits $abc \cdots z$.

-

You need to know that the following definition: A number is rational if and only if it can be written as a ratio using whole numbers. Or if you want more scientifinc notation:

$$r = \frac ab \iff r \in \mathbb{Q} \text { where a,b \in \mathbb{Z} and b \neq 0}$$

So let $r=0.\overline{333}$, then we know that $r = \frac 13$.

From the statement above we get $a=1$ and $b=3$, so $a,b \in \mathbb{Z}$ and $b \neq 0$ so we have:

$$r = \frac 13 \iff r \in \mathbb{Q}$$

This means that $0.\overline{333}$ is rational number.

-

Eye catcher: $0.123\overline{5678}=\dfrac{12345678-123}{9999000}$.

-