13 - Induction

!Screenshot 2023-10-09 at 10.05.42 AM.png

In Class Practice

Given nN, it happens that 2n>n.

Scratch work:
Open sentence: P(n):2n>n
Base case: P(1): 21>1
Inductive step: Show that P(k)P(k+1)
Let kN. Assume 2k>k
We want to show that 2k+1>k+1. We have that

2k+1=2(2k)>2k=k+k=(k1)+(k+1)k+1

(since k1)

Formal Proof:
We work by induction on nN.
Let P(n):2n>n.
Base Case. Fix n=1. We see that 21>1
Inductive step.
Let kN. Assume 2k>k.
Then

2k+1=2(2k)>2k (since P(k) is true)=(k1)+(k+1)k+1 (since k1)

Thus P(k+1):2k+1>k+1 is true. By the principle of mathematical induction, P(n) is true for all nN.

Proposition. Let A be a finite nonempty set of real numbers. Then A has a least element.

Idea of the proof:

Open sentence: P(n):If |A|=n,then A has a least element.

Let KN.
Assume P(k) is true.
We want to show P(k+1) is true.
Let A have k+1 elements. Let xA. Let B=A{x}.
Then by assumption B has a least element, call it y. Then min(x,y) is the least element of A.

Pigeonhole principle:
Three pigeonholes, five pigeons. At least 1 pigeonhole has more than one pigeon in it.



HW 13

Ben Finch

E 13.1
Let P(n) be the open sentence

i=1n(2i1)=n2

We work by induction to prove that P(n) is true for each nN.
Base Case: We have

P(1)=2(1)1=1221=121=1

is true.
Inductive step: Let kN and assume that

P(k):i=1k(2i1)=k2

is true. We want to show that:

P(k+1):i=1k+1(2i1)=(k+1)2

is true.

Then,

i=1k+1(2i1)=i=1k(2i1)+2(k+1)1=k2+2(k+1)1[by the inductive assumption]=k2+2k+1=(k+1)2

So, if P(k) is true, then P(k+1) is also true.

Therefore, the statement i=1n(2i1)=n2 holds for all nN.

E 13.2
Let P(n) be the open sentence:

i=1n1(2i1)(2i+1)=n2n+1

We work by induction to prove that P(n) is true for each nN.

Base case: P(1) is true since we have

P(1)=1(2(1)1)(2(1)+1)=12(1)+113=13

Inductive step. Let kN and assume that

i=1k1(2i1)(2i+1)=k2k+1

is true. We want to show that:

i=1k+11(2i1)(2i+1)=k+12(k+1)+1

We find:

i=1k+11(2i1)(2i+1)=i=1k1(2i1)(2i+1)+1(2(k+1)1)(2(k+1)+1)=k2k+1+1(2k+1)(2k+3)[by the inductive assumption]=(2k+3)(k)+1(2k+1)(2k+3)=2k2+3k+1(2k+1)(2k+3)=(2k+1)(k+1)(2k+1)(2k+3)=k+12(k+1)+1

Therefore, P(n) is true for all nN.

E 13.3
Let P(n) be the open sentence:

i=1ni2=n(n+1)(2n+1)6

We work by induction to prove that P(n) is true for each nN.
Base Case. P(1) is true since we have

P(1)=12=1(1+1)(2(1)+1)61=2(3)61=1

Inductive Step. Let kN and assume.

i=1ki2=k(k+1)(2k+1)6

We want to show that:

i=1k+1i2=(k+1)((k+1)+1)(2(k+1)+1)6

We have

i=1k+1i2=i=1ki2+(k+1)2=k(k+1)(2k+1)6+(k+1)2=k(k+1)(2k+1)6+(k+1)2=k(k+1)(2k+1)+6(k+1)26=k2(k+1)(2k+1)+2k(k+1)2+(k+1)36=(k+1)(k2(2k+1)+2k(k+1)+(k+1)2)6=(k+1)((k+1)+1)(2(k+1)+1)6

Therefore P(n) is true for all nN.

E 13.4
a)
Let P(n) be the open statement n<3n.
We work by induction to prove P(n) for all nN.
Base Case:
We see that 1<31=3.
Inductive step:
Let kN. Assume that k<3k. We want to prove that k+1<3k+1. We find

k+1<3k+1(by the inductive assumption)<3k+3k=23k<33k=3k+1.

Thus P(n) is true for all nN.

b)
For nZ, we have two cases: n0 and n>0.

For n0, we have:

n0<3n

For n>0, by the result of part (a), we know that n<3n. Since 3n3n for n>0, we can conclude that:

n<3n3n

Therefore, in both cases, we have n<3n for all nZ.

E 13.5
Let xR{1}. Let P(n) be the open sentence:

i=1nxi=1xn+11x

We aim to prove P(n) for all nN.

The proof will be done by induction.

Base case:
Substituting n=1 into the equation, we get

x=1x1+11xx=1x21xx=(1x)(1+x)1xx=x

So, P(1) is true.

Inductive step:

Let kR. Assume P(k) is true:

i=1kxi=1xk+11x

We aim to show P(k+1) is true:

i=1k+1xi=1xk+21x

We find:

i=1k+1xi=i=1kxi+xk+1=1xk+11x+xk+1(by the inductive assumption)=1xk+1+(1x)xk+11x=1xk+1(1x)1x=1xk+21x

Therefore, P(k+1) is true, assuming that P(k) is true.

Thus P(n) is true for all nN.

E 13.6
Let P(n) be the open statement (1+x)n1+nx
Base Case:

(1+x)11+1x1+x1+x

The base case holds true.

Inductive step:
Let kN. Assume (1+x)k1+kx.
We aim to prove (1+x)k+11+(k+1)x

(1+x)k+1=(1+x)k(1+x)(1+kx)(1+x)(Using inductive assumption)=1+kx+x+kx2=1+(k+1)x+kx21+(k+1)x(Since x20 as xR)

Thus P(n) is true for all nN.

E 13.7
Let S be some nonempty set of natural numbers.

Consider the set A={kN:kn for some nS}. A is a nonempty subset of natural numbers because S is nonempty.

According to Proposition 13.11, since A is a finite nonempty set of real numbers, it has a least element, call it m.

Assume by way of contradiction that m is not the least element of S. Then, there exists an element pS such that p<m.

Since p is in S, it implies that p is also in A because A contains all natural numbers less than or equal to some element in S. However, this contradicts the fact that m is the least element of A.

Therefore, our assumption is false, and m must be the least element of S.

Hence, any nonempty set of natural numbers, S, has a least element.

E 13.8
Proof:
Let mN0, let nN, and assume m<n. We aim to prove that the open sentence:

If m objects are placed in n bins, some bin does not contain any object.

We work by way of induction.

Base Case: For n=1, the statement holds trivially because we assume m<n and so if m=0 and n=1, we have 1 bin which is empty.

Inductive Step:
Assume the statement holds for some n=k.

We need to show that the statement holds for n=k+1.

Consider m objects in k+1 bins. Since m<k+1, we have two cases:

  1. If m<k, by inductive assumption, at least one bin remains empty when m objects are placed in k bins. Adding another bin to make it k+1 bins, we will have more than one bin that is empty.

  2. If m=k, every bin among the k bins gets one object. Adding one additional bin to make it k+1 bins will leave that additional bin empty.

Therefore the statement holds for all n.