# I am wondering how I can change a repeating decimal to a fraction?

Mar 29, 2018

If all the decimal digits recur, then multiply the number by ${10}^{d}$ where $d$ is the number of repeated digits.

#### Explanation:

Let's take an example.
$r = 1.523523523 \ldots . .$

This number has three repeating digits. So you can multiply by $1000$ and shift it to the left by 3 places, The decimal point moves to the right.

$1000 \times r = 1523.523523$

which is $1522 + r$

so you have
$1000 r - r = 1522$

or

$999 r = 1522$

and thus
$r = \frac{1522}{999} = 1.52352352352$

Mar 29, 2018

While the answer can be worked out by a full process as explained by another contributor, there is a useful short cut which is quick to use.

If all the decimals recur:

Write the fraction as: $\text{the recurring digits"/(9 " for each digit}$

eg: $0.676767 \ldots = 0. \overline{67} = \frac{67}{99} \text{ } \leftarrow$ there are 2 recurring digits

eg: $7.394394394 \ldots = 7. \overline{394} = 7 \frac{394}{999} \text{ } \leftarrow$ 3 recurring digits

If only some of the decimals recur

Write the fraction as:

$\text{all the digits - non-recurring digits"/(9 " for each recurring digit and " 0" for each non-recurring digit}$

eg: $0.23555 \ldots = 0.23 \overline{5} = \frac{235 - 23}{900} = \frac{212}{900}$

eg: 3.4678678.. = 3.4bar(678) =3 (4678-4)/9990 = 3 4674/9990

eg: $9.461565656 . . = 9.461 \overline{56} = 9 \frac{46156 - 461}{99000} = \frac{45695}{99000}$

Mar 29, 2018

Here's an alternative method if you have a calculator...

#### Explanation:

An alternative method if you have a calculator, but not all of the digits is to use continued fractions.

Find the coefficients of the (terminating) continued fraction by repeatedly separating off the whole number part and taking the reciprocal. Then write down the continued fraction and simplify:

For example, given:

$2.596638655462$

Write down the whole number part $\textcolor{red}{2}$, subtract it and take the reciprocal to get (approximately):

$1.67605633803$

Write down the whole number part $\textcolor{red}{1}$, subtract it and take the reciprocal to get (approximately):

$1.47916666666$

Write down the whole number part $\textcolor{red}{1}$, subtract it and take the reciprocal to get (approximately):

$2.08695652177$

Write down the whole number part $\textcolor{red}{2}$, subtract it and take the reciprocal to get (approximately):

$11.4999999959$

There's obviously a truncation error here, so round to:

$11.5$

Write down the whole number part $\textcolor{red}{11}$, subtract it and take the reciprocal to get:

$2$

Our final whole number part is $\textcolor{red}{2}$.

So:

$2.596638655462 \approx \textcolor{red}{2} + \frac{1}{\textcolor{red}{1} + \frac{1}{\textcolor{red}{1} + \frac{1}{\textcolor{red}{2} + \frac{1}{\textcolor{red}{11} + \frac{1}{\textcolor{red}{2}}}}}}$

$\textcolor{w h i t e}{2.596638655462} = 2 + \frac{1}{1 + \frac{1}{1 + \frac{1}{2 + \frac{2}{23}}}}$

$\textcolor{w h i t e}{2.596638655462} = 2 + \frac{1}{1 + \frac{1}{1 + \frac{23}{48}}}$

$\textcolor{w h i t e}{2.596638655462} = 2 + \frac{1}{1 + \frac{48}{71}}$

$\textcolor{w h i t e}{2.596638655462} = 2 + \frac{71}{119}$

$\textcolor{w h i t e}{2.596638655462} = \frac{309}{119}$