Back to homeMathematics · Algebra 1 · Change subject
Start for free
Algebra 1 · Mathematics
Numbers · Numbers

Rational Numbers

Before you start, make sure you know: Fractions and decimals (Math 8 (Pre-Algebra))
Before you start, make sure you know: Generating fraction of a decimal number (Math 7)

Emma types $1 \div 3$ into her calculator and sees $0.3333333$. She multiplies by $3$ and the screen shows $0.9999999$. But $3 \times \tfrac{1}{3}$ is exactly $1$. So is $0.999\ldots$ really equal to $1$, or just very close? By the end of this page you'll be able to prove it, and you'll know how to turn any repeating decimal into an exact fraction.

Rational numbers and number sets

Every number you have met so far lives in a "family". Each family fits inside a bigger one.

Nested diagram of number sets: natural numbers inside integers inside rational numbers, with irrational numbers outside the rationals but inside the real numbers Real numbers ℝ Rational ℚ Integers ℤ Natural ℕ 1, 2, 3… 0 −1, −2… 3/4 −7/2 0.333… Irrational 𝕀 √7, π 0.1010010001…

Whole numbers and integers are rational too: $5 = \frac{5}{1}$ and $-3 = \frac{-3}{1}$. So $\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q}$, where $\mathbb{N} = \{1, 2, 3, \ldots\}$ are the natural (counting) numbers and $\mathbb{Z}$ are the integers.

Decimals fit in too. $2.5 = \frac{5}{2}$ and $0.75 = \frac{3}{4}$, so terminating decimals are rational. Repeating decimals are rational as well, and you'll learn how to prove it below. A decimal that never ends and never repeats, like $\sqrt{7}$ or $\pi$, is irrational. We write $\mathbb{I}$ for the irrational numbers, and they get their own page.

Each number belongs to many sets, so "classify" means: name the smallest set that contains it.

Practice★☆☆Not started
Classify the following numbers by indicating the smallest numerical set to which they belong ($\mathbb{N}$, $\mathbb{Z}$, $\mathbb{Q}$, $\mathbb{I}$): $-5$;…

Classify the following numbers by indicating the smallest numerical set to which they belong ($\mathbb{N}$, $\mathbb{Z}$, $\mathbb{Q}$, $\mathbb{I}$): $-5$; $\frac{8}{2}$; $1,2\widehat{3}$; $\sqrt{7}$.

Solve

Fractions as decimals: terminating or repeating?

Divide the top of a fraction by the bottom and you always get a decimal. It either stops (terminating) or repeats forever. A bar marks the repeating block: $0.\overline{27} = 0.272727\ldots$ Some problems use a hat instead, as in $2.\widehat{7}$, which means the same thing as $2.\overline{7}$.

Repeating decimals come in two flavors:

  • Purely repeating: the block repeats right after the decimal point, like $0.\overline{27}$.

  • Mixed repeating: some non-repeating digits come first, like $0.8\overline{3}$.

You can tell which one you'll get without dividing. Look at the denominator.

Flow chart: write the fraction in simplest form, factor the denominator, and decide whether the decimal terminates, repeats purely, or repeats in a mixed way Simplest form a/b → factor the denominator b Only 2s and 5s 20 = 2² · 5 terminating No 2s or 5s 33 = 3 · 11 purely repeating 2 or 5, plus another prime 14 = 2 · 7 mixed repeating

The same idea tells you which numerators work.

Practice★☆☆Not started
Classify the following fractions according to the type of decimal expression they generate (terminating, pure repeating or mixed repeating) without performing the…

Classify the following fractions according to the type of decimal expression they generate (terminating, pure repeating or mixed repeating) without performing the division: $\frac{7}{20}$, $\frac{5}{33}$, $\frac{11}{9}$ and $\frac{3}{14}$.

Solve
Practice★★☆Not started
Determine the value of $x$ so that the fraction $\frac{x}{42}$ generates a terminating decimal number, knowing that $x$ is a natural number less than $25$. Justify your…

Determine the value of $x$ so that the fraction $\frac{x}{42}$ generates a terminating decimal number, knowing that $x$ is a natural number less than $25$. Justify your answer using the prime factorization of the denominator.

Solve

From a repeating decimal back to a fraction

Every terminating or repeating decimal is a fraction. Some problems call that fraction the irreducible generating fraction, which just means the fraction in simplest form that equals the decimal.

Terminating decimals are easy: read the place value. $1.35 = \frac{135}{100} = \frac{27}{20}$.

