ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Discrete Structures
    GE-167
    Progress0 / 67 topics
    Topics
    1. Mathematical Reasoning: Propositional and Predicate Logic2. Propositional Logic: Logical Operators3. Translations Between Symbolic Expressions and Formal English Expression4. Logical Equivalences5. Predicate Logic: Quantifiers6. Nested Quantification7. Equivalences in Predicate Logic8. Translations Between Symbolic Forms and Formal English9. Rules of Inference: Proof Methods and Strategies10. Direct Proof11. Proof by Contraposition12. Proof by Induction13. Proof by Implication14. Existence Proof15. Uniqueness Proofs16. Trivial Proofs17. Vacuous Proofs18. Sets: Notations and Set Operations19. Venn Diagrams20. Countable and Uncountable Sets21. Relations: Equivalence Relations and Partitions22. Partial Orderings23. Recurrence Relations24. Functions: Injective, Surjective, Bijective25. Special Types of Functions26. Function Composition27. Inverse Functions28. Recursive Functions29. Compositions30. Number Theory: Sequences and Series31. Counting: Inclusion and Exclusion Principle32. Pigeonhole Principle33. Permutations and Combinations34. Integers and Divisibility: Division Theorem35. Modular Arithmetic36. LCM and GCD37. Euclidean and Extended Euclidean Method38. Finding Solutions to Congruence39. Primes: Fundamental Theorem of Arithmetic40. Characterizations of Primes41. Mersenne Primes42. Induction: Weak Induction43. Strong Induction44. Recursion and Recurrences: Formulation of Recurrences45. Closed Formulas46. Counting: Product Rule and Sum Rule47. Principle of Inclusion-Exclusion48. Binomial Coefficients49. Pascal's Identity and Pascal’s Triangle50. Binomial Theorem51. Relations: Reflexive, Symmetric, Transitive, and Antisymmetric52. Equivalence Relations and Equivalence Classes53. Partial Orders54. Graph Theory: Terminologies55. Elements of Graph Theory56. Planar Graphs57. Graph Coloring58. Euler Graph59. Hamiltonian Path60. Rooted Trees61. Graph Traversals62. Handshaking Lemma and Corollary63. Special Families of Graphs64. Graph Isomorphism65. Planarity in Graphs66. Eulerian and Hamiltonian Graphs67. Trees in Graph Theory
    GE-167›Integers and Divisibility: Division Theorem
    Discrete StructuresTopic 34 of 67

    Integers and Divisibility: Division Theorem

    8 minread
    1,394words
    Intermediatelevel

    Integers and Divisibility: Division Theorem

    The Division Theorem (also called the Division Algorithm) is a fundamental concept in number theory, which describes how any integer can be divided by another integer to produce a quotient and a remainder. It is the foundation for many important concepts in mathematics, such as divisibility, modular arithmetic, and the Euclidean algorithm.

    1. Division Theorem (Division Algorithm)

    The Division Theorem states that for any two integers aaa (the dividend) and bbb (the divisor), with b≠0b \neq 0b=0, there exist unique integers qqq (the quotient) and rrr (the remainder), such that:

    a=bq+ra = bq + ra=bq+r

    Where:

    • aaa is the dividend (the number being divided),
    • bbb is the divisor (the number by which aaa is divided),
    • qqq is the quotient (the result of the division),
    • rrr is the remainder (the leftover part after division).

    Furthermore, the remainder rrr satisfies the condition:

    0≤r<∣b∣0 \leq r < |b|0≤r<∣b∣

    This means the remainder is always a non-negative integer that is less than the absolute value of the divisor.

    Formal Statement:

    For any integers aaa and bbb where b≠0b \neq 0b=0, there exist unique integers qqq (quotient) and rrr (remainder) such that:

    a=bq+ra = bq + ra=bq+r

    with 0≤r<∣b∣0 \leq r < |b|0≤r<∣b∣.


    2. Example of the Division Theorem

    Let's look at an example to illustrate the Division Theorem.

    Example 1:

    Suppose we want to divide a=17a = 17a=17 by b=5b = 5b=5.

    We can find the quotient qqq and the remainder rrr by performing the division:

    17÷5=3(quotient)17 \div 5 = 3 \quad \text{(quotient)}17÷5=3(quotient)

    The remainder is:

    17−5×3=17−15=2(remainder)17 - 5 \times 3 = 17 - 15 = 2 \quad \text{(remainder)}17−5×3=17−15=2(remainder)

    So, using the Division Theorem, we have:

    17=5×3+217 = 5 \times 3 + 217=5×3+2

    Where:

    • q=3q = 3q=3,
    • r=2r = 2r=2,
    • And 0≤r<∣5∣0 \leq r < |5|0≤r<∣5∣, which satisfies the condition.

    Thus, in this case, the quotient is 3, and the remainder is 2.

    Example 2:

    Now, suppose we want to divide a=−17a = -17a=−17 by b=5b = 5b=5.

    Performing the division:

    −17÷5=−4(quotient, rounding towards negative infinity)-17 \div 5 = -4 \quad \text{(quotient, rounding towards negative infinity)}−17÷5=−4(quotient, rounding towards negative infinity)

    The remainder is:

    −17−5×(−4)=−17+20=3(remainder)-17 - 5 \times (-4) = -17 + 20 = 3 \quad \text{(remainder)}−17−5×(−4)=−17+20=3(remainder)

    So, we have:

    −17=5×(−4)+3-17 = 5 \times (-4) + 3−17=5×(−4)+3

    Where:

    • q=−4q = -4q=−4,
    • r=3r = 3r=3,
    • And 0≤r<∣5∣0 \leq r < |5|0≤r<∣5∣, which satisfies the condition.

    Thus, in this case, the quotient is -4, and the remainder is 3.


    3. Key Points in the Division Theorem

    1. Uniqueness of Quotient and Remainder: The theorem guarantees that for any integers aaa and bbb (where b≠0b \neq 0b=0), there is exactly one pair of integers qqq (quotient) and rrr (remainder) that satisfy the equation a=bq+ra = bq + ra=bq+r with 0≤r<∣b∣0 \leq r < |b|0≤r<∣b∣.

    2. Non-negative Remainder: The remainder rrr is always non-negative and smaller than the absolute value of the divisor bbb.

    3. Division by Zero: The divisor bbb cannot be zero, as division by zero is undefined.


    4. Applications of the Division Theorem

    The Division Theorem plays an important role in many areas of number theory, and it is foundational for various algorithms and techniques:

    1. Divisibility: The Division Theorem is used to define divisibility. Specifically, bbb divides aaa (denoted b∣ab \mid ab∣a) if and only if the remainder r=0r = 0r=0 when aaa is divided by bbb. That is, if a=bq+0a = bq + 0a=bq+0, then bbb divides aaa.

    2. Modular Arithmetic: In modular arithmetic, the remainder rrr from the Division Theorem is used to represent numbers modulo bbb. If we say a≡r(modb)a \equiv r \pmod{b}a≡r(modb), it means when dividing aaa by bbb, the remainder is rrr.

    3. Euclidean Algorithm: The Division Theorem is the foundation for the Euclidean algorithm, which is used to compute the greatest common divisor (GCD) of two integers. The Euclidean algorithm uses repeated division (via the Division Theorem) to find the GCD of two numbers.

    4. Prime Factorization: The Division Theorem helps in the process of prime factorization. By dividing a number by smaller prime numbers (using the theorem to determine quotients and remainders), we can decompose a number into its prime factors.

    5. Cryptography: In number-theoretic cryptography (such as RSA), division and modular arithmetic are used for encryption and decryption, relying heavily on concepts derived from the Division Theorem.

    6. Congruences: The Division Theorem is central to solving linear congruences. A congruence a≡r(modb)a \equiv r \pmod{b}a≡r(modb) is essentially a restatement of the Division Theorem, where rrr is the remainder when dividing aaa by bbb.


    5. Generalization and Variations

    • Generalized Division Theorem: The Division Theorem is often generalized in modular arithmetic and number theory. For example, it can be applied to determine the quotient and remainder in arbitrary bases (other than 10) or with negative divisors, as seen in Example 2 above.

    • Negative Divisors: The Division Theorem works consistently even when the divisor bbb is negative. However, the quotient qqq may need to be adjusted to ensure the remainder rrr is always non-negative and less than the absolute value of bbb.


    6. Conclusion

    The Division Theorem (or Division Algorithm) is a foundational concept in mathematics, providing a systematic way to divide any integer aaa by another integer bbb (where b≠0b \neq 0b=0) to obtain a unique quotient qqq and remainder rrr. This theorem is essential for understanding divisibility, modular arithmetic, and numerous algorithms in number theory, such as the Euclidean algorithm for finding the greatest common divisor. Its applications extend to many areas, including cryptography, number theory, and combinatorics.

    Previous topic 33
    Permutations and Combinations
    Next topic 35
    Modular Arithmetic

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time8 min
      Word count1,394
      Code examples0
      DifficultyIntermediate