HW-5-F23 - Discrete Math Fall 2023
HW-5-F23 - Discrete Math Fall 2023
edu
(Sign out)
Home My Assignments
Grades Communication
Calendar
My eBooks
Current Score
QUESTION 1 2 3 4 5 6 7 8 9 10 11 12 13 14
POINTS 4/4 6/6 7/7 6/6 6/6 6/6 6/6 5/6 5/7 6/6 2/2 0/6 3/4 6/6
TOTAL SCORE
75/78 96.2%
Request Extension
Important! Before you view the answer key, decide whether or not you plan to request an
extension. Your Instructor may not grant you an extension if you have viewed the answer key.
Automatic extensions are not granted if you have viewed the answer key.
Request Extension
t = t
k k−1
+ 2t k − 2, for every integer k ≥ 2
t = −1, t =2
0 1
t
0
= -1 -1
t
1
= 2 2
t
2
= 0 0
t
3
= 4 4
7 n − 2 n is divisible by 5.
Show that P(0) is true: Select P(0) from the choices below.
(7 0 − 2 0) | 5
5 is a multiple of 7 0 − 2 0
70 − 20 < 5
5 | (7 0 − 2 0)
The fact that the selected statement is true can be deduced from the definition of divisibility and the fact that 7 0 − 2 0 = 0.
Show that for each integer k ≥ 0, if P(k) is true, then P(k + 1) is true: Let k be any integer with k ≥ 0, and suppose that P(k) is
true. Select P(k) from the choices below.
5 is a multiple of 7 k − 2 k
7 k − 2 k is divisible by 5
5 is divisible by 7 k − 2 k
7k − 2k < 5
We must show that P(k + 1) is true. Select P(k + 1) from the choices below.
5 is a multiple of 7 k + 1 − 2 k + 1
7k + 1 − 2k + 1 < 5
7 k + 1 − 2 k + 1 is divisible by 5
5 is divisible by 7 k + 1 − 2 k + 1
By the inductive hypothesis and the definition of divisibility, there exists an integer r such that 7 k − 2 k = 5r. Then
7 k + 1 − 2 k + 1 = 7 · 7 k − 2 · 2 k = (5 + 2) · 7 k − 2 · 2 k.
Continue simplifying the right-hand side of the equation, apply the induction hypothesis, and express the result in terms of
k and r:
7k + 1 − 2k + 1 = 5 ·
$$7k+2r
[Thus both the basis and the inductive steps have been proved, and so the proof by mathematical induction is complete.]
n+1
i n+2
For every integer n ≥ 0, i·2 =n·2 + 2.
i=1
n+1
i n+2
Proof (by mathematical induction): Let P(n) be the equation i·2 =n·2 + 2. We will show that P(n) is true for
i=1
every integer n ≥ 0.
Show that P(0) is true: Select P(0) from the choices below.
0+1
i 0+2
i·2 =0·2 +2
i=1
2 = 0 · 2n + 2 + 2
n+1
i · 2i = 0 · 20 + 2 + 2
i=1
0+1
1 · 21 = 1 · 21 + 2 + 2
i=0
The selected statement is true because both sides of the equation equal the same quantity.
Show that for each integer k ≥ 0, if P(k) is true, then P(k + 1) is true: Let k be any integer with k ≥ 0, and suppose that P(k) is
true. We identify the expression on the left-hand side of P(k) by selecting from the choices below.
k+1
k
i·2
i=1
k+1
i
i·2
i=1
k+1
i
k·2
i=1
k+1
k+1
i·2
i=1
The right-hand side of P(k) is
$$k·2k+2+2
[The inductive hypothesis states that the two sides of P(k) are equal.]
(k+1)+1 k+1
i i
i·2 = i·2 +
i=1 i=1
$$(k+2)2(k+2)
We must show that P(k + 1) is true. The left-hand side of P(k + 1) is and the right-hand
side of P(k + 1) is
$$(k+1)2(k+1)+2+2
. After substitution from the inductive hypothesis, the left-hand side of P(k + 1) becomes
$$k2k+2+2
+ (k + 2)2 k + 2 . When the left-hand and right-hand sides of P(k + 1) are simplified, they both can
$$(k+1)2(k+3)
be shown to equal + 2. Hence P(k + 1) is true, which completes the inductive step.
[Thus both the basis and the inductive steps have been proved, and so the proof by mathematical induction is complete.]
Lemma: If a and b are any integers not both zero, and if q and r are any integers such that a = bq + r, then
gcd(a, b) = gcd(b, r).
Proof (by mathematical induction): Let the property P(n) be the equation gcd(F , F n) = 1.
n+1
Show that P(0) is true: Select P(0) from the choices below.
gcd(F n + 1, F n) = 1
F =F =1
1 0
gcd(F 1, F 0) = 1
gcd(F 2, F 1) = 1
Show that for each integer k ≥ 0, if P(k) is true, then P(k + 1) is true: Let k be any integer with k ≥ 0, and suppose that P(k) is
true. Select P(k) from the choices below.
gcd(F k + 2, F k + 1) = 1
gcd(F n + 2, F n + 1) = 1
gcd(F n + 1, F n) = 1
gcd(F k + 1, F k) = 1
We must show that P(k + 1) is true. Select P(k + 1) from the choices below.
gcd(F k + 2, F k + 1) = 1
gcd(F k + 2, F k) = 1
gcd(F n + 2, F n) = 1
gcd(F n + 2, F n + 1) = 1
Now F k + 2 = F k + 1 + F k by definition of the Fibonacci sequence definition of the Fibonacci sequence , and
the fact that F k + 2 = F k + 1 + F k can be written as F k + 2 = F k + 1 · 1 + F k.
Select the result of applying the lemma from the choices below.
gcd(F k + 2, F k + 1) = gcd(F k + 1, F k)
gcd(F k + 1, F k) = gcd(F k + 1, F k)
gcd(F k + 2, F k) = gcd(F k + 1, F k)
gcd(F k + 2, F k + 1) =
$$1
So, by applying the inductive hypothesis, we can conclude that [as was to be shown].
n(5n − 3)
For every integer n ≥ 1, 1 + 6 + 11 + 16 + + (5n − 4) = .
2
n(5n − 3)
1 + 6 + 11 + 16 + + (5n − 4) = .
2
Show that P(1) is true: Select P(1) from the choices below.
1 · (5 · 1 − 3)
P(1) =
2
P(1) = 1
1 · (5 · 1 − 3)
1=
2
1 + (5 · 1 − 4) = 1 · (5 · 1 −
3)
The selected statement is true because both sides of the equation equal the same quantity.
Show that for each integer k ≥ 1, if P(k) is true, then P(k + 1) is true:
Let k be any integer with k ≥ 1, and suppose that P(k) is true. The left-hand side of P(k) is 1 + 6 + 11 + 16 + ⋯ + (5k − 4)
1 + 6 + 11 + 16 + ⋯ + (5k − 4) and the right-hand side of P(k) is
$$k(5k−3)2
[The inductive hypothesis states that the two sides of P(k) are equal.]
1 + 6 + 11 + 16 + ⋯ + (5(k + 1) − 4) =
$$(k+1)(5(k+1)−3)2
We must show that P(k + 1) is true. P(k + 1) is the equation . After substitution from
the inductive hypothesis, the left-hand side of P(k + 1) becomes k(5k − 3)/2 k(5k − 3)/2 + (5(k + 1) − 4).
When the left-hand and right-hand sides of P(k + 1) are simplified, they both can be shown to equal
$$(k+1)(5k+2)2
Which of the following are second-order linear homogeneous recurrence relations with constant coefficients? (Select all
that apply.)
a = (k − 1)a + 2ka k −
k k−1
2
b = −b + 7b k − 2
k k−1
c = 3c +1
k k−1
2
d = 3d + dk − 2
k k−1
r =r − 6r
k k−1 k−3
s =s + 10s k − 2
k k−1
n n
b = C · 4 + D(−3) for each integer n ≥ 0,
n
f = f
k k−1
+ 2 k for each integer k ≥ 2
f = 1
1
n+1
f =2 − 3 for every integer k ≥ 1.
n
k
f k = f k − 1 + 2 for each integer k ≥ 2, with initial condition f 1 = 1.
Let the property P(n) be the equation f n = 2 n + 1 − 3. We will show that P(n) is true for every integer n ≥ 1.
Show that for each integer k ≥ 1, if P(k) is true, then P(k + 1) is true:
Let k be any integer with k ≥ 1, and suppose that P(k) is true. In other words, suppose that
f =
k
$$2k+1−3
We must show that P(k + 1) is true. Now the left-hand side of P(k + 1) is
f
k+1 = f + 2k + 1
k
$$2k+1−3
+ 2k + 1
$$2k+2−3
= by basic algebra,
and this is the right-hand side of P(k + 1), which completes the inductive step.
[Thus both the basis and the inductive steps have been proved, and so the proof by mathematical induction is complete.]
f
0 =
5, f 1 = 16,
f = 7f − 10f k − 2 for every integer k ≥ 2.
k k−1
n n
Proof by strong mathematical induction: Let the property P(n) be the equation f n = 3 · 2 + 2 · 5 .
P(0) = f
0
0 0
P(0) = 3 · 2 + 2 · 5
0 0
f =3·2 +2·5
0
f =5
0
f = 16
1
1 1
f1 = 3 · 2 + 2 · 5
1 1
P(1) = 3 · 2 + 2 · 5
P(1) = f
1
Show that for every integer k ≥ 1, if P(i) is true for each integer i from 0 through k, then P(k + 1) is true: Let k be any integer
f =
i
$$3·2i+2·5i
with k ≥ 1, and suppose that for every integer i with 0 ≤ i ≤ k, . This is the induction
f
k+1
=
$$3.2k+1+2·5k+1
Now, by definition of f 0, f 1, f 2, ,
f
k+1
=
$$7ƒk−10ƒk−1
Apply the inductive hypothesis to f k and f k − 1 and complete the proof as a free responses. (Submit a file with a maximum
size of 1 MB.)
Score: 0 out of 1
Comment:
The given sequence is defined recursively. Use iteration to guess an explicit formula for the sequence. Simplify your
answer if possible.
f = f
k k−1
+ 2 k, for each integer k ≥ 2
f = 1
1
f =
n
$$2n+1−3
(a) 8 + 9 + 10 + 11 + + 500
$$125222
(b) 8 + 9 + 10 + 11 + +k
$$12k(k+1)−28
Since the property is true for n = 1, the basis step is true. Suppose the property is
true for an integer k, where k ≥ 1. That is, suppose that 3 k − 2 is even. We must
show that 3 k + 1 − 2 is even. Observe that
3 k + 1 − 2 = 3 k · 3 − 2 = 3 k(1 + 2) − 2
= (3 k − 2) + 3 k · 2.
(3 k − 2) + 3 k · 2 ≠ 3 k(1 + 2) − 2
k
3 − 2 is odd by the inductive hypothesis.
3 k + 1 − 2 ≠ (3 k − 2) + 3 k · 2
d = k(d
k k−1
) 2, for each integer k ≥ 1
0 = 5
d
d
0
= 5 5
d
1
= 25 25
d
2
= 1250 1,250
d
3
= 46875000 4,687,500
c
0 =
2, c 1 = 2, c 2 = 6,
c = 3c for every integer k ≥ 3.
k k−3
Proof (by strong mathematical induction): Let the property P(n) be the sentence:
"c n is even."
Show that P(0), P(1), and P(2) are true: For each i = 0, 1, and 2, P(i) is the same statement. Select P(i) from the choice
below.
c is even
i
c = 2 or 6
i
Show that for every integer k ≥ 2, if P(i) is true for each integer i from 0 through k, then P(k + 1) is true: Let k be any integer
with k ≥ 2, and suppose c is even even for every integer i with 0 ≤ i ≤ k. This is the induction
i
hypothesis hypothesis .
Since k ≥ 2, we have that 0 ≤ k − 2 ≤ k. So we can apply the inductive hypothesis to conclude that c k + 1 is 3 times an
even integer even integer , thus c k + 1 is even even .