Repeating decimals need a trick. Multiply by a power of $10$ so the endless tails line up, then subtract and the tails cancel.

When digits come before the repeating block (mixed), use two multipliers: one that puts the decimal point just before the repeating block, and one that puts it just after the first block.

Writing 2.1666… as a fraction: multiply by 10 and by 100 so the repeating tails match, subtract, and solve for x x = 2 .1666… 10x = 21 .666… 100x = 216 .666… 100x − 10x: 216 − 21 = 195 (the tails cancel) 90x = 195, so x = 195/90 = 13/6
Practice★☆☆Not started
Find the irreducible generating fraction of the following decimal numbers: $3,45$ and $2,\widehat{7}$.

Find the irreducible generating fraction of the following decimal numbers: $3,45$ and $2,\widehat{7}$.

Solve
Practice★★☆Not started
Find the irreducible generating fraction of the decimal number $4,1\widehat{36}$.

Find the irreducible generating fraction of the decimal number $4,1\widehat{36}$.

Solve
Practice★★☆Not started
Evaluate the following operation by first converting the decimal numbers to their generating fractions and simplify the result:…

Evaluate the following operation by first converting the decimal numbers to their generating fractions and simplify the result: $1,\widehat{5} + 0,2\widehat{3} - \frac{5}{6}$.

Solve

Is $0.999\ldots$ really $1$?

Now we can settle Emma's calculator puzzle. First, use the method on $0.\overline{3}$. Let $x = 0.333\ldots$, so $10x = 3.333\ldots$ Subtract: $9x = 3$, so $x = \frac{1}{3}$. That confirms what the calculator suggests: $0.\overline{3} = \frac{1}{3}$ exactly.

Now multiply both sides by $3$:

$$3 \times 0.\overline{3} = 0.\overline{9} \qquad\text{and}\qquad 3 \times \tfrac{1}{3} = 1$$

So $0.\overline{9} = 1$.

Number line from 0.8 to 1 with dots at 0.9, 0.99 and 0.999 piling up against 1 0.8 1 0.9 0.99 0.999 0.9, 0.99, 0.999, … creep toward 1; the endless string 0.999… is exactly 1.

Back to the start: Emma's calculator only shows seven $9$s, so it shows a rounded-off version. The full, never-ending $0.999\ldots$ is not "almost" $1$. It is another name for $1$, just as $\frac{1}{2}$ and $\frac{2}{4}$ are two names for one number. The same thing happens with every terminating decimal: $0.5 = 0.4\overline{9}$.

Your turn: prove $0.\overline{9} = 1$ directly with the subtract-the-tails method.

Practice★★★Not started
Prove mathematically, using the algorithm to obtain the generating fraction, that the pure repeating decimal number $0,\widehat{9}$ is exactly equal to the natural…

Prove mathematically, using the algorithm to obtain the generating fraction, that the pure repeating decimal number $0,\widehat{9}$ is exactly equal to the natural number $1$.

Solve

Operating with rational numbers

When an expression mixes fractions, decimals, powers, and roots, convert everything to fractions first (write repeating decimals as fractions, $1.5 = \frac{3}{2}$, $\sqrt{0.25} = \frac{1}{2}$). Then the answer is exact, with no rounding.

Practice★☆☆Not started
Evaluate the following operation with fractions and simplify the result: $\frac{3}{4} - \frac{1}{2} \cdot \left( \frac{4}{5} + \frac{1}{3} \right)$.

Evaluate the following operation with fractions and simplify the result: $\frac{3}{4} - \frac{1}{2} \cdot \left( \frac{4}{5} + \frac{1}{3} \right)$.

Solve
Practice★★☆Not started
Simplify the following expression using the laws of exponents and leaving the result as an irreducible fraction:…

Simplify the following expression using the laws of exponents and leaving the result as an irreducible fraction: $\left( \frac{2}{3} \right)^{-2} \cdot \left( \frac{9}{4} \right)^3 \div \left( \frac{3}{2} \right)^5$.

Solve
Practice★★★Not started
Evaluate the following combined operation, expressing the final result as an irreducible fraction:…

Evaluate the following combined operation, expressing the final result as an irreducible fraction: $\frac{\left( 0,\widehat{3} + \frac{1}{2} \right)^{-1} \cdot 1,1\widehat{6}}{\sqrt{0,25} - \frac{1}{3}}$.

Solve

Ordering, the number line, and density

Comparing rational numbers

To compare, put the numbers in the same form. Either rewrite the fractions over a common denominator, or turn everything into decimals and line up the digits. For a repeating decimal, write out several digits.

