PracticeVideosBlogFlashcards

5.1 Real Number System & Order of Operations

Key Takeaways

  • The real numbers are the union of the rational and irrational numbers, organised in the nested hierarchy naturals within wholes within integers within rationals within reals.

  • The Density Property guarantees infinitely many rational and irrational numbers between any two distinct reals, while the Completeness Axiom ensures every non-empty set of reals bounded above has a least upper bound.

  • The distance between two numbers a and b on the real line is d(a, b) = |a - b|, satisfying non-negativity, symmetry, and the Triangle Inequality |a + b| <= |a| + |b|.

  • Evaluating nested numerical expressions requires strict order of operations, treating fraction bars, radical signs, and absolute value bars as implicit grouping symbols.

Last updated: August 2026

5.1 Real Number System & Order of Operations

The foundation of college algebra and advanced mathematical analysis rests upon the axiomatic structure of the real number system (denoted by R\mathbb{R}). A rigorous understanding of real numbers requires examining their nested subset hierarchy, foundational field axioms, fundamental topological properties of density and completeness, and the distance metrics governed by absolute value. Furthermore, evaluating high-level algebraic expressions demands strict, unambiguous adherence to the order of operations.


Structure and Subset Hierarchy of R\mathbb{R}

The real number system encompasses all numbers that can represent a continuous magnitude or distance along a one-dimensional line. Mathematically, R\mathbb{R} is partitioned into two mutually exclusive sets: rational numbers (Q\mathbb{Q}) and irrational numbers (I\mathbb{I}).

R=Q∪IwhereQ∩I=∅\mathbb{R} = \mathbb{Q} \cup \mathbb{I} \quad \text{where} \quad \mathbb{Q} \cap \mathbb{I} = \emptyset

The Nested Subset Chain

Within the set of rational numbers, several fundamental number sets build upon one another in a strict nested containment chain:

N⊂W⊂Z⊂Q⊂R\mathbb{N} \subset \mathbb{W} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}
Number SetSymbolFormal Set DefinitionDecimal RepresentationCanonical Examples
Natural NumbersN\mathbb{N}{1,2,3,4,… }\{1, 2, 3, 4, \dots\}Positive integers1,7,42,1001, 7, 42, 100
Whole NumbersW\mathbb{W}{0,1,2,3,… }=N∪{0}\{0, 1, 2, 3, \dots\} = \mathbb{N} \cup \{0\}Non-negative integers0,1,15,890, 1, 15, 89
IntegersZ\mathbb{Z}{…,−3,−2,−1,0,1,2,3,… }\{\dots, -3, -2, -1, 0, 1, 2, 3, \dots\}Whole numbers and negative opposites−12,−1,0,5,34-12, -1, 0, 5, 34
Rational NumbersQ\mathbb{Q}{ab  |  a,b∈Z,b≠0}\left\{\frac{a}{b} \;\middle\vert\; a, b \in \mathbb{Z}, b \neq 0\right\}Terminating or repeating decimals38=0.375\frac{3}{8} = 0.375, −411=−0.36‾-\frac{4}{11} = -0.\overline{36}
Irrational NumbersI\mathbb{I}{x∈R∣x∉Q}\{x \in \mathbb{R} \mid x \notin \mathbb{Q}\}Non-terminating and non-repeating decimals2,3,π≈3.14159,e≈2.71828\sqrt{2}, \sqrt{3}, \pi \approx 3.14159, e \approx 2.71828

Axiomatic Foundations: Field Properties of Real Numbers

Under standard addition (++) and multiplication (⋅\cdot), the real number set R\mathbb{R} forms an algebraic field. The field axioms govern all valid algebraic manipulations, expression simplifications, and equation-solving transformations.

Axiom PropertyAdditive Structure (++)Multiplicative Structure (⋅\cdot)
Closurea+b∈Ra + b \in \mathbb{R} for all a,b∈Ra, b \in \mathbb{R}a⋅b∈Ra \cdot b \in \mathbb{R} for all a,b∈Ra, b \in \mathbb{R}
Commutativea+b=b+aa + b = b + aa⋅b=b⋅aa \cdot b = b \cdot a
Associative(a+b)+c=a+(b+c)(a + b) + c = a + (b + c)(a⋅b)⋅c=a⋅(b⋅c)(a \cdot b) \cdot c = a \cdot (b \cdot c)
Identitya+0=aa + 0 = a (00 is the unique additive identity)a⋅1=aa \cdot 1 = a (11 is the unique multiplicative identity)
Inversea+(−a)=0a + (-a) = 0 (−a-a is the additive inverse)a⋅(1a)=1a \cdot \left(\frac{1}{a}\right) = 1 for a≠0a \neq 0 (1a\frac{1}{a} is the multiplicative inverse)
Distributivea(b+c)=ab+aca(b + c) = ab + ac(b+c)a=ba+ca(b + c)a = ba + ca

