PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION. The Peano axioms

Similar documents
Complete Induction and the Well- Ordering Principle

We want to show P (n) is true for all integers

Well-Ordering Principle. Axiom: Every nonempty subset of Z + has a least element. That is, if S Z + and S, then S has a smallest element.

A BRIEF INTRODUCTION TO ZFC. Contents. 1. Motivation and Russel s Paradox

Notes on induction proofs and recursive definitions

Peano Axioms. 1. IfS x S y then x y (we say that S is one to one).

0.Axioms for the Integers 1

Divisibility = 16, = 9, = 2, = 5. (Negative!)

Russell s logicism. Jeff Speaks. September 26, 2007

CONSTRUCTION OF sequence of rational approximations to sets of rational approximating sequences, all with the same tail behaviour Definition 1.

CONSTRUCTION OF THE REAL NUMBERS.

A lower bound for X is an element z F such that

We introduce one more operation on sets, perhaps the most important

Important Properties of R

2.2 Some Consequences of the Completeness Axiom

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

At the start of the term, we saw the following formula for computing the sum of the first n integers:

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Complex Numbers. Rich Schwartz. September 25, 2014

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Now, with all the definitions we ve made, we re ready see where all the math stuff we took for granted, like numbers, come from.

n(n + 1). 2 . If n = 3, then 1+2+3=6= 3(3+1) . If n = 2, then = 3 = 2(2+1)

Chapter One. The Real Number System

CITS2211 Discrete Structures (2017) Cardinality and Countability

The Integers. Peter J. Kahn

Introduction to Logic and Axiomatic Set Theory

CMSC 27130: Honors Discrete Mathematics

The natural numbers. The natural numbers come with an addition +, a multiplication and an order < p < q, q < p, p = q.

1 Proof by Contradiction

Math 4606, Summer 2004: Inductive sets, N, the Peano Axioms, Recursive Sequences Page 1 of 10

The integers. Chapter 3

The Integers. Math 3040: Spring Contents 1. The Basic Construction 1 2. Adding integers 4 3. Ordering integers Multiplying integers 12

Lecture 6: Finite Fields

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

PHIL 422 Advanced Logic Inductive Proof

Equivalent Forms of the Axiom of Infinity

Abstract & Applied Linear Algebra (Chapters 1-2) James A. Bernhard University of Puget Sound

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

2 A 3-Person Discrete Envy-Free Protocol

HOW TO WRITE PROOFS. Dr. Min Ru, University of Houston

Peter Kahn. Spring 2007

CHAPTER 3: THE INTEGERS Z

SOME TRANSFINITE INDUCTION DEDUCTIONS

Peano Arithmetic. by replacing the schematic letter R with a formula, then prefixing universal quantifiers to bind

1 Overview and revision

CS1800: Strong Induction. Professor Kevin Gold

HOW DO ULTRAFILTERS ACT ON THEORIES? THE CUT SPECTRUM AND TREETOPS

Arithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013

In case (1) 1 = 0. Then using and from the previous lecture,

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Products, Relations and Functions

Introduction to Metalogic

Lecture Notes on Discrete Mathematics. October 15, 2018 DRAFT

Metric spaces and metrizability

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

c 1 v 1 + c 2 v 2 = 0 c 1 λ 1 v 1 + c 2 λ 1 v 2 = 0

(1.3.1) and in English one says a is an element of M. The statement that a is not an element of M is written as a M

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

We have been going places in the car of calculus for years, but this analysis course is about how the car actually works.

Axioms for Set Theory

e π i 1 = 0 Proofs and Mathematical Induction Carlos Moreno uwaterloo.ca EIT-4103 e x2 log k a+b a + b

Supplementary Material for MTH 299 Online Edition

Guide to Proofs on Sets

Gödel s Incompleteness Theorem. Overview. Computability and Logic

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

TR : Possible World Semantics for First Order LP

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

Models of Computation,

Sums and Products. a i = a 1. i=1. a i = a i a n. n 1

Introduction to Metalogic

Proving languages to be nonregular

2. Two binary operations (addition, denoted + and multiplication, denoted

Introductory notes on stochastic rationality. 1 Stochastic choice and stochastic rationality

Supremum and Infimum

What is proof? Lesson 1

4.1 Induction: An informal introduction

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015)

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

20 Ordinals. Definition A set α is an ordinal iff: (i) α is transitive; and. (ii) α is linearly ordered by. Example 20.2.

NUMBERS. Michael E. Taylor

Discrete Mathematics. Spring 2017

Introduction to Vector Spaces Linear Algebra, Fall 2008

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