Placing them on the number line

To plot $\frac{a}{b}$ exactly, split each unit into $b$ equal pieces and count $a$ of them from $0$ (to the right if positive, to the left if negative). For an improper fraction it helps to write a mixed number first. $\frac{11}{4} = 2\frac{3}{4}$: go $2$ whole units right, then $3$ fourths more. $-\frac{5}{3} = -1\frac{2}{3}$: go $1$ unit left, then $2$ thirds more.

Density

Between two rational numbers there is always another one, and then another, and so on forever.

Practice★☆☆Not started
Order the following rational numbers from smallest to largest: $\frac{5}{6}$, $0,83$, $0,\widehat{8}$, $\frac{7}{8}$.

Order the following rational numbers from smallest to largest: $\frac{5}{6}$, $0,83$, $0,\widehat{8}$, $\frac{7}{8}$.

Solve
Practice★☆☆Not started
Represent the rational numbers $\frac{5}{3}$ and $-\frac{7}{4}$ exactly on the number line.

Represent the rational numbers $\frac{5}{3}$ and $-\frac{7}{4}$ exactly on the number line.

Solve
Practice★☆☆Not started
Find two different rational numbers that are strictly between $\frac{2}{5}$ and $\frac{3}{5}$.

Find two different rational numbers that are strictly between $\frac{2}{5}$ and $\frac{3}{5}$.

Solve

Fractions of a quantity

Fractions are everywhere in word problems. Three ideas cover most of them.

Practice★☆☆Not started
A baking recipe requires $\frac{3}{4}$ of a pound of flour to make a cake. If you have $2,5$ lb of flour, how many whole cakes can you make and what fraction of a pound…

A baking recipe requires $\frac{3}{4}$ of a pound of flour to make a cake. If you have $2,5$ lb of flour, how many whole cakes can you make and what fraction of a pound will you have left over?

Solve
Practice★★☆Not started
A farmer sells $\frac{1}{3}$ of his tomato harvest in the morning and $\frac{2}{5}$ of the remainder in the afternoon. If he still has $480$ lb left in the warehouse,…

A farmer sells $\frac{1}{3}$ of his tomato harvest in the morning and $\frac{2}{5}$ of the remainder in the afternoon. If he still has $480$ lb left in the warehouse, how many pounds of tomatoes did he harvest in total?

Solve
Practice★★☆Not started
To make a handmade perfume, $\frac{2}{5}$ of a gallon of lavender essence is mixed with $\frac{1}{4}$ of a gallon of pure alcohol and the rest is distilled water to fill…

To make a handmade perfume, $\frac{2}{5}$ of a gallon of lavender essence is mixed with $\frac{1}{4}$ of a gallon of pure alcohol and the rest is distilled water to fill a $1,5$-gallon bottle. What fraction of the bottle does the distilled water represent?

Solve

Ratios and repeated fractions

"$5$ out of every $8$" is the fraction $\frac{5}{8}$. The rest is $1 - \frac{5}{8} = \frac{3}{8}$. If you know how many are in one group, divide by its fraction to get the total.

When one quantity depends on another by a fraction, and that depends on a third, multiply the fractions along the chain.

If the same fraction is applied again and again, you get a power. This is exactly how a bouncing ball behaves.

Bar chart of a ball dropped from 27 feet where each bounce reaches two thirds of the previous height: 27, 18, 12 and 8 feet 27 ft 18 ft 12 ft 8 ft × 2/3 × 2/3 × 2/3 drop bounce 1 bounce 2 bounce 3

A ball dropped from $27$ ft that rebounds to $\frac{2}{3}$ of its previous height reaches $27 \cdot \left(\frac{2}{3}\right)^3 = 27 \cdot \frac{8}{27} = 8$ ft on the third bounce. After $n$ bounces the height is $h \cdot r^n$, a geometric sequence with common ratio $r$. When $r$ is a fraction whose denominator is a power of $2$ (or $5$), the result is a terminating decimal, as you saw earlier.

Practice★★☆Not started
In a basketball game, a player scores $5$ out of every $8$ free throws she takes. If she has missed $24$ free throws throughout the season, how many has she taken in…

In a basketball game, a player scores $5$ out of every $8$ free throws she takes. If she has missed $24$ free throws throughout the season, how many has she taken in total and what is her success percentage expressed as a decimal number?

Solve
Practice★★★Not started
A gear system is made up of three cogwheels. The first wheel turns $\frac{15}{4}$ of a revolution per minute. The second wheel turns $\frac{5}{2}$ of a revolution for…

