Courses / Mathematics I
Arithmetic and Number Theory

Rational and Irrational Numbers

The rational numbers Q are ratios ab of integers (b 0). Every rational has a lowest-terms form where (a, b) = 1. Fraction arithmetic uses these rules: D…

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 (b0b \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
Multiplicationabcd=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.3330.333\dots runs forever, but it repeats, making it rational.

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

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes

Arithmetic and Number Theory