(D) Introduction to order types and ordinals

CSE 1400 Applied Discrete Mathematics Proofs

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

Discrete Structures - CM0246 Mathematical Induction

Euclidean Space. This is a brief review of some basic concepts that I hope will already be familiar to you.

Outline. We will now investigate the structure of this important set.

COMPLEX ALGEBRAIC SURFACES CLASS 9

Math 115A: Linear Algebra

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Sets, Logic and Categories Solutions to Exercises: Chapter 2

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Classical Propositional Logic

Transcription:

PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION The Peano axioms The following are the axioms for the natural numbers N. You might think of N as the set of integers {0, 1, 2,...}, but it turns out that we need to first define the natural numbers before we can define the integers, so this really is the correct way to go about things. The point in defining the natural numbers axiomatically is that whenever we want to prove something about them, we ll need to know precisely which rules we can use in our arguments. Note that, the fewer rules we have, the more certain we will be that we re not contradicting ourselves. Let s see how this goes. Peano s axioms. There are three primitive terms in our system, namely N, 0 and S. We demand that N is a collection of objects, which we will call natural numbers. We also demand that 0 is a natural number. Finally, we demand that S is a function from N to N. The previous three sentences are technically axioms themselves, but I want to distinguish them from the really important items below. The following are the axioms in our system: (A1) For all a N, S(a) 0. In other words, 0 is not in the range of the function S. (A2) For all a, b N, if S(a) = S(b), then a = b. In other words, S is an injective function. (A3) If X is a subset of N such that (ii) whenever a X, then S(a) X, then X = N. Here, the function S is often called a successor function. We ll see why below. Axiom 3 is called the principle of mathematical induction (PMI). Its purpose is to allow us to prove statements of the form For all a N, P (a) is true. Here, P (a) is just a statement about the natural number a; for example, 0 + a = a. But we don t even have a concept of addition defined for us yet, so we ll have to just imagine what sorts of things P (a) will be for now.

2 PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION Our strategy in proving statements of the above form is to take the set of natural numbers a for which P (a) is true, and then use the PMI to prove that that set is the entirety of the natural numbers. So let X = {a N P (a)}. Axiom 3 allows us to conclude that X = N if we can show the following. (ii) whenever a X, then S(a) X. Looking at how we defined X, this is equivalent to showing the following. (i) P (0) is true, and (ii) if a N and P (a) is true, then so is P (S(a)). This latter list is the recipe we ll follow when proving statements about natural numbers. The proof of part (i) is usually called the base step, and the proof of part (ii) is called the inductive step. The assumption P (a) is true in part (ii) is called the inductive hypothesis. To motivate our first example, we need a very important definition. Definition. We define the operation of addition of natural numbers to be the function +: N N N given by (i) a + 0 = a, and (ii) for b N, a + S(b) = S(a + b). It is not clear from the wording of the above definition that it actually tells us how to add two natural numbers a and b together, because it only tells us how to produce the output a + S(b) provided that we already know how to produce the output a + b. This is an example of something called an inductive definition. Every time we want to show that an inductive definition makes sense, we should give a proof along the following lines. Proposition. For every pair of natural numbers a and b, the sum a + b is well defined (the formula a + b makes sense). Proof. We proceed by induction on b. Since this is our first proof by induction, let s be a little careful. Here, the natural number a is fixed, and the statement P (b) is a + b is well defined. To prove the base case, let b = 0. By rule (i) in the definition of addition, we have a + b = a + 0 = a, so for the pair (a, b), there is a well defined output a + b. This shows that P (b) is true for b = 0.

PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION 3 For the inductive step, we let b N and assume that the statement P (b) is true, that is, we assume that the output a + b is well defined. By rule (ii) in the definition of addition we have a + S(b) = S(a + b). By our inductive hypothesis, the output a + b is well defined, and since S is a function, the output S(a + b) is also well defined. This shows that the output a + S(b) is well defined. In other words, P (S(b)) is also true. By the PMI, this shows that P (b) is true for every natural number b. Okay, this result doesn t seem very exciting, but without it, the very concept of adding natural numbers together wouldn t be sound, so our work was important. Now we want to actually prove things about our newly formed operation of addition. Here is a first example. Proposition. For every natural number a, we have S(a) = a + S(0). Proof. We have S(a) = S(a + 0) since a + 0 = a by part (i) of addition = a + S(0) by part (ii) of addition. The previous proposition allows us to get a step closer to seeing that our axiomatic definition really does coincide with our intuitive idea of natural numbers. If we denote S(0) by 1, then the above result simply says that a + 1 is the successor of a. Yay! Our goal throughout the rest of the document will be to prove for every pair of natural numbers a and b that a + b = b + a, that is, addition of natural numbers is commutative. Here is an introductory lemma. Lemma. For every pair of natural numbers a and b, we have a + S(b) = S(a) + b. Proof. Again, we fix a and proceed by induction on b. If b = 0, then a + S(b) = a + S(0) = S(a) by the previous proposition = S(a) + 0 by part (i) of addition = S(a) + b. Thus the statement holds for b = 0. Now let b N and assume the statement holds for b, that is, we are assuming that a + S(b) = S(a) + b. We need to show that the statement also holds for S(b), i.e., we need to prove that a + S(S(b)) = S(a) + S(b). We compute that a + S(S(b)) = S(a + S(b)) by part (ii) of addition = S(S(a) + b) by the inductive hypothesis = S(a) + S(b) by part (ii) of addition as desired. By the PMI, this shows the statement holds for every natural number b.

4 PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION We require another lemma in order to prove our main theorem that addition of natural numbers is commutative. Lemma. For every natural number a, we have 0 + a = a. Proof. This time we proceed by induction on a. If a = 0, then 0 + a = 0 + 0 = 0 = a by part (i) of the definition of addition. Thus the statement holds for a = 0. Now let a N and assume that 0 + a = a. We need to show that 0 + S(a) = S(a). We have 0 + S(a) = S(0 + a) by part (ii) of addition = S(a) by the inductive hypothesis. By the PMI, this shows the statement holds for every natural number a. We are now ready for the proof of the main theorem. Theorem. For every pair of natural numbers a and b, we have a + b = b + a. Proof. We fix a and proceed by induction on b. If b = 0, then a + b = a + 0 = a by part (i) of addition = 0 + a by the previous lemma = b + a. Thus the statement holds for b = 0. Now let b N and assume that a + b = b + a. We need to show that a + S(b) = S(b) + a. We compute that a + S(b) = S(a + b) by part (ii) of addition = S(b + a) by the inductive hypothesis = b + S(a) by part (ii) of addition = S(b) + a by the lemma before the last. By the PMI, this shows the statement holds for every natural number b. We conclude our brief journey through Peano arithmetic by giving the definition of multiplication and leaving the proofs of the obvious results to the reader. Definition. We define the operation of multiplication of natural numbers to be a function : N N N given by (i) a 0 = 0, and (ii) for b N, a S(b) = (a b) + a. Exercise. Use the Peano axioms and definitions to prove that multiplication of natural numbers is associative, that is, (a b) c = a (b c) for all natural numbers a, b and c.

PEANO AXIOMS FOR THE NATURAL NUMBERS AND PROOFS BY INDUCTION 5 Exercise. Given natural numbers a and b, how should one define a b inductively? Prove that the definition you came up with is actually well defined. The well ordering principle We now draw attention to the following axiomatic system. There are three primitive terms N, 0 and S. As before, N is a collection of objects, 0 is an element in N and S is a function from N to N. The following are the axioms: (A1) For all a N, S(a) 0. In other words, 0 is not in the range of the function S. (A2) For all a, b N, if S(a) = S(b), then a = b. In other words, S is an injective function. (A3 ) For every element a N, if a 0, then there exists an element b N such that a = S(b). (Every non-zero element is the successor of some element.) If X is a non-empty subset of N, then there exists an element a X such that, for every finite composition S S S, if a = S S S(b) for some element b N, then b / X. Note that Axioms 1 and 2 are the same as those in the Peano axioms. Axiom 3 is called the well ordering principle (WOP). Because the well ordering principle looks so different from the principle of mathematical induction, one might believe that the above axiomatic system describes something other than the natural numbers. The following demonstrates that these two systems are, in fact, equivalent. Theorem. In the above system, the PMI is a theorem. Conversely, in the Peano system, the WOP is a theorem. Proof. We give a proof of the first statement and leave the other as an exercise. Suppose that the WOP holds. Let X be a subset of N such that (ii) whenever a X, then S(a) X. We need to show that X = N. For the sake of contradiction, assume that X N. Then the set Y = N X is non-empty. By the WOP, there exists an element a Y that is not of the form S S S(b) for any finite composition S S S and any b Y. Note that a 0, because 0 X. The WOP thus guarantees the existence of an element b N for which a = S(b). By the previous remarks, we cannot have b Y. It follows that b X. Condition (ii) above then implies that a = S(b) X. But a Y, so a / X. This is a contradiction.