Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 1

The Division Algorithm and Integer Structure

Recommended resources

Welcome to your first lesson. Your goal is to build a deep, theoretical understanding of number theory, starting from the most fundamental ideas. This lesson lays the cornerstone for that entire structure: the Division Algorithm.

While you've certainly used division since primary school, our purpose here is to move beyond the procedure of calculating quotients and remainders. We will rigorously prove why for any two integers, a unique quotient and remainder must always exist under specific constraints. This exploration will reveal the first glimpse of the beautiful, predictable structure hidden within the integers, a structure that makes all of number theory possible.

1. From Intuition to a Formal Statement

You likely have a strong intuitive sense of division. If you want to divide 49 by 9, you know you can "fit" five 9s into 49, with 4 leftover. This can be visualized on a number line: 49 lies between the 5th and 6th multiple of 9.

This simple picture contains the essence of the Division Algorithm. To formalize this, please watch the beginning of the following video, which provides a clear example.

Division Algorithm Proof

This video, "Division Algorithm Proof" from the Math Matters channel, will help ground the formal theorem in this intuitive number line idea.

Watch the first part of the video, from the beginning up to the point where the set 'S' is introduced at this segment. Pay close attention to how the number line visualization directly corresponds to the equation b = qa + r.

The idea of trapping an integer between two consecutive multiples of another is the key. Keith Conrad's notes on the Division Theorem provide a crisp, intuitive argument for the existence of a quotient and remainder based on this.

[PDF] Division theorem in Z and R[T] - Keith Conrad

In this reading from Keith Conrad's notes, we will look at the first, highly intuitive proof of existence.

Please read the section "Proof of Theorem 1.1". Within the "Existence" part, focus on the first, short proof that begins with the first proof. This elegant argument formalizes the number line concept.

This leads us to the formal statement of the theorem.

The Division Algorithm: For any integers (the dividend) and (the divisor), with , there exist unique integers (the quotient) and (the remainder) such that:

Notice the two crucial parts of this statement:

  1. Existence: Such a pair is guaranteed to exist for any valid choice of and .
  2. Uniqueness: There is only one such pair that satisfies the conditions.

The absolute value on is important; it ensures the remainder r is always non-negative, regardless of whether the divisor b is positive or negative. For example, if we divide -17 by -5:

Here, and . The condition holds.


2. A Rigorous Proof

While the number line argument is convincing, a rigorous proof establishes this foundational fact without relying on visual intuition. The standard proof relies on a fundamental axiom of the integers.

The Well-Ordering Principle: Every non-empty set of non-negative integers contains a least element.

This principle may seem obvious, but it is not a property of all number systems (for instance, the set of positive rational numbers has no least element). It is a defining characteristic of the integers. We will now use it to prove the Division Algorithm.

The proof strategy is as follows:

  1. Existence: We will construct a special set of non-negative integers related to and . We'll show this set is not empty, and then use the Well-Ordering Principle to find its smallest element, which we will prove is our desired remainder .
  2. Uniqueness: We will assume two different pairs of quotient/remainder exist and show, through simple algebra, that they must be identical.

The following video provides a clear, step-by-step walkthrough of this proof.

Number Theory: The Division Algorithm

This video, "Number Theory: The Division Algorithm" by Michael Penn, presents the classic proof using the Well-Ordering Principle.

We will work through the video in stages: First, watch the setup of the proof from the introduction of the set S. Understand how the set S = {a - bx | a - bx ≥ 0} is constructed. It represents all possible non-negative results from subtracting multiples of b from a. Next, watch the argument for why S is non-empty from this section. This step is critical because the Well-Ordering Principle only applies to non-empty sets. Now, see the core of the existence proof from this segment. The logic here is a proof by contradiction: if the smallest element r were not less than b, we could construct an even smaller element, which is impossible. Finally, watch the proof of uniqueness from the final part. This algebraic argument is clean and demonstrates that the constraints on r leave no room for more than one solution.

To solidify your understanding of the uniqueness proof, which relies on bounding arguments, please read the following concise version.

[PDF] Division theorem in Z and R[T] - Keith Conrad

This section from Keith Conrad's notes presents the uniqueness proof very clearly.

Please read the "Uniqueness" part of the "Proof of Theorem 1.1", from the beginning of the proof. Notice how the argument hinges on the fact that |r_2 - r_1| < |b|, which forces the difference to be zero, as it must also be a multiple of b.


3. The Role of the Division Algorithm in Number Theory

Dedicating a full lesson to proving something seemingly basic is essential because the Division Algorithm is not just a tool for calculation; it imposes a fundamental order upon the integers. The guarantee of a unique remainder for any division is the starting point for many deep concepts.

  • Structure: It partitions the infinite set of integers into a finite number of "bins" or categories based on their remainder when divided by some integer . For example, when dividing by 3, every integer in existence has a remainder of 0, 1, or 2. There are no other possibilities. This partitioning is the basis of modular arithmetic, a powerful tool we will explore in detail.

  • Algorithms: The iterative nature of the Division Algorithm powers one of the oldest and most important algorithms in number theory: the Euclidean Algorithm. This algorithm is a direct and repeated application of the Division Algorithm to find the greatest common divisor of two numbers.

  • Generalization: The structure of "division with remainder" is a property sought in other mathematical systems. In the resources, you saw a reference to polynomials R[T]. The fact that polynomials also have a division algorithm allows for a theory of polynomial GCDs, factorization, and congruences that mirrors the theory for integers. Understanding this structure in the integers provides a blueprint for exploring more abstract algebraic systems.

By proving existence and uniqueness, we have established a reliable, predictable property of the integers that we can build upon with absolute confidence.


Conclusion

In this lesson, we have moved from an intuitive picture of division to a fully rigorous understanding of the Division Algorithm.

Key Takeaways:

  • The Division Algorithm guarantees that for any integers and (), there exists a unique pair of integers and such that and .
  • The proof of existence relies on the Well-Ordering Principle, a foundational axiom for the integers, which states that any non-empty set of non-negative integers has a least element.
  • The proof of uniqueness is an algebraic argument that uses the bounded nature of the remainder to show there can only be one possibility.
  • The significance of this algorithm is not in computation, but in how it imposes a fundamental structure on the integers, paving the way for the Euclidean algorithm, modular arithmetic, and other core concepts.

In our next lesson, we will immediately put this principle to work. We will explore the Euclidean Algorithm, a direct and powerful application of the Division Algorithm for finding the greatest common divisor of two integers.