15 - Deep induction

In class practice

x is one of the cities
S= {cities with roads to x}
T= {cities with roads coming from x}

Proof. We wish to prove the open sentence:
P(n):n=5x+7y for some x,yZ, such that x,y0, nN, n24
We work by induction.
Base Cases:
We see that
24 = 5(2) + 7(2)
25 = 5(5) + 7(0)
26 = 5(1) + 7(3)
27 = 5(4) + 7(1)
28 = 5(0) + 7(4)

Inductive Step.
Let kZ, k28. Assume that P(j) is true for all 24jk.

We aim to prove P(k+1) is true. By assumption, P(k4) is true. That means there are integers x,y0 such that k4=5x+7y. Hence

k+1=5+(k4)=5+5x+7y=5(x+1)+7y

Since x,yZ and x+1>0 we P(k+1) is true thus by mathematical induction P(n) is true for all nN.



HW 15

E 15.1
IMG_4091.jpg

IMG_4092.jpg

E 15.2
A --> C --> B --> D --> E --> F --> G --> H --> I

E 15.3
a)
Proof:
We wish to prove the open sentence:

P(n):n=3x+8y for some x,yZ such that x,y0, n>13 where x,y may depend on n.

Base Cases:
We see that
14 = 3(2) + 8(1)
15 = 3(5) + 8(0)
16 = 3(0) + 8(2)

Hence P(14), P(15), P(16) are true.

Inductive step:
Let kZ,k16. Assume P(j) is true for all 14jk.

We aim to prove P(k+1) is true. By assumption P(k2) is true. This means that there are integers x,y0 such that k2=3x+8y. Thus

k+1=3+(k2)=3+3x+8y=3(x+1)+8y

Since x,yZ and x+1>0 we see P(k+1) is true. Thus, by mathematical induction P(n) is true for all nN.

b)
Assume by way of contradiction that 13=3x+8y for some nonnegative integers x,y.

Since x,y are nonnegative, when x5

15+8y>13

Thus x<4. Thus x{0,1,2,3}

Since x,y are nonnegative, when y2. 3x+16>13. So y<2. Thus y{0,1}

We have 8 cases remaining:

  1. For x=0, y=0, the equation becomes 13=3(0)+8(0)=0, which is not true.

  2. For x=1, y=0, the equation becomes 13=3(1)+8(0)=3, which is not true.

  3. For x=2, y=0, the equation becomes 13=3(2)+8(0)=6, which is not true.

  4. For x=3, y=0, the equation becomes 13=3(3)+8(0)=9, which is not true.

  5. For x=0, y=1, the equation becomes 13=3(0)+8(1)=8, which is not true.

  6. For x=1, y=1, the equation becomes 13=3(1)+8(1)=11, which is not true.

  7. For x=2, y=1, the equation becomes 13=3(2)+8(1)=14, which is not true.

  8. For x=3, y=1, the equation becomes 13=3(3)+8(1)=17, which is not true.

None of these combinations equal 13, implying that for nonnegative integers x,y, 13 cannot be expressed as 3x+8y. Thus we have reached a contradiction.

Hence, we conclude that 13 cannot be written as 3x+8y for any integers x,y0.

E 15.4
Proof. Let nN. We wish to prove the open sentence:

P(n):n=2km for some kZ, mODD where k,m may depend on n.

Base Cases:

We see

1=20(1)2=21(1)

Hence P(1) and P(2) are true.

Inductive step:
Let kZ, k2. Assume that P(j) is true for all 1jk. We aim to prove P(k+1) is true.

There are two cases:
Case 1: even k+1

If k+1 is even, then we can write k+1=2l for some lZ, l>0.

By the inductive hypothesis, we know that l can be written in the form 2mn for some mZ, nODD.

Therefore, k+1=2l=2(2mn)=2m+1n, where nODD.

So, P(k+1) is true when k+1 is even.

Case 2: odd k+1

If k+1 is odd, then we can directly write k+1=20(k+1).

Since k+1 is odd, k+1ODD.

Therefore, P(k+1) is also true when k+1 is odd.

Hence, by mathematical induction, the statement P(n) is true for all nN.

E 15.5
Proof:
Let nN, n>43. We wish to prove the open sentence:
P(n):n=6x+9y+20z where x,y,z0, x,y,zZ and may be dependent on n.

Base Cases:
P(44) = 61+94+200
P(45) = 65+90+200
P(46) = 60+92+201
P(47) = 62+93+200
P(48) = 64+90+201
P(49) = 60+91+202

Hence, P(44), P(45), P(46), P(47), P(48) and P(49) are true.

Inductive step:
Let kZ,k49. Assume P(j) is true for all 44jk.

We aim to prove P(k+1) is true. By assumption, P(k5) is true. This means that there are integers x,y,z0 such that k5=6x+9y+20z. Thus

k+1=6+(k5)=6+6x+9y+20z=6(x+1)+9y+20z

Since x,y,zZ and x+1>0 we see P(k+1) is true. Thus, by mathematical induction P(n) is true for all nN.

Proof that 43 cannot be written this way:

First, note that 6x and 9y are multiples of 3. Thus, if x and y are non-negative integers, 6x+9y will be a multiple of 3.

Possible values for z resulting in an n<43 are 0, 20, and 40.

For any values of x and y, 6x+9y is a multiple of 3, hence 6x+9y will be one of {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,...}. It's clear that none of these values can be added to 0 or 20 or 40 to yield 43.

Therefore, there are no non-negative integers x,y,z for which 43=6x+9y+20z.

E 15.6
The largest postage that cannot be paid is 21 cents.

Proof:
Let nN, n>21. Let x,y,z represent the postage stamps that cost 4, 10, and 15 cents respectively.

We wish to prove the open sentence:
P(n):n=4x+10y+15z where x,y,z0, x,y,zZ and may be dependent on n.

Base Cases:
P(22) = 43+101+150
P(23) = 42+100+151
P(24) = 46+100+150
P(25) = 40+101+151
P(26) = 44+101+150
P(27) = 43+100+151

Hence, P(22), P(23), P(24), P(25), P(26), and P(27) are true.

Inductive step:
Let kZ,k27. Assume P(j) is true for all 22jk.

We aim to prove P(k+1) is true. By assumption, P(k5) is true. This means that there are integers x,y,z0 such that k5=4x+10y+15z. Thus

k+1=6+(k5)=6+4x+10y+15z=4(x+1)+10y+15z

Since x,y,zZ and x+1>0 we see P(k+1) is true. Thus, by mathematical induction P(n) is true for all nN.

Since all amounts greater than 21 cents can be paid with 4, 10, and 15 cent stamps the largest amount that cannot be paid is 21 cents.

E 15.7
Proof.

Base Cases:
Consider the numbers 1, 2 and 3.

Inductive Case:
Assume that every number k can be written as a sum of distinct Fibonacci numbers. We want to show that this is also true for the number k+1.

To do that, we find the largest Fibonacci number, Fm, that is less than or equal to k+1. According to the properties of Fibonacci numbers, we know that Fmk+1<Fm+1.

We can express k+1 as Fm+(k+1Fm).

If k+1Fm=0, then k+1 is already a Fibonacci number.

If k+1Fm>0, then k+1Fm is a positive integer less than Fm.

By our inductive hypothesis, we can represent any number less than Fm as a sum of distinct Fibonacci numbers. Therefore, k+1Fm can be written as a sum of Fibonacci numbers, each of which is smaller than Fm.

Thus, every number up to and including k+1 can be expressed as a sum of distinct Fibonacci numbers. By the principle of mathematical induction, every positive integer can be expressed as a sum of distinct Fibonacci numbers.