Skip to content
← All questions

What is the difference between congruence ≡\equiv and equality == in this lesson?

Congruence (≡\equiv) indicates that two numbers have the same remainder when divided by a modulus, whereas equality (==) means they are the exact same integer. The video uses congruence in cryptography instead of equality.

Conditions

  • Used in modular arithmetic contexts.
  • The modulus is explicitly shown in the examples (e.g., mod 12).

Reasoning, step by step

  1. Define equality: exact numerical identity.
  2. Define congruence: equivalence relative to a modulus.
  3. Observe the example 15≡3(mod12)15 \equiv 3 \pmod{12}: 15 and 3 are not equal, but they are congruent modulo 12.
  4. Note the video's statement that cryptography uses congruence instead of equality.

Example

The slide states: "In cryptography, congruence(≡) instead of equality(=)." The example 15≡3(mod12)15 \equiv 3 \pmod{12} shows 15 and 3 are related modulo 12, not equal.

Common misconceptions

  • Treating ≡\equiv as just another way of writing == without recognizing the modular relationship.
  • Assuming that if a≡b(modn)a \equiv b \pmod n, then a=ba = b (e.g., 15 is not equal to 3).

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.