What is Congruence?
Short answer
A congruence is a way of writing that a is congruent to b modulo m, meaning the two integers a and b have the same remainder when divided by the positive integer m.
- Type
- Definition
- First learned
- Grade 7
- Symbol
- Also called
- đồng dư, quan hệ đồng dư
- In English
- congruence, modular congruence
Formulas
Explanation
Given two integers a, b and a positive integer m. We say a is congruent to b modulo m if a and b have the same remainder when divided by m, written .
Congruences have many properties similar to ordinary equalities: you can add, subtract and multiply two congruences with the same modulus. Thanks to this, we can solve many divisibility problems and find remainders.
Congruences often appear in advanced problems about integers, finding the last digit, or proving divisibility.
Examples
Example 1
Prove that .
See the solution to example 1
We have and , both leave remainder 5 when divided by 6, so .
Common mix-ups
- The symbol is not an ordinary equals sign; use it only when the modulus has been stated clearly.
- You may not divide both sides of a congruence by an arbitrary number if that number is not coprime with the modulus.
Where the name comes from
Dong du is a Sino-Vietnamese word: dong means same, du means remainder, referring to two numbers having the same remainder when divided by a number.
Skills
- Đồng dư thức Grade 7