Math 2.0

Number theory Proof

Proof that congruence is compatible with addition

Builds on Congruence modulo nDivisibility

Proof

  1. Let nn be a positive integer and let aa, bb, cc, dd be integers with a≡b(modn)a \equiv b \pmod n and c≡d(modn)c \equiv d \pmod n.
  2. By the definition of congruence modulo n, n∣a−bn \mid a - b and n∣c−dn \mid c - d.
  3. By the definition of divisibility, there are integers kk and ll with a−b=nka - b = n k and c−d=nlc - d = n l.
  4. Then (a+c)−(b+d)=(a−b)+(c−d)=nk+nl=n(k+l)(a + c) - (b + d) = (a - b) + (c - d) = n k + n l = n (k + l).
  5. Since k+lk + l is an integer, n∣(a+c)−(b+d)n \mid (a + c) - (b + d).
  6. Hence a+c≡b+d(modn)a + c \equiv b + d \pmod n.

Idea

The difference of the two sums is the sum of the two differences. Both differences are multiples of nn, and a sum of multiples of nn is again a multiple of nn.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

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 addition proof

Where this leads

80 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Modular_arithmetic, Basic properties
About this page
TagGCNQZFRZ4B
URIm2://GCNQZFRZ4B
Kindproof
WritingW0 stub
MSC11A07
ProvesCongruence is compatible with addition
UsesCongruence modulo n, Divisibility
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.