Fiveable

โž•Pre-Algebra Unit 7 Review

QR code for Pre-Algebra practice questions

7.1 Rational and Irrational Numbers

7.1 Rational and Irrational Numbers

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
โž•Pre-Algebra
Unit & Topic Study Guides

Understanding Rational and Irrational Numbers

Every number you'll work with in this course falls somewhere on the real number line. The two big categories are rational and irrational numbers. Knowing which type a number belongs to helps you understand how numbers behave and how they relate to each other.

Rational vs. Irrational Numbers

Rational numbers can be written as a fraction ab\frac{a}{b}, where aa and bb are both integers and bโ‰ 0b \neq 0. This includes more types of numbers than you might expect:

  • Integers like 33 (which is really 31\frac{3}{1})
  • Fractions like 25\frac{2}{5}
  • Terminating decimals like 0.750.75 (which equals 34\frac{3}{4})
  • Repeating decimals like 0.3โ€พ0.\overline{3} (which equals 13\frac{1}{3})

The key test: if the decimal either stops or repeats a pattern, it's rational.

Irrational numbers are the opposite. They cannot be written as a fraction of two integers. Their decimals go on forever without ever settling into a repeating pattern. Common examples include 2\sqrt{2}, ฯ€\pi, and 5\sqrt{5}.

A common mistake is thinking that a long decimal must be irrational. That's not true. The decimal 0.333333...0.333333... goes on forever, but it repeats, so it's rational. An irrational number like 2=1.41421356...\sqrt{2} = 1.41421356... never repeats.

Rational vs irrational numbers, Summary: Classes of Real Numbers | Developmental Math Emporium

Decimal to Fraction Conversions

Terminating decimals to fractions:

  1. Write the decimal over a power of 10 that matches the number of decimal places.
  2. Simplify the fraction.

For example: 0.25=25100=140.25 = \frac{25}{100} = \frac{1}{4}

Repeating decimals to fractions take a bit more work. Here's the method using 0.3โ€พ0.\overline{3} as an example:

  1. Let x=0.3โ€พx = 0.\overline{3}

  2. Multiply both sides by 10: 10x=3.3โ€พ10x = 3.\overline{3}

  3. Subtract the original equation from this new one: 10xโˆ’x=3.3โ€พโˆ’0.3โ€พ10x - x = 3.\overline{3} - 0.\overline{3}

  4. Simplify: 9x=39x = 3

  5. Solve: x=13x = \frac{1}{3}

The trick in step 2 is choosing the right power of 10. If one digit repeats, multiply by 10. If two digits repeat (like 0.36โ€พ0.\overline{36}), multiply by 100. Match the power of 10 to the length of the repeating block.

Fractions to decimals: Just divide the numerator by the denominator. For example, 38=0.375\frac{3}{8} = 0.375.

Rational vs irrational numbers, Decimals ยท Intermediate Algebra

Categorization of Real Numbers

Real numbers include every number on the number line. They break down into subsets that nest inside each other:

  • Whole numbers: non-negative integers (0,1,2,3,โ€ฆ0, 1, 2, 3, \ldots)
  • Integers: whole numbers plus negatives (โ€ฆ,โˆ’3,โˆ’2,โˆ’1,0,1,2,3,โ€ฆ\ldots, -3, -2, -1, 0, 1, 2, 3, \ldots)
  • Rational numbers: anything expressible as ab\frac{a}{b} where aa and bb are integers and bโ‰ 0b \neq 0
  • Irrational numbers: real numbers that are not rational (3\sqrt{3}, ฯ€\pi)

Relationships Between Number Sets

These sets nest like boxes inside boxes:

Wholeย numbersโŠ‚IntegersโŠ‚Rationalย numbersโŠ‚Realย numbers\text{Whole numbers} \subset \text{Integers} \subset \text{Rational numbers} \subset \text{Real numbers}

Every whole number is an integer, every integer is rational, and every rational number is real. Irrational numbers are also real, but they sit completely outside the rational numbers. There's no overlap between rational and irrational.

Together, rational and irrational numbers account for every point on the number line. The rational numbers alone leave gaps (where numbers like 2\sqrt{2} live), and the irrational numbers fill those gaps. Between any two real numbers, no matter how close together, there are infinitely many more real numbers. This property is called density.