← All writing

Mathematical Analysis I (1)

Natural Numbers and Arithmetic

Parts: 1 · 2 · 3

The Natural Number

2.1 The Peano Axioms

Axiom 2.1

0 is a natural number.

Axiom 2.2

If nn is a natural number, then n++ is also a natural number.

Axiom 2.3

00 is not the successor of any natural number.

Axiom 2.4

Different natural numbers must have different successors.

Axiom 2.5 (Principle of mathematical induction)

Let P(n)P(n) be any property pertaining to natural number nn. Suppose that P(0)P(0) is true, and suppoes that whenever P(n)P(n) is true, P(n++)P(n++) is also true. Then P(n)P(n) is true for every natural number nn.

2.2 Addition

2.2.1 Addition of natural numbers

Let mm be a natural number. To add zero to mm, we define 0+m:=m0 + m := m. Now suppose inductively that we have defined how to add nn to mm. Then we can add n++n++ to m by defining (n++)+m:=(n+m)++(n++) + m := (n + m)++.

Thus 0+m=m,1+m=(0++)+m=m++,2+m=(1++)+m=(m++)++0+m=m,1+m=(0++)+m=m++,2+m=(1++)+m=(m++)++ and so forth.

Lemma 2.2.2

For any natural number n,n+0=nn,n+0=n

Lemma 2.2.3

For any natural number nn and mm, n+(m++)=(n+m)++n+(m++) =(n+m)++

Proof:

Since 0+(m++)=(0+m)++=m++0 + (m++)=(0+m)++ = m++, suppose n+(m++)=(n+m)++n+(m++)=(n+m)++. Then (n++)+(m++)=(n+(m++))++=((n+m)++)++(n++)+(m++)=(n+(m++))++=((n+m)++)++. By (n++)+m=(n+m)++(n++)+m = (n+m)++, we have ((n+m)++)++=((n++)+m)++=(n++)+(m++)((n+m)++)++ = ((n++)+m)++ = (n++)+(m++). We complete the proof.

2.2.4 Addition is commutative

For any natural numbers nn and mm, n+m=m+nn+m=m+n.

By lemma 2.2.2, we have 0+m=m=(m+0)0+m = m = (m+0) for any number mm. Suppose n+m=m+nn+m=m+n. Then (n++)+m=(n+m)++=(m+n)++(n++)+m =(n+m)++=(m+n)++, by lemma 2.2.3 we have (m+n)++=m+(n++)(m+n)++=m+(n++). So (n++)+m=m+(n++)(n++)+m=m+(n++). By axiom 2.5, for any natural number nn, n+m=m+nn+m=m+n for any natural number mm.

2.2.5 Addition is associative

For any natural numbers a,b,ca, b, c, we have (a+b)+c=a+(b+c)(a + b) + c = a + (b + c).

Proof:

For any natural numbers a,ba,b, we have (a+b)+0=a+b(a + b)+0=a+b. Since b+0=bb+0 = b. So we have a+b=a+(b+0)a+b=a+(b+0), thus the base case is done. Now suppose inductively (a+b)+c=a+(b+c)(a+b)+c=a+(b+c). Then (a+b)+(c++)=((a+b)+c)++=(a+(b+c))++=a+((b+c)++)=a+(b+(c++))(a+b)+(c++) = ((a+b)+c)++=(a+(b+c))++=a+((b+c)++)=a+(b+(c++)) and closed the induction.

2.2.6 Cancellation law

Let a,b,ca, b, c be natural numbers such that a+b=a+ca + b = a + c. Then we have b=cb = c.

Poof:

First, 0+b=b=c=(0+c)0+b=b=c=(0+c). So the base case is done. Then suppose a+b=a+ca+b=a+c implies b=cb=c. And we have (a++)+b=(a++)+c(a++)+b=(a++)+c, we have to show b=cb = c. Since (a+b)++=(a+c)++(a+b)++=(a+c)++, by axiom 2.4, we have a+b=b+ca+b=b+c. This implies b=cb=c.

2.2.7 Positive natural numbers

A natural number nn is said to be positive iff it is not equal to 00.

2.2.9

a,ba, b is a natural number, if a+b=0a+b=0, then a=0a=0 and b=0b= 0.

By Axiom 2.3 we can prove it.

Lemma 2.2.10

Let aa be a positive number. Then there exists exactly one natural number bb such that b++=ab++ = a.

Proof:

Since 1=0++1 = 0++, suppose there exists one natural number bb such that a=b++a= b++. Then a++=(b++)++a++ = (b++)++, by axiom 2.4, bb is unique.

2.2.11 Ordering of the natural numbers

Let nn and mm be nuatrual numbers. We say that nn is greater than or equal to mm, and write n≥mn \ge m or m≥nm \ge n, iff we have n=m+an = m + a for some natural number a. We say that nn is strictly greater than mm, and write n>mn > m or m<nm < n, iff n≥mn \ge m and n≠mn \ne m.

2.2.12 Basic properties of order for natural numbers