Key Algebraic Distinction: The Commutative Property alters the linear order of terms (x+y→y+xx + y \to y + x), whereas the Associative Property alters the structural grouping of terms without modifying their sequential positions ((x+y)+z→x+(y+z)(x + y) + z \to x + (y + z)).


Topological Properties: Density and Completeness

Two critical topological characteristics set the real number continuum apart from smaller numerical systems:

1. The Density Property

Both rational numbers Q\mathbb{Q} and irrational numbers I\mathbb{I} are dense in R\mathbb{R}. Formally, between any two distinct real numbers aa and bb (where a<ba < b), there exists at least one rational number q∈Qq \in \mathbb{Q} and infinitely many irrational numbers r∈Ir \in \mathbb{I}.

For example, between 0.330.33 and 0.340.34, the midpoint 0.33+0.342=0.335=67200\frac{0.33 + 0.34}{2} = 0.335 = \frac{67}{200} is rational, whereas 0.33+21000≈0.3314142…0.33 + \frac{\sqrt{2}}{1000} \approx 0.3314142\dots is irrational.

2. The Completeness Axiom (Least Upper Bound Property)

While the rational numbers are dense, Q\mathbb{Q} contains "gaps" or holes (for instance, 2\sqrt{2} represents a missing point on the rational line). The Completeness Axiom states that every non-empty set of real numbers S⊂RS \subset \mathbb{R} that is bounded above possesses a least upper bound (also called the supremum, sup⁡S\sup S) residing in R\mathbb{R}.

Consider the set S={x∈Q∣x2<2}S = \{x \in \mathbb{Q} \mid x^2 < 2\}. In Q\mathbb{Q}, this set has rational upper bounds (such as 1.51.5 or 1.421.42), but no least rational upper bound because 2∉Q\sqrt{2} \notin \mathbb{Q}. In R\mathbb{R}, however, sup⁡S=2∈R\sup S = \sqrt{2} \in \mathbb{R}. Completeness guarantees that the real line is a continuous, unbroken continuum without any gaps.


Absolute Value Metric and Distance on the Real Line

The absolute value of a real number xx, denoted ∣x∣|x|, represents its magnitude or undirected geometric distance from the origin 00 on the number line. Formally, absolute value is defined piecewise as:

∣x∣={xif x≥0−xif x<0|x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}

Metric Distance Formula on R\mathbb{R}

The distance d(a,b)d(a, b) between any two points a,b∈Ra, b \in \mathbb{R} on the number line is given by the absolute difference:

d(a,b)=∣a−b∣=∣b−a∣d(a, b) = |a - b| = |b - a|

Fundamental Properties of Absolute Value

  1. Non-negativity: ∣x∣≥0|x| \ge 0, and ∣x∣=0  ⟺  x=0|x| = 0 \iff x = 0.
  2. Symmetry: ∣−x∣=∣x∣|-x| = |x| and ∣a−b∣=∣b−a∣|a - b| = |b - a|.
  3. Multiplicativity: ∣ab∣=∣a∣⋅∣b∣|ab| = |a| \cdot |b|.
  4. Quotient Rule: ∣ab∣=∣a∣∣b∣\left| \frac{a}{b} \right| = \frac{|a|}{|b|} for b≠0b \neq 0.
  5. Triangle Inequality: ∣a+b∣≤∣a∣+∣b∣|a + b| \le |a| + |b| for all a,b∈Ra, b \in \mathbb{R}. Equality holds if and only if aa and bb share the same algebraic sign (or at least one is zero).

Order of Operations (PEMDAS / GEMDAS)

To ensure unambiguous evaluation of numerical and algebraic expressions, operations are executed according to the standardized hierarchy:

  1. P / G - Grouping Symbols: Evaluate expressions inside grouping symbols from innermost to outermost. Grouping symbols include parentheses (), brackets [], braces {}, absolute value bars | |, radical signs …\sqrt{\dots}, and implicit fraction bars NumeratorDenominator\frac{\text{Numerator}}{\text{Denominator}}.
  2. E - Exponents & Radicals: Evaluate all exponential powers and roots next. A tower of exponents is evaluated from the top down (right-associative), so 2322^{3^2} means 29=5122^9 = 512 and not (23)2=64(2^3)^2 = 64.
  3. M / D - Multiplication & Division: Perform multiplication and division in strict left-to-right order (these operations hold equal precedence).
  4. A / S - Addition & Subtraction: Perform addition and subtraction in strict left-to-right order (these operations hold equal precedence).

Comprehensive Worked Examples

Worked Example 1: Absolute Value Metric & Distance Evaluation

Problem: Find the distance between a=−9a = -9 and b=4b = 4 on the number line, and evaluate the expression:

E=−2∣a−b∣+∣a+b∣2E = -2 |a - b| + |a + b|^2

