सामग्री पर जाएँ
The Lumenary
विस्मय पथवैकल्पिक · कभी अंक नहीं दिए जातेयहाँ से शुरू होता है Integers

Remainder families

यह पृष्ठ अभी हिन्दी में अनूदित नहीं है, इसलिए इसे English में दिखाया जा रहा है।

अनुवाद में मदद करें →
1

प्रश्न

Sort every integer — positive, negative and zero — into families by its remainder after dividing by 3. If you add a member of one family to a member of another, does the family of the answer depend on which members you chose?

आगे पढ़ने से पहले प्रयोग करके देखें। खोजबीन का कोई गलत तरीका नहीं है।

2

प्रयोग

शेषफल परिवार

हर पूर्णांक को k से भाग देने पर बचे शेषफल के अनुसार रंगें। हर पूर्णांक ठीक एक परिवार में आता है।

  • [0]{ …, −15, −12, −9, −6, −3, 0, … }
  • [1]{ …, −14, −11, −8, −5, −2, 1, … }
  • [2]{ …, −13, −10, −7, −4, −1, 2, … }

एक परिवार के सदस्य में दूसरे परिवार का सदस्य जोड़ें…

+
    3

    संकेत, यदि आप चाहें

      4

      क्या हो रहा है

      क्या हो रहा है

      Dividing by kk splits the integers into exactly kk families — the integers with remainder 00, with remainder 11, …, with remainder k−1k - 1. Every integer belongs to exactly one family. A splitting like this, into non-overlapping pieces that together cover everything, is called a partition.

      The rule "same remainder" has three properties:

      • every integer is related to itself (reflexive);
      • if aa is related to bb, then bb is related to aa (symmetric);
      • if aa is related to bb and bb to cc, then aa is related to cc (transitive).

      A relation with these properties is an equivalence relation, and its families are called equivalence classes. Every equivalence relation gives a partition, and every partition comes from one.

      modEq_equivalenceLean 4यहाँ मूल तथ्यों से सिद्ध किया गयाऔपचारिक रूप से सत्यापित
      /-- Congruence modulo `k` is an **equivalence relation** (reflexive, symmetric, transitive).
      Its equivalence classes are the "hours" on a `k`-hour clock. -/
      theorem modEq_equivalence (k : Int) : Equivalence (ModEq k) :=
        ⟨modEq_refl k, modEq_symm, modEq_trans⟩
      प्रयुक्त अभिगृहीत: कोई अभिगृहीत नहींformal/Lumenary/Modular.leanLean वेब संपादक में आज़माएँ

      Now the surprise from the experiment. If a≡a′a \equiv a' and b≡b′(modk)b \equiv b' \pmod{k}, then a+b≡a′+b′a + b \equiv a' + b'. Why? Because a−a′a - a' and b−b′b - b' are multiples of kk, so their sum (a+b)−(a′+b′)(a + b) - (a' + b') is too. The family of a sum depends only on the families. The same is true for products.

      That means we can add and multiply the families themselves. The families become the elements of a new number system, written Z/kZ\Z/k\Z — a quotient of Z\Z. Building new structures by "gluing together" equivalent elements, and checking that the operations are well defined, is one of the most-used constructions in all of algebra.

      mod_add_modLean 4लाइब्रेरी की एक प्रमेय लागू करता हैऔपचारिक रूप से सत्यापित
      /-- You may reduce before or after adding: `(a mod k + b mod k) mod k = (a + b) mod k`.
      This applies core Lean's `Nat.add_mod`. -/
      theorem mod_add_mod (a b k : Nat) : (a % k + b % k) % k = (a + b) % k :=
        (Nat.add_mod a b k).symm
      प्रयुक्त अभिगृहीत: propextformal/Lumenary/Modular.leanLean वेब संपादक में आज़माएँ

      उपमा, औपचारिक रचना नहीं: Colouring is a picture of the partition; the mathematical object is the set of residue classes itself.

      औपचारिक रूप से सत्यापित · 3 Leanसंगणना द्वारा परखा गयाAI द्वारा तैयार मसौदा · मानवीय समीक्षा की प्रतीक्षा में
      5

      यह कहाँ ले जाता है