(a) (Order is reflexive) a≥aa \ge a

(b) (Order is transitive) If a≥ba \ge b and b≥cb \ge c, then a≥ca \ge c

(c) (Order is antisymmetric) If a≥ba \ge b and b≥ab \ge a, then a=ba = b

(d) (Addition preserves order) a≥ba \ge b if and only if a+c≥b+ca + c \ge b + c.

(e) a<ba < b if and only if a++≤ba++\le b.

(f) a<ba<b if and only if b=a+db=a+d for some positive number dd.

proof:

(a) a=a+0a=a+0, so a≥aa\ge a.

(b) a=b+da = b+d and b=c+eb = c+e, so we have a=b+d=(c+e)+d=c+(e+d)a=b +d =(c+e)+d = c+(e+d), thus a≥ca \ge c

(c) First, we prove a lemma: if a+b=aa +b =a, then b=0b=0. since a+b=a=a+b=a+b+ba+b=a=a+b=a+b+b, we have b+b=bb+b=b, if bb is positive number, we will have two distinct natrual number have the same successor which contradict to axiom 2.4. So b=0b = 0.

a=b+ca = b +c and b=a+eb = a+e, so a+b=a+b+(e+c)a+b=a+b+(e+c). Thus e+c=0e+c=0 and by 2.2.9 we get e=c=0e = c = 0.

(d) a=b+da = b + d iff c+a=b+c+dc + a = b+ c + d

(e) Since a>ba > b we have a=b+ca = b + c and c is a positive number by (f). By lemma 2.2.10 there exists a natural number dd, s.t. d++=cd++=c, thus a=b+c=b+(d++)=(b++)+da=b+c =b+(d++)=(b++)+d.

(f) Since a>ba > b, we have a=b+ca=b+c and a≠ba \ne b, if c=0c = 0, then a=b+0=ba=b+0=b which is a contradiction. So c≠0c \ne 0, thus cc is a positive number.

2.2.13 Trichotomy of order for natural numbers

Let aa and bb be natural numbers. Then exactly one of the following statements is true: a<b,a=ba < b, a = b, or a>ba > b.

Proof:

First, we need to prove no more than one statement is true.

Then show that at least one of these is true.

For any natural number bb, when a=0a = 0, by 0+n=n0+n=n we have 0≤n0\le n. So we have either b=0b= 0 or 0<b0 < b. Suppose we it's true for aa, we show that for a++a++ it's also true. If a<ba < b, we have a++≤ba++\le b. This implies either a++<ba++ <b or a++=ba++ = b. If a=ba=b, a++=(a+0)++=(a+(0++))=ba++ = (a+0)++=(a+(0++))=b, by 2.2.12 (f), a++>ba++>b. Finally if a>ba>b, then a=b+ca=b+c. Thus a++=(b+c)++=b+(c++)a++=(b+c)++=b+(c++). This implies a++>ba++>b, since c++c++ is a positive number.

2.2.14 Strong principle of induction

