Number Systems

Every calculation starts with numbers. Learn natural numbers, whole numbers, integers, rationals, irrationals, reals and complex numbers; primes, composites, even/odd; the number line, intervals and absolute value; inequalities and ordering; and how the number-system hierarchy fits together.

Engineers measure lengths (positive reals), count parts (natural numbers), record temperatures below zero (integers), store sensor readings as fractions (rationals), meet √2 in diagonals and π in circles (irrationals), and describe AC voltages with complex numbers.

Knowing which set a quantity belongs to tells you what operations make sense and which errors to watch for — e.g. you cannot take a real square root of a negative number, and computers cannot store most irrationals exactly.

An analogy

Number systems are like nested boxes: natural numbers sit inside integers, integers inside rationals, rationals inside reals, and reals inside the complex numbers — each bigger box lets you solve problems the smaller box can't.

The families

Natural numbers count; whole numbers add 0; integers add negatives; rationals are ratios of integers (terminating or repeating decimals); irrationals (√2, π, e) have non-repeating decimals; reals are all points on the number line; complex numbers add an imaginary axis.

Primes and parity

A prime has exactly two divisors (2, 3, 5, 7, 11…); composites have more; 1 is neither. Even numbers are divisible by 2. Every integer > 1 factors uniquely into primes (fundamental theorem of arithmetic) — the basis of RSA encryption.

Intervals, ordering and tolerance

Intervals describe allowed ranges: a resistor of 100 Ω ± 5 % lies in [95, 105]. |x − a| ≤ r is a tolerance band. Inequalities flip direction when multiplying or dividing by a negative number.

Numbers in computers

Integers are exact within their bit width (overflow beyond); floating-point numbers approximate reals with ≈ 7 (float) or ≈ 16 (double) significant digits. 0.1 cannot be stored exactly in binary — the root of many numerical surprises.

Formulas

Worked example: Classify numbers

Given: −3, 0, 2/5, √2, 3 + 2i

Find: Which sets each belongs to.

Answer: Each number belongs to every set above its smallest set

Worked example: Tolerance interval

Given: Shaft diameter 25.00 mm ± 0.02 mm

Find: Interval and inequality.

Answer: d ∈ [24.98, 25.02] mm

Common mistakes

Applications

Key takeaways

Going further