Induction proofs. a. Prove by induction: n sum i^3 = [n^2][(n+1)^2]/4 i=1 Note: sum is intended to be the summation symbol, and ^ means what follows is an exponent b. Prove by induction: n^2 - n is even for any n >= 1 10 points 6) Given: T(1) = 2 T(N) = T(N-1) + 3, N>1 What would the value of T(10) be?
7) For the problem above, is there a formula I could use that could directly calculate T(N)? 8) Using induction, prove that your formula is correct.
a) n sum i^3 = n^2[(n+1)^2]/4
Base case n = 1
LHS:
1 sum i^3 = 1
RHS:
1^2[(1+1)^2]/4 = 1
Base case satisfied
Now we assume for n = k it is true
k sum i^3 = k^2[(k+1)^2]/4
we will prove for n = k + 1
(k+1) sum i^3 = (k+1)^2[(k+2)^2]/4
Starting from LHS:
for n = k+1 we have
k^2[(k+1)^2]/4 + (k+1)^3
= (k^2(k^2 + 2k + 1) + 4*(k^3 + 1 + 3k^2 +
3k))/4
= (k^4 + 2k^3 + k^2 + 4k^3 + 4 + 12k^2 + 12k)/4
= (k^4 + 6k^3 + 13k^2 + 12k + 4)/4
RHS:
(k^2 + 2k + 1)(k^2 + 4k +
4)/4
(k^4 + 4k^3 + 4k^2 + 2k^3 +
8k^2 + 8k + k^2 + 4k + 4)/4
(K^4 + 6k^3 + 13k^2 + 12k +
4)/4
Hence proved
b) n^2 - n is even
Base case n =1
1 -1 = 0
0 % 2 = 0
Base case holds
We assume for n = k
k^2 - k is even
we will prove for n = k+1
(k+1)^2 - k-1 is even
(k+1)^2 - k-1
k^2 + 2k + 1 -k -1
k^2 + k
k^2 -k + 2k
k^2-k is even and 2k is even. Sum of two even is even . Hence proved
----------------------------------------------------
T(1) = 2
T(N) = T(N-1) + 3
We have the formula
T(N) = ((N-1)*N)/2 +1 + 3(N-1)
T(10) = (9 * 10)/2 + 2 = 47
Base case N= 1
T(1) = 0*1/2 +1 + 3*0 = 2
Base case holds
We assume for N= k
T(k) = (k)*(k-1)/2 + 1 + 3(k-1)
We will prove for N = k+1
T(k+1) = (k+1) * (k)/2 + 1 + 3(k)
T(k+1) = T(k) + 3 // As given in the
question
= (k +
1)*k/2 + 1 + 3(k-1) + 3
=
(k+1)*k/2 + 1 + 3k
Hence Proved
Induction proofs. a. Prove by induction: n sum i^3 = [n^2][(n+1)^2]/4 i=1 Note: sum is intended...
PROOFS: Use these theorems and others to prove these statements. Theorem 1: The sum of two rational numbers is rational. Theorem 2: The product of two rational numbers is rational. Theorem 3: √ 2 is irrational. Induction: Prove that 6 divides n 3 − n for any n ≥ 0 Use strong induction to prove that every positive integer n can be written as the sum of distinct powers of 2. That is, prove that there exists a set of...
Proofs using induction: In 3for all n 2 0. n+11 Use the Principle of Mathematical Induction to prove that 1+3+9+27+3 Use the Principle of Mathematical Induction to prove that n3> n'+ 3 for all n 22
Prove using mathematical induction that for every positive integer n, = 1/i(i+1) = n/n+1. 2) Suppose r is a real number other than 1. Prove using mathematical induction that for every nonnegative integer n, = 1-r^n+1/1-r. 3) Prove using mathematical induction that for every nonnegative integer n, 1 + i+i! = (n+1)!. 4) Prove using mathematical induction that for every integer n>4, n!>2^n. 5) Prove using mathematical induction that for every positive integer n, 7 + 5 + 3 +.......
19. Recursively define co = 5, Ck = (Ck-1)2 for k > 1. Prove using induction that for n 20, Cn = 52". Note that in the explicit formula for C, the exponent of 5 is 2".
Prove by mathematical induction. 3 +4 +5 + ... + + (n + 2) = n(n+ 5). Verify the formula for n = 1. 1 1 +5) 3 = 3 The formula is true for n = 1. Assume that the formula is true for n=k. 3 + 4 +5+ ... + (x + 2) = x(x + 5) Show that the formula is true for n = k +1. 3+ 4+ 5+... *«* +2)+(( 4+1 |_ )+2) - +...
3. (15 points) Prove the statements by induction. (a) For n e N, 10|(9n+1 + 72n). (b) The formula for a geometric sum: For n e N, a + 1, n an+1 1 Σα? - a 1 j=0 (c) For n e N and n > 3, there exists n distinct positive integers A1, A2, ..., An such that 1 1 1 = + +...+ a1 A2 an
.n= n(n-1)(n+1) for all n > 2. 12. Use induction to prove (1 : 2) +(2-3)+(3-4) +...+(n-1).n [9 points) 3
9. Prove by mathematical induction: -, i = 1 + 2 + 3+...+ n = n(n+1) for all n > 2.
(1) Give a formula for SUM{i} [i changes from i=a to i=n], where a is an integer between 1 and n. (2) Suppose Algorithm-1 does f(n) = n**2 + 4n steps in the worst case, and Algorithm-2 does g(n) = 29n + 3 steps in the worst case, for inputs of size n. For what input sizes is Algorithm-1 faster than Algorithm-2 (in the worst case)? (3) Prove or disprove: SUM{i**2} [where i changes from i=1 to i=n] ϵ tetha(n**2)....
Problem 44) Prove: n!> 2" for n24. Problem 45) Prove by induction: For n>0·AT- i=1