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=QIwhereQI=\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:

NWZQR\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 opposites12,1,0,5,34-12, -1, 0, 5, 34
Rational NumbersQ\mathbb{Q}{ab  |  a,bZ,b0}\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}{xRxQ}\{x \in \mathbb{R} \mid x \notin \mathbb{Q}\}Non-terminating and non-repeating decimals2,3,π3.14159,e2.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+bRa + b \in \mathbb{R} for all a,bRa, b \in \mathbb{R}abRa \cdot b \in \mathbb{R} for all a,bRa, b \in \mathbb{R}
Commutativea+b=b+aa + b = b + aab=baa \cdot b = b \cdot a
Associative(a+b)+c=a+(b+c)(a + b) + c = a + (b + c)(ab)c=a(bc)(a \cdot b) \cdot c = a \cdot (b \cdot c)
Identitya+0=aa + 0 = a (00 is the unique additive identity)a1=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 a0a \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+yy+xx + y \to y + x), whereas the Associative Property alters the structural grouping of terms without modifying their sequential positions ((x+y)+zx+(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 qQq \in \mathbb{Q} and infinitely many irrational numbers rIr \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+210000.33141420.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 SRS \subset \mathbb{R} that is bounded above possesses a least upper bound (also called the supremum, supS\sup S) residing in R\mathbb{R}.

Consider the set S={xQx2<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 2Q\sqrt{2} \notin \mathbb{Q}. In R\mathbb{R}, however, supS=2R\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 x0xif 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,bRa, b \in \mathbb{R} on the number line is given by the absolute difference:

d(a,b)=ab=bad(a, b) = |a - b| = |b - a|

Fundamental Properties of Absolute Value

  1. Non-negativity: x0|x| \ge 0, and x=0    x=0|x| = 0 \iff x = 0.
  2. Symmetry: x=x|-x| = |x| and ab=ba|a - b| = |b - a|.
  3. Multiplicativity: ab=ab|ab| = |a| \cdot |b|.
  4. Quotient Rule: ab=ab\left| \frac{a}{b} \right| = \frac{|a|}{|b|} for b0b \neq 0.
  5. Triangle Inequality: a+ba+b|a + b| \le |a| + |b| for all a,bRa, 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=2ab+a+b2E = -2 |a - b| + |a + b|^2

Step-by-Step Solution:

  1. Calculate distance d(a,b)d(a, b): d(9,4)=94=13=13d(-9, 4) = |-9 - 4| = |-13| = 13
  2. Substitute a=9a = -9 and b=4b = 4 into EE: E=294+9+42E = -2 |-9 - 4| + |-9 + 4|^2
  3. Evaluate absolute value terms:
    • First term: 213=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[334(83)]+365232\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: (83)=5(8 - 3) = 5.
    • Numerator absolute value: 36=36|-36| = 36.
    • Denominator absolute value: 5=5|-5| = 5. 4[334(5)]+365232\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[274(5)]+36259\frac{4 \left[ 27 - 4(5) \right] + 36}{25 - 9}
  3. Perform multiplication inside numerator bracket:
    • 4(5)=20    2720=74(5) = 20 \implies 27 - 20 = 7. 4[7]+36259\frac{4[7] + 36}{25 - 9}
  4. Simplify numerator multiplication and denominator subtraction:
    • Numerator: 47=28    28+36=644 \cdot 7 = 28 \implies 28 + 36 = 64.
    • Denominator: 259=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=4930.6x = \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=7323=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
B
C
D
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
B
C
D
Test Your Knowledge

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

A
B
C
D
Test Your Knowledge

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

A
B
C
D