Courses / Mathematics I
Arithmetic and Number Theory

Rational and Irrational Numbers

Mathematics I 213 words Free to read

Rational Numbers and Decimals

The rational numbers Q\mathbb{Q} are ratios ab\frac{a}{b} of integers (b≠0b \neq 0). Every rational has a lowest-terms form where gcd⁡(a,b)=1\gcd(a, b) = 1.

Fraction arithmetic uses these rules:

OperationFormulaNotes
Additionab+cd=ad+bcbd\frac{a}{b} + \frac{c}{d} = \frac{ad + bc}{bd}Common denominator
Multiplicationab⋅cd=acbd\frac{a}{b} \cdot \frac{c}{d} = \frac{ac}{bd}Numerators & denominators

Decimal Signature: A number is rational iff its decimal expansion terminates or eventually repeats.

Irrationals and Real Density

The irrational numbers are reals that are not rational; their decimals run forever without repeating. Examples: 2\sqrt{2}, π\pi, ee.

Proof by Contradiction: Assume 2=ab\sqrt{2} = \frac{a}{b} in lowest terms. Then a2=2b2a^2 = 2b^2, forcing both aa and bb to be even, which violates lowest terms.

SetCardinalityDecimal Form
RationalsCountableTerminates / Repeats
IrrationalsUncountableInfinite & Non-repeating

Both sets are dense (both appear between any two reals).

Common Pitfall: Believing endless decimals are irrational. 0.333…0.333\dots runs forever, but it repeats, making it rational.

Zooming toward $\\sqrt2$ keeps finding a rational beside it; the bar

Practise this lesson

Try the questions below, free, answers included. The full set, with its interactive scenes, is in the Tryals app.

13practice questions
2interactive scenes

Arithmetic and Number Theory