This is discrete math subject please write clealy and solve question 5 please 1.
ID: 3197107 • Letter: T
Question
This is discrete math subject please write clealy and solve question 5 please
1. Prove that, for all n23, 6">40+90 2. Let f:Z ->Z and g:Z ->Z be given by f(n)-n+10 and g(n)-2n1 +1- (a) Are f and/or g injective (b) Are f and/or g surjective (c) Is either map invertible 2 3. Construct, if possible, a 1-1 correspondence between the following sets or explain why no such map exists: (a) the power set P(A) of the set A (1 , 2 } and the set {n Z | 1 n2 ) the real numbers R and the set of polynomials of degreeExplanation / Answer
Ans 5.
(a) f(n) = 1 + 2 + 3 + 4 + n(n+1) = n(n+1)[n(n+1) + 1]/2 = (1/2)*(n^4 + 2n^3 + 2n^2 + n)
=> f(n) has O(n^4)
(b) f(n) = 10^n + n^10 + n!
since at a very lareg value of n, n! will majorly govern the value of f(n)
f(n) has O(n!)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.