PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Revision difference : decimal expansion
Version 20 Version 19
Every rational number $\frac{m}{n}$, where $m$ and $n$ are positive integers, has an endless \PMlinkescapetext{periodic} {\em decimal expansion} (or {\em decadic expansion} -- according to Greek).\, The decimal expansion of $\frac{m}{n}$ means the series \PMlinkescapetext{presentation} Every rational number $\frac{m}{n}$, where $m$ and $n$ are positive integers, has an endless \PMlinkescapetext{periodic} {\em decimal expansion} (or {\em decadic expansion} -- according to Greek). \,The decimal expansion of $\frac{m}{n}$ means the series \PMlinkescapetext{presentation}
\begin{align} \begin{align}
\nu.\nu_1\nu_2\nu_3\ldots = \nu+10^{-1}\nu_1+10^{-2}\nu_2+10^{-3}\nu_3+\cdots \nu.\nu_1\nu_2\nu_3... = \nu+10^{-1}\nu_1+10^{-2}\nu_2+10^{-3}\nu_3+...
\end{align} \end{align}
where \,$\nu = \lfloor\frac{m}{n}\rfloor$\, is the \PMlinkname{integer part}{Floor} of $\frac{m}{n}$ and the integers $\nu_j$ satisfy \,$0 \leqq \nu_j < 10$. where \,$\nu = \lfloor\frac{m}{n}\rfloor$\, is the \PMlinkname{integer part}{Floor} of $\frac{m}{n}$ and the integers $\nu_j$ satisfy \,$0 \leqq \nu_j < 10$.
We may suppose that $m$ and $n$ are coprime (if necessary, reduce the fraction).\, Then the \PMlinkescapetext{length $l$ of the period} depends only on the denominator $n$.\, In the case that\, $\gcd(n,\,10) = 1$,\, the \PMlinkescapetext{period length} is the least positive integer $l$ such that $10^l\equiv 1 \pmod{n}$ (the \PMlinkescapetext{period length} does not change if we multiply the fraction by a suitable power of 10 and then reduce all prime factors of 10 from the denominator).\, In every case, the \PMlinkescapetext{period length} is a factor of the number $\varphi(n)$, where $\varphi$ is the Euler's totient function. We may suppose that $m$ and $n$ are coprime (if necessary, reduce the fraction). \,Then the \PMlinkescapetext{length $l$ of the period} depends only on the denominator $n$. \,In the case that \,$\gcd(n,\,10) = 1$, \,the \PMlinkescapetext{period length} is the least positive integer $l$ such that $10^l\equiv 1 \pmod{n}$ (the \PMlinkescapetext{period length} does not change if we multiply the fraction by a suitable power of 10 and then reduce all prime factors of 10 from the denominator). \,In every case, the \PMlinkescapetext{period length} is a factor of the number $\varphi(n)$, where $\varphi$ is the Euler's totient function.
\textbf{Examples} \textbf{Examples}
$\frac{1}{8} = 0.125000... = 0.124999...$ (one-digit \PMlinkescapetext{periods}; N.B. two possibilities), $\frac{1}{8} = 0.125000... = 0.124999...$ (one-digit \PMlinkescapetext{periods}; N.B. two possibilities),
$\frac{1}{12} = 0.08333...$ (one-digit per.), $\frac{1}{12} = 0.08333...$ (one-digit per.),
$\frac{1}{37} = 0.'027'027'027'...$ (three-digit per.), $\frac{1}{37} = 0.'027'027'027'...$ (three-digit per.),
$\frac{1}{82} = 0.0'12195'12195'12195'...$ (five-digit per.), $\frac{1}{82} = 0.0'12195'12195'12195'...$ (five-digit per.),
$\frac{1}{25351} = 0.000039446...$ (hundred-digit per.) $\frac{1}{25351} = 0.000039446...$ (hundred-digit per.)
The tail of infinitely many 0's (as in 0.125000...) is of course usually not written out.\, Such a tail is possible only when $n$ has no other prime factors except prime factors of the base of the digit system in question. The tail of infinitely many 0's (as in 0.125000...) is of course usually not written out. \,Such a tail is possible only when $n$ has no other prime factors except prime factors of the base of the digit system in question.
If the tails of 0's are not accepted, then the digital expansion of every positive rational is unique (then e.g. 0.124999... is the only \PMlinkescapetext{expansion} for $\frac{1}{8}$ in the decimal system). If the tails of 0's are not accepted, then the digital expansion of every positive rational is unique (then e.g. 0.124999... is the only \PMlinkescapetext{expansion} for $\frac{1}{8}$ in the decimal system).
Completely similar results concern the digital expansions in any other positional digit system.\, Let the fraction $\frac{1}{31}$ be an example ($\varphi(31) = 30$); its \PMlinkescapetext{presentation} is Completely similar results concern the digital expansions in any other positional digit system. \,Let the fraction $\frac{1}{31}$ be an example ($\varphi(31) = 30$); its \PMlinkescapetext{presentation} is
in the decadic (decimal) digit system\, $\frac{1}{31} = 0.'032258064516129'..._{\mathrm{ten}}$ \quad(15-digit per.), in the decadic (decimal) digit system \,$\frac{1}{31} = 0.'032258064516129'..._{\mathrm{ten}}$ \quad(15-digit per.),
in the hexadic (senary) digit system\, $\frac{1}{51} = 0.'010545'010545'010545'..._{\mathrm{six}}$ \quad(6-digit per.), in the hexadic (senary) digit system \,$\frac{1}{51} = 0.'010545'010545'010545'..._{\mathrm{six}}$ \quad(6-digit per.),
in the dyadic (\PMlinkescapetext{binary}) digit system\, $\frac{1}{11111} = 0.000010000100001..._{\mathrm{two}}$ \quad(5-digit per.). in the dyadic (\PMlinkescapetext{binary}) digit system \,$\frac{1}{11111} = 0.000010000100001..._{\mathrm{two}}$ \quad(5-digit per.).
\textbf{Note.} \,Also any irrational number has a unique decimal expansion, but it is non-periodic; for example the \PMlinkname{Liouville's number}{ExampleOfTranscendentalNumber} \textbf{Note.} \,Also any irrational number has a unique decimal expansion, but it is non-periodic; for example the \PMlinkname{Liouville's number}{ExampleOfTranscendentalNumber}
$$0.110001\,000000\,000000\,000001\,000000\,...$$ $$0.110001\,000000\,000000\,000001\,000000\,...$$
which is transcendental over $\mathbb{Q}$. which is transcendental over $\mathbb{Q}$.