-- Feb 1 In-Class Exercise
Here's my solution; I hope the parentheses are correct
Base Case:
f(4) = (4/2)^4 = 16
4! = 12
TRUE
inductive case: Assume (n/2)^n > n!
((n+1)/2)^(n+1) >= (n+1)!
((n+1)/2)^n * (n+1)/2 >= n! * (n+1)
>>Divide by (n+1)
((n+1)/2)^n * 1/2 >= n!
By the inductive hypothesis (n/2)^n > n!
Therefore if we can prove 1/2*((n+1)/2)^n >= (n/2)^n, we have proved our theorem
1/2*((n+1)/2)^n >= (n/2)^n
((n+1)^n)/(2^(n+1)) >= (n^n)/(2^n)
((n+1)^n)/2 >= (n^n)
(n+1)^n >= (n^n)*2
n^n + n*n^(n-1) + K*n^(n-2) >= (n^n)*2
n*n^(n-1) + K*n^(n-2) >= n^n
n^n + K*n^(n-2) >= n^n
therefore: true
Here's my solution; I hope the parentheses are correct
Base Case:
f(4) = (4/2)^4 = 16
4! = 12
TRUE
inductive case: Assume (n/2)^n > n!
((n+1)/2)^(n+1) >= (n+1)!
((n+1)/2)^n * (n+1)/2 >= n! * (n+1)
>>Divide by (n+1)
((n+1)/2)^n * 1/2 >= n!
By the inductive hypothesis (n/2)^n > n!
Therefore if we can prove 1/2*((n+1)/2)^n >= (n/2)^n, we have proved our theorem
1/2*((n+1)/2)^n >= (n/2)^n
((n+1)^n)/(2^(n+1)) >= (n^n)/(2^n)
((n+1)^n)/2 >= (n^n)
(n+1)^n >= (n^n)*2
n^n + n*n^(n-1) + K*n^(n-2) >= (n^n)*2
n*n^(n-1) + K*n^(n-2) >= n^n
n^n + K*n^(n-2) >= n^n
therefore: true