Class 3 /Mathematics

Addition & Subtraction

Addition & Subtraction · free study notes

Addition & Subtraction – Advanced Study Notes

University of Massachusetts, Department of Mathematics – Fall 2026
(Adapted for a high‑level undergraduate course, “Class 3: Mathematics”)


1. Introduction

Although addition and subtraction are elementary operations, they embody deep structural properties of the integers, rationals, reals, and more exotic algebraic systems. In this module we:

  1. Derive addition and subtraction from first principles (Peano axioms, set‑theoretic construction of (\mathbb{Z})).
  2. Formalize subtraction as the inverse operation of addition in a group.
  3. Explore edge cases: negative numbers, zero, and infinite sums (series).
  4. Discuss computational aspects (carry, borrow, algorithms).
  5. Prove key identities (commutativity, associativity, distributivity).
  6. Present advanced topics: ordered groups, lexicographic ordering, non‑standard integers.
  7. Challenge you with a non‑trivial problem.

Note: All proofs assume the reader is comfortable with set theory, basic algebra, and the usual properties of the natural numbers (\mathbb{N}).


2. First Principles: Constructing (\mathbb{Z})

2.1 Peano Axioms (for (\mathbb{N}))

  1. (0 \in \mathbb{N}).
  2. Every (n \in \mathbb{N}) has a unique successor (S(n)).
  3. (0) is not the successor of any natural number.
  4. If (S(n)=S(m)), then (n=m).
  5. (Induction) If a set (A\subseteq \mathbb{N}) contains (0) and is closed under successor, then (A=\mathbb{N}).

2.2 Defining Integers as Equivalence Classes

Let (\mathbb{N}\times\mathbb{N}) be the set of ordered pairs ((a,b)). Define an equivalence relation: [ (a,b)\sim(c,d)\quad\Longleftrightarrow\quad a+d = b+c. ] The equivalence class of ((a,b)) is denoted ([a,b]). The set of all such classes is (\mathbb{Z}).

Addition on (\mathbb{Z}): [ [a,b] + [c,d] = [a+c,,b+d]. ] Subtraction is defined via the additive inverse: [ -[a,b] = [b,a]. ] One verifies that this is well‑defined and satisfies the group axioms.


3. Formal Properties

3.1 Group Structure

The set ((\mathbb{Z},+)) is an abelian group:

Property Proof Sketch
Associativity (([a,b]+[c,d]) + [e,f] = [a+c+e,,b+d+f] = [a,b] + ([c,d]+[e,f])).
Commutativity Symmetry of coordinates.
Identity ([0,0]) acts as (0).
Inverse ([a,b] + [b,a] = [a+b,,b+a] = [0,0]).

Thus subtraction is uniquely determined by the requirement that (x - y = x + (-y)).

3.2 Ordered Group

Define a total order on (\mathbb{Z}) by: [ [a,b] < [c,d] \iff a+d < b+c. ] This turns ((\mathbb{Z},+,<)) into an ordered abelian group. The order is compatible with addition: [ x<y \implies x+z < y+z. ]

3.3 Edge Cases

Situation Behavior Remark
Adding zero (x+0 = x) Trivial from definition.
Negative numbers ([-k,0] = -k) Negative integers arise naturally.
Subtracting larger from smaller (x-y < 0) Gives a negative result.
Infinite sums Not defined in (\mathbb{Z}) Requires completion (e.g., (\mathbb{R})).

4. Computational Aspects

4.1 Carry and Borrow Algorithms

For base‑(b) arithmetic:

  • Addition: Process digits right‑to‑left, compute partial sum (s_i), carry (c_{i+1} = \lfloor s_i / b \rfloor), digit (d_i = s_i \bmod b).
  • Subtraction: Equivalent to addition of the two’s complement in binary or borrow process in decimal.

Proof of correctness uses induction on the number of digits, leveraging the base‑(b) expansion theorem.

4.2 Complexity

  • Time: (O(n)) for (n)-digit numbers.
  • Space: (O(1)) auxiliary for in‑place operations.

5. Advanced Topics

5.1 Lexicographic Ordering on (\mathbb{Z}^k)

Define ((a_1,\dots,a_k) <_{\text{lex}} (b_1,\dots,b_k)) if the first non‑zero difference (a_i - b_i) is negative. This induces an order on tuples and is used in combinatorial enumeration.

5.2 Non‑Standard Integers

Using ultrafilters, one can construct hyperintegers (\mathbb{Z}^*), which extend (\mathbb{Z}) by adding infinitesimal and infinite elements. Addition and subtraction extend naturally, preserving group properties but losing well‑ordering.


6. Key Identities & Proofs

  1. Additive Inverse Uniqueness
    Suppose (x+z = 0). Then (z = -x) by definition. Uniqueness follows from cancellation.

  2. Cancellation Law
    (a + c = b + c \implies a = b).
    Proof: Add (-c) to both sides.

  3. Distributive Property (Addition over Subtraction)
    (a + (b - c) = (a + b) - c).
    Proof: Substitute (b - c = b + (-c)).


7. Challenging Problem

Problem:
Let (G) be a

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.