Step-by-Step Solution:

  1. Calculate distance d(a,b)d(a, b): d(−9,4)=∣−9−4∣=∣−13∣=13d(-9, 4) = |-9 - 4| = |-13| = 13
  2. Substitute a=−9a = -9 and b=4b = 4 into EE: E=−2∣−9−4∣+∣−9+4∣2E = -2 |-9 - 4| + |-9 + 4|^2
  3. Evaluate absolute value terms:
    • First term: −2∣−13∣=−2(13)=−26-2 |-13| = -2(13) = -26.
    • Second term: ∣−9+4∣=∣−5∣=5|-9 + 4| = |-5| = 5.
  4. Square the magnitude: 52=255^2 = 25
  5. Combine terms: E=−26+25=−1E = -26 + 25 = -1

Worked Example 2: Complex Nested Order of Operations

Problem: Evaluate the numerical expression:

4[33−4(8−3)]+∣−36∣∣−5∣2−32\frac{4 \left[ 3^3 - 4(8 - 3) \right] + |-36|}{\left| -5 \right|^2 - 3^2}

Step-by-Step Solution:

  1. Simplify innermost parentheses & absolute values:
    • Numerator inner parenthesis: (8−3)=5(8 - 3) = 5.
    • Numerator absolute value: ∣−36∣=36|-36| = 36.
    • Denominator absolute value: ∣−5∣=5|-5| = 5.
    4[33−4(5)]+3652−32\frac{4 \left[ 3^3 - 4(5) \right] + 36}{5^2 - 3^2}
  2. Evaluate exponents:
    • 33=273^3 = 27.
    • 52=255^2 = 25 and 32=93^2 = 9.
    4[27−4(5)]+3625−9\frac{4 \left[ 27 - 4(5) \right] + 36}{25 - 9}
  3. Perform multiplication inside numerator bracket:
    • 4(5)=20  ⟹  27−20=74(5) = 20 \implies 27 - 20 = 7.
    4[7]+3625−9\frac{4[7] + 36}{25 - 9}
  4. Simplify numerator multiplication and denominator subtraction:
    • Numerator: 4⋅7=28  ⟹  28+36=644 \cdot 7 = 28 \implies 28 + 36 = 64.
    • Denominator: 25−9=1625 - 9 = 16.
    6416\frac{64}{16}
  5. Divide numerator by denominator: 6416=4.0\frac{64}{16} = 4.0

Worked Example 3: Subset Classification & Field Axiom Verification

Problem: Classify the number x=493−0.6‾x = \frac{\sqrt{49}}{3} - 0.\overline{6} into its narrowest number set, and state the field axiom that justifies why x+(−x)=0x + (-x) = 0.

Step-by-Step Solution:

  1. Simplify 49\sqrt{49}: 49=7\sqrt{49} = 7, so 493=73\frac{\sqrt{49}}{3} = \frac{7}{3}.
  2. Convert repeating decimal to fraction: 0.6‾=230.\overline{6} = \frac{2}{3}.
  3. Subtract fractions: x=73−23=53x = \frac{7}{3} - \frac{2}{3} = \frac{5}{3}.
  4. Classify: Since x=53x = \frac{5}{3} is a ratio of integers with non-zero denominator, its narrowest set classification is the Rational Numbers (Q\mathbb{Q}).
  5. Identify Axiom: The identity x+(−x)=0x + (-x) = 0 is guaranteed by the Additive Inverse Property of real numbers.
Loading diagram...
Nested Subset Hierarchy of the Real Number System
Test Your Knowledge

Which of the following statements correctly distinguishes the Real Number System from the Rational Number System?

A

The real numbers satisfy the Completeness Axiom, guaranteeing that every non-empty set bounded above has a supremum in R, whereas the rational numbers do not.

B

The rational numbers satisfy the commutative property of multiplication, whereas real numbers do not.

C

Rational numbers are dense on the number line, whereas real numbers contain gaps between integer values.

D

The set of rational numbers is uncountably infinite, whereas the set of real numbers is countably infinite.

Test Your Knowledge

What is the distance on the real number line between the points x = -9 and y = 4, and what is the value of the expression |x - y| - |x + y|?

A

Distance is 13, and the expression equals 18

B

Distance is 13, and the expression equals 8

C

Distance is 5, and the expression equals 8

D

Distance is 5, and the expression equals -8

Test Your Knowledge

Evaluate the nested numerical expression: (4 * [ 3^3 - 4(8 - 3) ] + |-36|) / (| -5 |^2 - 3^2)

A

1.5

B

2.5

C

4.0

D

3.0

Test Your Knowledge

Which field axiom justifies the equivalence (3x + 5) + 7 = 3x + (5 + 7)?

A

Commutative Property of Addition

B

Distributive Property

C

Additive Identity Property

D

Associative Property of Addition

Sections you finish are checked off in the contents.