A gear system is made up of three cogwheels. The first wheel turns $\frac{15}{4}$ of a revolution per minute. The second wheel turns $\frac{5}{2}$ of a revolution for every revolution the first one makes, and the third wheel turns $\frac{4}{3}$ of a revolution for every revolution the second one makes. How many complete revolutions will the third wheel make in $8$ minutes?

Solve
Practice★★★Not started
A special rubber ball is dropped from an initial height of $10$ feet. On each bounce, it reaches a height equal to $\frac{3}{4}$ of the height of the previous bounce.…

A special rubber ball is dropped from an initial height of $10$ feet. On each bounce, it reaches a height equal to $\frac{3}{4}$ of the height of the previous bounce. Calculate the height it will reach on the fourth bounce and express it as a terminating decimal number.

Solve

Working together and sharing

Rates. If a tap fills a tank in $t$ hours, then in $1$ hour it fills $\frac{1}{t}$ of the tank. Rates add when machines work together, and a drain subtracts. Once you know the combined fraction per hour, the time to fill the whole tank is its reciprocal.

Shares. When several people put in fractions of the total, the leftover fraction is $1$ minus the others. If profits are shared in proportion to what each person invested, each person gets the same fraction of the profit as of the investment.

In the widget, the parts $2 : 3 : 5$ are the fractions $\frac{1}{5}, \frac{3}{10}, \frac{1}{2}$ of the total.

Practice★★★Not started
An irrigation water tank has two filling taps and a drain. The first tap fills it in $4$ hours, the second tap fills it in $6$ hours, and the drain empties it completely…

An irrigation water tank has two filling taps and a drain. The first tap fills it in $4$ hours, the second tap fills it in $6$ hours, and the drain empties it completely in $8$ hours. If all three are opened at the same time when the tank is empty, what fraction of the tank will be filled in $1$ hour? How long will it take to fill completely?

Solve
Practice★★★Not started
Three partners invest in a technology company. The first contributes $\frac{1}{4}$ of the total capital, the second contributes $\frac{2}{5}$ and the third contributes…

Three partners invest in a technology company. The first contributes $\frac{1}{4}$ of the total capital, the second contributes $\frac{2}{5}$ and the third contributes the remaining $\$14\,000$. After one year, the business generates a profit of $\$8\,500$. Knowing that the profits are distributed proportionally to the invested capital, what fraction of the profits corresponds to the second partner and what exact amount of money will they receive?

Solve

Measurement error

When you measure something, the result is usually a decimal that is a little off from the exact value. Rational numbers let us say exactly how far off.

Why two kinds? Missing by $1$ inch matters a lot on a $10$-inch board and almost nothing on a $10$-mile road. The relative error compares the miss with the size of the thing measured.

Number line from 2.2 to 2.4 feet showing a measured value of 2.3 and an exact value of 7 over 3, with the gap between them labeled as the error 2.2 2.3 2.4 error = 1/30 ft measured exact 7/3
Practice★★☆Not started
When measuring the length of a piece of wood of exactly $\frac{17}{3}$ in, a carpenter records a value of $5,6$ in. Calculate the absolute error and the relative error…

When measuring the length of a piece of wood of exactly $\frac{17}{3}$ in, a carpenter records a value of $5,6$ in. Calculate the absolute error and the relative error made in the measurement, expressing the results as irreducible fractions.

Solve

Puzzles with reciprocals and integer results

The reciprocal (multiplicative inverse) of $\frac{a}{b}$ is $\frac{b}{a}$. Their product is $1$. Puzzles that involve a number and its reciprocal usually turn into an equation you can solve with Algebra 1 tools.

The graph shows $y = x + \frac{1}{x}$ and the horizontal line $y = \frac{10}{3}$. They cross at two points, which are the two solutions of the example below.

Another type of puzzle asks when a fraction with a variable is an integer. The trick is to split off the whole-number part so that only a simple fraction is left.

Practice★★★Not started
Find a positive rational number of the form $\frac{a}{b}$ such that adding its multiplicative inverse gives a result of $\frac{25}{12}$.

Find a positive rational number of the form $\frac{a}{b}$ such that adding its multiplicative inverse gives a result of $\frac{25}{12}$.

Solve
Practice★★★Not started
Determine all the integer values of $n$ for which the algebraic fraction $\frac{3n + 15}{n + 2}$ represents an integer.

Determine all the integer values of $n$ for which the algebraic fraction $\frac{3n + 15}{n + 2}$ represents an integer.

Solve

Summary

See all the exercises in this section