Math 2.0

Mathematical logic and foundations Proof

Proof of the distributive law by induction

Builds on Addition of natural numbersMultiplication of natural numbersSuccessor functionAssociativity of additionMathematical induction

Proof

We argue by induction on cc. Let SS be the successor function. The addition satisfies x+0=xx + 0 = x and x+S(y)=S(x+y)x + S(y) = S(x + y). The multiplication satisfies x⋅0=0x \cdot 0 = 0 and x⋅S(y)=x⋅y+xx \cdot S(y) = x \cdot y + x. Fix natural numbers aa and bb.

  1. For c=0c = 0: since b+0=bb + 0 = b, we get a⋅(b+0)=a⋅ba \cdot (b + 0) = a \cdot b.
  2. Also a⋅0=0a \cdot 0 = 0, so a⋅b+a⋅0=a⋅b+0=a⋅ba \cdot b + a \cdot 0 = a \cdot b + 0 = a \cdot b. Thus the law holds for c=0c = 0.
  3. Suppose that a⋅(b+c)=a⋅b+a⋅ca \cdot (b + c) = a \cdot b + a \cdot c for some natural number cc.
  4. By the definition of addition, b+S(c)=S(b+c)b + S(c) = S(b + c). So a⋅(b+S(c))=a⋅S(b+c)a \cdot (b + S(c)) = a \cdot S(b + c).
  5. By the definition of multiplication, a⋅S(b+c)=a⋅(b+c)+aa \cdot S(b + c) = a \cdot (b + c) + a.
  6. By the hypothesis of step 3, a⋅(b+c)+a=(a⋅b+a⋅c)+aa \cdot (b + c) + a = (a \cdot b + a \cdot c) + a.
  7. By the associativity of addition, (a⋅b+a⋅c)+a=a⋅b+(a⋅c+a)(a \cdot b + a \cdot c) + a = a \cdot b + (a \cdot c + a).
  8. By the definition of multiplication, a⋅c+a=a⋅S(c)a \cdot c + a = a \cdot S(c).
  9. Steps 4 to 8 give a⋅(b+S(c))=a⋅b+a⋅S(c)a \cdot (b + S(c)) = a \cdot b + a \cdot S(c).
  10. Since S(c)=c+1S(c) = c + 1, induction gives the law for every natural number cc. As aa and bb were arbitrary, it holds for all aa, bb and cc.

Idea

Both recursive definitions work on the last argument, so we induct on cc. Going from cc to c+1c + 1 adds one more copy of aa on each side. Associativity of addition lets us put that copy next to a⋅ca \cdot c.

Reading path

To understand this page from the ground up, read these 10 pages in order. The foundations come first. The path takes the proof Proof of the associativity of addition by induction.

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. Definition by recursion concept
  2. Mathematical induction concept
  3. Natural numbers object
  4. Peano axioms concept
  5. Successor function definition
  6. Addition of natural numbers definition
  7. Proof of the associativity of addition by induction proof
  8. Multiplication of natural numbers definition
  9. Associativity of addition statement
  10. Proof of the distributive law by induction proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Natural_Number_Multiplication_Distributes_over_Addition
About this page
Tag2PZM6JSNN2
URIm2://2PZM6JSNN2
Kindproof
WritingW0 stub
MSC03F30
ProvesDistributive law
UsesAddition of natural numbers, Multiplication of natural numbers, Successor function, Associativity of addition, Mathematical induction
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)
  • a source with a locator (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.