Math 2.0

Number theory Proof

Proof that congruence is compatible with powers

Builds on Congruence modulo nDivisibilityCongruence is compatible with multiplication

Proof

We argue by induction on kk.

  1. Let nn be a positive integer, and let aa and bb be integers with a≡b(modn)a \equiv b \pmod n.
  2. Base case k=0k = 0: we have a0=1=b0a^0 = 1 = b^0. Since nn divides 1−1=01 - 1 = 0, we get a0≡b0(modn)a^0 \equiv b^0 \pmod n by the definition of congruence.
  3. Induction step: let k≥0k \ge 0 and assume ak≡bk(modn)a^k \equiv b^k \pmod n.
  4. By step 3, by step 1 and by compatibility with multiplication, ak⋅a≡bk⋅b(modn)a^k \cdot a \equiv b^k \cdot b \pmod n.
  5. That is, ak+1≡bk+1(modn)a^{k+1} \equiv b^{k+1} \pmod n.
  6. By steps 2 to 5 and induction, ak≡bk(modn)a^k \equiv b^k \pmod n for each natural number kk.

Idea

A power is a repeated product. Each new factor aa can be replaced by bb without changing the class modulo nn, by compatibility with multiplication, so induction on the exponent finishes the proof.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first. The path takes the proof Proof that congruence is compatible with multiplication.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Proof that congruence is compatible with multiplication proof
  4. Congruence is compatible with multiplication statement
  5. Proof that congruence is compatible with powers proof

Where this leads

49 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Modular_arithmetic, Basic properties
About this page
TagYK00FKQ8MZ
URIm2://YK00FKQ8MZ
Kindproof
WritingW0 stub
MSC11A07
ProvesCongruence is compatible with powers
UsesCongruence modulo n, Divisibility, Congruence is compatible with multiplication
MethodsMathematical induction
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.