Let m0m_0 be a natural number, and let P(m)P(m) be a property pertaining to an arbitrary natural number mm. Suppose that for each m≥m0m \ge m_0, we have the following implication: if P(m′)P(m') is true for all natural numbers m0≤m′<mm_0 ≤ m' < m, then P(m)P(m) is also true. (In particular, this means that P(m0)P(m_0) is true, since in this case the hypothesis is vacuous.) Then we can conclude that P(m)P(m) is true for all natural numbers m≥m0m \ge m_0.

Proof:

define Q(n)Q(n) to be the property that P(k)P(k) is true for all m0≤k<nm_0 \le k < n;

We have if P(m′)P(m') is true for m0≤m′<mm_0\le m'<m, then P(m)P(m) is true.

We want to prove for all m≥m0m\ge m_0, P(m)P(m) is also true.

note that Q(n)Q(n) is vacuously true when n≤m0n \le m_0. If n=m0+1n = m_0 + 1, then Q(n)Q(n) is true since P(m0)P(m_0) is true by the assumption P(m′)P(m') is true for m0≤m′<mm_0 ≤ m' < m. Suppose for n>m0+1n>m_0 + 1 Q(n)Q(n) is true. We need to show Q(n++)Q(n++) is true. Since Q(n)Q(n) is true which means P(m′)P(m') is true for m0≤m′<nm_0 \le m' < n, by the precondition we have p(n)p(n) is true, which means Q(n++)Q(n++) is true. Thus we closed the induction by axiom 2.5.

Exercise 2.2.6 Principle of backwards induction

Let nn be a natural number, and let P(m)P(m) be a property pertaining to the natural numbers such that whenever P(m++)P(m++) is true, then P(m)P(m) is true. Suppose that P(n)P(n) is also true. Prove that P(m)P(m) is true for all natural numbers m≤nm \le n.

Proof:

when n=1,P(1)n = 1,P(1) is true, then P(0)P(0) is true, so for m≤nm \le n, P(n)P(n) is true.

Suppose nn this is true. we need to prove the case of n++n++. Since by precondition P(n++)P(n++) is true, and then P(n)P(n) is true. Thus P(m)P(m) is true for all m≤n++m \le n++. Done.

2.3 Multiplication

2.3.1 Multiplication of natural numbers

Let mm be a natural number. To multiply zero to mm, we define 0×m:=00 \times m := 0. Now suppose inductively that we have defined how to multiply nn to mm. Then we can multiply n++n++ to m by defining (n++)×m:=(n×m)+m(n++) \times m := (n \times m) + m.

Thus for instance 0×m=0,1×m=0+m,2×m=0+m+m0 \times m = 0, 1 \times m = 0 + m, 2 \times m = 0 + m + m, etc.

2.3.2 Multiplication is commutative

Let n,mn, m be natural numbers. Then n×m=m×nn \times m = m \times n.

Proof:

First we show that m×0=0m \times 0 = 0.

Since 0×0=00\times0=0, Suppose m×0=0m \times 0=0. Thus (m++)×0=(m×0)+0=0+0=0(m++) \times 0 =(m \times 0)+0=0+0=0. Done.

So we have 0×m=0=m×00\times m =0=m \times0.

Suppose n×m=m×nn \times m = m \times n.

(n++)×m=(n×m)+m=(m×n)+m(n++) \times m = (n \times m)+m=(m\times n)+m.

So by the same way, we can show (m×n)+m=m×(n++)(m\times n)+m=m\times(n++). Use the induction on nn.

Therefore, we closed the induction.

2.3.3 Positive natural numbers have no zero divisors

Let n,mn, m be natural numbers. Then n×m=0n \times m = 0 if and only if at least one of n,mn, m is equal to zero. In particular, if nn and mm are both positive, then nmnm is also positive.

2.3.4 Distributive law

For any natural numbers a,b,ca, b, c, we have a(b+c)=ab+aca(b + c) = ab + ac and (b+c)a=ba+ca(b + c)a = ba + ca.

Proof:

Keep a,ba, b fixed, and use induction on cc. a(b+0)=ab=ab+0=ab+a0a(b + 0) =ab =ab+0=ab+a0. Suppose a(b+c)=ab+aca(b+c)=ab+ac. Then a(b+(c++))=a((b+c)++)=a(b+c)+a=ab+ac+aa(b+(c++))=a((b+c)++)=a(b+c)+a=ab+ac+a. By the definition of multiplication, ab+ac+a=ab+a(c++)ab+ac+a=ab+a(c++). Done.

2.3.5 Multiplication is associative

For any natural numbers a,b,ca, b, c, we have (a×b)×c=a×(b×c)(a \times b) \times c = a \times (b \times c).

Proof:

We fix a,ba,b, and use induction on cc. (a×b)0=a(0)=0(a\times b)0=a(0)=0. Suppose (a×b)×c=a×(b×c)(a \times b) \times c = a \times (b \times c). Then (a×b)×(c++)=(a×b)×c+(a×b)=a×(b×c)+(a×b)=a×(b×c+b)=a(×b×(c++))(a \times b) \times (c++) =(a \times b)\times c+ (a \times b) = a \times (b \times c)+(a \times b)=a\times(b\times c+b) =a (\times b \times (c++)), by distributive law.

2.3.6 Multiplication preserves order

If a,ba, b are natural numbers such that a<ba < b, and cc is positive, then ac<bcac < bc.

Easy to prove.

2.3.7 Cancellation law

Let a,b,ca, b, c be natural numbers such that ac=bcac = bc and cc is non-zero. Then a=ba = b.

Use induction on cc.

In any event we can always use addition to describe incrementation, since n++=n+1n++ = n + 1.

2.3.9 Euclid’s division lemma (带余除法)

Let nn be a natural number, and let qq be a positive number. Then there exist natural numbers m,rm, r such that 0≤r<q0 ≤ r < q and n=mq+rn = mq + r.

Proof:

Since 0=0q+00 = 0q+0, the base case is done. Then suppose n=mq+rn = mq + r for some natural m,rm,r and 0≤r≤q0 \le r \le q. Then n+1=mq+r+1n+1 = mq+r + 1. If r=q−1r =q -1, then n+1=(m+1)q+(r+1)−q=(m+1)+0n + 1 = (m+1)q+(r+1)-q = (m+1)+0. And if r<q−1r < q - 1, n+1=mq+(r+1)n+1=mq+(r+1). This closed the induction.

2.3.11 Exponentiation for natural numbers

Let mm be a natural number. To raise mm to the power 00, we define m0:=1m^0 := 1; in particular, we define 00:=10^0 := 1. Now suppose recursively that mnm^n has been defined for some natural number nn, then we define mn++m^{n++} := mn×mm^n \times m.

Exercise 2.3.4

Prove the identity (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 for all natural numbers a,ba, b.

Use induction on bb.


Next →

← Back to ArchiveBack to top ↑

Comments

No approved comments yet.

Your display name and plain-text comment become public only after owner approval. No account or email is required.